1 2016-06-30 Anton Blanchard <anton@samba.org>
3 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
7 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
20 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
22 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
25 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
26 when SHARED is defined.
28 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
30 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
31 (index_arch_Prefer_ERMS): Likewise.
32 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
33 __memcpy_erms for Prefer_ERMS.
34 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
35 (__memmove_erms): Enabled for libc.a.
36 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
37 __memmove_erms or Prefer_ERMS.
38 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
39 __mempcpy_erms for Prefer_ERMS.
40 * sysdeps/x86_64/multiarch/memset.S (memset): Return
41 __memset_erms for Prefer_ERMS.
43 2016-06-30 Andreas Schwab <schwab@suse.de>
46 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
47 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
50 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
53 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
54 (test-extras): Add tst-cleanupx4aux.
55 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
56 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
58 * nptl/tst-cleanupx4aux.c: New file.
60 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
62 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
64 2016-06-29 Andreas Schwab <schwab@suse.de>
67 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
68 address before the beginning of the string as an integer to avoid
71 2016-06-28 Richard Henderson <rth@redhat.com>
73 * elf/elf.h (EM_BPF): New.
75 (R_BPF_NONE, R_BPF_MAP_FD): New.
77 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
78 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
79 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
80 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
81 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
82 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
83 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
84 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
85 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
86 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
87 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
88 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
89 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
90 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
91 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
92 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
93 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
96 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
99 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
100 Set _nl_current_LC_CATEGORY_used to two instead of one.
102 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
104 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
106 (TEST_FUNCTION): New macro.
107 Include test-skeleton.c.
108 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
109 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
111 2016-06-27 Joseph Myers <joseph@codesourcery.com>
114 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
115 floating-point environment rather than just control word.
116 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
117 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
118 floating-point environment, with "invalid" exceptions merged in,
119 rather than just control word.
120 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
121 * math/libm-test.inc (trunc_test_data): Do not allow spurious
122 "inexact" exceptions.
125 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
126 floating-point environment rather than just control word.
127 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
128 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
129 floating-point environment, with "invalid" exceptions merged in,
130 rather than just control word.
131 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
132 * math/libm-test.inc (floor_test_data): Do not allow spurious
133 "inexact" exceptions.
136 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
137 floating-point environment rather than just control word.
138 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
139 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
140 floating-point environment, with "invalid" exceptions merged in,
141 rather than just control word.
142 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
143 * math/libm-test.inc (ceil_test_data): Do not allow spurious
144 "inexact" exceptions.
146 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
148 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
150 (__vfork) [IS_IN (libc)]: Remove alias.
151 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
152 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
153 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
155 2016-06-24 Torvald Riegel <triegel@redhat.com>
157 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
158 of atomic_compare_and_exchange_bool_rel.
159 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
160 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
161 catomic_compare_and_exchange_bool_rel): Remove.
162 * sysdeps/aarch64/atomic-machine.h
163 (atomic_compare_and_exchange_bool_rel): Likewise.
164 * sysdeps/alpha/atomic-machine.h
165 (atomic_compare_and_exchange_bool_rel): Likewise.
166 * sysdeps/arm/atomic-machine.h
167 (atomic_compare_and_exchange_bool_rel): Likewise.
168 * sysdeps/mips/atomic-machine.h
169 (atomic_compare_and_exchange_bool_rel): Likewise.
170 * sysdeps/microblaze/atomic-machine.h
171 ( __arch_compare_and_exchange_bool_8_rel,
172 __arch_compare_and_exchange_bool_16_rel): Likewise.
173 * sysdeps/powerpc/atomic-machine.h
174 ( __arch_compare_and_exchange_bool_8_rel,
175 __arch_compare_and_exchange_bool_16_rel): Likewise.
176 * sysdeps/powerpc/powerpc32/atomic-machine.h
177 ( __arch_compare_and_exchange_bool_32_rel,
178 __arch_compare_and_exchange_bool_64_rel): Likewise.
179 * sysdeps/powerpc/powerpc64/atomic-machine.h
180 ( __arch_compare_and_exchange_bool_32_rel,
181 __arch_compare_and_exchange_bool_64_rel): Likewise.
182 * sysdeps/tile/atomic-machine.h
183 (atomic_compare_and_exchange_bool_rel): Likewise.
185 2016-06-23 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
189 when either argument is a NaN.
190 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
191 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
193 * math/libm-test.inc (snan_value_ld): New macro.
194 (isgreater_test_data): Add sNaN tests.
195 (isgreaterequal_test_data): Likewise.
196 (isless_test_data): Likewise.
197 (islessequal_test_data): Likewise.
198 (islessgreater_test_data): Likewise.
199 (isunordered_test_data): Likewise.
200 (nextafter_test_data): Likewise.
201 (nexttoward_test_data): Likewise.
202 (remainder_test_data): Likewise.
203 (remquo_test_data): Likewise.
204 (significand_test_data): Likewise.
205 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
207 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
209 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
210 environment macros are defined.
211 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
213 2016-06-23 Florian Weimer <fweimer@redhat.com>
216 Implement vtable verification in libio.
217 * Makerules (shlib.lds): Place __libc_IO_vtables section.
218 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
219 * debug/vdprintf_chk.c (__vdprintf_chk): Call
220 _IO_new_file_init_internal instead of _IO_file_init.
221 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
222 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
223 * libio/Makefile (routines): Add vtables.
224 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
225 (_IO_init): Remove, not for internal use.
226 (_IO_init_internal): Declare, internal replacement for _IO_init.
227 (_IO_file_init): Remove, not for internal use.
228 (_IO_new_file_init): Remove, not for internal use.
229 (_IO_new_file_init_internal): Declare, internal replacement for
231 (_IO_old_file_init): Remove, not for internal use.
232 (_IO_old_file_init_internal): Declare, internal replacement for
234 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
236 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
238 (libio_vtable): New macro.
239 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
241 * libio/fileops.c (_IO_new_file_init_internal): Rename from
243 (_IO_new_file_init): New externally visible wrapper which disables
245 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
247 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
248 (_IO_init): New externally visible wrapper which disables
250 * libio/iofdopen.c (_IO_new_fdopen): Call
251 _IO_new_file_init_internal instead of _IO_file_init. Adjust
253 * libio/iofopen.c (__fopen_internal): Call
254 _IO_new_file_init_internal instead of _IO_file_init.
255 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
257 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
258 _IO_new_file_init_internal instead of _IO_file_init.
259 * libio/iopopen.c (_IO_new_popen): Likewise.
260 (_IO_proc_jumps): Define as vtable.
261 * libio/iovdprintf.c (_IO_vdprintf): Call
262 _IO_new_file_init_internal instead of _IO_file_init.
263 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
264 (__open_memstream): Call _IO_init_internal instead of _IO_init.
265 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
266 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
268 (_IO_old_file_init): New externally visible wrapper which disables
270 (_IO_old_file_jumps): Define as vtable.
271 * libio/oldiofdopen.c (_IO_old_fdopen): Call
272 _IO_old_file_init_internal instead of _IO_old_file_init.
273 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
274 * libio/oldiopopen.c (_IO_old_popen): Likewise.
275 (_IO_old_proc_jumps): Define as vtable.
276 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
278 * libio/vtables.c: New file.
279 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
280 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
281 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
282 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
283 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
284 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
287 2016-06-23 Florian Weimer <fweimer@redhat.com>
289 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
291 2016-06-23 Florian Weimer <fweimer@redhat.com>
293 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
296 2016-06-22 Florian Weimer <fweimer@redhat.com>
298 * test-skeleton.c (write_message): New function.
299 * malloc/tst-mallocfork2.c (write_message): Remove.
300 * debug/tst-longjmp_chk2.c (write_indented): New function.
301 (write_message): Remove.
302 (stackoverflow_handler): Call write_indented.
304 2016-06-22 Joseph Myers <joseph@codesourcery.com>
306 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
307 "inexact" exceptions after fnstenv.
308 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
309 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
310 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
312 2015-06-22 Zack Weinberg <zackw@panix.com>
314 * sysdeps/generic/bits/hwcap.h: Moved to ...
315 * bits/hwcap.h: Here.
317 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
319 * sysdeps/aarch64/memcpy.S (memcpy):
320 Further tuning for performance.
322 2016-06-21 Florian Weimer <fweimer@redhat.com>
325 * malloc/arena.c (reused_arena): Do not return NULL if we start
326 out with a non-corrupted arena.
328 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
330 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
331 * misc/tst-preadvwritev.c: New file.
332 * misc/tst-preadvwritev64.c: Likewise.
333 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
335 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
336 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
337 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
338 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
340 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
343 * sysdeps/x86_64/fpu/Makefile: Added new tests.
344 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
345 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
346 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
347 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
348 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
349 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
350 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
351 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
352 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
353 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
354 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
355 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
356 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
357 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
358 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
359 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
360 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
361 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
362 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
363 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
364 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
365 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
366 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
367 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
368 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
370 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
372 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
373 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
375 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
377 * sysdeps/aarch64/memcpy.S (memcpy):
378 Rewrite of optimized memcpy and memmove.
379 * sysdeps/aarch64/memmove.S (memmove): Remove
380 memmove code (merged into memcpy.S).
382 2016-06-20 Florian Weimer <fweimer@redhat.com>
384 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
385 * sysdeps/generic/dl-dtv.h: New file.
386 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
387 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
389 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
390 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
392 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
393 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
395 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
396 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
398 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
399 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
401 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
402 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
404 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
405 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
407 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
409 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
410 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
412 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
413 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
415 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
416 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
418 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
419 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
421 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
422 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
424 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
425 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
427 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
428 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
430 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
431 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
434 2016-06-20 Florian Weimer <fweimer@redhat.com>
436 Revert symbol poisoning of __malloc_initialize_hook.
437 * include/stdc-predef.h (__malloc_initialize_hook): Remove
439 * malloc/Makefile: Remove un-poisoning.
440 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
441 instead of old__malloc_initialize_hook.
442 * malloc/malloc-hooks.h: Likewise.
443 * malloc/malloc.c: Likewise.
444 * malloc/mcheck-init.c: Likewise.
446 2016-06-19 Carlos O'Donell <carlos@redhat.com>
448 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
450 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
452 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
453 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
454 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
457 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
459 * NEWS: Mention addition of nextup and nextdown.
460 * manual/arith.texi: Document nextup and nextdown.
461 * manual/libm-err-tab.pl: Add nextup and nextdown.
462 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
463 * math/Versions (libm): Add GLIBC_2.24.
464 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
465 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
467 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
468 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
469 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
470 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
471 (nextup_test_data): Likewise.
472 (nextdown_test_data): Likewise.
473 * math/s_nextdown.c: New file.
474 * math/s_nextdownf.c: Likewise.
475 * math/s_nextdownl.c: Likewise.
476 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
477 F(nextup): New function.
478 F(nextdown): Likewise.
479 * math/tgmath.h: Add nextup and nextdown.
480 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
481 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
482 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
484 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
485 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
486 Add nextup and nextdown.
487 (CFLAGS-nldbl-nextup.c): New variable.
488 (CFLAGS-nldbl-nextdown.c): Likewise.
489 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
490 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
491 * sysdeps/nacl/libm.abilist: Update.
492 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
494 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
496 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
497 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
499 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
500 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
501 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
503 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
510 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
521 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
523 * manual/pattern.texi: Fix typos & grammar errors.
525 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
527 * manual/search.texi: Fix typos & grammar errors.
529 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
531 * manual/message.texi: Fix typos & grammar errors.
533 2016-06-16 Mike Frysinger <vapier@gentoo.org>
535 * manual/contrib.texi: Fix spelling typos.
536 * manual/crypt.texi: Likewise.
537 * manual/filesys.texi: Likewise.
538 * manual/locale.texi: Likewise.
539 * manual/message.texi: Likewise.
540 * manual/nss.texi: Likewise.
541 * manual/string.texi: Likewise.
543 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
545 * manual/locale.texi: Fix typos & grammar errors.
547 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
549 * manual/charset.texi: Fix typos & grammar errors.
551 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
553 * manual/string.texi: Fix typos.
555 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
557 * manual/ctype.texi: Fix typos.
559 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
561 * manual/memory.texi: Fix various typos & grammar errors.
563 2016-06-14 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
567 * math/libm-test.inc (fdim_test_data): Add another test.
572 * math/s_fdim.c: Include <math_private.h>.
573 (__fdim): Use math_narrow_eval on result.
574 * math/s_fdimf.c: Include <math_private.h>.
575 (__fdimf): Use math_narrow_eval on result.
576 * sysdeps/i386/fpu/s_fdim.S: Remove file.
577 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
578 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
579 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
580 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
581 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
582 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
583 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
584 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
585 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
586 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
587 * math/libm-test.inc (fdim_test_data): Expect errno setting on
588 overflow. Add sNaN tests.
590 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
592 * math/s_fdimf.c (__fdimf): Likewise.
593 * math/s_fdiml.c (__fdiml): Likewise.
595 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
597 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
598 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
600 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
601 ifunc'ed strcasecmp/strncasecmp.
602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
605 [__strcasecmp]: Define instead of the above to control symbol name.
606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
607 for __strcasecmp_power8.
608 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
609 for __strncasecmp_power8.
610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
611 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
612 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
613 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
614 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
615 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
617 2016-06-13 Joseph Myers <joseph@codesourcery.com>
620 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
621 arguments when second argument is a NaN.
622 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
625 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
626 (conj_test_data): Likewise.
627 (copysign_test_data): Likewise.
628 (creal_test_data): Likewise.
629 (fma_test_data): Likewise.
630 (fmod_test_data): Likewise.
633 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
635 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
636 zero input to itself.
637 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
639 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
640 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
641 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
642 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
643 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
645 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
647 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
648 * nptl/tst-cancel4-common.c: New file.
649 * nptl/tst-cancel4-common.h: Likewise.
650 * nptl/tst-cancel4.c: Move common definitions to
651 tst-cancel4-common.{c,h} file.
652 * nptl/tst-cancel4_1.c: New test.
653 * nptl/tst-cancel4_2.c: New test.
655 2016-06-13 Florian Weimer <fweimer@redhat.com>
658 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
659 (write_message): New function.
660 (stackoverflow_handler): Call it instead of printf, to avoid
661 excessive stack usage by printf.
662 (do_test): Restore SIGSEGV, SIGBUS default handlers.
664 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
666 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
667 (prio_inherit_missing): Remove define.
668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
669 (__ASSUME_FUTEX_LOCK_PI): Likewise.
670 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
672 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
673 (__ASSUME_FUTEX_LOCK_PI): Likewise.
674 * sysdeps/unix/sysv/linux/mips/kernel-features.h
675 (__ASSUME_FUTEX_LOCK_PI): Likewise.
676 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
677 (__ASSUME_FUTEX_LOCK_PI): Likewise.
679 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
684 * io/test-lfs.c (do_prepare): Use xmalloc.
685 * io/tst-fcntl.c (do_prepare): Likewise.
686 * libio/tst-fopenloc.c (do_bz17916): Likewise.
687 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
688 * login/tst-utmp.c (do_prepare): Likewise.
689 * posix/tst-exec.c (do_prepare): Likewise.
690 * posix/tst-pathconf.c (prepare): Likewise.
691 * posix/tst-spawn.c (do_prepare): Likewise.
692 * posix/tst-truncate.c (do_prepare): Likewise.
693 * rt/tst-aio.c (do_prepare): Likewise.
694 * rt/tst-aio64.c (do_prepare): Likewise.
696 2016-06-11 Florian Weimer <fweimer@redhat.com>
699 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
700 (get*ent): Set entidx to NULL during initialization. If entidx is
701 NULL, start iteration from the beginning.
703 2016-06-11 Florian Weimer <fweimer@redhat.com>
705 * malloc/malloc.c (musable): Return correct size for dumped fake
708 2016-06-11 Florian Weimer <fweimer@redhat.com>
711 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
712 (_IO_cookie_write): Likewise.
713 (_IO_cookie_seek): Likewise.
714 (_IO_cookie_close): Likewise.
715 (_IO_old_cookie_seek): Likewise.
716 (set_callbacks): New function.
717 (_IO_cookie_init): Call set_callbacks to copy callbacks.
719 2016-06-11 Marko Myllynen <myllynen@redhat.com>
721 * locale/programs/localedef.c (oldstyle_tables): Remove.
722 * locale/programs/localedef.h (oldstyle_tables): Likewise.
724 2016-06-10 Joseph Myers <joseph@codesourcery.com>
727 * math/Makefile (CFLAGS-s_modf.c): New variable.
728 (CFLAGS-s_modff.c): Likewise.
729 (CFLAGS-s_modfl.c): Likewise.
730 * math/libm-test.inc (modf_test_data): Add sNaN tests.
732 2016-06-09 Carlos O'Donell <carlos@redhat.com>
735 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
736 [!__GNUC_PREREQ (3,2)]: Likewise.
738 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
740 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
741 (msghdr.msg_controllen): Likewise.
742 (cmsghdr.cmsg_len): Likewise.
743 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
745 (CFLAGS-oldrecvmsg.c): Remove rule.
746 (CFLAGS-oldsendmsg.c): Likewise.
747 (CFLAGS-recvmsg.c): Add rule.
748 (CFLAGS-sendmsg.c): Likewise.
749 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
750 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
751 (CFLAGS-recvmsg.c): Remove rule.
752 (CFLAGS-sendmsg.c): Likewise.
753 (CFLAGS-oldrecvmsg.c): Likewise.
754 (CFLAGS-oldsendmsg.c): Likewise.
755 (CFLAGS-recvmmsg.c): Likewise.
756 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
757 to kernel defined interfaces.
758 (msghdr.msg_controllen): Likewise.
759 (cmsghdr.cmsg_len): Likewise.
760 (msghdr.__glibc_reserved1): Remove member.
761 (msghdr.__glibc_reserved2): Likewise.
762 (cmsghdr.__glibc_reserved1): Likewise.
763 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
764 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
765 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
766 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
767 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
769 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
770 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
771 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
772 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
773 Remove recvmsg and sendmsg.
774 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
776 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
778 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
779 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
780 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
782 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
784 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
785 [libc] (GLIBC_2.24): Likewise.
786 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
788 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
791 [libc] (GLIBC_2.24): Likewise.
792 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
794 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
796 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
797 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
799 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
801 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
803 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
806 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
807 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
808 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
809 version for {recv,send,recm,sendm}msg.
810 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
811 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
812 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
813 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
814 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
816 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
818 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
819 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
820 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
821 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
830 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
831 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
836 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
837 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
838 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
840 2016-06-10 Florian Weimer <fweimer@redhat.com>
843 Remove __malloc_initialize_hook from the API.
844 * malloc/malloc.h (__malloc_initialize_hook): Remove.
845 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
847 * malloc/malloc-hooks.h: New file.
848 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
849 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
850 (old__malloc_initialize_hook): Rename from
851 __malloc_initialize_hook to evade poisoning. Turn into compat
853 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
854 __malloc_initialize_hook.
855 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
856 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
857 * manual/memory.texi (Hooks for Malloc): Remove
858 __malloc_initialize_hook. Adjust hook example.
860 2016-06-09 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
865 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
866 * math/libm-test.inc (log2_test_data): Add sNaN tests.
869 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
870 infinity or NaN input to itself.
873 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
877 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
880 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
882 * sysdeps/x86_64/start.S (_start): Always indirect branch to
883 __libc_start_main via GOT.
885 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
887 * sysdeps/x86_64/memcopy.h: New file.
888 * sysdeps/x86_64/wordcopy.c: Likewise.
890 2016-06-09 Florian Weimer <fweimer@redhat.com>
892 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
893 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
895 (optimization_barrier): New.
896 (do_test): Use it. Call quick_exit in the global namespace.
897 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
898 instead of <cstdlib>, <thread>.
899 (optimization_barrier): New.
900 (non_main_thread): Adjust declaration. Call optimization_barrier.
901 Call quick_exit in the global namespace.
902 (do_test): Call optimization_barrier. Use pthread_create,
903 pthread_join instead of std::thread.
905 2016-06-09 Andreas Schwab <schwab@suse.de>
908 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
909 new entries in auto-propagate mode.
910 * nscd/grpcache.c (cache_addgr): Likewise.
912 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
914 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
916 (add_temp_file): Use them.
918 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
920 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
922 2016-06-08 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
926 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
927 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
930 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
932 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
933 * math/libm-test.inc (log10_test_data): Add sNaN tests.
936 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
938 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
939 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
940 * math/libm-test.inc (log_test_data): Add sNaN tests.
943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
946 * math/libm-test.inc (exp_test_data): Add sNaN tests.
947 (exp10_test_data): Likewise.
948 (expm1_test_data): Likewise.
951 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
953 * math/s_ldexpf.c (__ldexpf): Likewise.
954 * math/s_ldexpl.c (__ldexpl): Likewise.
955 * math/w_scalbln.c (__w_scalbln): Likewise.
956 * math/w_scalblnf.c (__w_scalblnf): Likewise.
957 * math/w_scalblnl.c (__w_scalblnl): Likewise.
958 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
959 (scalbln_test_data): Likewise.
962 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
964 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
966 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
969 * sysdeps/x86_64/memcpy.S: Make it dummy.
970 * sysdeps/x86_64/mempcpy.S: Likewise.
971 * sysdeps/x86_64/memmove.S: New file.
972 * sysdeps/x86_64/memmove_chk.S: Likewise.
973 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
974 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
975 * sysdeps/x86_64/memmove.c: Removed.
976 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
977 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
978 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
979 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
981 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
982 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
984 memcpy-sse2-unaligned, memmove-avx-unaligned,
985 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
987 (__libc_ifunc_impl_list): Replace
988 __memmove_chk_avx512_unaligned_2 with
989 __memmove_chk_avx512_unaligned. Remove
990 __memmove_chk_avx_unaligned_2. Replace
991 __memmove_chk_sse2_unaligned_2 with
992 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
993 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
994 with __memmove_avx512_unaligned. Replace
995 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
996 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
997 with __memcpy_chk_avx512_unaligned. Remove
998 __memcpy_chk_avx_unaligned_2. Replace
999 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1000 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
1001 Replace __memcpy_avx512_unaligned_2 with
1002 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
1003 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
1004 with __mempcpy_chk_avx512_unaligned. Remove
1005 __mempcpy_chk_avx_unaligned_2. Replace
1006 __mempcpy_chk_sse2_unaligned_2 with
1007 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
1008 Replace __mempcpy_avx512_unaligned_2 with
1009 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
1010 Replace __mempcpy_sse2_unaligned_2 with
1011 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
1012 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1013 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1014 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1015 if processor has ERMS. Default to __memcpy_sse2_unaligned.
1018 (ENTRY_CHK): Likewise.
1019 (libc_hidden_builtin_def): Likewise.
1020 Don't include ../memcpy.S.
1021 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1022 __memcpy_chk_avx512_unaligned_erms and
1023 __memcpy_chk_avx512_unaligned. Use
1024 __memcpy_chk_avx_unaligned_erms and
1025 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1026 Default to __memcpy_chk_sse2_unaligned.
1027 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1028 Change function suffix from unaligned_2 to unaligned.
1029 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1030 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1031 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1032 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
1035 (ENTRY_CHK): Likewise.
1036 (libc_hidden_builtin_def): Likewise.
1037 Don't include ../mempcpy.S.
1038 (mempcpy): New. Add a weak alias.
1039 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1040 __mempcpy_chk_avx512_unaligned_erms and
1041 __mempcpy_chk_avx512_unaligned. Use
1042 __mempcpy_chk_avx_unaligned_erms and
1043 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1044 Default to __mempcpy_chk_sse2_unaligned.
1046 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1049 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1051 * sysdeps/x86_64/memset.S: This.
1053 (__memset_tail): Likewise.
1054 (__memset_chk): Likewise.
1056 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1058 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1059 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1060 (__memset_zero_constant_len_parameter): Check SHARED instead of
1062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1063 memset-avx2 and memset-sse2-unaligned-erms.
1064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1066 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1067 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1069 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1070 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1071 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
1072 or __memset_avx2_unaligned_erms if processor has ERMS. Support
1073 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1075 (__memset_chk): Likewise.
1076 (MEMSET_SYMBOL): New.
1077 (libc_hidden_builtin_def): Replace __memset_sse2 with
1078 __memset_sse2_unaligned.
1079 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1080 __memset_chk_sse2 and __memset_chk_avx2 with
1081 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1082 Use __memset_chk_sse2_unaligned_erms or
1083 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
1084 __memset_chk_avx512_unaligned_erms and
1085 __memset_chk_avx512_unaligned.
1087 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1089 * math/gen-auto-libm-test.c (fp_format_desc): remove
1091 (output_generic_value): Remove usage of suffix member,
1092 and the resulting unuse of the fp_format argument.
1093 (output_for_one_input_case): Remove unused fp_format
1096 * math/auto-libm-test-out: Regenerate.
1098 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1099 usage with TEST_COND_ibm128.
1100 (TEST_COND_flt_32): Remove.
1101 (TEST_COND_dbl_64): Remove.
1102 (TEST_COND_ldbl_96_intel): Remove.
1103 (TEST_COND_ldbl_96_m68k): Remove.
1104 (TEST_COND_ldbl_128): Remove.
1106 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1108 * auto-libm-test-in:
1109 Replace flt-32 usage with binary32.
1110 Replace dbl-64 usage with binary64.
1111 Replace ldbl-intel-96 usage with intel96.
1112 Replace ldbl-m68k-96 usage with m68k96.
1113 Replace ldbl-128ibm usage with ibm128.
1114 Replace ldbl-128 usage with binary128.
1116 * auto-libm-test-out: Regenerate.
1118 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1120 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1121 (parse_ulps): Dynamically generate type name matching
1122 string from all_floats.
1123 (get_ulps): Generate the ulps as an array instead.
1124 (output_ulps): Dynamically compose the type based
1125 on the number of supported formats, and print
1126 the indices as type specific helper macros.
1128 * math/libm-test.inc: Remove comment about CHOOSE.
1129 (ulp_data): Generate the type in libm-test-ulps.h.
1130 (ULP_IDX): New macro.
1131 (find_ulps): Update usage of max_ulp.
1133 * math/test-double-vlen2.h (CHOOSE): Remove.
1134 * math/test-double-vlen4.h (CHOOSE): Likewise.
1135 * math/test-double-vlen8.h (CHOOSE): Likewise.
1136 * math/test-float.c (CHOOSE): Likewise.
1137 * math/test-float-finite.c (CHOOSE): Likewise.
1138 * math/test-double.c (CHOOSE): Likewise.
1139 * math/test-double-finite.c (CHOOSE): Likewise.
1140 * math/test-idouble.c (CHOOSE): Likewise.
1141 * math/test-ifloat.c (CHOOSE): Likewise.
1142 * math/test-ildoubl.c (CHOOSE): Likewise.
1143 * math/test-ldouble-finite.c (CHOOSE): Likewise.
1144 * math/test-ldouble.c (CHOOSE): Likewise.
1146 * math/test-float.h (TEST_FLOAT): Remove.
1147 * math/test-double.h (TEST_DOUBLE): Likewise.
1148 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1150 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1152 * math/gen-libm-test.pl: (apply_lit): New subroutine.
1153 (parse_args): Strip C suffix from floating point literals
1154 typed with 'f' and wrap them with LIT().
1156 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1157 (test_ff_f_data_nexttoward): Rename to
1158 (test_fj_f_data): New struct.
1159 (nexttoward_test_data): Relabel tests as
1160 TEST_fj_f instead of TEST_ff_f.
1162 2016-06-08 Florian Weimer <fweimer@redhat.com>
1165 * malloc/malloc.c (dumped_main_arena_start): Update comment.
1166 (__libc_realloc): Correct size computation for dumped fake mmapped
1169 2016-06-07 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1174 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1177 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1179 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1181 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
1184 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1186 (init_cpu_features): Here.
1188 2016-06-07 Carlos O'Donell <carlos@redhat.com>
1191 * sysdeps/unix/sysv/linux/bits/in.h
1192 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1193 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1195 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1196 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1198 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1199 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1201 2016-06-06 Carlos O'Donell <carlos@redhat.com>
1204 * stdlib/Makefile (tests): Add tst-quick_exit, and
1205 tst-thread-quick_exit.
1206 [ifeq ($(have-cxx-thread_local),yes)]
1207 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1208 (CFLAGS-tst-thread-quick_exit.o): Likewise.
1209 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1210 (LDLIBS-tst-thread-quick_exit): Likewise.
1211 [ifneq ($(have-cxx-thread_local),yes)]
1212 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1213 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1214 If run_dtors is true call __call_tls_dtors.
1215 (exit): Call __run_exit_handlers with run_dtors set to true.
1216 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1218 * stdlib/quick_exit.c (quick_exit): Remove function.
1219 (__new_quick_exit): New function.
1220 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1222 * stdlib/tst-quick_exit.cc: New file.
1223 * stdlib/tst-thread-quick_exit.cc: New file.
1224 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1225 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1226 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1228 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1229 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1230 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1237 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1238 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1239 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1244 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1245 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1246 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1247 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1251 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1252 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1255 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1257 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1260 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1263 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1265 * math/libm-test.inc (asin_test_data): Add sNaN tests.
1267 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1269 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1271 (CFLAGS-pwritev64.c): Likewise.
1272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1273 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1274 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1275 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1276 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1277 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1278 syscall from auto-generation.
1279 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1280 [WORDSIZE == 64] (pwritev64): Remove macro.
1281 [!PWRITEV] (PWRITEV): Likewise.
1282 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1283 [!PWRITEV] (PWRITE): Likewise.
1284 [!PWRITEV] (OFF_T): Likewise.
1285 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1286 (LO_HI_LONG): Remove macro.
1287 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1288 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1289 (PWRITEV): Remove macro.
1290 (PWRITEV_REPLACEMENTE): Likewise.
1293 (pwritev64): New function.
1294 * nptl/tst-cancel4.c (tf_writev): Add test.
1296 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1298 (CFLAGS-preadv64.c): Likewise.
1299 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1300 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1301 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1302 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1303 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1304 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1305 syscall from auto-generation.
1306 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1307 [WORDSIZE == 64] (preadv64): Remove macro.
1308 [!PREADV] (PREADV): Likewise.
1309 [!PREADV] (PREADV_REPLACEMENT): Likewise.
1310 [!PREADV] (PREAD): Likewise.
1311 [!PREADV] (OFF_T): Likewise.
1312 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1313 (LO_HI_LONG): Remove macro.
1314 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1315 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1316 (PREADV): Remove macro.
1317 (PREADV_REPLACEMENTE): Likewise.
1320 (preadv64): New function.
1321 * nptl/tst-cancel4.c (tf_preadv): Add test.
1323 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1326 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1328 * math/libm-test.inc (acos_test_data): Add sNaN tests.
1330 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1332 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1333 New symbol defined as libc_hidden_def.
1334 (strcasestr): Became a weak alias to __strcasestr.
1335 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1336 according to multi-arch support. Move __stpncpy hidden
1337 definition from here to...
1338 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
1340 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1341 libc_hidden_builtin_def.
1342 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1343 memset symbol to use when multi-arch support is available.
1345 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1347 * dlfcn/tst-rec-dlopen.c: Include string.h.
1349 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1351 * manual/install.texi: Remove mention of --without-tls
1352 * INSTALL: Regenerate.
1354 2016-06-05 Florian Weimer <fweimer@redhat.com>
1356 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1358 (call_function, interposed_malloc_called): New variables.
1359 (malloc): New function.
1360 (do_test): Do not change malloc hooks. Initialize malloc. Set
1361 and clear call_function as needed.
1363 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
1365 * include/wchar.h (__wmemset): Use __typeof.
1367 2016-06-03 Carlos O'Donell <carlos@redhat.com>
1369 * include/wchar.h (__wmemset): Declare function without typeof.
1371 2016-06-03 Joseph Myers <joseph@codesourcery.com>
1374 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1375 exponent when incrementing negative subnormal with low mantissa
1377 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1380 2016-06-03 Florian Weimer <fweimer@redhat.com>
1382 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1383 __wmemset instead of wmemset.
1385 2016-06-02 Carlos O'Donell <carlos@redhat.com>
1387 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1388 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1389 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1390 __USE_KERNEL_IPV6_DEFS to 0.
1391 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1394 2016-06-01 Florian Weimer <fweimer@redhat.com>
1397 Do not use IFUNC resolver with potentially unrelocated symbol.
1398 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1399 (DEFINE_FORK): Remove macro and inline definition.
1400 (fork_alias): Renamed from fork_ifunc.
1401 (__fork_alias): Renamed from __fork_ifunc.
1403 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
1406 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1407 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1409 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1411 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1412 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1414 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1416 * sysdeps/mach/hurd/configure: Refresh.
1418 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1421 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1422 on failure instead of exit.
1424 2016-05-30 Roland McGrath <roland@hack.frob.com>
1427 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1430 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1432 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1433 Use PLT entry for calling _hurd_self_sigstate.
1435 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1437 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1438 available logical processors with SMT level type sharing L2
1439 cache for Intel processors.
1441 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1444 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1445 argument to itself before returning the result.
1446 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1447 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1448 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1451 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1453 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1457 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1458 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1461 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1462 argument to itself before returning the result.
1463 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1464 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1465 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1466 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1468 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1470 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1471 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1472 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1473 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1474 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1475 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1477 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1479 * libm-test.inc: Replace usage of M_El with
1482 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1484 * libm-test.inc: Replace usage of M_PI_4l with
1485 (lit_pi_4_d): New macro.
1487 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1489 * libm-test.inc: Replace usage of M_PIl with
1490 (lit_pi): New macro.
1492 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1494 * libm-test.inc: Replace usage of M_PI2l with
1495 (lit_pi_2_d): New macro.
1497 * math/test-double.h (LITM): New macro.
1498 * math/test-float.h (LITM): Likewise.
1499 * math/test-ldouble.h (LITM): Likewise.
1501 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1503 * libm-test.inc (M_PI_34l): Rename to
1504 (lit_pi_3_m_4_d): New Macro.
1505 (M_PI_34_LOG10El): Rename to
1506 (lit_pi_3_m_4_ln10_m_d): New Macro.
1507 (M_PI2_LOG10El): Rename to
1508 (lit_pi_2_ln10_m_d): New Macro.
1509 (M_PI4_LOG10El): Rename to
1510 (lit_pi_4_ln10_m_d): New Macro.
1511 (M_PI_LOG10El): Rename to
1512 (lit_pi_ln10_d): New Macro.
1514 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1517 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1518 determine whether to negate low half if [_ARCH_PPCGR], and integer
1519 comparison otherwise.
1520 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1521 determine whether to negate low half.
1523 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1524 (NO_TEST_INLINE_DOUBLE): Likewise.
1525 (TEST_COND_x86_64): Likewise.
1526 (TEST_COND_x86): Likewise.
1527 (M_PI_6l): Likewise.
1529 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1531 * math/libm-test.inc:
1532 (TEST_FLOAT): Change usage to TEST_COND_binary32.
1533 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1534 (TEST_LDOUBLE): Update usage to evaluate as true if
1535 the guarded tests match the property being tested.
1536 (LDBL_MAX_EXP): Change to MAX_EXP.
1537 (LDBL_MIN_EXP): Change to MIN_EXP.
1538 (LDBL_MANT_DIG): Change to MANT_DIG, except for
1541 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1543 * math/libm-test.inc:
1544 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1545 (TYPE_MIN): Likewise.
1546 (TYPE_TRUE_MIN): Likewise.
1547 (TYPE_MAX): Likewise.
1548 (MIN_EXP): Likewise.
1549 (MAX_EXP): Likewise.
1550 (MANT_DIG): Likewise.
1552 (FSTR_MAX): New macro.
1553 (__CONCATX): Likewise.
1554 (QTYPE_STR): Likewise.
1555 (TEST_COND_binary32): Likewise.
1556 (TEST_COND_binary64): Likewise.
1557 (TEST_COND_binary128): Likewise.
1558 (TEST_COND_ibm128): Likewise.
1559 (TEST_COND_intel96): Likewise.
1560 (TEST_COND_m68k96): Likewise.
1562 (TEST_COND_flt_32): Redefine as equivalent format test macro.
1563 (TEST_COND_dbl_64): Likewise.
1564 (TEST_COND_ldbl_96_intel): Likewise.
1565 (TEST_COND_ldbl_96_m68k): Likewise.
1566 (TEST_COND_ldbl_128): Likewise.
1567 (TEST_COND_ldbl_128ibm): Likewise.
1569 (plus_zero): Redefine using LIT macro.
1570 (minus_zero): Likewise.
1571 (plus_infty): Redefine as (INF).
1572 (minux_infty): Redefine as (-INF).
1573 (max_value): Redefine as TYPE_MAX.
1574 (min_value): Redefine as TYPE_MIN.
1575 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1577 (print_float): Refactor to use snprintf to convert FLOAT values
1578 to string. This brings it closer to dropin replacement of strtof
1579 for the TS 18661 defined types.
1580 (update_stats): Likewise.
1581 (print_complex_function_ulps): Likewise.
1582 (print_max_error): Likewise.
1583 (print_complex_max_error): Likewise.
1584 (check_float_internal): Likewise.
1586 * math/test-float.h (PREFIX): New macro.
1588 (TYPE_STR): Likewise.
1591 * math/test-double.h (PREFIX): New macro.
1593 (TYPE_STR): Likewise.
1596 * math/test-ldouble.h (PREFIX): New macro.
1598 (TYPE_STR): Likewise.
1601 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1604 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1605 to itself when zero or not finite.
1606 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1611 2016-05-26 Joseph Myers <joseph@codesourcery.com>
1614 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1615 x * x + x for infinities and NaNs.
1618 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1619 argument to itself before returning result.
1620 (__ieee754_y0l): Likewise.
1621 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1624 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1625 (atan_test_data): Likewise.
1626 (ceil_test_data): Likewise.
1627 (cos_test_data): Likewise.
1628 (cosh_test_data): Likewise.
1629 (erf_test_data): Likewise.
1630 (exp2_test_data): Likewise.
1631 (fabs_test_data): Likewise.
1632 (floor_test_data): Likewise.
1633 (ilogb_test_data): Likewise.
1634 (j0_test_data): Likewise.
1635 (j1_test_data): Likewise.
1636 (jn_test_data): Likewise.
1637 (lgamma_test_data): Likewise.
1638 (lrint_test_data): Likewise.
1639 (llrint_test_data): Likewise.
1640 (logb_test_data): Likewise.
1641 (lround_test_data): Likewise.
1642 (llround_test_data): Likewise.
1643 (nearbyint_test_data): Likewise.
1644 (rint_test_data): Likewise.
1645 (round_test_data): Likewise.
1646 (sin_test_data): Likewise.
1647 (sincos_test_data): Likewise.
1648 (sinh_test_data): Likewise.
1649 (sqrt_test_data): Likewise.
1650 (tan_test_data): Likewise.
1651 (tanh_test_data): Likewise.
1652 (tgamma_test_data): Likewise.
1653 (trunc_test_data): Likewise.
1654 (y0_test_data): Likewise.
1655 (y1_test_data): Likewise.
1656 (yn_test_data): Likewise.
1658 * math/libm-test.inc: Update comment about NaN testing.
1659 (TEST_SNAN): New macro.
1660 (snan_value): Likewise.
1661 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1662 (fpclassify_test_data): Add sNaN tests.
1663 (isfinite_test_data): Likewise.
1664 (isinf_test_data): Likewise.
1665 (isnan_test_data): Likewise.
1666 (isnormal_test_data): Likewise.
1667 (issignaling_test_data): Likewise.
1668 (signbit_test_data): Likewise.
1669 * math/gen-libm-test.pl (%beautify): Add snan_value.
1670 (show_exceptions): Add argument $test_snan.
1671 (parse_args): Handle snan_value as non-finite. Update call to
1673 * math/Makefile (libm-test-no-inline-cflags): Add
1676 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1678 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1679 (CFLAGS-oldsendmsg.c): Add rule.
1680 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1681 Correct recvmsg symbol name.
1682 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1685 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1687 * sysdeps/unix/sysv/linux/Makefile
1688 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1690 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1692 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1695 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1701 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1702 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1703 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1704 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1705 iovlen and controllen fields to adjust to POSIX specification.
1706 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1708 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1709 and change to correct expected type.
1710 (msghdr.msg_controllen): Likewise.
1711 (cmsghdr.cmsg_len): Likewise.
1712 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1713 expected POSIX assumption about the size.
1714 (msghdr.msg_controllen): Likewise.
1715 (msghdr.__glibc_reserved1): Likewise.
1716 (msghdr.__glibc_reserved2): Likewise.
1717 (cmsghdr.cmsg_len): Likewise.
1718 (cmsghdr.__glibc_reserved1): Likewise.
1719 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1720 Add ptw-oldrecvmsg and ptw-oldsendmsg.
1721 (CFLAGS-sendmsg.c): Remove rule.
1722 (CFLAGS-recvmsg.c): Likewise.
1723 (CFLAGS-oldsendmsg.c): Add rule.
1724 (CFLAGS-oldrecvmsg.c): Likewise.
1725 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1726 recvmsg and sendmsg.
1727 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1729 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1730 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1731 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1732 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1733 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1734 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1736 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1738 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1740 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1742 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1744 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1747 (GLIBC_2.24): Likewise.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1750 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1752 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1753 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1757 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1760 (GLIBC_2.24): Likewise.
1761 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1763 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1765 * sysdeps/unix/sysv/linux/Makefile
1766 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1767 (CFLAGS-sendmsg.c): Add rule.
1768 (CFLAGS-recvmsg.c): Likewise.
1769 (CFLAGS-oldsendmsg.c): Likewise.
1770 (CFLAGS-oldrecvmsg.c): Likewise.
1771 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1773 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1774 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1775 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1776 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1777 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1778 iovlen and controllen fields to adjust to POSIX specification.
1779 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1780 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1781 added recvmsg and sendmsg.
1782 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1784 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1785 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1786 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1787 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1788 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1789 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1790 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1791 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1792 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1793 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1796 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1798 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1801 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1802 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1803 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1814 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1815 from auto-generation.
1816 (sendmsg): Likewise.
1817 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1818 (sendmsg): Likewise.
1819 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1820 (sendmsg): Likewise.
1821 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1822 (sendmsg): Likewise.
1823 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1824 (sendmsg): Likewise.
1825 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1826 (sendmsg): Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1829 (sendmsg): Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1831 (sendmsg): Likewise.
1832 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1835 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1837 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1839 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1841 * sysdeps/unix/sysv/linux/kernel-features.h
1842 (__ASSUME_SENDMSG_SYSCALL): Define.
1843 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1844 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1845 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1847 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1849 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1851 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1853 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1854 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1856 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1858 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1860 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1863 (__ASSUME_SENDMSG_SYSCALL): Undefine.
1864 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1865 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1866 (__ASSUME_SENDMSG_SYSCALL): Likewise.
1867 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1868 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1869 (__ASSUME_SENDMSG_SYSCALL): Likewise.
1870 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1872 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1874 * stdlib/gen-tst-strtod-round.c: Add backslash to
1875 compile command in comment.
1876 (printfp): Remove the literal suffix, and define an infinite
1877 value as INF to avoid expansion clash with INFINITY.
1878 (round_str): Remove the literal suffix.
1879 (round_for_all): Likewise, remove the now duplicate ldbl-64
1880 entry, and remove some magic constants.
1882 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1883 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
1884 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1885 (_CONCAT): New macro.
1887 (CHOOSE_ld): Likewise.
1888 (CHOOSE_f): Likewise.
1889 (CHOOSE_d): Likewise.
1890 (FTYPE_MEMBER): Likewise.
1891 (BOOL_MEMBER): Likewise.
1892 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1893 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1898 (test_exactness): Generate members via macro.
1899 (test_results): Likewise.
1900 (test): Update members.
1901 (TEST): Redefine using new macros.
1903 (fetestmodes): New structure.
1904 (do_test): Refactor to be type generic.
1905 (test_in_one_mode): Refactor duplicate code into
1906 (GEN_ONE_TEST): New macro.
1908 * stdlib/tst-strtod-round-data.h: Regenerate.
1910 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1911 Extend to pass additional arbitrary parameters to
1914 2016-05-25 Joseph Myers <joseph@codesourcery.com>
1917 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1918 floating-point state after first floating-point operation on
1919 input. Restore full floating-point state instead of just rounding
1921 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1922 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1923 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1924 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1925 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1928 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1929 floating-point state after first floating-point operation on
1930 input. Restore full floating-point state instead of just rounding
1932 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1933 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1934 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1935 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1936 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1938 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1941 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1942 valid high surrogate.
1943 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1944 of an utf16 surrogate.
1945 * iconv/gconv_simple.c (BODY): Likewise.
1946 * iconvdata/bug-iconv12.c: New file.
1947 * iconvdata/Makefile (tests): Add bug-iconv12.
1949 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1952 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1953 outptrp in case of an illegal input.
1954 * iconv/tst-iconv6.c: New file.
1955 * iconv/Makefile (tests): Add tst-iconv6.
1957 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1959 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1960 an error in case of a value in range of an utf16 low surrogate.
1962 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1964 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1965 an error in case of a value in range of an utf16 low surrogate.
1967 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1969 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1971 * sysdeps/s390/Makefile: ... here.
1972 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1973 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1974 (BRANCH_ON_COUNT): New define.
1975 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1976 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1977 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1978 run on s390-32, too.
1979 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1980 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1981 run on s390-32, too.
1982 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1983 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1984 run on s390-32, too.
1986 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1988 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1989 etf3eh or new vector loop-variant.
1991 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1993 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1994 etf3eh or new vector loop-variant.
1996 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1998 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1999 or new vector loop-variant.
2001 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2003 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2004 Rename to TR_LOOP and usage of tr instead of troo instruction.
2006 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2008 * sysdeps/s390/multiarch/gconv_simple.c: New File.
2009 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2011 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2013 * sysdeps/s390/multiarch/8bit-generic.c: New File.
2014 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2015 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2016 New override define.
2017 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2019 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2021 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2022 * sysdeps/s390/configure.ac: Add test for S390 vector register
2024 * sysdeps/s390/configure: Regenerated.
2026 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2028 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2029 Install file from $(objpfx)gconv-modules.
2030 ($(objpfx)gconv-modules): Concatenate architecture specific file
2031 in variable sysdeps-gconv-modules and gconv-modules in src dir.
2032 * sysdeps/s390/gconv-modules: New file.
2033 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2035 ($(objpfx)gconv-modules-s390): Deleted.
2036 (sysdeps-gconv-modules): New variable.
2038 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2041 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2042 of immediate operand to rounding instruction.
2043 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2045 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2047 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2050 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2052 * math/libm-test.inc (MIN_EXP): Directly define as
2053 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2055 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2057 * math/libm-test.inc (MANT_DIG): Directly define as
2058 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2060 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2062 * stdlib/gen-tst-strtod-round.c (main):
2063 Change usage to more closely match the generated
2064 output. Add usage and compilation instructions.
2065 (string_to_fp): Add and use FILE* parameter as
2067 (print_fp): Likewise.
2068 (round_str): Likewise.
2069 (round_for_all): Likewise.
2070 * stdlib/tst-strtod-round.c (tests): Move into
2071 * stdlib/tst-strtod-round-data.h: New file.
2073 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2076 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2077 (__round): Do not force "inexact" exception.
2078 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2080 (__round): Do not force "inexact" exception.
2081 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2082 (__roundf): Do not force "inexact" exception.
2083 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2084 (__roundl): Do not force "inexact" exception.
2085 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2086 (__roundl): Do not force "inexact" exception.
2087 * math/libm-test.inc (round_test_data): Do not allow spurious
2088 "inexact" exceptions.
2091 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2092 exception in comment.
2093 (huge): Remove variable.
2094 (__floor): Do not force "inexact" exception.
2095 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2096 "inexact" exception in comment.
2097 (huge): Remove variable.
2098 (__floor): Do not force "inexact" exception.
2099 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2100 exception in comment.
2101 (huge): Remove variable.
2102 (__floorf): Do not force "inexact" exception.
2103 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2104 exception in comment.
2105 (huge): Remove variable.
2106 (__floorl): Do not force "inexact" exception.
2109 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2110 exception in comment.
2111 (huge): Remove variable.
2112 (__ceil): Do not force "inexact" exception.
2113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2114 "inexact" exception in comment.
2115 (huge): Remove variable.
2116 (__ceil): Do not force "inexact" exception.
2117 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2118 (__ceilf): Do not force "inexact" exception.
2119 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2120 exception in comment.
2121 (huge): Remove variable.
2122 (__ceill): Do not force "inexact" exception.
2124 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
2126 * config.h.in (BIND_NOW): New.
2127 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
2128 * configure: Regenerated.
2129 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2130 indirect branch via the GOT slot.
2132 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2135 * sysdeps/s390/mempcpy.S: New File.
2136 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2137 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2138 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2139 Add mempcpy variants.
2140 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2141 (memcpy): Adjust to be usable from mempcpy entry point.
2142 (__memcpy_mvcle): Likewise.
2143 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2144 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2145 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2146 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2147 (__memcpy_z10): Likewise.
2148 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2150 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2152 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2153 Remove __GI_ symbol.
2154 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2155 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2156 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2157 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2158 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2159 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2161 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2163 * sysdeps/s390/s390-64/memcpy.S (memcpy):
2164 Use cghi instead of chi to compare 64bit value.
2166 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2168 * sysdeps/s390/s390-32/memcpy.S (memcpy):
2169 Jump to 1MB check before executing mvc-loop.
2171 2016-05-24 Florian Weimer <fweimer@redhat.com>
2174 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2176 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2178 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2180 * stdlib/tst-strtod6.c (do_test): Use new type generic
2181 invocation of the test function.
2182 (test): Refactor into ...
2183 (TEST_STRTOD): New macro base function.
2185 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2187 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2188 (TEST_STRTOD): New macro.
2189 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2191 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2193 * stdlib/tst-strtod6.c (do_test): Use new type generic
2194 invocation of the test function.
2195 (test): Refactor into ...
2196 (TEST_STRTOD): New macro base function.
2198 2016-05-23 Florian Weimer <fweimer@redhat.com>
2202 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2205 2016-05-23 Florian Weimer <fweimer@redhat.com>
2208 * bits/sockaddr.h (_SS_SIZE): Define.
2209 * bits/socket.h (_SS_SIZE): Remove.
2210 (_SS_PADSIZE): Adjust to account for all padding.
2211 (struct sockaddr_storage): Update comment. Avoid implicit
2213 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2214 (_SS_PADSIZE): Adjust to account for all padding.
2215 (struct sockaddr_storage): Update comment. Avoid implicit
2217 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2218 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2219 (_SS_PADSIZE): Adjust to account for all padding.
2220 (struct sockaddr_storage): Update comment. Avoid implicit
2222 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2223 __SS_SIZE is 126 in this version.
2224 * inet/tst-sockaddr.c: New file.
2225 * inet/Makefile (tests): Add tst-sockaddr.c
2226 (tst-sockaddr.c): Compile with non-strict aliasing.
2228 2016-05-23 Joseph Myers <joseph@codesourcery.com>
2230 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2232 (NL_ARGMAX): Also expect for [XPG3].
2233 (NL_LANGMAX): Likewise.
2234 (NL_MSGMAX): Likewise.
2235 (NL_NMAX): Likewise.
2236 (NL_SETMAX): Likewise.
2237 (NL_TEXTMAX): Likewise.
2239 (TMP_MAX): Likewise.
2240 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2244 (PF_MAX): Update value.
2245 (AF_KCM): New macro.
2246 (SOL_NETBEUI): Likewise.
2247 (SOL_LLC): Likewise.
2248 (SOL_DCCP): Likewise.
2249 (SOL_NETLINK): Likewise.
2250 (SOL_TIPC): Likewise.
2251 (SOL_RXRPC): Likewise.
2252 (SOL_PPPOL2TP): Likewise.
2253 (SOL_BLUETOOTH): Likewise.
2254 (SOL_PNPIPE): Likewise.
2255 (SOL_RDS): Likewise.
2256 (SOL_IUCV): Likewise.
2257 (SOL_CAIF): Likewise.
2258 (SOL_ALG): Likewise.
2259 (SOL_NFC): Likewise.
2260 (SOL_KCM): Likewise.
2261 (MSG_BATCH): New enum value and macro.
2263 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2266 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2267 sharing L2 cache to 2 for Knights Landing.
2269 2016-05-20 Joseph Myers <joseph@codesourcery.com>
2271 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2272 (FTW_DP): Do not expect for [XPG3 || XPG4].
2273 (FTW_SL): Do not expect for [XPG3].
2274 (FTW_SLN): Likewise.
2275 (FTW_PHYS): Likewise.
2276 (FTW_MOUNT): Likewise.
2277 (FTW_DEPTH): Likewise.
2278 (FTW_CHDIR): Likewise.
2280 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2283 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2285 * manual/errno.texi: Fix various typos & grammar errors.
2287 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2289 * manual/intro.texi: Fix duplicated typo.
2291 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2294 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2295 <float.h>, <math_private.h> and <stdlib.h>.
2296 (add_split): New function.
2297 (mul_split): Likewise.
2298 (ext_val): New typedef.
2299 (store_ext_val): New function.
2300 (mul_ext_val): New function.
2301 (compare): New function.
2302 (add_split_ext): New function.
2303 (__fmal): After checking for Inf, NaN and zero, compute result as
2304 an exact sum of scaled double values in round-to-nearest before
2305 adding those up and adjusting for other rounding modes.
2306 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2308 * math/auto-libm-test-out: Regenerated.
2310 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2313 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2314 processor level type mask for CPUID with EAX == 11.
2316 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2318 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2319 logical threads if the HTT bit is 0.
2320 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2321 (index_cpu_HTT): Likewise.
2322 (reg_HTT): Likewise.
2324 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2327 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2328 Remove alignments on jump targets.
2330 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2332 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2333 (getpwent): Likewise.
2334 (setpwent): Likewise.
2335 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2338 * conform/data/search.h-data (insque): Do not expect for [XPG3].
2340 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2343 2016-05-18 Joseph Myers <joseph@codesourcery.com>
2345 * math/libm-test.inc: Update comment not to refer to signs of NaNs
2348 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2350 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2351 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
2353 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2354 (__condvar_cleanup1): Likewise.
2356 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2358 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2360 (__pthread_unwind): Renamed to ...
2361 (PTHREAD_UNWIND): This.
2362 (__pthread_enable_asynccancel): Replace
2363 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2365 2016-05-18 Joseph Myers <joseph@codesourcery.com>
2367 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2368 (CLONE_NEWCGROUP): New macro.
2370 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2371 (Q_GETNEXTQUOTA): New macro.
2373 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2376 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2377 buffer updated by the previous run.
2378 * string/test-memcpy.c (do_one_test): Likewise.
2379 * benchtests/bench-memmove.c (do_one_test): Add a comment.
2380 * string/test-memmove.c (do_one_test): Likewise.
2382 2016-05-17 Joseph Myers <joseph@codesourcery.com>
2385 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2387 (unlockpt): Likewise.
2388 (ptsname): Likewise.
2389 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2393 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2394 instead of [__USE_UNIX98].
2395 (S_ISSOCK): Likewise.
2396 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2400 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2402 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2406 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2407 (ttyslot): Do not declare.
2408 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2409 (ttyslot): New prototype.
2410 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2412 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2414 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2416 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2418 2016-05-13 Florian Weimer <fweimer@redhat.com>
2420 Fix race condition in tst-mallocfork2, use fewer resources.
2421 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2422 to current process group.
2423 (signal_sender): Yield in the non-sleeping case.
2425 2016-05-13 Joseph Myers <joseph@codesourcery.com>
2427 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2431 (getsubopt): Likewise.
2432 (grantpt): Likewise.
2433 (initstate): Likewise.
2436 (mkstemp): Likewise.
2437 (ptsname): Likewise.
2439 (realpath): Likewise.
2440 (setstate): Likewise.
2441 (srandom): Likewise.
2442 (ttyslot): Likewise.
2443 (unlockpt): Likewise.
2446 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2447 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2450 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2453 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2454 init_cpu_features only if SHARED is defined.
2455 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2457 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2459 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2460 non-inclusive caches on Intel processors.
2462 2016-05-13 Florian Weimer <fweimer@redhat.com>
2464 * malloc/malloc.c (dumped_main_arena_start)
2465 (dumped_main_arena_end): New variables.
2466 (DUMPED_MAIN_ARENA_CHUNK): New macro.
2467 (do_check_chunk): Skip dumped fake mmapped chunks.
2468 (munmap_chunk): Likewise.
2469 (__libc_free): Do not adjust statistics for fake mmapped chunks.
2470 (__libc_realloc): Adjust hardening check. Always copy dumped fake
2472 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2473 Mark dumped chunks as using mmap. Update dumped_main_arena_start
2474 and dumped_main_arena_end to cover the dumped heap.
2476 2016-05-12 Joseph Myers <joseph@codesourcery.com>
2478 * conform/data/time.h-data (getdate_err): Do not expect for
2480 (getdate): Likewise.
2481 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2484 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2485 (F_ULOCK): Likewise.
2487 (F_TLOCK): Likewise.
2488 (useconds_t): Likewise.
2489 (intptr_t): Do not expect for [XPG3] or [XPG4].
2490 (brk): Do not expect for [XPG3]
2493 (ftruncate): Likewise.
2494 (getdtablesize): Likewise.
2495 (gethostid): Likewise.
2496 (getpagesize): Likewise.
2497 (getpgid): Likewise.
2502 (readlink): Likewise.
2504 (setpgrp): Likewise.
2505 (setregid): Likewise.
2506 (setreuid): Likewise.
2507 (symlink): Likewise.
2509 (truncate): Likewise.
2513 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2517 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2519 * conform/data/unistd.h-data (gethostname): Do not expect for
2522 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2523 [!POSIX] (S_IFBLK): Likewise.
2524 [!POSIX] (S_IFCHR): Likewise.
2525 [!POSIX] (S_IFIFO): Likewise.
2526 [!POSIX] (S_IFREG): Likewise.
2527 [!POSIX] (S_IFDIR): Likewise.
2528 [!POSIX] (S_IFLNK): Likewise.
2529 [!POSIX] (S_IFSOCK): Likewise.
2530 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2532 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2534 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
2536 * sysdeps/aarch64/memset.S (__memset):
2537 Rewrite of optimized memset.
2539 2016-05-12 Florian Weimer <fweimer@redhat.com>
2542 Partially async-signal-safe fork for single-threaded processes.
2543 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2544 variable. Do not acquire and reset/release malloc and libio locks
2545 in single-threaded processes.
2546 * malloc/tst-mallocfork2.c: New file.
2547 * malloc/Makefile (tests): Add it.
2549 2016-05-12 Florian Weimer <fweimer@redhat.com>
2551 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2552 argument. Use scratch buffer instead of extend_alloca.
2553 (gethosts): Use scratch buffer instead of extend_alloca.
2554 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
2556 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2558 2016-05-11 Joseph Myers <joseph@codesourcery.com>
2561 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2562 instead of [__USE_UNIX98].
2563 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2565 * conform/data/termios.h-data (tcgetsid): Do not expect for
2567 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2569 (test-xfail-XPG4/termios.h/conform): Likewise.
2571 2016-05-11 Florian Weimer <fweimer@redhat.com>
2573 Do not use mcheck in localedef.
2574 * locale/programs/localedef.c (turn_on_mcheck)
2575 (__malloc_initialize_hook): Remove.
2577 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2579 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2580 * sysdeps/s390/s390-64/Makefile: Likewise.
2582 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2585 Remove ifunc-defines.sym.
2586 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2588 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2589 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2590 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2591 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2592 rtld-global-offsets.sym.
2593 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2594 * sysdeps/x86/cpu-features-offsets.sym: This.
2595 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2596 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2598 2016-05-10 Joseph Myers <joseph@codesourcery.com>
2601 * io/sys/stat.h (fchmod): Declare for
2602 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2603 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2606 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2607 [XPG3] (S_IFSOCK): Likewise.
2608 [XPG3] (S_ISVTX): Likewise.
2609 [XPG3] (S_ISLNK): Likewise.
2610 [XPG3] (S_ISSOCK): Likewise.
2611 [XPG3] (fchmod): Likewise.
2612 [XPG3] (lstat): Likewise.
2613 [XPG3] (mknod): Likewise.
2615 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2616 [XPG3]. Expect type long and XFAIL for [XPG4].
2617 (st_blocks): Likewise.
2620 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2621 (pthread_atfork): New prototype.
2622 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2626 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2629 2016-05-10 Florian Weimer <fweimer@redhat.com>
2632 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2635 2016-05-10 Florian Weimer <fweimer@redhat.com>
2638 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2639 flag in _res.options.
2641 2016-05-09 Joseph Myers <joseph@codesourcery.com>
2643 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2645 (blksize_t): Likewise.
2646 (clockid_t): Likewise.
2647 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2649 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2651 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2653 * sysdeps/unix/sysv/linux/s390/init-first.c:
2654 Add VDSO_SYMBOL(getcpu).
2655 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2656 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2657 Add VDSO_SYMBOL(getcpu).
2658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2659 New define HAVE_GETCPU_VSYSCALL.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2662 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
2664 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2665 instead of <sysdeps/x86_64/cacheinfo.c>.
2666 * sysdeps/x86_64/cacheinfo.c: Moved to ...
2667 * sysdeps/x86/cacheinfo.c: Here.
2669 2016-05-04 Florian Weimer <fweimer@redhat.com>
2671 * malloc/malloc-internal.h: Adjust header file guard.
2673 2016-05-04 Florian Weimer <fweimer@redhat.com>
2676 * inet/getnameinfo.c (check_sprintf_result): New function.
2677 (CHECKED_SNPRINTF): New macro.
2678 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2680 (gni_host_local): Use checked_copy to copy the host name.
2681 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2682 (gni_serv_local): Use checked_copy to copy the service name.
2683 (getnameinfo): Remove unnecessary truncation of result buffers.
2685 2016-05-04 Florian Weimer <fweimer@redhat.com>
2687 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2688 in case of inet_ntop failure.
2690 2016-05-04 Florian Weimer <fweimer@redhat.com>
2692 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2694 (gni_host_inet_numeric): Likewise. Reduce scope of local
2696 (gni_host_inet, gni_host_local): Add comment.
2697 (gni_host): Add comment. Use temporary to avoid long lines.
2699 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2701 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2702 registers specifiers where general purpose registers specifiers should
2705 2016-05-04 Florian Weimer <fweimer@redhat.com>
2709 Avoid copying names of directory entries.
2710 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2711 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2712 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2713 (struct readdir_result): New type.
2714 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2715 (GL_READDIR): New macros.
2716 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2717 (convert_dirent, convert_dirent64): New functions.
2718 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
2719 convert_dirent64. Adjust references to the readdir result.
2720 * sysdeps/unix/sysv/linux/i386/glob64.c:
2721 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2722 * posix/bug-glob2.c (LONG_NAME): Define.
2723 (filesystem): Add LONG_NAME.
2724 (my_DIR): Increase the size of room_for_dirent.
2726 2016-05-03 Joseph Myers <joseph@codesourcery.com>
2729 * misc/sys/select.h (__need_timespec): Only define if
2731 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2733 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2734 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2735 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2737 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2738 Segher Boessenkool <segher@gcc.gnu.org>
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2742 (__novec_swapcontext): Add missing load.
2744 2016-05-02 Joseph Myers <joseph@codesourcery.com>
2747 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2749 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2751 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2753 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2756 flags CLONE_VM compare.
2758 2016-05-02 Florian Weimer <fweimer@redhat.com>
2761 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2764 2016-05-02 Florian Weimer <fweimer@redhat.com>
2767 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2768 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2769 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2770 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2771 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2772 (hesiod_free_list): Mark as hidden.
2773 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2775 * hesiod/hesiod.c: Remove unnecessary forward declarations.
2776 (init, __hesiod_res_get, __hesiod_res_set): Remove.
2777 (hesiod_init): Remove obsolete res_ninit call.
2778 (hesiod_end): Do not free resolver state. Do not invoke callback.
2779 (hesiod_bind): Do not call init.
2780 (get_txt_records): Use res_mkquery, res_send instead of
2781 res_nmkquery, res_nsend.
2782 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2783 instead of _nss_hesiod_init.
2784 (_nss_hesiod_initgroups_dyn): Likewise.
2785 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2786 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2787 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2789 2016-05-02 Florian Weimer <fweimer@redhat.com>
2791 * hesiod/hesiod_p.h (DEF_RHS): Remove.
2792 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2794 2016-05-02 Florian Weimer <fweimer@redhat.com>
2796 * hesiod/hesiod.h: Remove RCS keyword.
2797 * hesiod/hesiod_p.h: Likewise.
2799 * hesiod/hesiod.c: Likewise.
2801 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
2804 * locale/iso-639.def: Add Samogitian/sgs.
2806 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
2808 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2810 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2812 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
2813 Carlos O'Donell <carlos@redhat.com>
2816 * grp/Makefile (headers): Add grp-merge.h
2817 (routines): Add grp-merge.
2818 * grp/getgrgid_r.c: Include grp-merge.h.
2819 (DEEPCOPY_FN): Define.
2821 * grp/getgrname_r.c: Include grp-merge.h.
2822 (DEEPCOPY_FN): Define.
2824 * grp/grp-merge.c: New file.
2825 * grp/grp-merge.h: New file.
2826 * include/grp-merge.h: New file.
2827 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2828 __copy_grp@GLIBC_PRIVATE.
2829 * manual/nss.texi (Actions in the NSS configuration): Describe
2830 return, continue, and merge.
2831 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2832 (DEEPCOPY_FN): Define.
2834 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2835 (DEEPCOPY_FN): Define.
2837 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2838 [!MERGE_FN]: Define __merge_einval.
2839 (CHECK_MERGE): Define.
2840 (REENTRANT_NAME): Process merge if do_merge is true.
2841 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2842 (__nss_getent_r): Likewise.
2843 * nss/nsswitch.c (nss_parse_service_list): Likewise.
2844 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2846 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2849 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2850 length to calculate the buffer to read.
2851 (fmemopen_write): Set the buffer position based on bytes written.
2852 (fmemopen_seek): Return EINVAL for invalid whence modes.
2855 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2857 (test): Add tst-clone2.
2858 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2859 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2860 pid/tid fields for CLONE_VM.
2861 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2862 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2863 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2864 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2865 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2866 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2867 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2868 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2873 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2874 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2875 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2877 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2878 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2879 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2880 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2882 2016-04-29 Florian Weimer <fweimer@redhat.com>
2885 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2886 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2887 (gni_serv_local, gni_serv): New functions extracted from
2889 (getnameinfo): Call gni_host and gni_serv to perform the
2890 processing. Always free scratch buffer.
2892 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2894 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2895 remaining bytes in the dest string, with zeros.
2897 2016-04-29 Florian Weimer <fweimer@redhat.com>
2901 * sysdeps/posix/getaddrinfo.c
2902 (convert_hostent_to_gaih_addrtuple): New function.
2903 (gethosts): Call convert_hostent_to_gaih_addrtuple.
2904 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2907 2016-04-29 Florian Weimer <fweimer@redhat.com>
2909 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2910 callback function gl_readdir.
2911 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2912 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2913 (glob_in_dir): Remove len. Use strdup instead of malloc and
2914 memcpy to copy the name.
2915 * manual/pattern.texi (Calling Glob): Document requirements for
2916 implementations of the gl_readdir callback function.
2917 * manual/examples/mkdirent.c: New example.
2918 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2919 per the manual guidance.
2920 * posix/tst-gnuglob.c (my_readdir): Likewise.
2922 2016-04-28 Joseph Myers <joseph@codesourcery.com>
2925 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2927 (getchar_unlocked): Likewise.
2928 (putc_unlocked): Likewise.
2929 (putchar_unlocked): Likewise.
2930 (flockfile): Likewise.
2931 (ftrylockfile): Likewise.
2932 (funlockfile): Likewise.
2933 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2935 (test-xfail-XPG4/stdio.h/conform): Likewise.
2937 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2939 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2940 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2942 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2943 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2945 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2946 [__USE_LARGEFILE64] (off64_t): Likewise.
2947 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2950 2016-04-28 Florian Weimer <fweimer@redhat.com>
2952 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2954 2016-04-28 Florian Weimer <fweimer@redhat.com>
2956 * resolv/inet_addr.c: Reindent preprocessor conditionals.
2957 * resolv/res_init.c: Likewise.
2958 * resolv/res_mkquery.c: Likewise.
2960 2016-04-28 Florian Weimer <fweimer@redhat.com>
2962 * resolv/res_init.c (isascii): Do not define. Use definition in
2964 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2966 (SPRINTF): Remove, adjust caller.
2967 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2969 2016-04-28 Florian Weimer <fweimer@redhat.com>
2971 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2972 SUNSECURITY conditional.
2973 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2975 2016-04-28 Florian Weimer <fweimer@redhat.com>
2977 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2978 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2979 Remove BSD-related preprocessor conditionals.
2980 * conf/portability.h: Remove.
2982 2016-04-28 Florian Weimer <fweimer@redhat.com>
2984 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2985 * resolv/res_data.c: Likewise.
2987 2016-04-28 Florian Weimer <fweimer@redhat.com>
2989 * resolv/res_comp.c: Remove code conditional on __ultrix__.
2990 * resolv/res_data.c: Remove code conditional on ultrix.
2992 2016-04-28 Florian Weimer <fweimer@redhat.com>
2994 * resolv/res_init.c (RFC1535): Do not define. Remove
2995 RFC1535 preprocessor conditionals.
2996 * resolv/README: Update. Do not claim strict RFC 1535 compliance
2997 because there configuration options which make the resolver
3000 2016-04-28 Florian Weimer <fweimer@redhat.com>
3002 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
3003 RESOLVSORT preprocessor conditionals.
3004 * resolv/nss_dns/dns-host.c: Likewise.
3005 * resolv/res_init.c: Likewise.
3007 2016-04-28 Florian Weimer <fweimer@redhat.com>
3009 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
3012 2016-04-28 Florian Weimer <fweimer@redhat.com>
3014 * inet/inet_lnaof.c: Remove SCSS keyword.
3015 * inet/inet_mkadr.c: Likewise.
3016 * inet/inet_net.c: Likewise.
3017 * inet/inet_netof.c: Likewise.
3018 * inet/rcmd.c: Likewise.
3019 * inet/rexec.c: Likewise.
3020 * inet/ruserpass.c: Likewise.
3022 2016-04-28 Florian Weimer <fweimer@redhat.com>
3024 * resolv/inet_addr.c: Remove _LIBC conditionals.
3025 * resolv/res_data.c: Likewise.
3026 * resolv/res_init.c: Likewise.
3027 * resolv/res_mkquery.c: Likewise.
3028 * resolv/res_libc.c: Update comment.
3029 * resolv/README: Update.
3031 2016-04-28 Florian Weimer <fweimer@redhat.com>
3033 * resolv/gethnamaddr.c: Remove SCSS keyword.
3034 * resolv/herror.c: Likewise.
3035 * resolv/inet_addr.c: Likewise.
3036 * resolv/inet_net_ntop.c: Likewise.
3037 * resolv/inet_net_pton.c: Likewise.
3038 * resolv/inet_neta.c: Likewise.
3039 * resolv/inet_ntop.c: Likewise.
3040 * resolv/inet_pton.c: Likewise.
3041 * resolv/ns_date.c: Remove RCS keyword.
3042 * resolv/ns_name.c: Likewise.
3043 * resolv/ns_netint.c: Likewise.
3044 * resolv/ns_parse.c: Likewise.
3045 * resolv/ns_print.c: Likewise.
3046 * resolv/ns_samedomain.c: Likewise.
3047 * resolv/ns_ttl.c: Likewise.
3048 * resolv/nsap_addr.c: Likewise.
3049 * resolv/res_comp.c: Remove SCSS and RCS keyword.
3050 * resolv/res_data.c: Remove RCS keyword.
3051 * resolv/res_debug.c: Remove SCSS and RCS keyword.
3052 * resolv/res_init.c: Likewise.
3053 * resolv/res_mkquery.c: Likewise.
3054 * resolv/res_query.c: Likewise.
3055 * resolv/res_send.c: Likewise.
3057 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3059 * conform/data/stdio.h-data (fdopen): Expect also for
3062 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3065 (ftrylockfile): Likewise.
3066 (funlockfile): Likewise.
3067 (getc_unlocked): Likewise.
3068 (getchar_unlocked): Likewise.
3069 (putc_unlocked): Likewise.
3070 (putchar_unlocked): Likewise.
3072 2016-04-27 Florian Weimer <fweimer@redhat.com>
3075 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3076 DNS packet syntax checks (which were not needed before). Skip
3077 over non-PTR records.
3079 2016-04-27 Florian Weimer <fweimer@redhat.com>
3081 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3082 definition. Include <stddef.h> instead.
3084 2016-04-27 Florian Weimer <fweimer@redhat.com>
3087 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3089 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3090 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3092 2016-04-27 Florian Weimer <fweimer@redhat.com>
3095 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3096 (getanswer_r): Do not call syslog.
3097 (gaih_getanswer_slice): Likewise.
3098 * resolv/gethnamaddr.c (AskedForGot): Remove.
3099 (getanswer): Do not call syslog.
3100 (gethostbyaddr): Likewise.
3102 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3104 * conform/data/signal.h-data (union sigval): Expect also if
3106 (struct sigevent): Likewise.
3107 (SIGEV_NONE): Likewise.
3108 (SIGEV_SIGNAL): Likewise.
3109 (SIGEV_THREAD): Likewise.
3110 (SIGRTMIN): Likewise.
3111 (SIGRTMAX): Likewise.
3112 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3114 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3116 2016-04-27 Florian Weimer <fweimer@redhat.com>
3119 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3120 (gaih_getanswer_slice): Likewise.
3121 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3122 Also check for availability of RR metadata.
3124 2016-04-27 Florian Weimer <fweimer@redhat.com>
3127 * resolv/res_send.c (send_vc): Remove early *resplen2
3128 initialization. Set *resplen2 on socket error. Call
3129 close_and_return_error for other errors.
3131 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3133 * sysdeps/unix/sysv/linux/netiucv/iucv.h
3134 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3135 (SCM_IUCV_TRGCLS): New define.
3137 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3140 * libio/fmemopen.c (fmemopen_write): Update internal position after
3142 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3143 * stdio-common/tst-fmemopen4.c: New file..
3145 2016-04-26 Joseph Myers <joseph@codesourcery.com>
3148 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3149 not [__USE_XOPEN2K].
3150 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3153 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3154 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3157 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3159 [__USE_LARGEFILE64] (off64_t): Likewise.
3160 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3163 2016-04-25 Joseph Myers <joseph@codesourcery.com>
3166 * libio/stdio.h (cuserid): Do not declare if
3167 [__USE_XOPEN2K && !__USE_GNU].
3168 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3171 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3173 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3174 (sysdep_routines): Add P8 and PPC64 strcspn targets.
3175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3176 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3178 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3181 [STRSPN]: Define instead of the above to control symbol name.
3182 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3184 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3186 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3188 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3190 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3191 [INITIAL_MASK]: New macro.
3192 [STRCSPN]: Likewise.
3193 [UPDATE_MASK]: Likewise.
3194 [USE_AS_STRCSPN]: Lisewise.
3196 2016-04-25 Florian Weimer <fweimer@redhat.com>
3199 * stdio-common/tst-vfprintf-width-prec.c: New file.
3200 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3201 (tests-special): Add tst-vfprintf-width-prec-mem.out.
3202 (generated): Add mtrace-related files.
3203 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3204 (tst-%-mem.out): New pattern rule, replaces
3205 tst-printf-bz18872-mem.out.
3206 * stdio-common/vfprintf.c (vfprintf): When handling a precision
3207 specifier, deallocate any previously allocated work buffer.
3209 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3211 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3212 Add nop before __startcontext, add explaining comments.
3214 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
3216 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3217 any more. Notably since IPV6_PKTINFO has been reintroduced with a
3218 completely different API.
3220 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3221 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3222 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3223 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3224 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3225 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3226 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3227 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3228 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3229 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3231 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
3233 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3235 2016-04-23 Mike Frysinger <vapier@gentoo.org>
3237 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3238 when it is the default of 0.
3240 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3242 * sysdeps/powerpc/locale-defines.sym: Add new macros.
3243 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3244 (sysdep_routines): Add new strcasestr targets.
3245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3246 (__libc_ifunc_impl_list): Likewise.
3247 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3248 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3249 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3250 * sysdeps/powerpc/powerpc64/power8/Makefile:
3251 New file to add strcasestr-ppc64 to sysdep_routines.
3252 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3253 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3255 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
3257 * benchtests/Makefile (wcsmbs-benchset): Include only for
3258 native builds and runs.
3259 (LOCALES): Likewise.
3260 (bench-build): Build timing-type here instead of the bench
3261 target. Generate locale only for native builds.
3262 * benchtests/README: Add note for cross-building.
3264 * benchtests/Makefile (bench-clean): Clean up extra-objs.
3266 * benchtests/README: Update README to include instructions on
3269 * Makefile.in (bench-build): New target.
3270 * Rules (PHONY): Add bench-build target.
3271 * benchtests/Makefile (bench): Depend on bench-build.
3272 (bench-build): New target.
3274 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3276 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3278 (profile_waiter): Do not initialize profil_reply_port.
3279 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3280 frequency instead of tick length in us.
3282 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
3285 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3286 (__old_mempcpy_small): Likewise.
3287 (__old_strcpy_small): Likewise.
3288 (__old_stpcpy_small): Likewise.
3289 (__old_strpbrk_c2): Fix compat symbol name.
3290 (__old_strpbrk_c3): Likewise.
3291 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3292 (__mempcpy_small): Remove.
3293 (__strcpy_small): Remove.
3294 (__stpcpy_small): Remove.
3296 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
3299 * locale/iso-639.def: Add the Talossan/tzl language.
3301 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3304 * locale/programs/ld-address.c (address_finish): Update postal_fmt
3305 comment. Add "ln" to strchr check on postal_fmt.
3307 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3309 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3310 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
3313 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3315 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3316 (sysdep_routines): Added __strlen_power8.
3317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3318 __strlen_power8 entry.
3319 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3320 Implementation for POWER8.
3321 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3322 for __strlen_power8.
3323 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3324 Implementation for POWER8.
3326 2016-04-15 Mike Frysinger <vapier@gentoo.org>
3328 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3330 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3332 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3333 Goldmont and Airmont processors.
3335 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
3337 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3338 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3339 (__STRING2_SMALL_GET32): Remove.
3341 (__memset_1): Remove.
3342 (__memset_gc): Remove.
3343 (__mempcpy): Remove.
3345 (__mempcpy_args): Remove.
3348 (strcpy_args): Remove.
3349 (__stpcpy_args): Remove.
3350 (__strcmp_cc): Remove.
3351 (__strcmp_gc): Remove.
3354 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
3356 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3357 * nis/nis_call.c (nis_server_cache_add): Likewise.
3359 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3361 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3363 2016-04-14 Florian Weimer <fweimer@redhat.com>
3365 * malloc/arena.c (__malloc_fork_lock_parent)
3366 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3367 internal_function attribute.
3369 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
3371 * stdio-common/printf_fp.c (__printf_fp_l):
3372 Rename ___printf_fp_l to __printf_fp_l and
3373 remove strong alias. Use libc_hidden_def instead
3374 of ldbl_hidden_def macro.
3376 2016-04-14 Florian Weimer <fweimer@redhat.com>
3378 Remove malloc hooks from fork handler. They are no longer needed
3379 because malloc runs right before fork, and no malloc calls from
3380 other fork handlers are not possible anymore.
3381 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3383 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3384 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3385 (atfork_recursive_cntr): Remove.
3386 (__malloc_fork_lock_parent): Do not override malloc hooks and
3388 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3390 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
3391 thread_arena instead of save_arena.
3393 2016-04-14 Florian Weimer <fweimer@redhat.com>
3395 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3396 (thread_atfork, thread_atfork_static): Remove.
3397 * sysdeps/mach/hurd/malloc-machine.h:
3398 (thread_atfork, thread_atfork_static): Remove.
3400 2016-04-14 Florian Weimer <fweimer@redhat.com>
3403 Run the malloc fork handler as late as possible to avoid deadlocks.
3404 * malloc/malloc-internal.h: New file.
3405 * malloc/malloc.c: Include it.
3406 * malloc/arena.c (ATFORK_MEM): Remove.
3407 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3409 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3410 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3411 Remove outdated comment.
3412 (ptmalloc_init): Do not call thread_atfork. Remove
3413 thread_atfork_static.
3414 * malloc/tst-malloc-fork-deadlock.c: New file.
3415 * Makefile (tests): Add tst-malloc-fork-deadlock.
3416 (tst-malloc-fork-deadlock): Link against libpthread.
3417 * manual/memory.texi (Aligned Memory Blocks): Update safety
3418 annotation comments.
3419 * sysdeps/nptl/fork.c (__libc_fork): Call
3420 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3421 __malloc_fork_unlock_child.
3422 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3424 2016-04-14 Florian Weimer <fweimer@redhat.com>
3428 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3429 (w_stopsig, w_stopval): Remove.
3430 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3432 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3433 (__WAIT_STATUS_DEFN): Remove.
3434 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3435 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3436 (wait, wait3, wait4): Use int * for the stat_loc argument.
3437 * posix/wait.c (__wait): Likewise.
3438 * posix/wait3.c (__wait3): Likewise.
3439 * posix/wait4.c (__wait4): Likewise.
3440 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3441 (__WAIT_STATUS_DEFN): Remove.
3442 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3443 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3444 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3446 * sysdeps/posix/wait.c (__libc_wait): Likewise.
3447 * sysdeps/posix/wait3.c (__wait3): Likewise.
3448 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3449 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3450 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3451 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3453 * manual/process.texi (BSD Wait Functions): Remove union wait.
3455 2016-04-13 Andreas Schwab <schwab@suse.de>
3457 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3458 (test-extras): Add tst-tlsalign-vars.
3459 * math/Makefile: Wrap long lines.
3460 (libm-vec-test-wrappers): Define.
3461 (test-extras): Add $(libm-vec-test-wrappers).
3462 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3463 * nss/Makefile (extra-test-objs): Add nss_test1.os.
3464 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3465 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3466 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3467 (extra-test-objs): Add corresponding objects.
3469 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
3472 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3474 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3475 times of shared cache size.
3476 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3478 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3480 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3482 (VMOVU): Changed to movups for smaller code sizes.
3483 (VMOVA): Changed to movaps for smaller code sizes.
3484 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3487 (PREFETCH_SIZE): Likewise.
3488 (PREFETCHED_LOAD_SIZE): Likewise.
3489 (PREFETCH_ONE_SET): Likewise.
3490 Rewrite to use forward and backward loops, which move 4 vector
3491 registers at a time, to support overlapping addresses and use
3492 non temporal store if size is above the threshold and there is
3493 no overlap between destination and source.
3495 2016-04-12 Alex Smith <alex.smith@imgtec.com>
3497 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3499 * sysdeps/unix/sysv/linux/mips/Versions: Add
3500 __vdso_clock_gettime.
3501 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3502 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3503 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3504 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3505 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3506 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3507 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3508 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3509 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3511 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3513 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3514 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3516 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3518 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3522 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3523 syscalls generation.
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3525 [__NR_pwrite64] (__NR_write): Remove define.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3527 [__NR_pwrite64] (__NR_write): Remove define.
3528 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3530 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3531 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3533 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3534 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3535 Linux implementation as base.
3536 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3538 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3539 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3541 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3544 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3548 [__NR_pread64] (__NR_pread): Remove define.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3550 [__NR_pread64] (__NR_pread): Likewise.
3551 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3553 (__libc_pread): Use SYSCALL_LL macro on offset argument.
3554 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3556 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3557 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3558 Linux implementation as base.
3559 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3560 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3561 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3563 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3565 (__ALIGNMENT_COUNT): Likewise.
3566 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3567 (__ALIGNMENT_COUNT): Likewise.
3568 (SYSCALL_LL): New define.
3569 (SYSCALL_LL64): Likewise.
3570 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3571 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3572 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3573 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3576 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3577 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3578 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3579 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3580 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3582 2016-04-11 Florian Weimer <fweimer@redhat.com>
3585 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3586 original buffer before retry.
3588 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3590 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3591 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3592 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3594 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3595 including <ldsodefs.h>.
3596 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3598 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
3600 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3601 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3604 2016-04-09 Khem Raj <raj.khem@gmail.com>
3607 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3610 2016-04-09 Mike Frysinger <vapier@gentoo.org>
3612 * sysdeps/i386/configure.ac: Change == to = when calling test.
3613 * sysdeps/x86_64/configure.ac: Likewise.
3614 * sysdeps/i386/configure: Regenerated.
3615 * sysdeps/x86_64/configure: Likewise.
3617 2016-04-08 Mike Frysinger <vapier@gentoo.org>
3620 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3621 * benchtests/bench-strcoll.c (input_files): Likewise.
3622 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3623 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3624 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3626 2016-04-08 Joseph Myers <joseph@codesourcery.com>
3629 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3630 [__USE_XOPEN2K8 && !__USE_GNU].
3631 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3635 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3636 define if [!__USE_MISC && __USE_XOPEN2K].
3637 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3638 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3641 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3642 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3644 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3646 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3648 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3649 (sysdep_routines): Add new strspn targets.
3650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3651 (__libc_ifunc_impl_list): Add strspn.
3652 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3654 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3656 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3658 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3661 2016-04-07 Florian Weimer <fweimer@redhat.com>
3663 * misc/hsearch_r.c: Include <limits.h>.
3665 2016-04-07 Florian Weimer <fweimer@redhat.com>
3667 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3669 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3671 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3672 (MEMCPY_SYMBOL): New.
3673 (MEMPCPY_SYMBOL): Likewise.
3674 (MEMMOVE_CHK_SYMBOL): Likewise.
3675 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3676 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3677 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
3678 Provide alias for memcpy in libc.a and ld.so.
3680 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3682 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3683 (MEMSET_CHK_SYMBOL): New. Define if not defined.
3684 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3686 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3687 symbols. Properly check USE_MULTIARCH on __memset symbols.
3689 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3691 * benchtests/Makefile (string-benchset): Add memcpy-large,
3692 memmove-large and memset-large.
3693 * benchtests/bench-memcpy-large.c: New file.
3694 * benchtests/bench-memmove-large.c: Likewise.
3695 * benchtests/bench-memmove-large.c: Likewise.
3696 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3698 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
3700 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3701 32-bit displacement to avoid long nop between instructions.
3703 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
3705 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3706 a comment on VMOVU and VMOVA.
3708 2016-04-04 Florian Weimer <fweimer@redhat.com>
3711 Use specified locale for number formatting in strfmon_l.
3712 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3713 (__nl_lookup_word): New inline functions.
3714 * include/printf.h (__print_fp_l): Declare.
3715 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3716 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
3717 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3718 (___printf_fp): New function.
3719 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3720 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3721 * stdlib/tst-strfmon_l.c (do_test): New test.
3722 * stdlib/Makefile (tests): Add kt.
3723 (LOCALES): Build additional locales.
3724 (tst-strfmon_l.out): Require locales.
3726 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
3728 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3730 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3732 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3734 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3737 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
3739 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3740 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3741 with unaligned_erms.
3742 (__memmove_erms): Skip if source == destination.
3743 (__memmove_unaligned_erms): Don't check source == destination
3746 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
3748 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3749 bit_arch_Fast_Copy_Backward for Intel Core proessors.
3751 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3753 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3754 * string/strspn.c (strspn): Likewise.
3756 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
3758 * benchtests/bench-memset.c (do_test): Support 64-byte
3760 (test_main): Test 64-byte alignment.
3762 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
3764 * benchtests/bench-memmove.c (test_main): Test 64-byte
3767 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
3769 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3771 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3773 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3774 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3775 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3777 * string/strpbrk.c (strpbrk): Rewrite function.
3778 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3779 (__strpbrk_c2): Likewise.
3780 (__strpbrk_c3): Likewise.
3781 * string/string-inlines.c
3782 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3784 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3787 * string/strspn.c (strcspn): Rewrite function.
3788 * string/bits/string2.h (strspn): Use __builtin_strcspn.
3789 (__strspn_c1): Remove inline function.
3790 (__strspn_c2): Likewise.
3791 (__strspn_c3): Likewise.
3792 * string/string-inlines.c
3793 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3794 compatibility symbol.
3795 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3797 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3799 * string/string-inlines.c: Include generic version.
3801 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
3802 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3804 * string/Version (libc): Add GLIBC_2.24.
3805 * string/strcspn.c (strcspn): Rewrite function.
3806 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3807 (__strcspn_c1): Remove inline function.
3808 (__strcspn_c2): Likewise.
3809 (__strcspn_c3): Likewise.
3810 * string/string-inline.c
3811 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3812 compatibility symbol.
3813 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3815 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3817 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3819 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3821 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3822 Use ahi instead of aghi to adjust stack pointer.
3824 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3827 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3828 TEST to take significant digits as second parameter.
3829 [TEST]: Redefine in terms of TEST_N taking 30
3831 (do_test): Add test case to demonstrate precision
3832 failure in the ldbl-128ibm printf.
3833 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3834 (__mpn_extract_long_double): Carry 7 extra intermediate
3835 bits of precision to aide computing difference when
3838 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
3841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3842 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3843 memset-avx512-unaligned-erms.
3844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3845 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3846 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3847 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3848 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3849 __memset_sse2_unaligned_erms, __memset_erms,
3850 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3851 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3852 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3854 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3856 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3858 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3861 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
3864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3865 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3866 memmove-avx512-unaligned-erms.
3867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3868 (__libc_ifunc_impl_list): Test
3869 __memmove_chk_avx512_unaligned_2,
3870 __memmove_chk_avx512_unaligned_erms,
3871 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3872 __memmove_chk_sse2_unaligned_2,
3873 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3874 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3875 __memmove_avx512_unaligned_erms, __memmove_erms,
3876 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3877 __memcpy_chk_avx512_unaligned_2,
3878 __memcpy_chk_avx512_unaligned_erms,
3879 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3880 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3881 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3882 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3883 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3884 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3885 __mempcpy_chk_avx512_unaligned_erms,
3886 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3887 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3888 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3889 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3890 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3892 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3894 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3896 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3898 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3901 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3903 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3904 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3905 (La_s390_64_regs): Likewise.
3906 (La_s390_32_retval): Append vector register lrv_v24.
3907 (La_s390_64_retval): Likeweise.
3908 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3909 Handle extended structs La_s390_32_regs and La_s390_32_retval.
3910 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3911 Handle extended structs La_s390_64_regs and La_s390_64_retval.
3913 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3916 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3917 to create a non-vector/vector version for _dl_runtime_resolve and
3918 _dl_runtime_profile. Move implementation to ...
3919 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3920 (_dl_runtime_resolve) Save and restore fpr/vrs.
3921 (_dl_runtime_profile) Save and restore vrs and fix some issues
3922 if _dl_call_pltexit is called.
3923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3924 Choose the correct resolver function if running on a machine with vx.
3925 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3926 to create a non-vector/vector version for _dl_runtime_resolve and
3927 _dl_runtime_profile. Move implementation to ...
3928 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3929 (_dl_runtime_resolve) Save and restore fpr/vrs.
3930 (_dl_runtime_profile) Save and restore vrs and fix some issues
3931 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3932 Choose the correct resolver function if running on a machine with vx.
3934 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3936 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3938 2016-03-31 Florian Weimer <fweimer@redhat.com>
3941 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3943 * elf/tst-dlsym-error.c: New file.
3944 * elf/Makefile (tests): Add tst-dlsym-error.
3945 (tst-dlsym-error): Link against libdl.
3947 2016-03-29 Joseph Myers <joseph@codesourcery.com>
3949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3950 (__ASSUME_FUTIMESAT): Remove macro.
3951 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3953 2016-03-29 Florian Weimer <fweimer@redhat.com>
3957 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3960 2016-03-29 Florian Weimer <fweimer@redhat.com>
3963 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3964 error if parse_line fails.
3966 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
3968 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3969 (index_cpu_ERMS): Likewise.
3970 (reg_ERMS): Likewise.
3972 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
3974 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3975 PER_LINUX_FDPIC): Add.
3977 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
3979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3980 memcpy-avx512-no-vzeroupper.
3981 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3983 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3984 (MEMCPY): Don't define.
3985 (MEMCPY_CHK): Likewise.
3986 (MEMPCPY): Likewise.
3987 (MEMPCPY_CHK): Likewise.
3988 (MEMPCPY_CHK): Renamed to ...
3989 (__mempcpy_chk_avx512_no_vzeroupper): This.
3990 (MEMPCPY_CHK): Renamed to ...
3991 (__mempcpy_chk_avx512_no_vzeroupper): This.
3992 (MEMCPY_CHK): Renamed to ...
3993 (__memmove_chk_avx512_no_vzeroupper): This.
3994 (MEMCPY): Renamed to ...
3995 (__memmove_avx512_no_vzeroupper): This.
3996 (__memcpy_avx512_no_vzeroupper): New alias.
3997 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3999 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4003 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4004 and mempcpy-avx512-no-vzeroupper.
4005 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4007 (MEMPCPY): Likewise.
4008 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4010 (MEMPCPY): Likewise.
4011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4012 (MEMPCPY): Likewise.
4013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4014 (MEMPCPY): Likewise.
4015 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4016 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4021 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4022 Amit Pawar <Amit.Pawar@amd.com>
4025 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4026 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4027 processors. Set Fast_Copy_Backward for AMD Excavator
4029 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4031 (index_arch_Fast_Unaligned_Copy): Likewise.
4032 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4033 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4035 2016-03-25 Florian Weimer <fweimer@redhat.com>
4038 * resolv/res_send.c (close_and_return_error): New function.
4039 (send_dg): Initialize *resplen2 after reopen failure. Call
4040 close_and_return_error for error returns. On error paths without
4041 __res_iclose, initialze *resplen2 explicitly. Update comment for
4044 2016-03-25 Florian Weimer <fweimer@redhat.com>
4047 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4048 zero if the compiler does not provide the AVX512F bit.
4050 2016-03-24 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4055 (__ieee754_powl): Compare integer exponent against 4 not 8.
4056 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4058 (__ieee754_powl): Compare integer exponent against 4 not 8.
4059 * math/auto-libm-test-in: Add more tests of pow.
4060 * math/auto-libm-test-out: Regenerated.
4061 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4064 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4066 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4067 Make code unconditional.
4068 [!__NR_utimensat]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4070 Make code unconditional.
4071 [!__NR_utimensat]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4073 Make code unconditional.
4074 [!__NR_utimensat]: Remove conditional code.
4076 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4078 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4079 Make code unconditional.
4081 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
4083 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4084 call-clobbered %eax on retry path.
4085 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4087 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4090 Don't set %rcx twice before "rep movsb".
4092 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4095 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4096 inline. Check family before setting family, model and
4097 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
4099 (init_cpu_features): Replace HAS_CPU_FEATURE and
4100 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4101 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
4102 for Intel processors with usable AVX2. Call get_common_indeces
4103 for other processors with family == NULL.
4104 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4105 (CPU_FEATURES_ARCH_P): Likewise.
4106 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4107 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4109 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4111 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4112 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4113 $(shared-thread-library) instead of hardcoding the path to libpthread.
4115 2016-03-22 Joseph Myers <joseph@codesourcery.com>
4117 * sysdeps/unix/sysv/linux/kernel-features.h
4118 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4119 * sysdeps/unix/sysv/linux/getdents.c
4120 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4121 [!have_no_getdents64_defined]: Likewise.
4122 (__GETDENTS): Remove __have_no_getdents64 conditional.
4124 2016-03-21 Joseph Myers <joseph@codesourcery.com>
4126 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4128 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4129 <kernel-features.h>.
4130 (signalfd) [__NR_signalfd4]: Make code unconditional.
4131 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4133 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4135 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4138 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
4140 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4141 (__pthread_enable_asynccancel): Use JUMPTARGET to call
4143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4144 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4145 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4146 (__condvar_cleanup1): Likewise.
4148 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
4151 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4152 move it to the final $@ location.
4154 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4156 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4157 access where posix_spawn success and pid argument is null.
4158 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4161 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
4163 * sysdeps/mach/hurd/i386/c++-types.data: New file.
4165 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4167 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4169 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4171 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4172 adding attribute_hidden to __open and __fcntl.
4174 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4175 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4176 depend on libc-modules.h,
4177 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4179 2016-03-17 Joseph Myers <joseph@codesourcery.com>
4181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4183 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4184 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4189 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4190 include <kernel-features.h>.
4191 [!__ASSUME_FALLOCATE]: Remove conditional code.
4192 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4194 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
4196 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4197 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4199 (_ZGVdN4v_cos_avx2): Likewise.
4200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4201 (_ZGVdN4v_cos): Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4203 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4204 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4205 (_ZGVdN4v_exp_avx2): Likewise.
4206 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4207 (_ZGVdN4v_exp): Likewise.
4208 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4209 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4210 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4211 (_ZGVdN4v_log_avx2): Likewise.
4212 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4213 (_ZGVdN4v_log): Likewise.
4214 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4215 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4216 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4217 (_ZGVdN4vv_pow_avx2): Likewise.
4218 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4219 (_ZGVdN4vv_pow): Likewise.
4220 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4221 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4222 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4223 (_ZGVdN4v_sin_avx2): Likewise.
4224 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4225 (_ZGVdN4v_sin): Likewise.
4226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4227 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4229 (_ZGVdN4vvv_sincos_avx2): Likewise.
4230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4231 (_ZGVdN4vvv_sincos): Likewise.
4232 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4233 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4234 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4235 (_ZGVbN4v_cosf_sse4): Likewise.
4236 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4237 (_ZGVdN8v_cosf_avx2): Likewise.
4238 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4239 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4240 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4241 (_ZGVbN4v_expf_sse4): Likewise.
4242 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4243 (_ZGVdN8v_expf_avx2): Likewise.
4244 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4245 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4246 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4247 (_ZGVbN4v_logf_sse4): Likewise.
4248 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4249 (_ZGVdN8v_logf_avx2): Likewise.
4250 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4251 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4252 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4253 (_ZGVbN4vv_powf_sse4): Likewise.
4254 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4255 (_ZGVdN8vv_powf_avx2): Likewise.
4256 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4257 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4258 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4259 (_ZGVbN4vvv_sincosf_sse4): Likewise.
4260 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4261 (_ZGVdN8vvv_sincosf_avx2): Likewise.
4262 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4263 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4264 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4265 (_ZGVbN4v_sinf_sse4): Likewise.
4266 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4267 (_ZGVdN8v_sinf_avx2): Likewise.
4268 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4269 Use JUMPTARGET to call callee.
4270 (WRAPPER_IMPL_SSE2_ff): Likewise.
4271 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4272 (WRAPPER_IMPL_AVX): Likewise.
4273 (WRAPPER_IMPL_AVX_ff): Likewise.
4274 (WRAPPER_IMPL_AVX_fFF): Likewise.
4275 (WRAPPER_IMPL_AVX512): Likewise.
4276 (WRAPPER_IMPL_AVX512_ff): Likewise.
4277 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4279 (WRAPPER_IMPL_SSE2_ff): Likewise.
4280 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4281 (WRAPPER_IMPL_AVX): Likewise.
4282 (WRAPPER_IMPL_AVX_ff): Likewise.
4283 (WRAPPER_IMPL_AVX_fFF): Likewise.
4284 (WRAPPER_IMPL_AVX512): Likewise.
4285 (WRAPPER_IMPL_AVX512_ff): Likewise.
4286 (WRAPPER_IMPL_AVX512_fFF): Likewise.
4288 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4290 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4291 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4293 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4294 internal_function qualifiers.
4296 2016-03-15 Carlos O'Donell <carlos@redhat.com>
4298 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4299 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4300 * math/atest-exp.c (exp_mpn): Mark chk unused.
4301 * math/atest-exp2.c (exp_mpn): Likwise.
4302 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4303 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4305 2016-03-15 Joseph Myers <joseph@codesourcery.com>
4307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4309 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4310 <kernel-features.h>.
4311 [__NR_ppoll]: Make code unconditional.
4312 [!__ASSUME_PPOLL]: Remove conditional code.
4314 * sysdeps/unix/sysv/linux/kernel-features.h
4315 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4316 (__ASSUME_ACCEPT4): Likewise.
4317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4319 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4321 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4323 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4325 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4326 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4327 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4328 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4329 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4330 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4331 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4332 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4333 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4334 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4335 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4336 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4337 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4338 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4339 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4340 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4342 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4344 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4345 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4347 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4348 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4349 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4350 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4351 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4353 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4354 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4355 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4356 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4358 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4359 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4361 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4362 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4363 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4364 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4366 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4367 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4368 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4369 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4371 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4373 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4374 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4375 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4376 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4378 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4379 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4380 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4381 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4382 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4383 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4385 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4386 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4387 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4389 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4390 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4391 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4392 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4393 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4396 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4399 2016-03-15 Andreas Schwab <schwab@suse.de>
4402 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4403 statp->_u._ext.nscount as loop count.
4405 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
4407 * math/test-signgam-finite-c99.c: Also #undef
4408 __LIBC_INTERNAL_MATH_INLINES.
4409 * math/test-signgam-main.c: Likewise.
4411 2016-03-14 Joseph Myers <joseph@codesourcery.com>
4413 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4414 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4415 (MADV_FREE): Likewise.
4416 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4417 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4420 2016-03-14 Carlos O'Donell <carlos@redhat.com>
4422 * timezone/README: Remove mention of checktab.awk. Mention wiki
4425 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
4427 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4430 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4432 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4433 order to match the type of p when calling atomic_exchange_acq().
4435 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4437 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4439 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4440 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4441 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4442 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4443 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4445 2016-03-10 Carlos O'Donell <carlos@redhat.com>
4447 * timezone/checktab.awk: Removed.
4449 2016-03-10 Joseph Myers <joseph@codesourcery.com>
4451 * manual/math.texi (Errors in Math Functions): Document relaxed
4452 accuracy goals for IBM long double.
4453 * math/libm-test.inc (test_exceptions): Always allow spurious
4454 "underflow" and "inexact" exceptions for IBM long double.
4456 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
4459 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4460 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4461 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4462 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4463 (bit_arch_*): This for feature array.
4464 (bit_*): Renamed to ...
4465 (bit_cpu_*): This for cpu array.
4466 (index_*): Renamed to ...
4467 (index_arch_*): This for feature array.
4468 (index_*): Renamed to ...
4469 (index_cpu_*): This for cpu array.
4470 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4471 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4472 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4473 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4474 bit_##name with index_cpu_##name and bit_cpu_##name.
4475 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4476 bit_##name with index_arch_##name and bit_arch_##name.
4478 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
4481 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4482 Terminate FDE before return label.
4484 2016-03-09 Joseph Myers <joseph@codesourcery.com>
4487 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4488 (rintl): Define as macro.
4489 [USE_AS_NEARBYINTL] (__rintl): Likewise.
4490 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4491 of fesetround. Ensure results are evaluated before end of scope.
4492 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4493 USE_AS_NEARBYINTL and include s_rintl.c.
4494 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4495 Disable exception traps in new environment.
4496 (libc_feholdsetround_ppc_ctx): Likewise.
4498 2016-03-08 Roland McGrath <roland@hack.frob.com>
4500 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4501 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4502 (tst_audit10_aux) [__AVX512F__]: ... here.
4504 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
4506 * include/sys/auxv.h: New file.
4508 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
4511 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4513 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4515 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4517 (feclearexcept): Likewise.
4519 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4521 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4522 to reflect the entire 32-bit HWCAP.
4523 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4524 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
4526 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
4529 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4530 $(test-via-rtld-prefix).
4531 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4533 2016-03-08 Florian Weimer <fweimer@redhat.com>
4535 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4536 union wait. Report any non-zero exit status as error.
4538 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4540 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4541 configured with --enable-hardcoded-path-in-tests.
4543 2016-03-08 Joseph Myers <joseph@codesourcery.com>
4546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4547 (__ieee754_remainderl): Put zero low parts in canonical form.
4548 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4550 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4551 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4552 with wrapper round test-fmodrem-ldbl-128ibm.c.
4553 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4555 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4557 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4558 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4560 2016-03-07 Florian Weimer <fweimer@redhat.com>
4563 * elf/ldconfig.c (opt_link): Update comment.
4564 (options): Update help string for option -X.
4565 (search_dir): Unlink stale symbolic link only if updating symbolic
4567 * elf/tst-ldconfig-X.sh: New file.
4568 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4569 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4571 2016-03-07 Andreas Schwab <schwab@suse.de>
4573 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4576 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
4579 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4582 2016-03-07 Florian Weimer <fweimer@redhat.com>
4584 * libio/filedoalloc.c (isatty): Remove.
4585 (local_isatty): Add comment. Call __isatty directly.
4586 (_IO_file_doallocate): Update comment. Assume _LIBC.
4587 * libio/wfiledoalloc.c (isatty): Remove.
4588 (_IO_wfile_doallocate): Update comment.
4590 2016-03-07 Florian Weimer <fweimer@redhat.com>
4593 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4595 (tst-audit10): Depend on tst-audit10-aux.o.
4596 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4597 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4598 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4599 instead of inline AVX code.
4600 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4601 instead of inline AVX512 code.
4602 * sysdeps/x86_64/tst-audit4-aux.c: New file
4603 * sysdeps/x86_64/tst-audit10-aux.c: New file
4606 * test-skeleton.c (main): Do not set RLIMIT_DATA.
4608 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4613 * include/sched.h (__clone): Add hidden prototype.
4614 (__clone2): Likewise.
4615 * include/unistd.h (__dup): Likewise.
4616 * posix/Makefile (tests): Add tst-spawn2.
4617 * posix/tst-spawn2.c: New file.
4618 * sysdeps/posix/dup.c (__dup): Add hidden definition.
4619 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4620 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4621 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4622 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4623 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4624 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4625 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4626 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4627 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4628 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4633 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4635 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4637 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4638 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4640 * sysdeps/unix/sysv/linux/nptl-signals.h
4641 (____nptl_is_internal_signal): New function.
4642 * sysdeps/unix/sysv/linux/spawni.c: New file.
4644 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4645 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4646 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4647 * posix/tst-execvp2.c (do_test): Likewise.
4648 * posix/tst-execvp3.c (do_test): Likewise.
4649 * posix/tst-execvp4.c (do_test): Likewise.
4650 * posix/tst-execvpe1.c: New file.
4651 * posix/tst-execvpe2.c: Likewise.
4652 * posix/tst-execvpe3.c: Likewise.
4653 * posix/tst-execvpe4.c: Likewise.
4654 * posix/tst-execvpe5.c: Likewise.
4655 * posix/tst-execvpe6.c: Likewise.
4658 * posix/execl.c (execl): Remove dynamic memory allocation.
4659 * posix/execle.c (execle): Likewise.
4660 * posix/execlp.c (execlp): Likewise.
4662 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4665 Replace .text with .text.avx512.
4666 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4669 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
4671 * sysdeps/generic/libnsl.abilist: New file.
4672 * sysdeps/generic/libutil.abilist: New file.
4674 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
4677 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4678 HAS_ARCH_FEATURE with Fast_Rep_String.
4679 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4680 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4681 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4683 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4685 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4688 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4689 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4692 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4695 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4698 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4701 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4702 with *__libc_start_main@GOTPCREL(%rip) in call.
4704 2016-03-04 Roland McGrath <roland@hack.frob.com>
4706 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4707 inside conditional for nonempty $(CXX).
4709 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4712 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4713 to test for empty $(CXX) rather than $(CXX) of "no".
4715 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4717 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4719 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
4720 H.J. Lu <hongjiu.lu@intel.com>
4723 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4724 instead of Slow_BSF, and also check for Fast_Copy_Backward to
4725 enable __memcpy_ssse3_back.
4727 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
4730 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4731 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4733 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4736 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4737 (__fentry__): Likewise.
4739 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
4741 * gmon/Makefile (noprof): Add $(sysdep_noprof).
4742 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4744 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
4746 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4747 __mcount_internal directly.
4748 (C_LABEL(__fentry__)): Likewise.
4749 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4752 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
4754 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4755 (__start_context): Call __setcontext directly.
4757 2016-02-26 Joseph Myers <joseph@codesourcery.com>
4759 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4760 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4761 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4762 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4763 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4764 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4765 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4766 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4767 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4768 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4769 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4770 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4771 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4772 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4773 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4774 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4775 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4777 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4778 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4779 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4780 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4781 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4782 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4783 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4784 Remove conditional code.
4785 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4786 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4787 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4788 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4789 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4790 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4791 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4792 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4793 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4794 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4796 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4798 2016-02-24 Marko Myllynen <myllynen@redhat.com>
4800 * NEWS (2.23): Fix typo in bug 19048 text.
4802 2016-02-24 Carlos O'Donell <carlos@redhat.com>
4805 * Makeconfig: Rename msgcatdir to localedir.
4806 Rename inst_msgcatdir to inst_localedir.
4807 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4808 * config.make.in: Add localedir.
4809 * elf/Makefile ($(objpfx)sotruss): Use localedir.
4810 (ldd-rewrite): Likewise.
4811 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4812 (install-others): Use inst_localedir.
4813 (CPPFLAGS): Use localedir.
4814 * locale/Makefile (locale-CPPFLAGS): Likewise.
4815 * po/Makefile (mo-installed): Use inst_localedir.
4818 * localedata/charmaps/GB18030: Update comments regarding PAU to
4821 2016-02-24 Joseph Myers <joseph@codesourcery.com>
4823 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4825 * sysdeps/unix/sysv/linux/configure: Regenerated.
4826 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4827 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4828 Remove conditional code.
4829 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4831 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4833 (arch_minimum_kernel): Likewise.
4834 * sysdeps/unix/sysv/linux/configure: Regenerated.
4835 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4837 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4838 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4839 (arch_minimum_kernel): Define to 2.6.32.
4840 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4841 * README: Document Linux 3.2 requirement.
4842 * manual/install.texi (Linux): Document Linux 3.2 headers
4844 * INSTALL: Regenerated.
4846 2016-02-24 Andreas Schwab <schwab@suse.de>
4848 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4851 2016-02-22 Roland McGrath <roland@hack.frob.com>
4853 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4854 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4856 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
4859 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4861 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
4863 * posix/tst-dir.c: Include libc-internal.h.
4865 2016-02-20 Florian Weimer <fweimer@redhat.com>
4868 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4869 * manual/filesys.texi (Reading/Closing Directory): Mention
4871 * posix/tst-dir.c (main): Disable deprecation warning in test.
4873 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
4876 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4878 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
4879 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4880 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
4881 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4882 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4883 * sysdeps/x86_64/dl-trampoline.h
4884 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4885 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4887 2016-02-19 Mark Wielaard <mjw@redhat.com>
4889 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4891 2016-02-19 Mark Wielaard <mjw@redhat.com>
4893 * elf/elf.h (R_386_GOT32X): New.
4894 (R_386_NUM): Update.
4895 (R_X86_64_GOTPCRELX: New.
4896 (R_X86_64_REX_GOTPCRELX): New.
4897 (R_X86_64_NUM): Update.
4899 2016-02-19 Mike Frysinger <vapier@gentoo.org>
4901 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4903 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
4905 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4906 assign attr->stackaddr to it, and adjust it down when
4907 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
4908 [_STACK_GROWS_UP]: Delete assert.
4909 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4910 Implement stack grows up logic.
4911 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4912 stack grows up logic.
4914 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4916 * NEWS: Update with 2.24 template.
4918 2016-02-19 Joseph Myers <joseph@codesourcery.com>
4921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4922 Ensure +0.0 is returned when taking the next value below the least
4925 2016-02-19 Florian Weimer <fweimer@redhat.com>
4927 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4928 available. Do not define NO_THREADS.
4929 * malloc/malloc.c: Do not check NO_THREADS.
4930 * malloc/arena.c: Likewise.
4932 2016-02-19 Florian Weimer <fweimer@redhat.com>
4934 * malloc/malloc.c (__libc_mallinfo): Update comment.
4935 (struct malloc_par): Remove max_total_mem member, it was always 0.
4936 (int_mallinfo): Store 0 into usmblks (no functional change).
4937 * malloc/hooks.c (struct malloc_state): Document that
4938 max_total_mem is always 0.
4939 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4941 * manual/memory.texi (Statistics of Malloc): Likewise.
4943 2016-02-19 Florian Weimer <fweimer@redhat.com>
4945 * malloc/malloc.c (sysmalloc): Do not update arena_max.
4946 * malloc/arena.c (arena_max): Remove.
4947 (heap_trim, _int_new_arena): Do not update arena_max.
4949 2016-02-19 Florian Weimer <fweimer@redhat.com>
4951 * resolv/res_init.c (res_ninit): Update comment.
4953 2016-02-19 Florian Weimer <fweimer@redhat.com>
4956 * posix/spawn_int.h: Add headers and include guard.
4957 (__spawn_valid_fd): New function.
4958 * posix/spawn_faction_addopen.c
4959 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4960 * posix/spawn_faction_addclose.c
4961 (posix_spawn_file_actions_addclose): Likewise.
4962 * posix/spawn_faction_adddup2.c
4963 (posix_spawn_file_actions_adddup2): Likewise. Add check for
4964 second file descriptor.
4965 * posix/spawn_valid_fd.c: New file.
4966 * posix/tst-posix_spawn-fd.c: New file.
4967 * posix/Makefile (routines): Add spawn_valid_fd.
4968 (tests): Add tst-posix_spawn-fd.
4970 2016-02-19 Florian Weimer <fweimer@redhat.com>
4972 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4973 (do_test): Limit the number of arenas, so that we can use fewer
4974 outer threads. Limit timeout to 3 seconds, in preparation for a
4975 larger TIMEOUT value.
4977 2016-02-19 Joseph Myers <joseph@codesourcery.com>
4980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4981 sign in overflowing and underflowing results when overflow or
4982 underflow is detected early. Include sign in result before rather
4986 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4987 (__ieee754_remainderl): Adjust sign of integer version of low part
4988 when taking absolute value of high part.
4989 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4990 * math/libm-test.inc (remainder_test_data): Add another test.
4991 (remquo_test_data): Likewise.
4993 2016-02-18 Joseph Myers <joseph@codesourcery.com>
4996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4997 equal high parts and both low parts zero specially.
4998 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4999 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5000 Add test-fmodl-ldbl-128ibm.
5003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5004 common logic for all cases of shifting subnormal results. Do not
5005 insert sign bit in shifted mantissa. Always pass -1023 as biased
5006 exponent to ldbl_insert_mantissa in subnormal case.
5009 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5010 on high and low parts then adjust result and use
5011 ldbl_canonicalize_int if needed.
5014 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5015 on high part and __floor or __ceil on low part then use
5016 ldbl_canonicalize_int if needed.
5019 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5020 high and low parts then use ldbl_canonicalize_int if needed.
5023 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5025 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5026 on high and low parts then use ldbl_canonicalize_int if needed.
5028 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5030 * configure: Regenerated.
5032 * po/libc.pot: Regenerated.
5034 * po/be.po: Updated translation.
5035 * po/bg.po: Likewise.
5036 * po/ca.po: Likewise.
5037 * po/cs.po: Likewise.
5038 * po/da.po: Likewise.
5039 * po/el.po: Likewise.
5040 * po/eo.po: Likewise.
5041 * po/es.po: Likewise.
5042 * po/fi.po: Likewise.
5043 * po/fr.po: Likewise.
5044 * po/gl.po: Likewise.
5045 * po/hr.po: Likewise.
5046 * po/hu.po: Likewise.
5047 * po/ia.po: Likewise.
5048 * po/id.po: Likewise.
5049 * po/it.po: Likewise.
5050 * po/ja.po: Likewise.
5051 * po/lt.po: Likewise.
5052 * po/nb.po: Likewise.
5053 * po/nl.po: Likewise.
5054 * po/pt_BR.po: Likewise.
5055 * po/rw.po: Likewise.
5056 * po/sk.po: Likewise.
5057 * po/sl.po: Likewise.
5058 * po/sv.po: Likewise.
5059 * po/tr.po: Likewise.
5060 * po/zh_CN.po: Likewise.
5061 * po/zh_TW.po: Likewise.
5063 * version.h (RELEAES): Set to "development".
5064 (VERSION): Set to 2.23.90.
5066 * version.h (RELEASE): Set to "stable".
5067 (VERSION): Set to 2.23.
5068 * include/feature.h (__GLIBC_MINOR__): Set to 23.
5070 * NEWS: Updated fixed bugs.
5072 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
5073 Wilco Dijkstra <wdijkstr@arm.com>
5076 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5077 (_STRING_INLINE_unaligned): This.
5078 * include/string.h: Include <string_private.h>.
5079 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5080 _STRING_INLINE_unaligned.
5081 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5082 (_STRING_INLINE_unaligned): New.
5083 * sysdeps/aarch64/string_private.h: New file.
5084 * sysdeps/generic/string_private.h: Likewise.
5085 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5086 * sysdeps/s390/string_private.h: Likewise.
5087 * sysdeps/x86/string_private.h: Likewise.
5088 * sysdeps/m68k/m680x0/m68020/bits/string.h
5089 (_STRING_ARCH_unaligned): Renamed to ...
5090 (_STRING_INLINE_unaligned): This.
5091 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5093 (_STRING_INLINE_unaligned): This.
5094 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5096 (_STRING_INLINE_unaligned): This.
5097 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5099 (_STRING_INLINE_unaligned): This.
5101 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
5102 H.J. Lu <hongjiu.lu@intel.com>
5105 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5108 2016-02-15 Carlos O'Donell <carlos@redhat.com>
5111 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5113 (gaih_getanswer): Document functional behviour. Return tryagain
5114 if any result is tryagain.
5115 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5117 * resolv/res_send.c: Add copyright text.
5118 (__libc_res_nsend): Document that MAXPACKET is expected.
5119 (send_vc): Document. Remove buffer reuse.
5120 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5121 size of the buffer. Add Dprint for truncated UDP buffer.
5123 2016-02-14 Carlos O'Donell <carlos@redhat.com>
5125 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5126 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5127 * INSTALL: Regenerate.
5129 2016-02-14 Jakub Jelinek <jakub@redhat.com>
5130 Jonathan Wakely <jwakely@redhat.com>
5131 Carlos O'Donell <carlos@redhat.com>
5134 * math/Makefile (tests): Add test-math-isinff.
5135 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5136 * math/bits/mathcalls.h [__USE_MISC]: Use
5137 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5138 functions not in C++11 and which don't conflict e.g. isinff,
5140 * math/test-math-isinff.cc: New file.
5142 2016-02-12 Florian Weimer <fweimer@redhat.com>
5144 * misc/bug18240.c (do_test): Set RLIMIT_AS.
5146 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5149 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5151 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5155 2016-02-01 Joseph Myers <joseph@codesourcery.com>
5158 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5159 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5160 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5161 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5162 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5164 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5166 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5169 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
5172 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5173 unsigned int wraparound.
5175 2016-01-27 Florian Weimer <fweimer@redhat.com>
5178 * misc/bug18240.c: New test.
5179 * misc/Makefile (tests): Add it.
5181 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
5182 Joseph Myers <joseph@codesourcery.com>
5184 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5185 load in branch delay slot when less than a word of input left.
5187 2016-01-27 Andreas Schwab <schwab@suse.de>
5189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5191 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5192 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5194 2016-01-26 David S. Miller <davem@davemloft.net>
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5198 2016-01-25 David S. Miller <davem@davemloft.net>
5200 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5202 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5203 instead using versioned_symbol.
5204 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5207 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5208 __sqrtl_finite to GLIBC_2.23
5210 2016-01-25 Ricchard Henderson <rth@redhat.com>
5212 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5214 2016-01-25 Andreas Schwab <schwab@suse.de>
5217 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5218 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5219 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5220 * nptl/tst-mutex-errorcheck.c: New file.
5222 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5225 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5226 (IPCOP_semop): Likewise.
5227 (IPCOP_semget): Likewise.
5228 (IPCOP_semctl): Likewise.
5229 (IPCOP_msgsnd): Likewise.
5230 (IPCOP_msgrcv): Likewise.
5231 (IPCOP_msgget): Likewise.
5232 (IPCOP_msgctl): Likewise.
5233 (IPCOP_shmat): Likewise.
5234 (IPCOP_shmdt): Likewise.
5235 (IPCOP_shmget): Likewise.
5236 (IPCOP_shmctl): Likewise.
5238 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5240 * string/tst-endian.c: Include <libc-internal.h>.
5241 (do_test): Ignore tautological-compare warnings around
5242 "htobeXX (beXXtoh (i)) != i" and
5243 "htoleXX (leXXtoh (i)) != i" if-statements.
5245 2016-01-24 David S. Miller <davem@davemloft.net>
5247 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5248 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5255 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
5257 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5258 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5259 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5261 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5263 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5264 (thread_func): Use new function to simplify barrier check.
5265 (do_test): Use new function to simplify checking barrier exit
5266 code, and actually join the child thread.
5268 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5270 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5272 (__libc_tend): Likewise.
5273 (__libc_tabort): Likewise.
5275 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
5277 * sysdeps/nios2/libm-test-ulps: Update.
5278 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5279 (__gtsf2): Likewise.
5280 (__unorddf2): Likewise.
5281 (__unordsf2): Likewise.
5282 (__ledf2): Likewise.
5284 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
5286 * nis/nis_table.c (__follow_path): Disable diagnostic for
5287 uninitialized variable that is a false positive for gcc 4.7.
5288 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5290 2016-01-20 Roland McGrath <roland@hack.frob.com>
5292 * sysdeps/nacl/lowlevellock-futex.h
5293 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5294 Always evaluate PRIVATE argument.
5296 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5299 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5300 (pthread_cond_broadcast): Use ENTRY/END
5301 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5302 (pthread_cond_signal): Likewise.
5303 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5305 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5307 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5310 2016-01-20 Joseph Myers <joseph@codesourcery.com>
5312 * sysdeps/ieee754/dbl-64/s_finite.c
5313 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5314 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5315 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5317 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5320 (__gtsf2): Add as optional for libc.so.
5321 (__unordsf2): Likewise.
5322 (__signbit): Remove for libc.so.
5323 (__signbitl): Likewise.
5325 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5327 * iconvdata/bug-iconv11.c (test_ibm93x):
5328 Use %zu printf format specifier for size_t argument.
5330 2016-01-19 Joseph Myers <joseph@codesourcery.com>
5332 * math/gen-libm-test.pl (parse_ulps): Do not reduce
5333 already-recorded ulps.
5334 * sysdeps/arm/libm-test-ulps: Regenerated.
5335 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5337 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5339 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
5340 Paul Pluzhnikov <ppluzhnikov@google.com>
5342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5343 assembler not supporting AVX-512.
5345 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
5347 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5349 2016-01-18 Joseph Myers <joseph@codesourcery.com>
5351 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5354 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5356 * sysdeps/arm/libm-test-ulps: Regenerated.
5358 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5361 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5363 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
5366 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5367 * sysdeps/generic/fix-fp-int-convert-overflow.h
5368 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5369 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5370 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5371 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5373 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5374 Avoid conversions to long int where inexact exceptions
5376 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5378 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5379 Avoid conversions to long long int where inexact exceptions
5381 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5384 2016-01-17 Mike Frysinger <vapier@gentoo.org>
5386 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5387 * configure: Regenerated.
5389 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
5391 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5393 2016-01-16 Mike Frysinger <vapier@gentoo.org>
5395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5398 2016-01-15 Torvald Riegel <triegel@redhat.com>
5400 * nptl/tst-barrier1.c: Add description on first line.
5401 * nptl/tst-barrier2.c: Likewise.
5402 * nptl/tst-barrier3.c: Likewise.
5403 * nptl/tst-barrier4.c: Likewise.
5404 * nptl/tst-barrier5.c: Likewise.
5406 2016-01-15 Torvald Riegel <triegel@redhat.com>
5409 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5411 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
5413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5415 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5416 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5417 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5418 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5419 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5420 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5421 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5422 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5423 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5425 2016-01-15 Torvald Riegel <triegel@redhat.com>
5428 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5430 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5431 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5432 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5433 (BARRIER_IN_THRESHOLD): New macro.
5434 * nptl/pthread_barrierattr_setpshared.c
5435 (pthread_barrierattr_setpshared): Clean up.
5436 * nptl/tst-barrier4.c: Correct comment.
5437 * nptl/tst-barrier5.c: New file.
5438 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5439 (gen-as-const-headers): Remove lowlevelbarrier.sym.
5440 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5441 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5442 * nptl/lowlevelbarrier.sym: Remove.
5443 * nptl/DESIGN-barrier.txt: Remove.
5444 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5445 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5446 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5447 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5449 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5452 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5454 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5455 (do_child): Mask SIGRTMIN while thr is running.
5457 2016-01-15 Martin Sebor <msebor@redhat.com>
5460 * iconvdata/Makefile: Add bug-iconv11.
5461 * iconvdata/bug-iconv11.c: New test.
5462 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5463 * iconvdata/ibm933.c: Same.
5464 * iconvdata/ibm935.c: Same.
5465 * iconvdata/ibm937.c: Same.
5466 * iconvdata/ibm939.c: Same.
5468 2016-01-15 Martin Sebor <msebor@redhat.com>
5471 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5472 [DEBUG] (_ufc_set_bits): Declare used.
5473 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5474 [DEBUG] (print_all): Declare used.
5475 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5476 operands of the ternary ?: expression to target type.
5477 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5478 calling the undeclared abort.
5479 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5481 2016-01-15 Martin Sebor <msebor@redhat.com>
5484 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5486 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5487 (__gai_create_helper_thread): Same.
5488 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5489 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5490 to suppress -Wmaybe-uninitialized warnings.
5492 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
5495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5498 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5501 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
5504 * time/tst-mktime2.c (time_t_max): Removed.
5505 (time_t_min): Likewise.
5507 (TYPE_MINIMUM): Likewise.
5508 (TYPE_MAXIMUM): Likewise.
5509 (TIME_T_MIN): Likewise.
5510 (TIME_T_MAX): Likewise.
5511 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5513 (do_test): Likewise.
5515 2016-01-14 Amit Pawar <amit.pawar@amd.com>
5518 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5519 index_Fast_Unaligned_Load flag for Excavator family CPUs.
5521 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
5523 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5525 2016-01-13 Carlos O'Donell <carlos@redhat.com>
5527 * benchtests/Makefile (PYTHON): Define.
5528 (bench-func): Use $(PYTHON) to run python scripts.
5529 ($(objpfx)bench-%.c): Likewise.
5531 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
5533 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5534 leading slash when `file_name' is "/".
5536 2016-01-12 Joseph Myers <joseph@codesourcery.com>
5538 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5539 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5545 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5546 enum constant and macro.
5547 (PTRACE_SETSIGMASK): Likewise.
5548 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5549 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5550 (PTRACE_GETSIGMASK): Likewise.
5551 (PTRACE_SETSIGMASK): Likewise.
5552 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5553 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5555 (PTRACE_SETSIGMASK): Likewise.
5556 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5557 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5558 (PTRACE_GETSIGMASK): Likewise.
5559 (PTRACE_SETSIGMASK): Likewise.
5560 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5563 (PTRACE_SETSIGMASK): Likewise.
5564 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5567 (PTRACE_SETSIGMASK): Likewise.
5568 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5569 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5571 (PTRACE_SETSIGMASK): Likewise.
5572 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5574 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
5575 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5578 * math/bits/mathcalls.h
5579 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5581 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5583 2016-01-11 Andreas Schwab <schwab@suse.de>
5586 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5587 cache when TZDEFRULES was used.
5588 * time/tst-tzname.c: New file.
5589 * time/Makefile (test): Add tst-tzname.
5590 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5591 * timezone/Makefile (test-zones): Add $(posixrules-file).
5592 ($(testdata)/$(posixrules-file)): New rule.
5594 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
5596 Fix doc quoting problems with Texinfo 5
5597 Without this change, in the info file output, Texinfo 5 quotes code
5598 in text with undirected single quotes 'like this' and generates
5599 code examples that with many PDF readers cannot be cut out of PDFs
5600 and pasted into code.
5601 * manual/libc.texinfo: Configure the libc manual like the GNU
5602 Emacs manual, by using @documentencoding and setting
5603 txicodequoteundirected and txicodequotebacktick. This way,
5604 Texinfo 5 quotes code in text with directed single quotes ‘like
5605 this’ and produces examples that can be cut out of PDFs. This
5606 change causes Texinfo 5 to generate info files that contain UTF-8
5607 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5608 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5610 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5612 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5613 __libc_tabort, __libc_tend): New wrappers that enforce compiler
5614 barriers to their respective compiler built-ins.
5615 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5616 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5617 * sysdeps/powerpc/sysdep.h: Likewise.
5618 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5619 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5620 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5622 2016-01-08 Marko Myllynen <myllynen@redhat.com>
5624 * scripts/config.guess: Revert previous shebang change.
5625 * scripts/config.sub: Likewise.
5626 * scripts/mkinstalldirs: Likewise.
5628 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5630 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5631 PPC_FEATURE2_HAS_IEEE128.
5632 * sysdeps/powerpc/dl-procinfo.c:
5633 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5635 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
5638 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5639 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
5640 (_dl_lookup_address): Rewrite using function resolver trampoline.
5641 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5642 two bits in address.
5644 2016-01-07 Mike Frysinger <vapier@gentoo.org>
5646 * longlong.h: Change !__SHMEDIA__ to
5647 (!defined (__SHMEDIA__) || !__SHMEDIA__).
5648 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5650 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
5651 Joseph Myers <joseph@codesourcery.com>
5652 Mark Shinwell <shinwell@codesourcery.com>
5653 Andrew Stubbs <ams@codesourcery.com>
5654 Rich Felker <dalias@libc.org>
5656 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5658 2016-01-07 Richard Henderson <rth@redhat.com>
5660 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5662 2016-01-07 Mike Frysinger <vapier@gentoo.org>
5664 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5665 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5666 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5667 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5668 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5670 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
5671 Joseph Myers <joseph@codesourcery.com>
5673 * timezone/private.h: Update from tzcode 2015g.
5674 * timezone/tzfile.h: Likewise.
5675 * timezone/tzselect.ksh: Likewise.
5676 * timezone/zdump.c: Likewise.
5677 * timezone/zic.c: Likewise.
5678 * timezone/ialloc.c: Remove file.
5679 * timezone/scheck.c: Likewise.
5680 * timezone/Makefile (extra-objs): Remove variable.
5681 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5682 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5683 -Wno-maybe-uninitialized.
5684 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5685 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5686 (CFLAGS-ialloc.c): Remove variable.
5687 (CFLAGS-scheck.c): Likewise.
5688 * timezone/README: Update list of files from tzcode.
5690 2016-01-07 Khem Raj <raj.khem@gmail.com>
5692 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5693 instead of __fxprintf when _LIBC is undefined.
5695 2016-01-07 Marko Myllynen <myllynen@redhat.com>
5697 * catgets/test-gencat.sh: Remove space after shebang.
5698 * conform/GlibcConform.pm: Likewise.
5699 * conform/check-header-lists.sh: Likewise.
5700 * conform/conformtest.pl: Likewise.
5701 * conform/linknamespace.pl: Likewise.
5702 * conform/list-header-symbols.pl: Likewise.
5703 * debug/catchsegv.sh: Likewise.
5704 * elf/genrtldtbl.awk: Likewise.
5705 * elf/tst-pathopt.sh: Likewise.
5706 * elf/tst-rtld-load-self.sh: Likewise.
5707 * grp/tst_fgetgrent.sh: Likewise.
5708 * iconvdata/gen-8bit-gap-1.sh: Likewise.
5709 * iconvdata/gen-8bit-gap.sh: Likewise.
5710 * iconvdata/gen-8bit.sh: Likewise.
5711 * iconvdata/run-iconv-test.sh: Likewise.
5712 * intl/tst-gettext.sh: Likewise.
5713 * intl/tst-gettext2.sh: Likewise.
5714 * intl/tst-gettext4.sh: Likewise.
5715 * intl/tst-gettext6.sh: Likewise.
5716 * intl/tst-translit.sh: Likewise.
5717 * io/ftwtest-sh: Likewise.
5718 * libio/test-freopen.sh: Likewise.
5719 * locale/gen-translit.pl: Likewise.
5720 * malloc/tst-mtrace.sh: Likewise.
5721 * manual/check-safety.sh: Likewise.
5722 * manual/libc-texinfo.sh: Likewise.
5723 * manual/tsort.awk: Likewise.
5724 * manual/xtract-typefun.awk: Likewise.
5725 * nptl/tst-cancel-wrappers.sh: Likewise.
5726 * nptl/tst-tls6.sh: Likewise.
5727 * posix/globtest.sh: Likewise.
5728 * posix/tst-getconf.sh: Likewise.
5729 * posix/wordexp-tst.sh: Likewise.
5730 * scripts/check-c++-types.sh: Likewise.
5731 * scripts/check-local-headers.sh: Likewise.
5732 * scripts/config.guess: Likewise.
5733 * scripts/config.sub: Likewise.
5734 * scripts/cpp: Likewise.
5735 * scripts/cross-test-ssh.sh: Likewise.
5736 * scripts/documented.sh: Likewise.
5737 * scripts/evaluate-test.sh: Likewise.
5738 * scripts/gen-libc-abis: Likewise.
5739 * scripts/gen-sorted.awk: Likewise.
5740 * scripts/list-fixed-bugs.py: Likewise.
5741 * scripts/merge-test-results.sh: Likewise.
5742 * scripts/mkinstalldirs: Likewise.
5743 * scripts/rellns-sh: Likewise.
5744 * scripts/test-installation.pl: Likewise.
5745 * scripts/update-copyrights: Likewise.
5746 * stdio-common/tst-printf.sh: Likewise.
5747 * stdio-common/tst-unbputc.sh: Likewise.
5748 * stdlib/tst-fmtmsg.sh: Likewise.
5749 * stdlib/tst-setcontext3.sh: Likewise.
5750 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5751 * sysdeps/unix/make-syscalls.sh: Likewise.
5753 2016-01-06 John David Anglin <dave.anglin@bell.net>
5755 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5756 asm stw with atomic_exchange_rel. Add explanatory comment.
5757 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5760 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
5763 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5764 * sysdeps/generic/dl-unistd.h: New file.
5765 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5767 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
5770 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5771 * sysdeps/generic/dl-mman.h: New file.
5772 * sysdeps/mach/hurd/dl-mman.h: Likewise.
5774 2016-01-05 Joseph Myers <joseph@codesourcery.com>
5776 * manual/texinfo.tex: Update to version 2016-01-04.21 with
5777 trailing whitespace removed.
5778 * scripts/config.guess: Update to version 2016-01-01.
5779 * scripts/config.sub: Update to version 2016-01-01.
5780 * scripts/move-if-change: Update from gnulib.
5782 2016-01-04 Anton Blanchard <anton@samba.org>
5784 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5786 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5788 2016-01-04 Joseph Myers <joseph@codesourcery.com>
5790 * NEWS: Update copyright dates.
5791 * catgets/gencat.c (print_version): Likewise.
5792 * csu/version.c (banner): Likewise.
5793 * debug/catchsegv.sh: Likewise.
5794 * debug/pcprofiledump.c (print_version): Likewise.
5795 * debug/xtrace.sh (do_version): Likewise.
5796 * elf/ldconfig.c (print_version): Likewise.
5797 * elf/ldd.bash.in: Likewise.
5798 * elf/pldd.c (print_version): Likewise.
5799 * elf/sotruss.sh: Likewise.
5800 * elf/sprof.c (print_version): Likewise.
5801 * iconv/iconv_prog.c (print_version): Likewise.
5802 * iconv/iconvconfig.c (print_version): Likewise.
5803 * locale/programs/locale.c (print_version): Likewise.
5804 * locale/programs/localedef.c (print_version): Likewise.
5805 * login/programs/pt_chown.c (print_version): Likewise.
5806 * malloc/memusage.sh (do_version): Likewise.
5807 * malloc/memusagestat.c (print_version): Likewise.
5808 * malloc/mtrace.pl: Likewise.
5809 * manual/libc.texinfo: Likewise.
5810 * nptl/version.c (banner): Likewise.
5811 * nscd/nscd.c (print_version): Likewise.
5812 * nss/getent.c (print_version): Likewise.
5813 * nss/makedb.c (print_version): Likewise.
5814 * posix/getconf.c (main): Likewise.
5815 * scripts/test-installation.pl: Likewise.
5816 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5818 * All files with FSF copyright notices: Update copyright dates
5819 using scripts/update-copyrights.
5820 * intl/plural.c: Regenerated.
5821 * locale/programs/charmap-kw.h: Likewise.
5822 * locale/programs/locfile-kw.h: Likewise.
5824 2016-01-02 Helge Deller <deller@gmx.de>
5827 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5828 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5829 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5830 (MADV_xxK_PAGES): Remove.
5832 2016-01-01 Mike Frysinger <vapier@gentoo.org>
5835 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5836 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
5837 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5838 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5840 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
5843 * sysdeps/unix/sysv/linux/personality.c: New file.
5844 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5845 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5847 (sysdep_routines): Add personality.
5848 (tests): Add tst-personality.
5849 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5851 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5852 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5853 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5854 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5855 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5857 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5861 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5862 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5865 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
5867 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5868 (PATH_ARM_SYSTYPE): Remove.
5869 (PATH_CPUINFO): Likewise.
5870 (IO_BASE_FOOTBRIDGE): Likewise.
5871 (IO_SHIFT_FOOTBRIDGE): Likewise.
5872 (struct platform): Likewise.
5873 (init_iosys): Remove compatibility code for 2.4 kernels.
5874 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5876 2015-12-29 Florian Weimer <fweimer@redhat.com>
5878 * malloc/tst-malloc-thread-fail.c: New file.
5879 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5880 (tst-malloc-thread-fail): Link against libpthread.
5882 2015-12-29 Mike Frysinger <vapier@gentoo.org>
5884 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
5885 (get_parser): New function.
5886 (main): New function.
5888 2015-12-29 Rob Wu <rob@robwu.nl>
5891 * resolv/res_init.c (__res_vinit): Reset defdname before use.
5893 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
5896 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5898 2015-12-28 Mike Frysinger <vapier@gentoo.org>
5901 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5903 2015-12-23 Torvald Riegel <triegel@redhat.com>
5906 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5908 (__lll_robust_unlock): Likewise.
5909 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5910 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5911 (lll_robust_unlock): Likewise.
5912 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5913 Prevent warnings in callers.
5915 2015-12-23 Florian Weimer <fweimer@redhat.com>
5917 * malloc/arena.c (list_lock): Update comment.
5919 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5921 * sysdeps/powerpc/hwcapinfo.c: Export symbol
5922 __parse_hwcap_and_convert_at_platform to libc.a.
5924 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5926 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5927 platform and feature support for POWER9.
5928 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5929 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5930 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5931 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5932 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5933 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5934 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5935 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5937 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5939 Harmonize generic stdio-lock support with nptl
5941 This fixes build when _IO_funlockfile is a macro, fixes build where
5942 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5945 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5946 _IO_release_lock ): Use cleanup attribute on new
5947 _IO_acquire_lock_file variable instead of assuming that
5948 _IO_release_lock will be called.
5949 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5950 _IO_acquire_lock_needs_exceptions_enabled.
5951 (_IO_acquire_lock_clear_flags2): New macro.
5953 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5955 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5957 2015-12-21 Florian Weimer <fweimer@redhat.com>
5960 * malloc/arena.c (list_lock): Document lock ordering requirements.
5961 (free_list_lock): New lock.
5962 (ptmalloc_lock_all): Comment on free_list_lock.
5963 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5964 (detach_arena): Update comment. free_list_lock is now needed.
5965 (_int_new_arena): Use free_list_lock around detach_arena call.
5966 Acquire arena lock after list_lock. Add comment, including FIXME
5967 about incorrect synchronization.
5968 (get_free_list): Switch to free_list_lock.
5969 (reused_arena): Acquire free_list_lock around detach_arena call
5970 and attached threads counter update. Add two FIXMEs about
5971 incorrect synchronization.
5972 (arena_thread_freeres): Switch to free_list_lock.
5973 * malloc/malloc.c (struct malloc_state): Update comments to
5974 mention free_list_lock.
5976 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
5978 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5980 (sloww, sloww1): Accept argument to offset quadrant.
5981 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5983 (__sin, __cos): Consolidate common code into new functions.
5984 (reduce_sincos_1, do_sincos_1): New functions.
5985 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5988 code to new functions.
5989 (reduce_sincos_2, do_sincos_2): New functions.
5990 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5993 common code for sincos.
5994 (__cos) [!IN_SINCOS]: Likewise.
5995 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5999 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
6001 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6002 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6003 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6005 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
6007 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6010 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6011 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6012 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6013 index_Prefer_No_VZEROUPPER): New feature.
6014 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6015 Prefer_No_VZEROUPPER for Knights Landing.
6017 015-12-18 Torvald Riegel <triegel@redhat.com>
6019 * math/atest-exp2.c (mp_exp_m1): Remove.
6021 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6023 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6025 (__SYSCALL0): New macro.
6026 (__SYSCALL1): Likewise.
6027 (__SYSCALL2): Likewise.
6028 (__SYSCALL3): Likewise.
6029 (__SYSCALL4): Likewise.
6030 (__SYSCALL5): Likewise.
6031 (__SYSCALL6): Likewise.
6032 (__SYSCALL_CONCAT_X): Likewise.
6033 (__SYSCALL_CONCAT): Likewise.
6034 (__SYSCALL_DIST): Likewise.
6035 (__SYSCALL_CALL): Likewise.
6037 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
6040 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6042 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6045 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6046 negative subnormals.
6048 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
6050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6051 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6052 (INTERNAL_SYSCALL_NCS): Use it.
6053 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6055 2015-12-16 Florian Weimer <fweimer@redhat.com>
6058 * malloc/arena.c (get_free_list): Remove assert and adjust
6059 reference count handling. Add comment about reused_arena
6061 (reused_arena): Add comments abount get_free_list interaction.
6062 * malloc/tst-malloc-thread-exit.c: New file.
6063 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6064 (tst-malloc-thread-exit): Link against libpthread.
6066 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6069 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6070 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6071 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6072 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6073 (index_Prefer_MAP_32BIT_EXEC): Likewise.
6075 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6077 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6078 Silvermont optimizations for Knights Landing.
6080 2015-12-15 Andreas Schwab <schwab@suse.de>
6083 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6084 immediately after emitting SI.
6085 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6086 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6087 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6088 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6089 * iconvdata/bug-iconv10.c: New file.
6090 * iconvdata/Makefile (tests): Add bug-iconv10.
6091 ($(objpfx)bug-iconv10.out): New rule.
6093 2015-12-15 Florian Weimer <fweimer@redhat.com>
6095 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6098 2015-12-14 Joseph Myers <joseph@codesourcery.com>
6101 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6102 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6103 conditionals for them.
6104 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6105 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6108 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6109 compat-only syscall, obsoleted in glibc 2.23.
6110 (create_module): Likewise.
6111 (get_kernel_syms): Likewise.
6112 (query_module): Likewise.
6114 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6116 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
6118 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6120 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6122 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6123 and ioshift_name initialization.
6125 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6130 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6134 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6136 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6138 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
6139 Jakub Wilk <jwilk@debian.org>
6142 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6143 to change the group of the device to the tty group.
6145 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
6147 Split large string section; add truncation advice
6148 * manual/examples/strncat.c: Remove.
6149 This example was misleading, as the code would have undefined
6150 behavior if "hello" was longer than SIZE. Anyway, the manual
6151 shouldn't encourage strncpy+strncat for this sort of thing.
6152 * manual/string.texi (Copying Strings and Arrays): Split into
6153 three sections Copying Strings and Arrays, Concatenating Strings,
6154 and Truncating Strings, as this section was way too long. All
6155 cross-referenced changed. Add advice about string-truncation
6156 functions. Remove misleading strncat example.
6158 2015-12-10 Carlos O'Donell <carlos@redhat.com>
6160 * manual/nss.texi (NSS Modules Interface): Document
6161 NSS_STATUS_NOTFOUND and SUCCESS.
6163 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6166 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6167 201505L, for Unicode 8.
6169 2015-12-09 Carlos O'Donell <carlos@redhat.com>
6171 * locale/C-translit.h: Regenerate.
6173 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6175 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6178 2015-12-09 Joseph Myers <joseph@codesourcery.com>
6181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6182 expanding log(1+z), compare z rather than its square with epsilon
6183 to determine when to avoid evaluating the expansion.
6186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6187 Increase overflow threshold.
6190 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6193 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6194 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6196 [__LINUX_KERNEL_VERSION >= 0x040300]
6197 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6198 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6200 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6202 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6204 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6206 [__LINUX_KERNEL_VERSION >= 0x040300]
6207 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6208 [__LINUX_KERNEL_VERSION >= 0x040300]
6209 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6210 [__LINUX_KERNEL_VERSION >= 0x040300]
6211 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6212 [__LINUX_KERNEL_VERSION >= 0x040300]
6213 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6214 [__LINUX_KERNEL_VERSION >= 0x040300]
6215 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6216 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6218 [__LINUX_KERNEL_VERSION >= 0x040300]
6219 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6220 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6222 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6224 [__LINUX_KERNEL_VERSION >= 0x040300]
6225 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6226 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6228 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6230 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6231 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6233 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6235 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6237 [__LINUX_KERNEL_VERSION >= 0x040300]
6238 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6239 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6241 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6243 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6245 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6247 [__LINUX_KERNEL_VERSION >= 0x040300]
6248 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6249 [__LINUX_KERNEL_VERSION >= 0x040300]
6250 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6251 [__LINUX_KERNEL_VERSION >= 0x040300]
6252 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6253 [__LINUX_KERNEL_VERSION >= 0x040300]
6254 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6255 [__LINUX_KERNEL_VERSION >= 0x040300]
6256 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6257 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6259 [__LINUX_KERNEL_VERSION >= 0x040300]
6260 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6261 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6263 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6265 [__LINUX_KERNEL_VERSION >= 0x040300]
6266 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6267 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6269 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6272 (__ASSUME_SOCKET_SYSCALL): Likewise.
6273 (__ASSUME_BIND_SYSCALL): Likewise.
6274 (__ASSUME_CONNECT_SYSCALL): Likewise.
6275 (__ASSUME_LISTEN_SYSCALL): Likewise.
6276 (__ASSUME_ACCEPT_SYSCALL): Likewise.
6277 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6278 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6279 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6280 (__ASSUME_SEND_SYSCALL): Likewise.
6281 (__ASSUME_SENDTO_SYSCALL): Likewise.
6282 (__ASSUME_RECV_SYSCALL): Likewise.
6283 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6284 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6285 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6286 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6287 (__ASSUME_SENDMSG_SYSCALL): Likewise.
6288 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6289 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6290 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6292 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6294 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6296 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6298 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6300 [__LINUX_KERNEL_VERSION >= 0x020625]
6301 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6302 [__LINUX_KERNEL_VERSION >= 0x020625]
6303 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6304 [__LINUX_KERNEL_VERSION >= 0x020625]
6305 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6306 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6308 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6310 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6312 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6314 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6316 [__LINUX_KERNEL_VERSION >= 0x020625]
6317 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6318 [__LINUX_KERNEL_VERSION >= 0x020625]
6319 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6320 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6322 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6325 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6327 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6328 record the current if the current ABI and CPU support the FP64
6330 (has-modd-spreg): Define to record the current if the current ABI and
6331 CPU support 32-bit floating point values in odd FPU registers.
6332 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6333 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6334 $(has-modd-spreg) equals yes.
6335 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6336 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6337 $(has-modd-spreg) equal yes.
6339 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6341 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6344 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
6346 * benchtests/Makefile (bench-math): Move ffs and ffsll...
6347 (bench-string): ... here.
6348 (bench): Add bench-string.
6349 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6350 to *-benchset to reflect what they are.
6353 * benchtests/sincos-inputs: Add inputs from sin-inputs and
6356 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
6358 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6359 __attribute__ ((__simd__)) for vector math function declarations.
6361 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
6363 Fix typo in strncat, wcsncat manual entries
6364 * manual/string.texi (Copying and Concatenation): Fix typos in
6365 sample implementations of strncat and wcsncat, by having them use
6366 the old value of the destination length, not the new one.
6368 2015-12-04 Joseph Myers <joseph@codesourcery.com>
6372 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6373 string on the stack for strtod.
6374 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6375 a string on the stack for strtof.
6376 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6377 constructing a string on the stack for strtold.
6378 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6379 __strtold_nan to GLIBC_PRIVATE.
6380 * math/test-nan-overflow.c: New file.
6381 * math/test-nan-payload.c: Likewise.
6382 * math/Makefile (tests): Add test-nan-overflow and
6385 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
6387 Consistency about byte vs character in string.texi
6388 * manual/string.texi (String and Array Utilities):
6389 Distinguish more carefully among bytes, multibyte characters,
6390 and wide characters. Use "byte" when talking about C 'char',
6391 to distinguish it more clearly from multibyte characters.
6392 Say "wide character" or "multibyte character" instead of
6393 "character", when a wide or multibyte character is intended.
6394 Similarly for "multibyte string" versus "string".
6395 Define these terms more carefully.
6397 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
6399 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6400 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6402 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6403 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6404 * sysdeps/sh/math_private.h: New file.
6405 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6406 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6407 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6408 long double function name.
6409 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6415 Remove __finitel, __isinfl, and __isnanl.
6416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6418 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6423 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6425 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
6427 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6428 installed libmvec_nonshared.a.
6430 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6432 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6433 (sysdep_routines): Likewise.
6434 (sysdep-rtld-routines): Likewise.
6435 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6436 [$(subdir) = nptl](tests-static): test-get_hwcap-static
6437 * sysdeps/powerpc/Versions: Added new
6438 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6439 * sysdeps/powerpc/hwcapinfo.c: New file.
6440 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6441 and parse hwcap, hwcap2 and platform number information.
6442 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
6443 to store HWCAP+HWCAP2 and platform number.
6444 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6445 for HWCAP+HWCAP2 and platform number in the TCB.
6446 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
6447 the HWCAP, HWCAP2 and platform number in the TCB.
6448 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6449 (TLS_INIT_TP): Included calls to add the hwcap and
6450 at_platform values in the TCB in TP initialization.
6451 (TLS_DEFINE_INIT_TP): Likewise.
6452 (THREAD_GET_HWCAP): New macro.
6453 (THREAD_SET_HWCAP): Likewise.
6454 (THREAD_GET_AT_PLATFORM): Likewise.
6455 (THREAD_SET_AT_PLATFORM): Likewise.
6456 * sysdeps/powerpc/powerpc32/dl-machine.h:
6457 (dl_platform_init): New function that calls
6458 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6460 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6461 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
6462 this functionality, static linking case.
6463 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
6465 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6466 __parse_hwcap_and_convert_at_platform for the static linking case.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6468 Included the new __parse_hwcap_and_convert_at_platform symbol in the
6469 ABI list for GLIBC 2.23.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6475 2015-12-02 Ludovic Courtès <ludo@gnu.org>
6477 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6478 * configure: Regenerate.
6479 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6480 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
6482 2015-12-02 Carlos O'Donell <carlos@redhat.com>
6484 * iconvdata/ibm930.c: Add comment explaining encoding uses.
6485 * iconvdata/ibm933.c: Likewise.
6486 * iconvdata/ibm935.c: Likewise.
6487 * iconvdata/ibm937.c: Likewise.
6488 * iconvdata/ibm939.c: Likewise.
6490 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6492 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6494 * nptl/tst-cancel21.c (tf): Likewise.
6496 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
6499 * bits/typesizes.h (__CPU_MASK_TYPE): New.
6500 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6501 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6502 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6504 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6511 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6512 unsigned long int with __CPU_MASK_TYPE.
6514 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6516 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6518 2015-12-01 Joseph Myers <joseph@codesourcery.com>
6520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6521 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6523 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6525 2015-11-30 Amit Pawar <amit.pawar@amd.com>
6528 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6529 argument to return extended model. Update family and model
6530 with extended family and model when family == 0x0f.
6531 (init_cpu_features): Updated.
6533 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6535 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6536 signed off_t, so 32bit bigger than 2GiB values are fine actually.
6538 * sysdeps/mach/hurd/mmap64.c: New file.
6540 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
6542 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6543 rights for its main user thread in NEWTASK.
6545 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
6547 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6548 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6550 2015-11-27 Carlos O'Donell <carlos@redhat.com>
6553 * Makeconfig: Rename localedir to complocaledir.
6554 Rename inst_localedir to inst_complocaledir.
6555 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6556 * config.make.in: Use complocaledir and libc_cv_complocaledir.
6557 * configure.ac: Use libc_cv_complocaledir.
6558 * configure: Regenerate.
6559 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6561 * locale/findlocale.c: Use COMPLOCALEDIR.
6562 * locale/loadarchive.c: Likewise.
6563 * locale/programs/locale.c: Likewise.
6564 * locale/programs/localedef.c: Likewise.
6565 * locale/programs/locarchive.c: Likewise.
6566 * localedata/Makefile: Use inst_complocaledir.
6567 * sysdeps/gnu/configure: Regenerate.
6568 * sysdeps/hppa/configure: Regenerate.
6569 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6570 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6572 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6573 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6574 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6575 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6577 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
6580 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6582 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6584 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6585 libmvec-static-only-routines): Added new file.
6586 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6588 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6590 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6591 of interrupted RPC instead of restoring it.
6593 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6594 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6596 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6597 into initialized data instead of common. Define rtld_hidden_data_def.
6598 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6599 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6601 (if_freenameindex): Add libc_hidden_weak.
6602 (if_nameindex): Add libc_hidden_weak.
6603 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6605 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6606 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6607 * sysdeps/mach/nanosleep.c: Include <time.h>
6608 (__nanosleep): Rename to __libc_nanosleep.
6609 (__nanosleep): Add weak_alias.
6610 (nanosleep): Update alias.
6612 2015-11-24 Joseph Myers <joseph@codesourcery.com>
6614 * stdlib/strtod_nan.c: New file.
6615 * stdlib/strtod_nan_double.h: Likewise.
6616 * stdlib/strtod_nan_float.h: Likewise.
6617 * stdlib/strtod_nan_main.c: Likewise.
6618 * stdlib/strtod_nan_narrow.h: Likewise.
6619 * stdlib/strtod_nan_wide.h: Likewise.
6620 * stdlib/strtof_nan.c: Likewise.
6621 * stdlib/strtold_nan.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6624 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6625 * wcsmbs/wcstod_nan.c: Likewise.
6626 * wcsmbs/wcstof_nan.c: Likewise.
6627 * wcsmbs/wcstold_nan.c: Likewise.
6628 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6630 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6632 * include/stdlib.h (__strtof_nan): Declare and use
6634 (__strtod_nan): Likewise.
6635 (__strtold_nan): Likewise.
6636 (__wcstof_nan): Likewise.
6637 (__wcstod_nan): Likewise.
6638 (__wcstold_nan): Likewise.
6639 * include/wchar.h (____wcstoull_l_internal): Declare.
6640 * stdlib/strtod_l.c: Do not include <ieee754.h>.
6641 (____strtoull_l_internal): Remove declaration.
6642 (STRTOF_NAN): Define macro.
6643 (SET_MANTISSA): Remove macro.
6644 (STRTOULL): Likewise.
6645 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6646 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6647 (STRTOF_NAN): Define macro.
6648 (SET_MANTISSA): Remove macro.
6649 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6650 (SET_MANTISSA): Remove macro.
6651 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6653 (SET_MANTISSA): Remove macro.
6654 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6656 (SET_MANTISSA): Remove macro.
6657 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6658 (SET_MANTISSA): Remove macro.
6659 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6660 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6661 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6664 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6665 upper case and lower case letters inside NAN(), not using TOLOWER.
6666 * stdlib/tst-strtod-nan-locale-main.c: New file.
6667 * stdlib/tst-strtod-nan-locale.c: Likewise.
6668 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6669 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6670 Depend on $(gen-locales).
6671 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6672 * wcsmbs/tst-wcstod-nan-locale.c: New file.
6673 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6674 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6675 Depend on $(gen-locales).
6676 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6678 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
6680 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6682 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6684 __finitel, __isinfl, and __isnanl.
6685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6687 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6692 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6694 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6696 * malloc/memusage.c (me): Remove redundant getenv call.
6698 2015-10-24 Florian Weimer <fweimer@redhat.com>
6702 * nptl/check-cpuset.h: Remove.
6703 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6704 Remove CPU set size check.
6705 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6707 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6708 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6709 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6710 (__pthread_setaffinity_new): Remove CPU set size check.
6711 * sysdeps/unix/sysv/linux/sched_setaffinity.c
6712 (__kernel_cpumask_size): Remove.
6713 (__sched_setaffinity_new): Remove CPU set size check.
6714 * manual/threads.texi (Default Thread Attributes): Remove stale
6715 reference to check_cpuset_attr, determine_cpumask_size in comment.
6716 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6717 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
6718 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6719 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6720 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6721 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6722 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6723 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6724 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6725 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6726 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6728 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
6731 2015-11-24 Florian Weimer <fweimer@redhat.com>
6733 * scripts/update-abilist.sh: New file.
6734 * Makefile (+subdir_targets): Add subdir_update-all-abi.
6735 * Makerules (update-all-abi-%, update-all-abi)
6736 (subdir_update-all-abi): New targets.
6737 * elf/Makefile (update-all-abi): New target.
6739 2015-11-24 Florian Weimer <fweimer@redhat.com>
6741 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6742 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6743 (__libc_lock_define_initialized): Use it.
6744 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6745 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6746 * malloc/malloc.c (main_arena): Likewise.
6747 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6748 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6750 2015-11-23 Joseph Myers <joseph@codesourcery.com>
6752 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6753 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6754 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6755 (PTRACE_O_MASK): Update value.
6756 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6757 New value in enum __ptrace_setoptions.
6758 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6759 (PTRACE_O_MASK): Update value.
6760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6761 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6762 (PTRACE_O_MASK): Update value.
6763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6764 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6765 (PTRACE_O_MASK): Update value.
6766 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6767 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6768 (PTRACE_O_MASK): Update value.
6769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6770 New value in enum __ptrace_setoptions.
6771 (PTRACE_O_MASK): Update value.
6772 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6773 New value in enum __ptrace_setoptions.
6774 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6775 (PTRACE_O_MASK): Update value.
6777 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6779 (PACKET_AUXDATA): Likewise.
6780 (PACKET_ORIGDEV): Likewise.
6781 (PACKET_VERSION): Likewise.
6782 (PACKET_HDRLEN): Likewise.
6783 (PACKET_RESERVE): Likewise.
6784 (PACKET_TX_RING): Likewise.
6785 (PACKET_LOSS): Likewise.
6786 (PACKET_VNET_HDR): Likewise.
6787 (PACKET_TX_TIMESTAMP): Likewise.
6788 (PACKET_TIMESTAMP): Likewise.
6789 (PACKET_FANOUT): Likewise.
6790 (PACKET_TX_HAS_OFF): Likewise.
6791 (PACKET_QDISC_BYPASS): Likewise.
6792 (PACKET_ROLLOVER_STATS): Likewise.
6793 (PACKET_FANOUT_DATA): Likewise.
6794 (PACKET_MR_UNICAST): Likewise.
6797 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6798 (TOUPPER): Likewise.
6799 * stdlib/tst-strtol-locale-main.c: New file.
6800 * stdlib/tst-strtol-locale.c: Likewise.
6801 * stdlib/Makefile (tests): Add tst-strtol-locale.
6802 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6803 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6804 Depend on $(gen-locales).
6805 * wcsmbs/tst-wcstol-locale.c: New file.
6806 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6807 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6809 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6810 Depend on $(gen-locales).
6812 2015-11-20 Roland McGrath <roland@hack.frob.com>
6814 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6815 __glibc_likely instead of __builtin_expect. After falling back to
6816 dyncode_create in a non-ET_DYN case, use the allocate_code_data
6817 system interface to register the code pages as occupied.
6819 2015-11-20 Joseph Myers <joseph@codesourcery.com>
6821 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6822 [!ARM_MATH_PRIVATE_H].
6823 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6824 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6825 [!HPPA_MATH_PRIVATE_H].
6826 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6827 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6828 to [!I386_MATH_PRIVATE_H].
6829 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6830 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6831 Change guard to [!M68K_MATH_PRIVATE_H].
6832 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6833 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6834 guard to [!MICROBLAZE_MATH_PRIVATE_H].
6835 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6837 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6838 [!MIPS_MATH_PRIVATE_H].
6839 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6840 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6841 [!NIO2_MATH_PRIVATE_H].
6842 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6843 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6844 [!TILE_MATH_PRIVATE_H].
6845 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6848 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6849 initialize with 0 and define as weak alias of __signgam.
6850 * include/math.h [!_ISOMAC] (__signgam): Declare.
6851 * math/Makefile (libm-calls): Add w_lgamma_compat.
6852 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6853 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6854 test-signgam-ullong-init.
6855 (tests-static): Add test-signgam-uchar-static,
6856 test-signgam-uchar-init-static, test-signgam-uint-static,
6857 test-signgam-uint-init-static, test-signgam-ullong-static and
6858 test-signgam-ullong-init-static.
6859 (CFLAGS-test-signgam-uchar.c): New variable.
6860 (CFLAGS-test-signgam-uchar-init.c): Likewise.
6861 (CFLAGS-test-signgam-uchar-static.c): Likewise.
6862 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6863 (CFLAGS-test-signgam-uint.c): Likewise.
6864 (CFLAGS-test-signgam-uint-init.c): Likewise.
6865 (CFLAGS-test-signgam-uint-static.c): Likewise.
6866 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6867 (CFLAGS-test-signgam-ullong.c): Likewise.
6868 (CFLAGS-test-signgam-ullong-init.c): Likewise.
6869 (CFLAGS-test-signgam-ullong-static.c): Likewise.
6870 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6871 * math/Versions (libm): Add GLIBC_2.23.
6872 * math/lgamma-compat.h: New file.
6873 * math/test-signgam-main.c: Likewise.
6874 * math/test-signgam-uchar-init-static.c: Likewise.
6875 * math/test-signgam-uchar-init.c: Likewise.
6876 * math/test-signgam-uchar-static.c: Likewise.
6877 * math/test-signgam-uchar.c: Likewise.
6878 * math/test-signgam-uint-init-static.c: Likewise.
6879 * math/test-signgam-uint-init.c: Likewise.
6880 * math/test-signgam-uint-static.c: Likewise.
6881 * math/test-signgam-uint.c: Likewise.
6882 * math/test-signgam-ullong-init-static.c: Likewise.
6883 * math/test-signgam-ullong-init.c: Likewise.
6884 * math/test-signgam-ullong-static.c: Likewise.
6885 * math/test-signgam-ullong.c: Likewise.
6886 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6887 wrapper of w_lgamma_main.c.
6888 * math/w_lgamma_compat.c: New file.
6889 * math/w_lgamma_compatf.c: Likewise.
6890 * math/w_lgamma_compatl.c: Likewise.
6891 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
6892 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
6893 defining compatibility symbols.
6894 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
6895 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6896 wrapper of w_lgammaf_main.c.
6897 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
6898 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
6899 defining compatibility symbols.
6900 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
6901 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6902 wrapper of w_lgammal_main.c.
6903 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
6904 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
6905 defining compatibility symbols.
6906 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
6907 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6908 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6909 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
6911 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
6912 (__ieee754_gamma): Define as alias.
6913 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6914 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
6916 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
6917 (__ieee754_gammaf): Define as alias.
6918 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6919 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
6921 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
6922 (__ieee754_gammal): Define as alias.
6923 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6924 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
6925 <math/w_lgamma_compat.c>.
6926 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6927 Define as alias of __lgamma_compat and use in defining lgammal.
6928 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6929 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
6930 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6931 (USE_AS_COMPAT): New macro.
6932 (LGAMMA_OLD_VER): Undefine and redefine.
6933 (lgammal): Do not define here.
6934 (gammal): Only define here if [GAMMA_ALIAS].
6935 * conform/linknamespace.pl (@whitelist): Remove signgam.
6936 * sysdeps/nacl/libm.abilist: Update.
6937 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6938 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6939 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6940 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6941 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6942 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6943 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6944 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6945 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6946 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6947 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6948 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6957 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6959 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6966 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6970 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6973 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6974 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6976 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6978 * sysdeps/s390/fpu/bits/mathinline.h:
6979 Use __asm__ [__volatile__] instead of asm [volatile].
6980 * sysdeps/s390/abort-instr.h: Likewise.
6981 * sysdeps/s390/atomic-machine.h: Likewise.
6982 * sysdeps/s390/bits/string.h: Likewise.
6983 * sysdeps/s390/dl-tls.h: Likewise.
6984 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6985 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6986 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6987 * sysdeps/s390/fpu/fesetround.c: Likewise.
6988 * sysdeps/s390/fpu/fpu_control.h: Likewise.
6989 * sysdeps/s390/fpu/s_fma.c: Likewise.
6990 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6991 * sysdeps/s390/memusage.h: Likewise.
6992 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6993 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6994 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6995 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6996 * sysdeps/s390/nptl/tls.h: Likewise.
6997 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6998 * sysdeps/s390/s390-32/backtrace.c: Likewise.
6999 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7000 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7001 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7002 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7003 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7004 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7005 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7006 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7007 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7009 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7010 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7011 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7012 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7014 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7015 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7017 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7019 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7021 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7024 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7025 Add lwarx hint, and use macro for acquire instruction.
7026 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7028 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7029 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7030 update to use new atomic macros.
7032 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7034 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7035 (__lll_trylock_elision): Fix setting of adapt_count.
7036 * sysdeps/unix/sysv/linux/powerpc/htm.h
7037 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7038 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7039 (_ABORT_SYSCALL): Renumber, and clarify definition.
7040 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7042 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7044 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7045 after system headers to prevent MIN/MAX redefinition. Define
7046 HAVE_ALLOCA to preserve builtin alloca usage.
7048 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7051 static and don't set or restore rounding.
7052 (__cos)[IN_SINCOS]: Likewise.
7053 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7054 (__sincos): Set and restore rounding mode. Remove check for infinite
7057 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7059 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7062 2015-11-16 Florian Weimer <fweimer@redhat.com>
7064 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7066 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
7068 * config.make.in (have-glob-dat-reloc): New.
7069 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
7070 target supports GLOB_DAT relocaton. AC_SUBST.
7071 * configure: Regenerated.
7072 * elf/Makefile (tests): Add tst-prelink.
7073 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7074 (tst-prelink-ENV): New.
7075 ($(objpfx)tst-prelink-conflict.out): Likewise.
7076 ($(objpfx)tst-prelink-cmp.out): Likewise.
7077 * sysdeps/x86/tst-prelink.c: Moved to ...
7078 * elf/tst-prelink.c: Here.
7079 * sysdeps/x86/tst-prelink.exp: Moved to ...
7080 * elf/tst-prelink.exp: Here.
7081 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7082 (tst-prelink-ENV): Removed.
7083 ($(objpfx)tst-prelink-conflict.out): Likewise.
7084 ($(objpfx)tst-prelink-cmp.out): Likewise.
7085 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7087 2015-11-13 Joseph Myers <joseph@codesourcery.com>
7090 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7091 (__mpn_construct_long_double): If high part overflows to infinity,
7092 set errno and recompute overflowed result of the correct sign.
7093 * sysdeps/ieee754/ldbl-128ibm/Makefile
7094 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7095 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7097 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7099 2015-11-12 Joseph Myers <joseph@codesourcery.com>
7103 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7104 floating-point state after first operation on input. Restore full
7105 state rather than just rounding mode.
7106 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7107 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7108 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7111 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7112 add 0.5 to integer arguments.
7113 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7117 2015-11-11 Mike Frysinger <vapier@gentoo.org>
7119 * scripts/pylintrc (reports): Set to no.
7121 2015-11-10 Roland McGrath <roland@hack.frob.com>
7123 * elf/dl-load.c (open_verify): Take new argument FD.
7124 Skip __open call if passed FD is not -1.
7125 (_dl_map_object, open_path): Update callers.
7126 * elf/dl-sysdep-open.h: New file.
7127 * elf/dl-load.c: Include it.
7128 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7129 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7130 * sysdeps/nacl/dl-sysdep-open.h: New file.
7131 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7134 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7138 and restore full floating-point state.
7139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7145 * math/test-nearbyint-except-2.c: New file.
7146 * math/Makefile (tests): Add test-nearbyint-except-2.
7148 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
7151 * sysdeps/x86/Makefile (tests): Add tst-prelink.
7152 (tst-prelink-ENV): New.
7153 ($(objpfx)tst-prelink-conflict.out): Likewise.
7154 ($(objpfx)tst-prelink-cmp.out): Likewise.
7155 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7156 * sysdeps/x86/tst-prelink.c: New file.
7157 * sysdeps/x86/tst-prelink.exp: Likewise.
7159 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7161 * math/auto-libm-test-in: Add another test of pow.
7162 * math/auto-libm-test-out: Regenerated.
7163 * math/libm-test.inc (pow_test_data): Add another test.
7165 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7168 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7169 weak_alias to nearbyintl.
7171 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7173 * sysdeps/aarch64/bits/string.h: New file.
7174 (_STRING_ARCH_unaligned): Define.
7176 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7178 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7179 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7180 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7181 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7184 2015-11-09 Ulrich Drepper <drepper@gmail.com>
7186 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7187 for original name of the DSO. Add it to the name list of the DSO
7188 if it is actually given.
7189 (_dl_map_object): Keep track of whether an audit module rewrote
7190 the file name. If yes, pass the original name to
7191 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
7192 debugging is enabled, log the change of the file name.
7193 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7194 _dl_map_object_from_fd.
7195 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7196 * elf/tst-audit11.c: New file
7197 * elf/tst-auditmod11.c: New file.
7198 * elf/tst-audit11mod1.c: New file.
7199 * elf/tst-audit11mod2.c: New file.
7200 * elf/tst-audit11mod2.map: New file.
7201 * elf/tst-audit12.c: New file
7202 * elf/tst-auditmod12.c: New file.
7203 * elf/tst-audit12mod1.c: New file.
7204 * elf/tst-audit12mod2.c: New file.
7205 * elf/tst-audit12mod2.map: New file.
7206 * elf/tst-audit12mod3.c: New file.
7208 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7210 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7211 Don't create weak aliases,
7212 because versioned symbols are created later.
7213 * sysdeps/s390/s390-32/setjmp.S
7214 (setjmp, _setjmp): Remove weak and rename to an unique name
7215 in SHARED case due to existing versioned symbols.
7216 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7217 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7218 (getcontext): Create weak alias only in non SHARED case.
7219 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7221 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7223 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7224 (__ASSUME_*_SYSCALL) Define new macros.
7225 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7226 Remove socketcall syscalls.
7227 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7228 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7229 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7230 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7231 * sysdeps/unix/sysv/linux/send.c (__libc_send):
7232 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7234 2015-11-09 Florian Weimer <fweimer@redhat.com>
7237 Terminate process on invalid netlink response.
7238 * sysdeps/unix/sysv/linux/netlinkaccess.h
7239 (__netlink_assert_response): Declare.
7240 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7241 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7242 (sysdep_routines): Add netlink_assert_response.
7243 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7244 __netlink_assert_response.
7245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7246 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7247 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7248 __netlink_assert_response.
7250 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
7253 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7254 (RTYPE_CLASS_PLT): Likewise.
7255 (RTYPE_CLASS_COPY): Likewise.
7256 (RTYPE_CLASS_TLS): Likewise.
7257 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7258 to set relocation type class for DL_DEBUG_PRELINK. Keep only
7259 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7262 2015-11-06 Joseph Myers <joseph@codesourcery.com>
7264 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7265 calls with argument -0.5.
7266 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7268 * configure.ac (libc_cv_z_nodelete): Remove configure test.
7269 (libc_cv_z_nodlopen): Likewise.
7270 (libc_cv_z_initfirst): Likewise.
7271 * configure: Regenerated.
7273 2015-11-06 Florian Weimer <fweimer@redhat.com>
7275 Simplify abilist format to be line-based.
7276 * scripts/abilist.awk: Collect descriptors in the descs variable.
7277 (emit): Write descs variable and sort it
7278 externally, with sort.
7279 * sysdeps/**/*.abilist: Convert to new format.
7281 2015-11-06 Mark Wielaard <mjw@redhat.com>
7284 * io/Makefile (routines): Add fts64.
7285 (tests): Add tst-fts and tst-fts-lfs.
7286 (CFLAGS-fts64.c): New.
7287 * io/Versions (GLIBC_2.23): New.
7288 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7289 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7290 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7291 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7292 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7293 (FTSENT64): Likewise.
7294 (fts64_children): Likewise.
7295 (fts64_close): Likewise.
7296 (fts64_open): Likewise.
7297 (fts64_read): Likewise.
7298 (fts64_set): Likewise.
7299 * io/fts64.c: New file.
7300 * io/tst-fts.c: New test.
7301 * io/tst-fts-lfs.c: Likewise.
7302 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7303 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7305 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7306 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7307 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7308 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7309 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7310 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7311 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7313 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7314 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7315 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7316 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7317 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7324 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7326 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7327 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7328 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7331 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7332 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7333 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7334 * sysdeps/wordsize-64/fts.c: New file.
7335 * sysdeps/wordsize-64/fts64.c: Likewise.
7336 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7337 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7338 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7341 2015-11-05 Joseph Myers <joseph@codesourcery.com>
7343 * math/libm-test.inc (NON_FINITE): New macro.
7344 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7345 * math/gen-libm-test.pl (show_exceptions): Add argument
7347 (parse_args): Update call to show_exceptions.
7348 * math/test-math-finite.h: New file.
7349 * math/test-math-no-finite.h: Likewise.
7350 * math/test-double-finite.c: Likewise.
7351 * math/test-float-finite.c: Likewise.
7352 * math/test-ldouble-finite.c: Likewise.
7353 * math/test-double.c: Include "test-math-no-finite.h".
7354 * math/test-float.c: Include "test-math-no-finite.h".
7355 * math/test-ldouble.c: Include "test-math-no-finite.h".
7356 * math/test-math-inline.h (TEST_FINITE): New macro.
7357 * math/test-math-vector.h (TEST_FINITE): Likewise.
7358 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7359 (libm-tests): Add test-float-finite and test-double-finite.
7360 ($(objpfx)test-float-finite.o): New dependency on
7361 $(objpfx)libm-test.stmp.
7362 ($(objpfx)test-double-finite.o): Likewise.
7363 ($(objpfx)test-ldouble-finite.o): Likewise.
7364 (libm-test-no-inline-cflags): New variable.
7365 (libm-test-finite-cflags): Likewise.
7366 (CFLAGS-test-float-finite.c): Likewise.
7367 (CFLAGS-test-double-finite.c): Likewise.
7368 (CFLAGS-test-ldouble-finite.c): Likewise.
7369 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7370 (CFLAGS-test-double.c): Likewise.
7371 (CFLAGS-test-ldouble.c): Likewise.
7373 2015-11-05 Roland McGrath <roland@hack.frob.com>
7375 * io/fcntl.c (__fcntl): Add ... to prototype.
7376 * misc/ioctl.c (__ioctl): Likewise.
7377 * misc/syscall.c (syscall): Likewise.
7379 2015-11-05 Joseph Myers <joseph@codesourcery.com>
7381 * scripts/list-fixed-bugs.py: New file.
7384 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7385 returned for argument 1.
7386 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7387 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7388 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7389 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7390 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7391 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7394 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7395 __USE_XOPEN], not if [!__USE_ISOC99].
7396 (lgammaf): Likewise.
7397 (lgammal): Likewise.
7398 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7401 * math/test-signgam-finite-c11.c: New file.
7402 * math/test-signgam-finite-c99.c: Likewise.
7403 * math/test-signgam-finite.c: Likewise.
7404 * math/Makefile (tests): Add test-signgam-finite,
7405 test-signgam-finite-c99 and test-signgam-finite-c11.
7406 (CFLAGS-test-signgam-finite.c): New variable.
7407 (CFLAGS-test-signgam-finite-c99.c): Likewise.
7408 (CFLAGS-test-signgam-finite-c11.c): Likewise.
7411 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7412 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7414 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7415 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7416 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7417 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7418 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7419 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7420 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7421 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7422 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7423 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7426 * math/bits/math-finite.h (ldexp): Remove declaration.
7431 * math/bits/math-finite.h (acosf): Condition declaration on
7448 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7449 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7461 (lgammaf_r): Condition declaration on [__USE_ISOC99].
7462 (lgammal_r): Likewise.
7463 (__lgamma_r_finite): New declaration.
7464 (__lgammaf_r_finite): Likewise.
7465 (__lgammal_r_finite): Likewise.
7466 (lgamma): Use __lgamma_r_finite.
7467 (lgammaf): Condition definition on [__USE_ISOC99]. Use
7469 (lgammal): Condition definition on [__USE_ISOC99]. Use
7471 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
7473 (gammaf): Condition definition on [__USE_ISOC99]. Use
7475 (gammal): Condition definition on [__USE_ISOC99]. Use
7477 (logf): Condition declaration on [__USE_ISOC99].
7485 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7487 (remainderf): Condition declaration on [__USE_ISOC99].
7488 (remainderl): Likewise.
7489 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7490 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7492 (sinhf): Condition declaration on [__USE_ISOC99].
7497 2015-11-04 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/arm/atomic-machine.h
7500 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7501 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7502 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7503 Remove conditional code.
7504 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7505 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7506 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7507 Change conditional to [__ASSEMBLER__].
7508 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7509 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7511 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7513 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7514 conditional macro definitions.
7515 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7516 (__arch_compare_and_exchange_val_16_acq): Likewise.
7517 (__arch_compare_and_exchange_val_32_acq): Likewise.
7518 (atomic_exchange_and_add): Likewise.
7519 (atomic_add): Likewise.
7520 (atomic_add_negative): Likewise.
7521 (atomic_add_zero): Likewise.
7522 (atomic_bit_set): Likewise.
7523 (atomic_bit_test_set): Likewise.
7524 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7526 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7528 * math/test-math-errno.h: New file.
7529 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7531 (TEST_ERRNO): New macro.
7532 (TEST_EXCEPTIONS): Likewise.
7533 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7534 (TEST_EXCEPTIONS): Likewise.
7535 * math/test-math-vector.h (TEST_ERRNO): Likewise.
7536 * math/test-double.c: Include "test-math-errno.h".
7537 * math/test-float.c: Likewise.
7538 * math/test-ldouble.c: Likewise.
7539 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7541 (test_exceptions): Only run code if TEST_EXCEPTIONS.
7542 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7544 (test_errno): Only run code if TEST_ERRNO.
7545 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7547 2015-11-04 Florian Weimer <fweimer@redhat.com>
7549 * nptl/tst-once5.cc: Remove attribution.
7551 2015-11-04 Joseph Myers <joseph@codesourcery.com>
7553 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7554 sqrt, tan, tanh, y0, y1 and yn.
7555 * math/auto-libm-test-out: Regenerated.
7556 * math/libm-test.inc (scalb_test_data): Add more tests.
7557 (scalbn_test_data): Likewise.
7558 (scalbln_test_data): Likewise.
7559 (signbit_test_data): Likewise.
7560 (sin_test_data): Likewise.
7561 (sincos_test_data): Likewise.
7562 (sinh_test_data): Likewise.
7563 (sqrt_test_data): Likewise.
7564 (tan_test_data): Likewise.
7565 (tanh_test_data): Likewise.
7566 (tgamma_test_data): Likewise.
7567 (y0_test_data): Likewise.
7568 (y1_test_data): Likewise.
7569 (yn_test_data): Likewise.
7570 (significand_test_data): Likewise.
7571 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573 2015-11-03 David Kastrup <dak@gnu.org>
7576 * assert/assert.h (assert): Don't macro-expand failed assertion
7577 expression in error message.
7578 * malloc/malloc.c (assert): Likewise.
7580 2015-11-03 Joseph Myers <joseph@codesourcery.com>
7582 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7584 * configure: Regenerated.
7586 2015-11-02 Joseph Myers <joseph@codesourcery.com>
7588 * math/libm-test.inc (modf_test_data): Add more tests.
7589 (nearbyint_test_data): Likewise.
7590 (nextafter_test_data): Likewise.
7591 (nexttoward_test_data): Likewise.
7592 (pow_test_data): Likewise.
7593 (remainder_test_data): Likewise.
7594 (remquo_test_data): Likewise.
7595 (rint_test_data): Likewise.
7598 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7599 Check for zero remainder in case of large exponents and ensure
7600 correct sign of result in that case.
7601 * math/libm-test.inc (remainder_test_data): Add more tests.
7604 * math/s_nextafter.c: Include <errno.h>.
7605 (__nextafter): Set errno on overflow and underflow.
7606 * math/s_nexttowardf.c: Include <errno.h>.
7607 (__nexttowardf): Set errno on overflow and underflow.
7608 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7609 (__nextafterl): Set errno on overflow and underflow.
7610 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7611 (__nexttoward): Set errno on overflow and underflow.
7612 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7613 (__nexttowardf): Set errno on overflow and underflow.
7614 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7615 (__nextafterf): Set errno on overflow and underflow.
7616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7617 (__nextafterl): Set errno on overflow and underflow.
7618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7619 (__nexttoward): Set errno on overflow and underflow.
7620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7621 (__nexttowardf): Set errno on overflow and underflow.
7622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7623 (__nextafterl): Set errno on overflow and underflow.
7624 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7625 (__nexttoward): Set errno on overflow and underflow.
7626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7627 (__nexttowardf): Set errno on overflow and underflow.
7628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7629 (__nexttoward): Set errno on overflow and underflow.
7630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7631 (__nexttowardf): Set errno on overflow and underflow.
7632 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7633 (__nldbl_nexttowardf): Set errno on overflow and underflow.
7634 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7635 (__nextafterl): Set errno on overflow and underflow.
7636 * math/libm-test.inc (nextafter_test_data): Do not allow errno
7637 setting to be missing on overflow. Add more tests.
7638 (nexttoward_test_data): Likewise.
7640 * configure.ac (libc_cv_initfini_array): Remove configure test.
7641 * configure: Regenerated.
7643 2015-10-29 Joseph Myers <joseph@codesourcery.com>
7646 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7647 non-finite argument handle arguments with negative sign.
7649 * math/libm-test.inc (j0_test_data): Do not test sign of zero
7650 result from infinite argument.
7651 (j1_test_data): Likewise.
7652 (jn_test_data): Likewise.
7653 (y0_test_data): Likewise.
7654 (y1_test_data): Likewise.
7655 (yn_test_data): Likewise.
7658 * math/w_remainder.c (drem): Define as weak alias of __remainder.
7659 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7660 * math/w_remainderf.c (dremf): Define as weak alias of
7662 * math/w_remainderl.c (dreml): Define as weak alias of
7664 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7666 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7668 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7670 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7671 weak alias of remainderl.
7672 * sysdeps/ieee754/ldbl-opt/w_remainder.c
7673 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7674 alias of __remainder.
7675 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7676 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7677 strong alias of __remainderl.
7678 (dreml): Use long_double_symbol.
7679 * math/Makefile (libm-calls): Remove w_drem.
7680 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7681 (CFLAGS-nldbl-drem.c): Remove variable.
7682 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7683 * math/w_drem.c: Remove file.
7684 * math/w_dremf.c: Likewise.
7685 * math/w_dreml.c: Likewise.
7686 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7687 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7688 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7690 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7691 * sysdeps/i386/configure: Regenerated.
7692 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7693 * sysdeps/x86_64/configure: Regenerated.
7695 * configure.ac (libc_cv_asm_protected_directive): Remove configure
7697 (libc_cv_visibility_attribute): Likewise.
7698 (libc_cv_protected_data): Test unconditionally.
7699 (libc_cv_broken_visibility_attribute): Remove configure test.
7700 (libc_cv_have_sdata_section): Test unconditionally.
7701 * configure: Regenerated.
7703 * include/libc-internal.h (libc_max_align_t): Remove typedef.
7704 * include/scratch_buffer.h: Include <stddef.h> instead of
7706 (struct scratch_buffer): Use max_align_t instead of
7709 2015-10-29 Florian Weimer <fweimer@redhat.com>
7711 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7712 instead of extend_alloca. Change control flow to avoid a goto.
7713 Remove assert which is trivially always true.
7715 2015-10-28 Joseph Myers <joseph@codesourcery.com>
7718 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7719 (FE_ALL_EXCEPT_X86): New macro.
7720 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7721 FE_ALL_EXCEPT. Ensure precision control is included in
7722 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7723 handle "denormal operand exception" and clear FZ and DAZ bits.
7724 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7725 (FE_ALL_EXCEPT_X86): New macro.
7726 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7727 FE_ALL_EXCEPT. Ensure precision control is included in
7728 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7729 handle "denormal operand exception" and clear FZ and DAZ bits.
7730 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7731 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7732 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7733 test-fenv-x87 and test-fenv-sse-2.
7734 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7736 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7737 * math/test-double.h (BUILD_COMPLEX): New macro.
7738 * math/test-float.h (BUILD_COMPLEX): Likewise.
7739 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7741 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7742 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7743 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7745 instead of DBL_DENORM_MIN in comment.
7746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7747 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7749 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7751 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7753 2015-10-28 Florian Weimer <fweimer@redhat.com>
7756 * malloc/malloc.c (struct malloc_state): Update comment. Add
7757 attached_threads member.
7758 (main_arena): Initialize attached_threads.
7759 * malloc/arena.c (list_lock): Update comment.
7760 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7761 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7762 (deattach_arena): New function.
7763 (_int_new_arena): Initialize arena reference count and deattach
7765 (get_free_list, reused_arena): Update reference count and deattach
7767 (arena_thread_freeres): Update arena reference count and only put
7768 unreferenced arenas on the free list.
7770 2015-10-28 Joseph Myers <joseph@codesourcery.com>
7773 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7774 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7775 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7776 * math/test-fenv-clear-main.c: New file.
7777 * math/test-fenv-clear.c: Likewise.
7778 * math/Makefile (tests): Add test-fenv-clear.
7779 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7780 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7781 test-fenv-clear-sse.
7782 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7784 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7785 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7786 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7788 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7790 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7793 2015-10-28 Joseph Myers <joseph@codesourcery.com>
7795 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7797 * sysdeps/i386/configure: Regenerated.
7798 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7800 * sysdeps/x86_64/configure: Regenerated.
7801 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7803 memset-avx2 unconditionally instead of conditionally on
7804 [$(config-cflags-avx2) = yes].
7805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7806 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7808 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7809 * sysdeps/x86_64/multiarch/memset_chk.S
7810 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7811 to [IS_IN (libc) && SHARED].
7813 2015-10-27 Joseph Myers <joseph@codesourcery.com>
7815 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7817 * sysdeps/arm/configure: Regenerated.
7818 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7819 Define variable if not already defined.
7822 * sysdeps/mips/atomic-machine.h
7823 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7824 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7825 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7827 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7829 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7830 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7831 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7833 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7834 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7836 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7838 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7840 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7841 Remove conditional code.
7842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7843 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7845 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7847 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7848 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7850 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7852 * sysdeps/ieee754/ldbl-128/k_tanl.c
7853 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7854 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7856 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7857 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7858 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7859 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7861 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7863 * sysdeps/ieee754/ldbl-96/k_tanl.c
7864 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7865 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7867 * nptl/tst-initializers1-c11.c: New file.
7868 * nptl/tst-initializers1-gnu11.c: Likewise.
7869 * nptl/Makefile (tests): Add these new tests.
7870 (CFLAGS-tst-initializers1-c11.c): New variable.
7871 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7873 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7874 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7875 instead of -std=gnu99.
7876 * configure.ac (systemtap): Test with -std=gnu11 instead of
7878 * configure: Regenerated.
7879 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7880 in compilation command in comment.
7882 * sysdeps/nptl/configure.ac: Remove file.
7883 * sysdeps/nptl/configure: Remove generated file.
7884 * configure.ac (libc_cv_forced_unwind): Do not substitute.
7885 * configure: Regenerated.
7886 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7887 * config.make.in (have-forced-unwind): Remove variable.
7888 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7890 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7891 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7892 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7893 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7894 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7897 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7900 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7901 .skip_lock_out_of_tbegin_retries.
7902 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7903 (__lll_lock_elision): Likewise, and respect a value of
7906 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7908 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7911 2015-10-27 Joseph Myers <joseph@codesourcery.com>
7913 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7915 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7916 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7918 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7919 of -std=c1x -D_ISOC11_SOURCE.
7921 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7922 * configure: Regenerated.
7923 * manual/install.texi (Tools for Compilation): Document
7924 requirement for GCC 4.7 or later.
7925 * INSTALL: Regenerated.
7927 2015-10-27 Ludovic Courtès <ludo@gnu.org>
7929 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7930 on CNT to a conditional jump to 'puntdata'.
7932 2015-10-27 Joseph Myers <joseph@codesourcery.com>
7934 * configure.ac (libc_cv_gcc___thread): Remove configure test.
7935 (libc_cv_gcc_tls_model_attr): Likewise.
7936 * configure: Regenerated.
7938 * configure.ac (libc_cv_need_minus_P): Remove configure test.
7939 * configure: Regenerated.
7940 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7942 2015-10-26 Joseph Myers <joseph@codesourcery.com>
7944 * configure.ac (old_glibc_headers): Remove configure test.
7945 * configure: Regenerated.
7946 * config.make.in (old-glibc-headers): Remove variable.
7947 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7948 (install): Remove dependency on remove-old-headers.
7949 (headers2_0): Remove variable.
7950 (remove-old-headers): Remove rule.
7952 * configure.ac (libc_cv_dot_text): Remove configure test.
7953 (libc_cv_asm_set_directive): Use .text instead of
7954 ${libc_cv_dot_text} in configure test.
7955 * configure: Regenerated.
7957 2015-10-26 Florian Weimer <fweimer@redhat.com>
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7962 2015-10-26 Florian Weimer <fweimer@redhat.com>
7964 * configure.ac (CXX): Clear the variable if the C++ toolchain does
7965 not support static linking.
7966 * configure: Regenerate.
7968 2015-10-23 Joseph Myers <joseph@codesourcery.com>
7970 * math/libm-test.inc (check_float_internal): Do not special-case
7971 errors up to 0.5 ulp.
7973 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7975 * math/auto-libm-test-out: Regenerated.
7976 * math/libm-test.inc (MAX_EXP): New macro.
7977 (ilogb_test_data): Add more tests.
7978 (isfinite_test_data): Likewise.
7979 (isgreater_test_data): Likewise.
7980 (isgreaterequal_test_data): Likewise.
7981 (isinf_test_data): Likewise.
7982 (isless_test_data): Likewise.
7983 (islessequal_test_data): Likewise.
7984 (islessgreater_test_data): Likewise.
7985 (isnan_test_data): Likewise.
7986 (isnormal_test_data): Likewise.
7987 (issignaling_test_data): Likewise.
7988 (isunordered_test_data): Likewise.
7989 (j0_test_data): Likewise.
7990 (j1_test_data): Likewise.
7991 (jn_test_data): Likewise.
7992 (lgamma_test_data): Likewise.
7993 (log_test_data): Likewise.
7994 (log10_test_data): Likewise.
7995 (log1p_test_data): Likewise.
7996 (log2_test_data): Likewise.
7997 (logb_test_data): Likewise.
7998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8001 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8002 avoid excess range and precision on underflow.
8003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8004 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8005 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8006 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8008 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8011 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8012 * math/auto-libm-test-in: Do not allow missing errno setting for
8014 * math/auto-libm-test-out: Regenerated.
8016 2015-10-22 Joseph Myers <joseph@codesourcery.com>
8019 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8020 floating-point environment instead of clearing all exceptions.
8021 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8022 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8023 merging in "invalid" exceptions from frndint.
8024 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8025 * math/test-nearbyint-except.c: New file.
8026 * math/Makefile (tests): Add test-nearbyint-except.
8028 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
8030 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8032 * sysdeps/tile/libm-test-ulps: Regenerated.
8034 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8037 (__NR_sync_file_range2): Assume it is always defined.
8038 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8039 (__NR_sync_file_range): Assume it is always defined.
8041 2015-10-22 Andreas Schwab <schwab@suse.de>
8043 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8044 INTERNAL_SYSCALL_ERRNO.
8045 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8046 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8047 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8048 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8052 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8054 * io/tst-fcntl.c (fd): New static variable.
8055 (do_prepare): Open temporary file here....
8056 (do_test): ...not here.
8058 * io/ftwtest-sh: Also trap on exit to remove temporary files.
8060 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8063 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8064 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8065 Moved before "#ifdef __ASSEMBLER__".
8067 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8070 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8071 arguments very close to 0.
8073 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
8075 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8076 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8078 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8080 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8081 New. Defined for GCC 5 and above when not compiling for
8083 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8085 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8087 (CFLAGS-epoll_pwait.o): This.
8088 (CFLAGS-mmap.c): Renamed to ...
8089 (CFLAGS-mmap.o): This.
8090 (CFLAGS-mmap64.c): Renamed to ...
8091 (CFLAGS-mmap64.o): This.
8092 (CFLAGS-epoll_pwait.os): New.
8093 (CFLAGS-mmap.os): Likewise.
8094 (CFLAGS-mmap64.os): Likewise.
8095 (CFLAGS-semtimedop.os): Likewise.
8096 (CFLAGS-semtimedop.c): Renamed to ...
8097 (CFLAGS-semtimedop.o): This.
8099 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8101 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8104 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8106 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8107 * Makefile ($(objpfx)c++-types-check.out): Filter out
8108 $(+gccwarn-c) instead of -Wstrict-prototypes.
8110 * io/fts.c (fts_open): Convert to prototype-style function
8112 * malloc/mcheck.c (mcheck): Likewise.
8113 (mcheck_pedantic): Likewise.
8114 * posix/regexec.c (re_search_2_stub): Likewise. Use
8116 (re_search_internal): Likewise.
8117 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8118 prototype-style function definition.
8119 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8120 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8121 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8122 (xdr_utmpptr): Likewise.
8123 (xdr_utmparr): Likewise.
8124 (xdr_utmpidle): Likewise.
8125 (xdr_utmpidleptr): Likewise.
8126 (xdr_utmpidlearr): Likewise.
8128 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8129 log, log10 and log2.
8130 * math/auto-libm-test-out: Regenerated.
8131 * math/libm-test.inc (fmod_test_data): Add more tests.
8132 (fpclassify_test_data): Likewise.
8133 (frexp_test_data): Likewise.
8134 (hypot_test_data): Likewise.
8135 (ilogb_test_data): Likewise.
8137 2015-10-20 Joseph Myers <joseph@codesourcery.com>
8139 * debug/fortify_fail.c (__fortify_fail): Convert to
8140 prototype-style function definition. Use internal_function.
8141 * libio/genops.c (save_for_backup): Convert to prototype-style
8142 function definition.
8143 * libio/wgenops.c (save_for_wbackup): Likewise.
8144 * login/grantpt.c (grantpt): Likewise.
8145 * login/ptsname.c (ptsname): Likewise.
8146 (__ptsname_r): Likewise.
8147 * login/unlockpt.c (unlockpt): Likewise.
8148 * mach/msgserver.c (__mach_msg_server): Likewise.
8149 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8150 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8151 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8152 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8153 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8154 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8155 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8157 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
8159 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8160 prototype-style function definition.
8161 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8162 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8163 (__pthread_create_2_0): Likewise.
8164 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8165 * nptl/register-atfork.c (__register_atfork): Likewise.
8166 * posix/glob.c (glob): Likewise.
8167 * posix/regcomp.c (re_comp): Likewise.
8168 * posix/regexec.c (re_exec): Likewise.
8169 * stdlib/add_n.c [__STDC__]: Make code unconditional.
8170 [!__STDC__]: Remove conditional code.
8171 * stdlib/cmp.c [__STDC__]: Make code unconditional.
8172 [!__STDC__]: Remove conditional code.
8173 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8174 [!__STDC__]: Remove conditional code.
8175 * stdlib/divrem.c [__STDC__]: Make code unconditional.
8176 [!__STDC__]: Remove conditional code.
8177 * stdlib/lshift.c [__STDC__]: Make code unconditional.
8178 [!__STDC__]: Remove conditional code.
8179 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8180 [!__STDC__]: Remove conditional code.
8181 * stdlib/mul.c [__STDC__]: Make code unconditional.
8182 [!__STDC__]: Remove conditional code.
8183 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8184 [!__STDC__]: Remove conditional code.
8185 * stdlib/rshift.c [__STDC__]: Make code unconditional.
8186 [!__STDC__]: Remove conditional code.
8187 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8188 function definition.
8190 * stdlib/strtod_l.c (__STRTOF): Likewise.
8191 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8192 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8193 (__strtol_l): Likewise.
8194 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8195 [!__STDC__]: Remove conditional code.
8196 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8198 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8199 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8201 (__strcasecmp): Convert to prototype-style function definition.
8202 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8203 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8205 (__strncasecmp): Convert to prototype-style function definition.
8206 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8207 * sunrpc/xdr.c (xdr_union): Likewise.
8208 * sunrpc/xdr_array.c (xdr_array): Likewise.
8209 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8210 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8211 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8213 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8215 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8216 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8218 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8219 (LOCALE_PARAM_PROTO): Likewise.
8220 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8222 (ut_argument_spec): Remove macro.
8223 (ut_argument_spec_iso): Rename to ut_argument_spec.
8224 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
8225 prototype-style function definition.
8226 (memcpy_uppcase): Likewise.
8227 (__strftime_internal): Likewise.
8228 (my_strftime): Likewise.
8229 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8230 (LOCALE_PARAM_DECL): Likewise.
8231 [_LIBC] (LOCALE_PARAM): Include argument type.
8232 (__strptime_internal): Convert to prototype-style function
8234 (strptime): Likewise.
8235 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8236 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8238 (__wcscasecmp): Convert to prototype-style function definition.
8239 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8240 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8242 (__wcsncasecmp): Convert to prototype-style function definition.
8244 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8245 function definition.
8246 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8247 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8248 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8249 * elf/dl-minimal.c (_itoa): Likewise.
8250 * hurd/hurdmalloc.c (malloc): Likewise.
8252 (realloc): Likewise.
8253 * inet/inet6_option.c (inet6_option_space): Likewise.
8254 (inet6_option_init): Likewise.
8255 (inet6_option_append): Likewise.
8256 (inet6_option_alloc): Likewise.
8257 (inet6_option_next): Likewise.
8258 (inet6_option_find): Likewise.
8259 * io/ftw.c (FTW_NAME): Likewise.
8260 (NFTW_NAME): Likewise.
8261 (NFTW_NEW_NAME): Likewise.
8262 (NFTW_OLD_NAME): Likewise.
8263 * libio/iofwide.c (_IO_fwide): Likewise.
8264 * libio/strops.c (_IO_str_init_static_internal): Likewise.
8265 (_IO_str_init_static): Likewise.
8266 (_IO_str_init_readonly): Likewise.
8267 (_IO_str_overflow): Likewise.
8268 (_IO_str_underflow): Likewise.
8269 (_IO_str_count): Likewise.
8270 (_IO_str_seekoff): Likewise.
8271 (_IO_str_pbackfail): Likewise.
8272 (_IO_str_finish): Likewise.
8273 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8274 (_IO_wstr_overflow): Likewise.
8275 (_IO_wstr_underflow): Likewise.
8276 (_IO_wstr_count): Likewise.
8277 (_IO_wstr_seekoff): Likewise.
8278 (_IO_wstr_pbackfail): Likewise.
8279 (_IO_wstr_finish): Likewise.
8280 * locale/programs/localedef.c (normalize_codeset): Likewise.
8281 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8282 (add_locales_to_archive): Likewise.
8283 (delete_locales_from_archive): Likewise.
8284 * malloc/malloc.c (__libc_mallinfo): Likewise.
8285 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8286 * misc/tsearch.c (__tfind): Likewise.
8287 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8288 * nptl/pthread_attr_getdetachstate.c
8289 (__pthread_attr_getdetachstate): Likewise.
8290 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8292 * nptl/pthread_attr_getinheritsched.c
8293 (__pthread_attr_getinheritsched): Likewise.
8294 * nptl/pthread_attr_getschedparam.c
8295 (__pthread_attr_getschedparam): Likewise.
8296 * nptl/pthread_attr_getschedpolicy.c
8297 (__pthread_attr_getschedpolicy): Likewise.
8298 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8300 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8302 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8304 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8306 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8307 (__pthread_attr_init_2_0): Likewise.
8308 * nptl/pthread_attr_setdetachstate.c
8309 (__pthread_attr_setdetachstate): Likewise.
8310 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8312 * nptl/pthread_attr_setinheritsched.c
8313 (__pthread_attr_setinheritsched): Likewise.
8314 * nptl/pthread_attr_setschedparam.c
8315 (__pthread_attr_setschedparam): Likewise.
8316 * nptl/pthread_attr_setschedpolicy.c
8317 (__pthread_attr_setschedpolicy): Likewise.
8318 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8320 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8322 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8324 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8326 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8328 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8329 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8330 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8331 use internal_function.
8332 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8333 prototype-style function definition.
8334 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8335 (__pthread_mutex_cond_lock_adjust): Likewise. Use
8337 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8338 Convert to prototype-style function definition.
8339 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8341 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8343 (__pthread_mutex_unlock): Likewise.
8344 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8345 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8346 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8347 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8348 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8349 * nss/makedb.c (process_input): Likewise.
8350 * posix/fnmatch.c (__strchrnul): Likewise.
8351 (__wcschrnul): Likewise.
8352 (fnmatch): Likewise.
8353 * posix/fnmatch_loop.c (FCT): Likewise.
8354 * posix/glob.c (globfree): Likewise.
8355 (__glob_pattern_type): Likewise.
8356 (__glob_pattern_p): Likewise.
8357 * posix/regcomp.c (re_compile_pattern): Likewise.
8358 (re_set_syntax): Likewise.
8359 (re_compile_fastmap): Likewise.
8360 (regcomp): Likewise.
8361 (regerror): Likewise.
8362 (regfree): Likewise.
8363 * posix/regexec.c (regexec): Likewise.
8364 (re_match): Likewise.
8365 (re_search): Likewise.
8366 (re_match_2): Likewise.
8367 (re_search_2): Likewise.
8368 (re_search_stub): Likewise. Use internal_function
8369 (re_copy_regs): Likewise.
8370 (re_set_registers): Convert to prototype-style function
8372 (prune_impossible_nodes): Likewise. Use internal_function.
8373 * resolv/inet_net_pton.c (inet_net_pton): Convert to
8374 prototype-style function definition.
8375 (inet_net_pton_ipv4): Likewise.
8376 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8377 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8378 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8379 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8380 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8382 * time/strptime_l.c (localtime_r): Convert to prototype-style
8383 function definition.
8384 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8385 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8386 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8387 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8389 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8391 (_ufc_doit_r): Likewise.
8392 * crypt/crypt_util.c (_ufc_copymem): Likewise.
8393 (_ufc_output_conversion_r): Likewise.
8394 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8395 * inet/rcmd.c (rcmd_af): Likewise.
8397 (ruserok_af): Likewise.
8398 (ruserok): Likewise.
8399 (ruserok2_sa): Likewise.
8400 (ruserok_sa): Likewise.
8401 (iruserok_af): Likewise.
8402 (iruserok): Likewise.
8403 (__ivaliduser): Likewise.
8404 (__validuser2_sa): Likewise.
8405 * inet/rexec.c (rexec_af): Likewise.
8407 * inet/ruserpass.c (ruserpass): Likewise.
8408 * locale/programs/xmalloc.c (xcalloc): Likewise.
8409 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8410 * math/w_drem.c (__drem): Likewise.
8411 * math/w_dremf.c (__dremf): Likewise.
8412 * math/w_dreml.c (__dreml): Likewise.
8413 * misc/daemon.c (daemon): Likewise.
8414 * resolv/res_debug.c (p_fqnname): Likewise.
8415 * stdlib/div.c (div): Likewise.
8416 * string/memcmp.c (memcmp_bytes): Likewise.
8417 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8418 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8420 * crypt/cert.c (main): Convert to prototype-style function
8422 * io/pipe.c (__pipe): Likewise.
8423 * io/pipe2.c (__pipe2): Likewise.
8424 * misc/futimesat.c (futimesat): Likewise.
8425 * misc/utimes.c (__utimes): Likewise.
8426 * posix/execve.c (__execve): Likewise.
8427 * posix/execvp.c (execvp): Likewise.
8428 * posix/execvpe.c (__execvpe): Likewise.
8429 * posix/fexecve.c (fexecve): Likewise.
8430 * socket/socketpair.c (socketpair): Likewise.
8431 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8432 * stdlib/erand48.c (erand48): Likewise.
8433 * stdlib/erand48_r.c (__erand48_r): Likewise.
8434 * stdlib/jrand48.c (jrand48): Likewise.
8435 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8436 * stdlib/lcong48.c (lcong48): Likewise.
8437 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8438 * stdlib/nrand48.c (nrand48): Likewise.
8439 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8440 * stdlib/seed48.c (seed48): Likewise.
8441 * stdlib/seed48_r.c (__seed48_r): Likewise.
8442 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8443 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8444 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8446 2015-10-19 Joseph Myers <joseph@codesourcery.com>
8448 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8449 * configure: Regenerated.
8450 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8451 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8453 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8454 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8455 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8456 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8457 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8459 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8461 * posix/Makefile (CFLAGS-regex.c): Remove variable.
8462 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8464 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8465 function definition.
8466 * crypt/crypt_util.c (__encrypt_r): Likewise.
8467 * libio/genops.c (_IO_no_init): Likewise.
8468 * libio/iofopncook.c (_IO_fopencookie): Likewise.
8469 (_IO_old_fopencookie): Likewise.
8470 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8471 * libio/iogetline.c (_IO_getline): Likewise.
8472 (_IO_getline_info): Likewise.
8473 * libio/iogetwline.c (_IO_getwline): Likewise.
8474 (_IO_getwline_info): Likewise.
8475 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8476 * libio/vswprintf.c (_IO_vswprintf): Likewise.
8477 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8478 (find_entry): Likewise.
8479 (iterate_table): Likewise.
8481 * login/forkpty.c (forkpty): Likewise.
8482 * misc/hsearch_r.c (__hsearch_r): Likewise.
8483 * misc/select.c (__select): Likewise.
8484 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8486 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8488 * nptl/old_pthread_cond_timedwait.c
8489 (__pthread_cond_timedwait_2_0): Likewise.
8490 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8491 * nptl/pthread_barrierattr_getpshared.c
8492 (pthread_barrierattr_getpshared): Likewise.
8493 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8495 * nptl/pthread_mutex_setprioceiling.c
8496 (pthread_mutex_setprioceiling): Likewise.
8497 * nptl/pthread_mutexattr_getprioceiling.c
8498 (pthread_mutexattr_getprioceiling): Likewise.
8499 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8500 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8502 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8504 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8506 * socket/recvfrom.c (__recvfrom): Likewise.
8507 * socket/sendto.c (__sendto): Likewise.
8508 * socket/setsockopt.c (__setsockopt): Likewise.
8509 * stdio-common/_itoa.c (_itoa): Likewise.
8510 * stdio-common/_itowa.c (_itowa): Likewise.
8511 * stdio-common/reg-printf.c (__register_printf_specifier):
8513 (__register_printf_function): Likewise.
8514 * stdio-common/tempname.c (__path_search): Likewise.
8515 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8516 * stdlib/mul_1.c (mpn_mul_1): Likewise.
8517 * stdlib/random_r.c (__initstate_r): Likewise.
8518 * stdlib/setenv.c (__add_to_environ): Likewise.
8519 * stdlib/submul_1.c (mpn_submul_1): Likewise.
8520 * streams/getpmsg.c (getpmsg): Likewise.
8521 * streams/putmsg.c (putmsg): Likewise.
8522 * streams/putpmsg.c (putpmsg): Likewise.
8523 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8524 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8525 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8526 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8527 * sunrpc/pm_getport.c (pmap_getport): Likewise.
8528 * sunrpc/svc_udp.c (cache_get): Likewise.
8529 * sunrpc/xdr_array.c (xdr_vector): Likewise.
8530 * sysdeps/mach/hurd/getcwd.c
8531 (__canonicalize_directory_name_internal): Likewise.
8532 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8533 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8534 * sysdeps/mach/hurd/select.c (__select): Likewise.
8535 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8536 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8537 * sysdeps/sparc/nptl/pthread_barrier_init.c
8538 (__pthread_barrier_init): Likewise.
8539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8540 (__pthread_cond_timedwait): Likewise.
8541 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8542 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8544 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8545 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8547 * sysvipc/semtimedop.c (semtimedop): Likewise.
8548 * time/setitimer.c (__setitimer): Likewise.
8549 * time/strftime_l.c (emacs_strftime): Likewise.
8551 2015-10-19 Mike Frysinger <vapier@gentoo.org>
8553 * config.make.in (have-ssp): Delete.
8554 (stack-protector): New variable.
8555 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
8556 cache test for -fstack-protector-strong. Export stack_protector to
8558 * configure: Regenerated.
8559 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8560 * nscd/Makefile (CFLAGS-nscd): Likewise.
8561 * resolv/Makefile (CFLAGS-libresolv): Likewise.
8563 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
8566 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8569 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8572 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8574 (ELIDE_LOCK): ...here.
8575 (__get_new_count): New function with part of the code from
8576 __elide_lock that updates the value of adapt_count after a
8578 (__elided_trylock): Moved this code to...
8579 (ELIDE_TRYLOCK): ...here.
8581 2015-10-19 Mike Frysinger <vapier@gentoo.org>
8583 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8584 * configure: Regenerate.
8585 * INSTALL: Regenerate.
8586 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8589 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
8591 * login/programs/pt_chown.c: Include signal.h
8592 (main): Clear any signal mask from the parent process.
8594 2015-10-19 Joseph Myers <joseph@codesourcery.com>
8596 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8597 * configure: Regenerated.
8598 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8599 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8600 $(gnu89-inline-CFLAGS).
8602 * configure.ac (libc_cv_asm_weak_directive): Remove configure
8604 (libc_cv_asm_weakext_directive): Likewise.
8605 * configure: Regenerated.
8606 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8607 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8608 * include/libc-symbols.h
8609 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8611 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8612 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8614 * sysdeps/arm/backtrace.c (__backtrace): Convert to
8615 prototype-style function definition.
8616 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8617 * sysdeps/i386/ffs.c (__ffs): Likewise.
8618 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8619 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8621 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8623 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8624 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8626 * sysdeps/m68k/ffs.c (__ffs): Likewise.
8627 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8628 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8629 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8630 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8631 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8632 * sysdeps/mach/hurd/access.c (__access): Likewise.
8633 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8634 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8635 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8636 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8637 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8638 (cthread_getspecific): Likewise.
8639 (cthread_setspecific): Likewise.
8640 (__libc_getspecific): Likewise.
8641 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8642 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8643 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8644 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8645 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8646 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8647 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8648 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8649 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8650 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8651 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8652 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8653 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8654 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8655 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8656 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8657 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8658 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8659 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8660 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8661 * sysdeps/mach/hurd/link.c (__link): Likewise.
8662 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8663 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8664 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8665 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8666 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8667 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8668 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8669 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8670 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8671 * sysdeps/mach/hurd/rename.c (rename): Likewise.
8672 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8673 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8674 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8675 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8676 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8677 * sysdeps/mach/hurd/send.c (__send): Likewise.
8678 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8679 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8680 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8681 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8682 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8683 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8684 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8685 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8686 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8687 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8688 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8689 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8690 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8691 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8692 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8693 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8694 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8695 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8696 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8697 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8698 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8699 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8700 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8701 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8702 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8703 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8704 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8705 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8706 * sysdeps/posix/alarm.c (alarm): Likewise.
8707 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8708 * sysdeps/posix/dirfd.c (dirfd): Likewise.
8709 * sysdeps/posix/dup.c (__dup): Likewise.
8710 * sysdeps/posix/dup2.c (__dup2): Likewise.
8711 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8713 * sysdeps/posix/flock.c (__flock): Likewise.
8714 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8715 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8716 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8717 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8718 * sysdeps/posix/isatty.c (__isatty): Likewise.
8719 * sysdeps/posix/killpg.c (killpg): Likewise.
8720 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8721 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8722 * sysdeps/posix/raise.c (raise): Likewise.
8723 * sysdeps/posix/remove.c (remove): Likewise.
8724 * sysdeps/posix/rename.c (rename): Likewise.
8725 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8726 * sysdeps/posix/seekdir.c (seekdir): Likewise.
8727 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8728 * sysdeps/posix/sigignore.c (sigignore): Likewise.
8729 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8730 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8731 * sysdeps/posix/sigset.c (sigset): Likewise.
8732 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8733 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8734 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8735 * sysdeps/posix/time.c (time): Likewise.
8736 * sysdeps/posix/ttyname.c (getttyname): Likewise.
8737 (ttyname): Likewise.
8738 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8739 * sysdeps/posix/utime.c (utime): Likewise.
8740 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8741 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8743 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8744 (pthread_spin_trylock): Likewise.
8745 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8746 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8747 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8748 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8749 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8750 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8751 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8752 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8753 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8754 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8755 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8756 * sysdeps/s390/ffs.c (__ffs): Likewise.
8757 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8759 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8761 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8763 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8764 (pthread_barrier_destroy): Likewise.
8765 * sysdeps/sparc/nptl/pthread_barrier_wait.c
8766 (__pthread_barrier_wait): Likewise.
8767 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8768 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8769 (__pthread_barrier_wait): Likewise.
8770 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8771 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8772 (memcmp_not_common_alignment): Likewise.
8774 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8775 (_wordcopy_fwd_dest_aligned): Likewise.
8776 (_wordcopy_bwd_aligned): Likewise.
8777 (_wordcopy_bwd_dest_aligned): Likewise.
8778 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8779 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8780 * sysdeps/unix/bsd/stty.c (stty): Likewise.
8781 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8782 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8783 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8784 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8785 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8786 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8787 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8788 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8789 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8790 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8791 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8792 * sysdeps/unix/stime.c (stime): Likewise.
8793 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8794 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8795 Likewise. Use internal_function.
8796 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8797 Convert to prototype-style function definition.
8798 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8799 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8801 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8802 Likewise. Use internal_function.
8803 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8804 prototype-style function definition
8805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8807 (__getlogin_r): Likewise.
8808 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8809 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8810 (__pthread_cond_broadcast): Likewise.
8811 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8812 (__pthread_cond_destroy): Likewise.
8813 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8814 (__pthread_cond_init): Likewise.
8815 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8816 (__pthread_cond_signal): Likewise.
8817 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8818 (__pthread_cond_wait): Likewise.
8819 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8820 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8821 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8823 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8825 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8827 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8829 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8831 (__ftruncate64): Likewise.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8833 (truncate64): Likewise.
8834 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8835 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8836 (pthread_getcpuclockid): Likewise.
8837 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8839 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8841 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8843 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8845 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8847 (__libc_sigaction): Likewise.
8848 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8850 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8851 (__sigprocmask): Likewise.
8852 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8853 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8854 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8855 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8856 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8857 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8858 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8860 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8861 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8862 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8863 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8864 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8867 (__sigprocmask): Likewise.
8868 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8869 (cfgetispeed): Likewise.
8870 (cfsetospeed): Likewise.
8871 (cfsetispeed): Likewise.
8872 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8873 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8874 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8875 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8876 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8877 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8878 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8879 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8881 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8883 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8885 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8887 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8889 2015-10-17 Florian Weimer <fweimer@redhat.com>
8891 sunrpc: Rewrite with explicit TLS access using __thread.
8892 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8893 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8895 (__rpc_thread_variables): Access thread_rpc_vars directly.
8896 Eliminate redundant assignment of the tvp variable.
8898 2015-10-17 Florian Weimer <fweimer@redhat.com>
8900 malloc: Rewrite with explicit TLS access using __thread.
8901 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8902 (tsd_setspecific, tsd_getspecific): Remove.
8903 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8904 (tsd_setspecific, tsd_getspecific): Likewise.
8905 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8906 (tsd_setspecific, tsd_getspecific): Likewise.
8907 * malloc/arena.c (thread_arena): New TLS variable.
8908 (arena_key): Remove variable.
8909 (arena_get): Use thread_arena.
8910 (arena_lookup): Remove macro.
8911 (malloc_atfork, free_atfork, ptmalloc_lock_all)
8912 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8913 (_int_new_arena, get_free_list, reused_arena)
8914 (arena_thread_freeres): Use thread_arena.
8915 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8916 tsd_getspecific, tsd_setspecific from safety annotations.
8917 (Allocating Cleared Space): Remove arena_lookup from safety
8920 2015-10-17 Florian Weimer <fweimer@redhat.com>
8922 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8923 struct scratch_buffer instead of extend_alloca.
8925 2015-10-17 Florian Weimer <fweimer@redhat.com>
8927 * sysdeps/unix/sysv/linux/kernel-features.h
8928 (__ASSUME_SOCK_CLOEXEC): Remove.
8929 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8930 (__have_paccept): Remove unused macro.
8931 * include/unistd.h (__have_sock_cloexec): Remove declaration.
8932 * misc/syslog.c (openlog_internal): Remove fallback code for
8933 !__ASSUME_SOCK_CLOEXEC.
8934 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8935 missing SOCK_CLOEXEC.
8936 * nscd/connections.c (have_sock_cloexec): Remove definition.
8937 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8938 * nscd/nscd_helper.c (open_socket): Remove fallback code for
8939 !__ASSUME_SOCK_CLOEXEC.
8940 * resolv/res_send.c (__have_o_nonblock): Remove definition.
8941 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8942 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8944 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8945 code for !__ASSUME_SOCK_CLOEXEC.
8947 2015-10-17 Florian Weimer <fweimer@redhat.com>
8950 * manual/stdio.texi (Variable Arguments Output): Add portability
8951 note, explaining that vfprintf clobbers the va_list pointer.
8953 2015-10-16 Joseph Myers <joseph@codesourcery.com>
8955 * math/libm-test.inc (fabs_test_data): Add more tests.
8956 (fdim_test_data): Likewise.
8957 (fma_test_data): Likewise.
8958 (fmax_test_data): Likewise.
8959 (fmin_test_data): Likewise.
8960 (fmod_test_data): Likewise.
8962 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
8964 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
8967 2015-10-16 Joseph Myers <joseph@codesourcery.com>
8969 * math/libm-test.inc (ceil_test_data): Add more tests and more
8970 expectations for "inexact".
8971 (floor_test_data): Add more tests.
8972 (round_test_data): Likewise.
8973 (trunc_test_data): Likewise.
8975 * crypt/cert.c (good_bye): Convert to prototype-style function
8979 * crypt/crypt-entry.c (crypt): Likewise.
8980 (__fcrypt): Likewise.
8981 * crypt/crypt_util.c (_ufc_prbits): Likewise.
8982 (_ufc_set_bits): Likewise.
8983 (_ufc_clearmem): Likewise.
8984 (__init_des_r): Likewise.
8985 (shuffle_sb): Likewise.
8986 (shuffle_sb): Likewise.
8987 (_ufc_setup_salt_r): Likewise.
8988 (_ufc_mk_keytab_r): Likewise.
8989 (_ufc_dofinalperm_r): Likewise.
8990 (encrypt): Likewise.
8991 (__setkey_r): Likewise.
8993 * crypt/md5.c (md5_init_ctx): Likewise.
8994 (md5_read_ctx): Likewise.
8995 (md5_finish_ctx): Likewise.
8996 (md5_stream): Likewise.
8997 (md5_buffer): Likewise.
8998 (md5_process_bytes): Likewise.
8999 * crypt/sha256.c (__sha256_init_ctx): Likewise.
9000 (__sha256_finish_ctx): Likewise.
9001 (__sha256_process_bytes): Likewise.
9002 * crypt/sha512.c (__sha512_init_ctx): Likewise.
9003 (__sha512_finish_ctx): Likewise.
9004 (__sha512_process_bytes): Likewise.
9005 * ctype/isctype.c (__isctype): Likewise.
9006 * debug/backtrace.c (__backtrace): Likewise.
9007 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9008 * debug/fgets_chk.c (__fgets_chk): Likewise.
9009 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9010 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9011 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9012 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9013 * debug/memset_chk.c (__memset_chk): Likewise.
9014 * debug/strcat_chk.c (__strcat_chk): Likewise.
9015 * debug/strncat_chk.c (__strncat_chk): Likewise.
9016 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9017 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9018 * dirent/dirfd.c (dirfd): Likewise.
9019 * dirent/getdents.c (__getdirentries): Likewise.
9020 * dirent/getdents64.c (getdirentries64): Likewise.
9021 * dirent/rewinddir.c (__rewinddir): Likewise.
9022 * dirent/seekdir.c (seekdir): Likewise.
9023 * dirent/telldir.c (telldir): Likewise.
9024 * elf/sln.c (makesymlinks): Likewise.
9025 (makesymlink): Likewise.
9026 * gmon/gmon.c (__moncontrol): Likewise.
9027 (__monstartup): Likewise.
9028 (write_hist): Likewise.
9029 (write_call_graph): Likewise.
9030 (write_bb_counts): Likewise.
9031 * grp/setgroups.c (setgroups): Likewise.
9032 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9033 * inet/inet_net.c (inet_network): Likewise.
9034 * inet/inet_netof.c (inet_netof): Likewise.
9035 * inet/rcmd.c (rresvport_af): Likewise.
9036 (rresvport): Likewise.
9037 * io/access.c (__access): Likewise.
9038 * io/chdir.c (__chdir): Likewise.
9039 * io/chmod.c (__chmod): Likewise.
9040 * io/chown.c (__chown): Likewise.
9041 * io/close.c (__close): Likewise.
9042 * io/creat.c (creat): Likewise.
9043 * io/creat64.c (creat64): Likewise.
9044 * io/dup.c (__dup): Likewise.
9045 * io/dup2.c (__dup2): Likewise.
9046 * io/dup3.c (__dup3): Likewise.
9047 * io/euidaccess.c (__euidaccess): Likewise.
9048 * io/faccessat.c (faccessat): Likewise.
9049 * io/fchmod.c (__fchmod): Likewise.
9050 * io/fchmodat.c (fchmodat): Likewise.
9051 * io/fchown.c (__fchown): Likewise.
9052 * io/fchownat.c (fchownat): Likewise.
9053 * io/fcntl.c (__fcntl): Likewise.
9054 * io/flock.c (__flock): Likewise.
9055 * io/fts.c (fts_load): Likewise.
9056 (fts_close): Likewise.
9057 (fts_read): Likewise.
9058 (fts_set): Likewise.
9059 (fts_children): Likewise.
9060 (fts_build): Likewise.
9061 (fts_stat): Likewise.
9062 (fts_sort): Likewise.
9063 (fts_alloc): Likewise.
9064 (fts_lfree): Likewise.
9065 (fts_palloc): Likewise.
9066 (fts_padjust): Likewise.
9067 (fts_maxarglen): Likewise.
9068 (fts_safe_changedir): Likewise.
9069 * io/getwd.c (getwd): Likewise.
9070 * io/isatty.c (__isatty): Likewise.
9071 * io/lchown.c (__lchown): Likewise.
9072 * io/link.c (__link): Likewise.
9073 * io/linkat.c (linkat): Likewise.
9074 * io/lseek.c (__libc_lseek): Likewise.
9075 * io/mkdir.c (__mkdir): Likewise.
9076 * io/mkdirat.c (mkdirat): Likewise.
9077 * io/mkfifo.c (mkfifo): Likewise.
9078 * io/mkfifoat.c (mkfifoat): Likewise.
9079 * io/open.c (__libc_open): Likewise.
9080 * io/open64.c (__libc_open64): Likewise.
9081 * io/readlink.c (__readlink): Likewise.
9082 * io/readlinkat.c (readlinkat): Likewise.
9083 * io/rmdir.c (__rmdir): Likewise.
9084 * io/symlink.c (__symlink): Likewise.
9085 * io/symlinkat.c (symlinkat): Likewise.
9086 * io/ttyname.c (ttyname): Likewise.
9087 * io/ttyname_r.c (__ttyname_r): Likewise.
9088 * io/umask.c (__umask): Likewise.
9089 * io/unlink.c (__unlink): Likewise.
9090 * io/unlinkat.c (unlinkat): Likewise.
9091 * io/utime.c (utime): Likewise.
9092 * libio/clearerr.c (clearerr): Likewise.
9093 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9094 * libio/feof.c (_IO_feof): Likewise.
9095 * libio/feof_u.c (feof_unlocked): Likewise.
9096 * libio/ferror.c (_IO_ferror): Likewise.
9097 * libio/ferror_u.c (ferror_unlocked): Likewise.
9098 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9099 * libio/fileno.c (__fileno): Likewise.
9100 * libio/fputc.c (fputc): Likewise.
9101 * libio/fputc_u.c (fputc_unlocked): Likewise.
9102 * libio/fputwc.c (fputwc): Likewise.
9103 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9104 * libio/freopen.c (freopen): Likewise.
9105 * libio/freopen64.c (freopen64): Likewise.
9106 * libio/fseek.c (fseek): Likewise.
9107 * libio/fseeko.c (fseeko): Likewise.
9108 * libio/fseeko64.c (fseeko64): Likewise.
9109 * libio/ftello.c (__ftello): Likewise.
9110 * libio/ftello64.c (ftello64): Likewise.
9111 * libio/fwide.c (fwide): Likewise.
9112 * libio/genops.c (_IO_un_link): Likewise.
9113 (_IO_link_in): Likewise.
9114 (_IO_least_marker): Likewise.
9115 (_IO_switch_to_main_get_area): Likewise.
9116 (_IO_switch_to_backup_area): Likewise.
9117 (_IO_switch_to_get_mode): Likewise.
9118 (_IO_free_backup_area): Likewise.
9119 (_IO_switch_to_put_mode): Likewise.
9120 (__overflow): Likewise.
9121 (__underflow): Likewise.
9122 (__uflow): Likewise.
9123 (_IO_setb): Likewise.
9124 (_IO_doallocbuf): Likewise.
9125 (_IO_default_underflow): Likewise.
9126 (_IO_default_uflow): Likewise.
9127 (_IO_default_xsputn): Likewise.
9128 (_IO_sgetn): Likewise.
9129 (_IO_default_xsgetn): Likewise.
9130 (_IO_sync): Likewise.
9131 (_IO_default_setbuf): Likewise.
9132 (_IO_default_seekpos): Likewise.
9133 (_IO_default_doallocate): Likewise.
9134 (_IO_init): Likewise.
9135 (_IO_old_init): Likewise.
9136 (_IO_default_sync): Likewise.
9137 (_IO_default_finish): Likewise.
9138 (_IO_default_seekoff): Likewise.
9139 (_IO_sputbackc): Likewise.
9140 (_IO_sungetc): Likewise.
9141 (_IO_set_column): Likewise.
9142 (_IO_set_column): Likewise.
9143 (_IO_adjust_column): Likewise.
9144 (_IO_get_column): Likewise.
9145 (_IO_init_marker): Likewise.
9146 (_IO_remove_marker): Likewise.
9147 (_IO_marker_difference): Likewise.
9148 (_IO_marker_delta): Likewise.
9149 (_IO_seekmark): Likewise.
9150 (_IO_unsave_markers): Likewise.
9151 (_IO_nobackup_pbackfail): Likewise.
9152 (_IO_default_pbackfail): Likewise.
9153 (_IO_default_seek): Likewise.
9154 (_IO_default_stat): Likewise.
9155 (_IO_default_read): Likewise.
9156 (_IO_default_write): Likewise.
9157 (_IO_default_showmanyc): Likewise.
9158 (_IO_default_imbue): Likewise.
9159 (_IO_iter_next): Likewise.
9160 (_IO_iter_file): Likewise.
9161 * libio/getc.c (_IO_getc): Likewise.
9162 * libio/getwc.c (_IO_getwc): Likewise.
9163 * libio/iofclose.c (_IO_new_fclose): Likewise.
9164 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9165 * libio/iofflush.c (_IO_fflush): Likewise.
9166 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9167 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9168 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9169 * libio/iofgets.c (_IO_fgets): Likewise.
9170 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9171 * libio/iofgetws.c (fgetws): Likewise.
9172 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9173 * libio/iofopen64.c (_IO_fopen64): Likewise.
9174 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9175 (_IO_cookie_write): Likewise.
9176 (_IO_cookie_seek): Likewise.
9177 (_IO_cookie_close): Likewise.
9178 (_IO_cookie_seekoff): Likewise.
9179 (_IO_old_cookie_seek): Likewise.
9180 * libio/iofputs.c (_IO_fputs): Likewise.
9181 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9182 * libio/iofputws.c (fputws): Likewise.
9183 * libio/iofputws_u.c (fputws_unlocked): Likewise.
9184 * libio/iofread.c (_IO_fread): Likewise.
9185 * libio/iofread_u.c (__fread_unlocked): Likewise.
9186 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9187 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9188 * libio/ioftell.c (_IO_ftell): Likewise.
9189 * libio/iofwrite.c (_IO_fwrite): Likewise.
9190 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9191 * libio/iogets.c (_IO_gets): Likewise.
9192 * libio/iopadn.c (_IO_padn): Likewise.
9193 * libio/iopopen.c (_IO_new_proc_open): Likewise.
9194 (_IO_new_popen): Likewise.
9195 (_IO_new_proc_close): Likewise.
9196 * libio/ioputs.c (_IO_puts): Likewise.
9197 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9198 (_IO_seekoff): Likewise.
9199 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9200 (_IO_seekpos): Likewise.
9201 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9202 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9203 * libio/ioungetc.c (_IO_ungetc): Likewise.
9204 * libio/ioungetwc.c (ungetwc): Likewise.
9205 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9206 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9207 * libio/iowpadn.c (_IO_wpadn): Likewise.
9208 * libio/libc_fatal.c (__libc_fatal): Likewise.
9209 * libio/memstream.c (__open_memstream): Likewise.
9210 (_IO_mem_sync): Likewise.
9211 (_IO_mem_finish): Likewise.
9212 * libio/oldfileops.c (_IO_old_file_init): Likewise.
9213 (_IO_old_file_close_it): Likewise.
9214 (_IO_old_file_finish): Likewise.
9215 (_IO_old_file_fopen): Likewise.
9216 (_IO_old_file_attach): Likewise.
9217 (_IO_old_file_setbuf): Likewise.
9218 (_IO_old_do_write): Likewise.
9219 (old_do_write): Likewise.
9220 (_IO_old_file_underflow): Likewise.
9221 (_IO_old_file_overflow): Likewise.
9222 (_IO_old_file_sync): Likewise.
9223 (_IO_old_file_seekoff): Likewise.
9224 (_IO_old_file_write): Likewise.
9225 (_IO_old_file_xsputn): Likewise.
9226 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9227 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9228 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9229 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9230 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9231 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9232 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9233 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9234 (_IO_old_popen): Likewise.
9235 (_IO_old_proc_close): Likewise.
9236 * libio/oldpclose.c (__old_pclose): Likewise.
9237 * libio/pclose.c (__new_pclose): Likewise.
9238 * libio/peekc.c (_IO_peekc_locked): Likewise.
9239 * libio/putc.c (_IO_putc): Likewise.
9240 * libio/putc_u.c (putc_unlocked): Likewise.
9241 * libio/putchar.c (putchar): Likewise.
9242 * libio/putchar_u.c (putchar_unlocked): Likewise.
9243 * libio/putwc.c (putwc): Likewise.
9244 * libio/putwc_u.c (putwc_unlocked): Likewise.
9245 * libio/putwchar.c (putwchar): Likewise.
9246 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9247 * libio/rewind.c (rewind): Likewise.
9248 * libio/setbuf.c (setbuf): Likewise.
9249 * libio/setlinebuf.c (setlinebuf): Likewise.
9250 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9251 * libio/vscanf.c (_IO_vscanf): Likewise.
9252 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9253 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9254 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9255 * libio/wgenops.c (_IO_least_wmarker): Likewise.
9256 (_IO_switch_to_main_wget_area): Likewise.
9257 (_IO_switch_to_wbackup_area): Likewise.
9258 (_IO_wsetb): Likewise.
9259 (_IO_wdefault_pbackfail): Likewise.
9260 (_IO_wdefault_finish): Likewise.
9261 (_IO_wdefault_uflow): Likewise.
9262 (__woverflow): Likewise.
9263 (__wuflow): Likewise.
9264 (__wunderflow): Likewise.
9265 (_IO_wdefault_xsputn): Likewise.
9266 (_IO_wdefault_xsgetn): Likewise.
9267 (_IO_wdoallocbuf): Likewise.
9268 (_IO_wdefault_doallocate): Likewise.
9269 (_IO_switch_to_wget_mode): Likewise.
9270 (_IO_free_wbackup_area): Likewise.
9271 (_IO_switch_to_wput_mode): Likewise.
9272 (_IO_sputbackwc): Likewise.
9273 (_IO_sungetwc): Likewise.
9274 (_IO_adjust_wcolumn): Likewise.
9275 (_IO_init_wmarker): Likewise.
9276 (_IO_wmarker_delta): Likewise.
9277 (_IO_seekwmark): Likewise.
9278 (_IO_unsave_wmarkers): Likewise.
9279 * libio/wmemstream.c (open_wmemstream): Likewise.
9280 (_IO_wmem_sync): Likewise.
9281 (_IO_wmem_finish): Likewise.
9282 * locale/nl_langinfo.c (nl_langinfo): Likewise.
9283 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9284 * locale/programs/simple-hash.c (init_hash): Likewise.
9285 (delete_hash): Likewise.
9286 (insert_entry): Likewise.
9287 (set_entry): Likewise.
9288 (next_prime): Likewise.
9289 (is_prime): Likewise.
9290 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9291 (xmalloc): Likewise.
9292 (xrealloc): Likewise.
9293 * locale/programs/xstrdup.c (xstrdup): Likewise.
9294 * localedata/collate-test.c (xstrcoll): Likewise.
9295 * localedata/xfrm-test.c (xstrcmp): Likewise.
9296 * login/getlogin_r.c (__getlogin_r): Likewise.
9297 * login/getpt.c (__posix_openpt): Likewise.
9298 * login/login_tty.c (login_tty): Likewise.
9299 * login/setlogin.c (setlogin): Likewise.
9300 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9301 (mach_msg_destroy_port): Likewise.
9302 (mach_msg_destroy_memory): Likewise.
9303 * malloc/mcheck.c (flood): Likewise.
9304 * misc/acct.c (acct): Likewise.
9305 * misc/brk.c (__brk): Likewise.
9306 * misc/chflags.c (chflags): Likewise.
9307 * misc/chroot.c (chroot): Likewise.
9308 * misc/fchflags.c (fchflags): Likewise.
9309 * misc/fstab.c (getfsspec): Likewise.
9310 (getfsfile): Likewise.
9311 * misc/fsync.c (fsync): Likewise.
9312 * misc/ftruncate.c (__ftruncate): Likewise.
9313 * misc/ftruncate64.c (__ftruncate64): Likewise.
9314 * misc/getdomain.c (getdomainname): Likewise.
9315 (getdomainname): Likewise.
9316 * misc/gethostname.c (__gethostname): Likewise.
9317 * misc/getpass.c (getpass): Likewise.
9318 * misc/getttyent.c (skip): Likewise.
9320 * misc/gtty.c (gtty): Likewise.
9321 * misc/hsearch.c (hsearch): Likewise.
9322 (hcreate): Likewise.
9323 * misc/hsearch_r.c (__hcreate_r): Likewise.
9324 (__hdestroy_r): Likewise.
9325 * misc/ioctl.c (__ioctl): Likewise.
9326 * misc/mkdtemp.c (mkdtemp): Likewise.
9327 * misc/mkostemp.c (mkostemp): Likewise.
9328 * misc/mkostemp64.c (mkostemp64): Likewise.
9329 * misc/mkostemps.c (mkostemps): Likewise.
9330 * misc/mkostemps64.c (mkostemps64): Likewise.
9331 * misc/mkstemp.c (mkstemp): Likewise.
9332 * misc/mkstemp64.c (mkstemp64): Likewise.
9333 * misc/mkstemps.c (mkstemps): Likewise.
9334 * misc/mkstemps64.c (mkstemps64): Likewise.
9335 * misc/mktemp.c (__mktemp): Likewise.
9336 * misc/preadv.c (preadv): Likewise.
9337 * misc/preadv64.c (preadv64): Likewise.
9338 * misc/pwritev.c (pwritev): Likewise.
9339 * misc/pwritev64.c (pwritev64): Likewise.
9340 * misc/readv.c (__readv): Likewise.
9341 * misc/revoke.c (revoke): Likewise.
9342 * misc/setdomain.c (setdomainname): Likewise.
9343 * misc/setegid.c (setegid): Likewise.
9344 * misc/seteuid.c (seteuid): Likewise.
9345 * misc/sethostid.c (sethostid): Likewise.
9346 * misc/sethostname.c (sethostname): Likewise.
9347 * misc/setregid.c (__setregid): Likewise.
9348 * misc/setreuid.c (__setreuid): Likewise.
9349 * misc/sstk.c (sstk): Likewise.
9350 * misc/stty.c (stty): Likewise.
9351 * misc/syscall.c (syscall): Likewise.
9352 * misc/syslog.c (setlogmask): Likewise.
9353 * misc/truncate.c (__truncate): Likewise.
9354 * misc/truncate64.c (truncate64): Likewise.
9355 * misc/ualarm.c (ualarm): Likewise.
9356 * misc/usleep.c (usleep): Likewise.
9357 * misc/ustat.c (ustat): Likewise.
9358 * misc/writev.c (__writev): Likewise.
9359 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9360 * nptl/old_pthread_cond_broadcast.c
9361 (__pthread_cond_broadcast_2_0): Likewise.
9362 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9364 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9366 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9368 * nptl/pt-raise.c (raise): Likewise.
9369 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9371 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9372 * nptl/pthread_barrierattr_destroy.c
9373 (pthread_barrierattr_destroy): Likewise.
9374 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9376 * nptl/pthread_barrierattr_setpshared.c
9377 (pthread_barrierattr_setpshared): Likewise.
9378 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9380 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9381 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9382 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9383 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9385 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9387 * nptl/pthread_condattr_getpshared.c
9388 (pthread_condattr_getpshared): Likewise.
9389 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9391 * nptl/pthread_condattr_setpshared.c
9392 (pthread_condattr_setpshared): Likewise.
9393 * nptl/pthread_detach.c (pthread_detach): Likewise.
9394 * nptl/pthread_equal.c (__pthread_equal): Likewise.
9395 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9396 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9397 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9398 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9400 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9402 * nptl/pthread_mutex_getprioceiling.c
9403 (pthread_mutex_getprioceiling): Likewise.
9404 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9406 * nptl/pthread_mutexattr_getprotocol.c
9407 (pthread_mutexattr_getprotocol): Likewise.
9408 * nptl/pthread_mutexattr_getpshared.c
9409 (pthread_mutexattr_getpshared): Likewise.
9410 * nptl/pthread_mutexattr_getrobust.c
9411 (pthread_mutexattr_getrobust): Likewise.
9412 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9414 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9416 * nptl/pthread_mutexattr_setprioceiling.c
9417 (pthread_mutexattr_setprioceiling): Likewise.
9418 * nptl/pthread_mutexattr_setprotocol.c
9419 (pthread_mutexattr_setprotocol): Likewise.
9420 * nptl/pthread_mutexattr_setpshared.c
9421 (pthread_mutexattr_setpshared): Likewise.
9422 * nptl/pthread_mutexattr_setrobust.c
9423 (pthread_mutexattr_setrobust): Likewise.
9424 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9426 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9428 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9430 * nptl/pthread_rwlockattr_getkind_np.c
9431 (pthread_rwlockattr_getkind_np): Likewise.
9432 * nptl/pthread_rwlockattr_getpshared.c
9433 (pthread_rwlockattr_getpshared): Likewise.
9434 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9436 * nptl/pthread_rwlockattr_setkind_np.c
9437 (pthread_rwlockattr_setkind_np): Likewise.
9438 * nptl/pthread_rwlockattr_setpshared.c
9439 (pthread_rwlockattr_setpshared): Likewise.
9440 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9442 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9444 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9446 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9447 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9448 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9449 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9450 * nptl/sem_close.c (sem_close): Likewise.
9451 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9452 * nptl/sem_init.c (__old_sem_init): Likewise.
9453 * nptl/sigaction.c (__sigaction): Likewise.
9454 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9455 * posix/_exit.c (_exit): Likewise.
9456 * posix/alarm.c (alarm): Likewise.
9457 * posix/confstr.c (confstr): Likewise.
9458 * posix/fpathconf.c (__fpathconf): Likewise.
9459 * posix/getgroups.c (__getgroups): Likewise.
9460 * posix/getpgid.c (__getpgid): Likewise.
9461 * posix/group_member.c (__group_member): Likewise.
9462 * posix/pathconf.c (__pathconf): Likewise.
9463 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9464 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9465 * posix/setgid.c (__setgid): Likewise.
9466 * posix/setpgid.c (__setpgid): Likewise.
9467 * posix/setuid.c (__setuid): Likewise.
9468 * posix/sleep.c (__sleep): Likewise.
9469 * posix/sysconf.c (__sysconf): Likewise.
9470 * posix/times.c (__times): Likewise.
9471 * posix/uname.c (__uname): Likewise.
9472 * posix/waitid.c (__waitid): Likewise.
9473 * pwd/getpw.c (__getpw): Likewise.
9474 * resolv/base64.c (b64_pton): Likewise.
9475 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9476 * resolv/gethnamaddr.c (Dprintf): Likewise.
9477 (gethostbyname): Likewise.
9478 (gethostbyname2): Likewise.
9479 (gethostbyaddr): Likewise.
9480 (_sethtent): Likewise.
9481 (_gethtbyname): Likewise.
9482 (_gethtbyname2): Likewise.
9483 (_gethtbyaddr): Likewise.
9484 (map_v4v6_address): Likewise.
9485 (map_v4v6_hostent): Likewise.
9486 (addrsort): Likewise.
9487 (ht_sethostent): Likewise.
9488 (ht_gethostbyname): Likewise.
9489 (ht_gethostbyaddr): Likewise.
9490 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9491 (inet_net_ntop_ipv4): Likewise.
9492 * resolv/inet_neta.c (inet_neta): Likewise.
9493 * resolv/inet_ntop.c (inet_ntop): Likewise.
9494 (inet_ntop4): Likewise.
9495 (inet_ntop6): Likewise.
9496 * resolv/inet_pton.c (__inet_pton): Likewise.
9497 (inet_pton4): Likewise.
9498 (inet_pton6): Likewise.
9499 * resolv/res_debug.c (loc_aton): Likewise.
9500 (loc_ntoa): Likewise.
9501 * resource/getpriority.c (__getpriority): Likewise.
9502 * resource/getrusage.c (__getrusage): Likewise.
9503 * resource/nice.c (nice): Likewise.
9504 * resource/setpriority.c (__setpriority): Likewise.
9505 * resource/setrlimit64.c (setrlimit64): Likewise.
9506 * resource/vlimit.c (vlimit): Likewise.
9507 * resource/vtimes.c (vtimes): Likewise.
9508 * rt/aio_error.c (aio_error): Likewise.
9509 * rt/aio_return.c (aio_return): Likewise.
9510 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9511 * signal/kill.c (__kill): Likewise.
9512 * signal/killpg.c (killpg): Likewise.
9513 * signal/raise.c (raise): Likewise.
9514 * signal/sigaction.c (__sigaction): Likewise.
9515 * signal/sigaddset.c (sigaddset): Likewise.
9516 * signal/sigaltstack.c (sigaltstack): Likewise.
9517 * signal/sigandset.c (sigandset): Likewise.
9518 * signal/sigblock.c (__sigblock): Likewise.
9519 * signal/sigdelset.c (sigdelset): Likewise.
9520 * signal/sigempty.c (sigemptyset): Likewise.
9521 * signal/sigfillset.c (sigfillset): Likewise.
9522 * signal/sighold.c (sighold): Likewise.
9523 * signal/sigignore.c (sigignore): Likewise.
9524 * signal/sigintr.c (siginterrupt): Likewise.
9525 * signal/sigisempty.c (sigisemptyset): Likewise.
9526 * signal/sigismem.c (sigismember): Likewise.
9527 * signal/signal.c (signal): Likewise.
9528 * signal/sigorset.c (sigorset): Likewise.
9529 * signal/sigpause.c (__sigpause): Likewise.
9530 * signal/sigpending.c (sigpending): Likewise.
9531 * signal/sigprocmask.c (__sigprocmask): Likewise.
9532 * signal/sigrelse.c (sigrelse): Likewise.
9533 * signal/sigreturn.c (__sigreturn): Likewise.
9534 * signal/sigset.c (sigset): Likewise.
9535 * signal/sigsetmask.c (__sigsetmask): Likewise.
9536 * signal/sigstack.c (sigstack): Likewise.
9537 * signal/sigsuspend.c (__sigsuspend): Likewise.
9538 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9539 * signal/sysv_signal.c (__sysv_signal): Likewise.
9540 * socket/accept.c (accept): Likewise.
9541 * socket/accept4.c (__libc_accept4): Likewise.
9542 * socket/bind.c (__bind): Likewise.
9543 * socket/connect.c (__connect): Likewise.
9544 * socket/getpeername.c (getpeername): Likewise.
9545 * socket/getsockname.c (__getsockname): Likewise.
9546 * socket/getsockopt.c (getsockopt): Likewise.
9547 * socket/listen.c (__listen): Likewise.
9548 * socket/recv.c (__recv): Likewise.
9549 * socket/recvmsg.c (__recvmsg): Likewise.
9550 * socket/send.c (__send): Likewise.
9551 * socket/sendmsg.c (__sendmsg): Likewise.
9552 * socket/shutdown.c (shutdown): Likewise.
9553 * socket/sockatmark.c (sockatmark): Likewise.
9554 * socket/socket.c (__socket): Likewise.
9555 * stdio-common/ctermid.c (ctermid): Likewise.
9556 * stdio-common/cuserid.c (cuserid): Likewise.
9557 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9558 * stdio-common/remove.c (remove): Likewise.
9559 * stdio-common/rename.c (rename): Likewise.
9560 * stdio-common/renameat.c (renameat): Likewise.
9561 * stdio-common/tempname.c (__gen_tempname): Likewise.
9562 * stdio-common/xbug.c (InitBuffer): Likewise.
9563 (AppendToBuffer): Likewise.
9564 (ReadFile): Likewise.
9565 * stdlib/a64l.c (a64l): Likewise.
9566 * stdlib/drand48_r.c (drand48_r): Likewise.
9567 * stdlib/getcontext.c (getcontext): Likewise.
9568 * stdlib/getenv.c (getenv): Likewise.
9569 * stdlib/l64a.c (l64a): Likewise.
9570 * stdlib/llabs.c (llabs): Likewise.
9571 * stdlib/lldiv.c (lldiv): Likewise.
9572 * stdlib/lrand48_r.c (lrand48_r): Likewise.
9573 * stdlib/mrand48_r.c (mrand48_r): Likewise.
9574 * stdlib/putenv.c (putenv): Likewise.
9575 * stdlib/random.c (__srandom): Likewise.
9576 (__initstate): Likewise.
9577 (__setstate): Likewise.
9578 * stdlib/random_r.c (__srandom_r): Likewise.
9579 (__setstate_r): Likewise.
9580 (__random_r): Likewise.
9581 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9582 * stdlib/setcontext.c (setcontext): Likewise.
9583 * stdlib/setenv.c (setenv): Likewise.
9584 (unsetenv): Likewise.
9585 * stdlib/srand48.c (srand48): Likewise.
9586 * stdlib/srand48_r.c (__srand48_r): Likewise.
9587 * stdlib/swapcontext.c (swapcontext): Likewise.
9588 * stdlib/system.c (__libc_system): Likewise.
9589 * stdlib/tst-strtod.c (expand): Likewise.
9590 * stdlib/tst-strtol.c (expand): Likewise.
9591 * stdlib/tst-strtoll.c (expand): Likewise.
9592 * streams/fattach.c (fattach): Likewise.
9593 * streams/fdetach.c (fdetach): Likewise.
9594 * streams/getmsg.c (getmsg): Likewise.
9595 * streams/isastream.c (isastream): Likewise.
9596 * string/ffs.c (__ffs): Likewise.
9597 * string/ffsll.c (ffsll): Likewise.
9598 * string/memcmp.c (memcmp_common_alignment): Likewise.
9599 (memcmp_not_common_alignment): Likewise.
9601 * string/memcpy.c (memcpy): Likewise.
9602 * string/memmove.c (MEMMOVE): Likewise.
9603 * string/memset.c (memset): Likewise.
9604 * string/rawmemchr.c (RAWMEMCHR): Likewise.
9605 * string/strchrnul.c (STRCHRNUL): Likewise.
9606 * string/strerror.c (strerror): Likewise.
9607 * string/strndup.c (__strndup): Likewise.
9608 * string/strverscmp.c (__strverscmp): Likewise.
9609 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9610 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9611 (clnttcp_freeres): Likewise.
9612 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9613 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9614 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9615 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9616 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9617 (xdr_callhdr): Likewise.
9618 * sunrpc/rpcinfo.c (udpping): Likewise.
9619 (tcpping): Likewise.
9620 (pstatus): Likewise.
9621 (pmapdump): Likewise.
9623 (deletereg): Likewise.
9624 (getprognum): Likewise.
9625 (getvers): Likewise.
9626 (get_inet_address): Likewise.
9627 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9628 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9629 (svcudp_stat): Likewise.
9630 (svcudp_recv): Likewise.
9631 (svcudp_reply): Likewise.
9632 (svcudp_getargs): Likewise.
9633 (svcudp_freeargs): Likewise.
9634 (svcudp_destroy): Likewise.
9635 * sunrpc/xdr.c (xdr_bytes): Likewise.
9636 (xdr_netobj): Likewise.
9637 (xdr_string): Likewise.
9638 (xdr_wrapstring): Likewise.
9639 * sunrpc/xdr_float.c (xdr_float): Likewise.
9640 (xdr_double): Likewise.
9641 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9642 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9643 * sysvipc/ftok.c (ftok): Likewise.
9644 * sysvipc/msgctl.c (msgctl): Likewise.
9645 * sysvipc/msgget.c (msgget): Likewise.
9646 * sysvipc/msgrcv.c (msgrcv): Likewise.
9647 * sysvipc/msgsnd.c (msgsnd): Likewise.
9648 * sysvipc/semget.c (semget): Likewise.
9649 * sysvipc/semop.c (semop): Likewise.
9650 * sysvipc/shmat.c (shmat): Likewise.
9651 * sysvipc/shmctl.c (shmctl): Likewise.
9652 * sysvipc/shmdt.c (shmdt): Likewise.
9653 * sysvipc/shmget.c (shmget): Likewise.
9654 * termios/cfmakeraw.c (cfmakeraw): Likewise.
9655 * termios/speed.c (cfgetospeed): Likewise.
9656 (cfgetispeed): Likewise.
9657 (cfsetospeed): Likewise.
9658 (cfsetispeed): Likewise.
9659 * termios/tcflow.c (tcflow): Likewise.
9660 * termios/tcflush.c (tcflush): Likewise.
9661 * termios/tcgetattr.c (__tcgetattr): Likewise.
9662 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9663 * termios/tcgetsid.c (tcgetsid): Likewise.
9664 * termios/tcsendbrk.c (tcsendbreak): Likewise.
9665 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9666 * time/adjtime.c (__adjtime): Likewise.
9667 * time/dysize.c (dysize): Likewise.
9668 * time/ftime.c (ftime): Likewise.
9669 * time/getitimer.c (__getitimer): Likewise.
9670 * time/gettimeofday.c (__gettimeofday): Likewise.
9671 * time/gmtime.c (__gmtime_r): Likewise.
9673 * time/localtime.c (__localtime_r): Likewise.
9674 (localtime): Likewise.
9675 * time/offtime.c (__offtime): Likewise.
9676 * time/settimeofday.c (__settimeofday): Likewise.
9677 * time/stime.c (stime): Likewise.
9678 * time/strftime_l.c (tm_diff): Likewise.
9679 (iso_week_days): Likewise.
9680 * time/strptime.c (strptime): Likewise.
9681 * time/time.c (time): Likewise.
9682 * time/timespec_get.c (timespec_get): Likewise.
9683 * time/tzset.c (tzset_internal): Likewise.
9684 (compute_change): Likewise.
9685 (__tz_compute): Likewise.
9686 * wcsmbs/btowc.c (__btowc): Likewise.
9687 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9688 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9689 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9690 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9691 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9692 * wcsmbs/wcscat.c (__wcscat): Likewise.
9693 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9694 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9695 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9696 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9697 * wcsmbs/wcsdup.c (wcsdup): Likewise.
9698 * wcsmbs/wcslen.c (__wcslen): Likewise.
9699 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9700 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9701 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9702 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9703 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9704 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9705 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9706 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9707 * wcsmbs/wcstok.c (wcstok): Likewise.
9708 * wcsmbs/wctob.c (wctob): Likewise.
9709 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9710 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9711 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9712 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9713 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9714 * wcsmbs/wmemset.c (__wmemset): Likewise.
9715 * wctype/wcfuncs.c (__towlower): Likewise.
9716 (__towupper): Likewise.
9718 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9719 (lll_unlock_elision): Add adapt_count parameter.
9721 2015-10-15 Joseph Myers <joseph@codesourcery.com>
9723 * sysdeps/nptl/configure.ac: Do not give errors based on the
9724 results of top-level configure tests.
9725 * sysdeps/nptl/configure: Regenerated.
9727 * configure.ac (libc_cv_Bgroup): Remove configure test.
9728 * configure: Regenerated.
9729 * config.make.in (have-Bgroup): Remove variable.
9731 * configure.ac (sizeof_long_double): Remove configure test.
9732 * configure: Regenerated.
9733 * config.make.in (sizeof-long-double): Remove variable.
9735 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9736 * configure: Regenerated.
9737 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9739 (exceptions): Likewise.
9740 * sysdeps/arm/configure: Regenerated.
9741 * config.make.in (exceptions): Remove variable.
9742 * Makeconfig (uses-callbacks): Use -fexceptions instead of
9744 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9745 (CFLAGS-vdprintf_chk.c): Likewise.
9746 (CFLAGS-printf_chk.c): Likewise.
9747 (CFLAGS-fprintf_chk.c): Likewise.
9748 (CFLAGS-vprintf_chk.c): Likewise.
9749 (CFLAGS-vfprintf_chk.c): Likewise.
9750 (CFLAGS-gets_chk.c): Likewise.
9751 (CFLAGS-fgets_chk.c): Likewise.
9752 (CFLAGS-fgets_u_chk.c): Likewise.
9753 (CFLAGS-fread_chk.c): Likewise.
9754 (CFLAGS-fread_u_chk.c): Likewise.
9755 (CFLAGS-wprintf_chk.c): Likewise.
9756 (CFLAGS-fwprintf_chk.c): Likewise.
9757 (CFLAGS-vwprintf_chk.c): Likewise.
9758 (CFLAGS-vfwprintf_chk.c): Likewise.
9759 (CFLAGS-fgetws_chk.c): Likewise.
9760 (CFLAGS-fgetws_u_chk.c): Likewise.
9761 * libio/Makefile (CFLAGS-fileops.c): Likewise.
9762 (CFLAGS-fputc.c): Likewise.
9763 (CFLAGS-fputwc.c): Likewise.
9764 (CFLAGS-freopen64.c): Likewise.
9765 (CFLAGS-freopen.c): Likewise.
9766 (CFLAGS-fseek.c): Likewise.
9767 (CFLAGS-fseeko64.c): Likewise.
9768 (CFLAGS-fseeko.c): Likewise.
9769 (CFLAGS-ftello64.c): Likewise.
9770 (CFLAGS-ftello.c): Likewise.
9771 (CFLAGS-fwide.c): Likewise.
9772 (CFLAGS-genops.c): Likewise.
9773 (CFLAGS-getc.c): Likewise.
9774 (CFLAGS-getchar.c): Likewise.
9775 (CFLAGS-getwc.c): Likewise.
9776 (CFLAGS-getwchar.c): Likewise.
9777 (CFLAGS-iofclose.c): Likewise.
9778 (CFLAGS-iofflush.c): Likewise.
9779 (CFLAGS-iofgetpos64.c): Likewise.
9780 (CFLAGS-iofgetpos.c): Likewise.
9781 (CFLAGS-iofgets.c): Likewise.
9782 (CFLAGS-iofgetws.c): Likewise.
9783 (CFLAGS-iofputs.c): Likewise.
9784 (CFLAGS-iofputws.c): Likewise.
9785 (CFLAGS-iofread.c): Likewise.
9786 (CFLAGS-iofsetpos64.c): Likewise.
9787 (CFLAGS-iofsetpos.c): Likewise.
9788 (CFLAGS-ioftell.c): Likewise.
9789 (CFLAGS-iofwrite.c): Likewise.
9790 (CFLAGS-iogetdelim.c): Likewise.
9791 (CFLAGS-iogetline.c): Likewise.
9792 (CFLAGS-iogets.c): Likewise.
9793 (CFLAGS-iogetwline.c): Likewise.
9794 (CFLAGS-ioputs.c): Likewise.
9795 (CFLAGS-ioseekoff.c): Likewise.
9796 (CFLAGS-ioseekpos.c): Likewise.
9797 (CFLAGS-iosetbuffer.c): Likewise.
9798 (CFLAGS-iosetvbuf.c): Likewise.
9799 (CFLAGS-ioungetc.c): Likewise.
9800 (CFLAGS-ioungetwc.c): Likewise.
9801 (CFLAGS-oldfileops.c): Likewise.
9802 (CFLAGS-oldiofclose.c): Likewise.
9803 (CFLAGS-oldiofgetpos64.c): Likewise.
9804 (CFLAGS-oldiofgetpos.c): Likewise.
9805 (CFLAGS-oldiofsetpos64.c): Likewise.
9806 (CFLAGS-oldiofsetpos.c): Likewise.
9807 (CFLAGS-peekc.c): Likewise.
9808 (CFLAGS-putc.c): Likewise.
9809 (CFLAGS-putchar.c): Likewise.
9810 (CFLAGS-putwc.c): Likewise.
9811 (CFLAGS-putwchar.c): Likewise.
9812 (CFLAGS-rewind.c): Likewise.
9813 (CFLAGS-wfileops.c): Likewise.
9814 (CFLAGS-wgenops.c): Likewise.
9815 (CFLAGS-oldiofopen.c): Likewise.
9816 (CFLAGS-iofopen.c): Likewise.
9817 (CFLAGS-iofopen64.c): Likewise.
9818 (CFLAGS-oldtmpfile.c): Likewise.
9819 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9820 (CFLAGS-fprintf.c): Likewise.
9821 (CFLAGS-printf.c): Likewise.
9822 (CFLAGS-vfwprintf.c): Likewise.
9823 (CFLAGS-vfscanf.c): Likewise.
9824 (CFLAGS-vfwscanf.c): Likewise.
9825 (CFLAGS-fscanf.c): Likewise.
9826 (CFLAGS-scanf.c): Likewise.
9827 (CFLAGS-isoc99_vfscanf.c): Likewise.
9828 (CFLAGS-isoc99_vscanf.c): Likewise.
9829 (CFLAGS-isoc99_fscanf.c): Likewise.
9830 (CFLAGS-isoc99_scanf.c): Likewise.
9831 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9832 (CFLAGS-isoc99_fwscanf.c): Likewise.
9833 (CFLAGS-isoc99_vwscanf.c): Likewise.
9834 (CFLAGS-isoc99_vfwscanf.c): Likewise.
9836 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9838 * login/tst-utmp.c (do_prepare): Likewise.
9839 * rt/tst-aio.c (do_prepare): Likewise.
9840 * rt/tst-aio64.c (do_prepare): Likewise.
9842 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9844 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9845 (__lll_lock_elision): Remove adapt_count decrement...
9846 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9847 (__lll_trylock_elision): Likewise.
9848 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9849 (__lll_unlock_elision): ... to here. And utilize
9850 new adapt_count parameter.
9851 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9852 (__lll_unlock_elision): Update to include adapt_count
9854 (lll_unlock_elision): Pass pointer to adapt_count
9857 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9859 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9860 Add elision adapt_count parameter to list of arguments.
9861 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9862 (lll_unlock_elision): Update with new parameter list
9863 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9864 (lll_unlock_elision): Likewise.
9865 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9866 (lll_unlock_elision): Likewise.
9868 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
9871 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9874 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9876 [IS_IN (rtld)] (__strdup): Likewise.
9877 [IS_IN (rtld)] (__strerror_r): Likewise.
9878 [IS_IN (rtld)] (__strsep_g): Likewise.
9879 [IS_IN (rtld)] (memchr): Likewise.
9880 [IS_IN (rtld)] (memcmp): Likewise.
9881 [IS_IN (rtld)] (memcpy): Likewise.
9882 [IS_IN (rtld)] (memmove): Likewise.
9883 [IS_IN (rtld)] (memset): Likewise.
9884 [IS_IN (rtld)] (rawmemchr): Likewise.
9885 [IS_IN (rtld)] (stpcpy): Likewise.
9886 [IS_IN (rtld)] (strchr): Likewise.
9887 [IS_IN (rtld)] (strcmp): Likewise.
9888 [IS_IN (rtld)] (strlen): Likewise.
9889 [IS_IN (rtld)] (strnlen): Likewise.
9890 [IS_IN (rtld)] (strsep): Likewise.
9892 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9894 [IS_IN (rtld)] (__strtoul_internal): Likewise.
9896 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9898 [IS_IN (rtld)] (__libc_sigaction): Likewise.
9900 * include/setjmp.h (__longjmp): Add attribute_hidden.
9901 [IS_IN (rtld)] (__sigsetjmp): Likewise.
9903 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9904 Add attribute_hidden.
9906 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9907 [IS_IN (rtld)] (__open): Likewise.
9908 [IS_IN (rtld)] (__fcntl): Likewise.
9910 * include/dirent.h (__opendirat): Add attribute_hidden.
9911 (__getdents): Likewise.
9912 (__getdents64): Likewise.
9913 (__alloc_dir): Likewise.
9914 [IS_IN (rtld)] (__closedir): Likewise.
9915 [IS_IN (rtld)] (__fdopendir): Likewise.
9916 [IS_IN (rtld)] (__readdir): Likewise.
9917 [IS_IN (rtld)] (__readdir64): Likewise.
9918 [IS_IN (rtld)] (__rewinddir): Likewise.
9920 * include/dlfcn.h (_dl_catch_error): Moved to ...
9921 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9924 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9925 (_itoa_word): Likewise.
9927 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9928 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9929 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9930 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9931 (_dl_higher_prime_number): Likewise.
9932 (_dl_debug_printf_c): Likewise.
9933 (_dl_signal_cerror): Likewise.
9934 (_dl_receive_error): Likewise.
9935 (_dl_reloc_bad_type): Likewise.
9936 (_dl_resolve_conflicts): Likewise.
9937 (_dl_check_all_versions): Likewise.
9938 (_dl_check_map_versions): Likewise.
9939 (_dl_sort_fini): Likewise.
9940 (_dl_debug_initialize): Likewise.
9941 (_dl_init_paths): Likewise.
9942 (_dl_show_auxv): Likewise.
9943 (_dl_next_ld_env_entry): Likewise.
9944 (_dl_important_hwcaps): Likewise.
9945 (_dl_load_cache_lookup): Likewise.
9946 (_dl_update_slotinfo): Likewise.
9947 (_dl_show_scope): Likewise.
9949 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9951 (_wordcopy_fwd_dest_aligned): Likewise.
9952 (_wordcopy_bwd_aligned): Likewise.
9953 (_wordcopy_bwd_dest_aligned): Likewise.
9955 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9956 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9958 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9960 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9962 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
9964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9967 2015-10-15 Joseph Myers <joseph@codesourcery.com>
9969 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9971 * sysdeps/i386/configure: Regenerated.
9972 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9975 * configure.ac (libc_cv_asm_previous_directive): Remove configure
9977 (libc_cv_asm_popsection_directive): Likewise.
9978 * configure: Regenerated.
9979 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9980 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9981 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9982 (__make_section_unallocated): Make definition unconditional.
9983 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9984 Remove conditional definition.
9985 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9986 (__make_section_unallocated): Likewise.
9988 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9989 * configure: Regenerated.
9990 * config.make.in (static-libgcc): Remove variable.
9991 * Makerules (build-shlib-helper): Use -static-libgcc instead of
9993 (build-module-helper): Likewise.
9995 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9996 * configure: Regenerated.
9998 2015-10-15 Florian Weimer <fweimer@redhat.com>
10000 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10001 (struct char_buffer): New type.
10002 (char_buffer_start, char_buffer_size, char_buffer_error)
10003 (char_buffer_rewind, char_buffer_add): New functions.
10004 (ADDW): Remove macro, replaced by the char_buffer_add function.
10005 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10006 of extend_alloca. Make control flow more explicit.
10008 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10011 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10012 Add -fomit-frame-pointer.
10013 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10015 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10017 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10018 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10020 only if !__GNUC_PREREQ (5,0).
10021 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10022 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10023 (INTERNAL_SYSCALL_NCS): Likewise.
10024 (LOADREGS_0): New macro for GCC 5.
10025 (ASMARGS_0): Likewise.
10026 (LOADREGS_1): Likewise.
10027 (ASMARGS_1): Likewise.
10028 (LOADREGS_2): Likewise.
10029 (ASMARGS_2): Likewise.
10030 (LOADREGS_3): Likewise.
10031 (ASMARGS_3): Likewise.
10032 (LOADREGS_4): Likewise.
10033 (ASMARGS_4): Likewise.
10034 (LOADREGS_5): Likewise.
10035 (ASMARGS_5): Likewise.
10036 (LOADREGS_6): Likewise.
10037 (ASMARGS_6): Likewise.
10039 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10041 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10042 -fomit-frame-pointer.
10043 (CFLAGS-mmap64.c): Likewise.
10044 (CFLAGS-semtimedop.c): Likewise.
10045 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10046 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10047 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10048 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10050 2015-10-15 Florian Weimer <fweimer@redhat.com>
10053 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10054 _dl_pointer_guard member.
10055 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10057 (security_init): Always set up pointer guard.
10058 (process_envvars): Do not process LD_POINTER_GUARD.
10060 2015-10-14 Joseph Myers <joseph@codesourcery.com>
10063 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10066 (__lround): Do not add 0.5 to integer or out-of-range arguments.
10068 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
10071 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10074 2015-10-14 Namhyung Kim <namhyung@gmail.com>
10076 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10078 2015-10-14 Carlos O'Donell <carlos@redhat.com>
10080 * include/stap-probe.h: Fix macro definition formatting.
10082 2015-10-14 Florian Weimer <fweimer@redhat.com>
10085 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10086 load and store num_ifs.
10088 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10091 * sysdeps/unix/sysv/linux/sched_getaffinity.c
10092 (__sched_getaffinity_new): Add libc_hidden_proto and
10095 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10098 * scripts/localplt.awk: Also allow GOT references.
10099 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10100 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10101 with "+ REL R_386_GLOB_DAT".
10102 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10103 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10105 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10107 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10108 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10109 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10111 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10112 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10113 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10114 INTERNAL_SYSCALLINTERNAL_SYSCALL and
10115 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10116 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10117 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10118 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10120 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10122 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10125 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10126 <math_private.h> and <stdint.h>.
10127 (__llround): Avoid conversions to and from long long int, and
10128 subtractions, where those might raise spurious exceptions.
10129 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10130 <math_private.h> and <stdint.h>.
10131 (__llroundf): Avoid conversions to and from long long int, and
10132 subtractions, where those might raise spurious exceptions.
10134 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10136 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10137 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10138 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10139 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10140 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10141 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10142 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10143 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10144 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10145 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10146 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10147 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10148 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10149 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10150 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10151 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10152 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10153 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10154 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10155 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10156 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10157 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10158 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10159 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10160 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10161 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10162 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10163 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10164 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10165 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10166 (__xstat64_conv): Likewise.
10167 (__xstat32_conv): Likewise.
10169 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10171 * sysdeps/unix/sysv/linux/sysdep.h: New file.
10172 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10173 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10174 <sysdeps/unix/sysv/linux/sysdep.h>.
10175 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10176 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10177 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10178 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10179 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10180 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10181 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10182 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10183 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10191 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10192 (sysdep-dl-routines): Add sysdep.
10193 [$(subdir) == nptl] (libpthread-routines): Likewise.
10194 [$(subdir) == rt] (librt-routines): Likewise.
10195 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10196 PIC when branching to SYSCALL_ERROR_LABEL.
10197 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10198 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10199 <sysdeps/unix/sysv/linux/sysdep.h>.
10200 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10201 (SYSCALL_ERROR_ERRNO): Removed.
10202 (SYSCALL_ERROR_HANDLER): Changed to empty.
10203 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10204 (__syscall_error): New prototype.
10205 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10206 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10208 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10211 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10212 (_dl_runtime_resolve_avx512): Make it a hidden alias of
10213 _dl_runtime_resolve_avx.
10214 (_dl_runtime_profile_avx512): Make it a hidden alias of
10215 _dl_runtime_profile_avx.
10217 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10219 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10220 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10221 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10222 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10225 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10226 New configure test.
10227 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10228 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10229 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10230 <math_private.h> and <stdint.h>.
10231 (__llrint): Avoid conversions to long long int where those might
10232 raise spurious exceptions.
10233 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10234 <math_private.h> and <stdint.h>.
10235 (__llrintf): Avoid conversions to long long int where those might
10236 raise spurious exceptions.
10238 2015-10-12 Andreas Schwab <schwab@suse.de>
10241 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
10242 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10243 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
10244 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10246 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
10247 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10248 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10249 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10250 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10252 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
10253 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10254 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10255 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10256 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10257 ($(objpfx)tst-ftell-active-handler.out)
10258 ($(objpfx)tst-ftell-append.out)
10259 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10260 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10261 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10262 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10263 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
10264 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10265 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10266 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10267 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10268 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10269 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10270 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10271 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10272 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10273 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10274 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10275 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10276 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10277 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
10278 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10279 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10280 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10281 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10282 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
10283 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10284 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10285 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10287 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
10288 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10290 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
10291 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10292 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10293 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10295 * libio/tst_wprintf2.c (main): Use explicit locale.
10296 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10298 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10300 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10302 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10304 2015-10-09 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10307 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10309 * sysdeps/arm/libm-test-ulps: Regenerated.
10312 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10315 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10316 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10317 and <fix-fp-int-convert-overflow.h>.
10318 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10319 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10320 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10321 and <fix-fp-int-convert-overflow.h>.
10322 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10323 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10324 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10325 <fix-fp-int-convert-overflow.h>.
10326 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10327 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10328 * sysdeps/ieee754/dbl-64/s_lround.c: Include
10329 <fix-fp-int-convert-overflow.h>.
10330 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10331 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10332 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10333 and <fix-fp-int-convert-overflow.h>.
10334 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10335 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10336 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10337 <limits.h> and <fix-fp-int-convert-overflow.h>.
10338 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10339 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10340 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10341 and <fix-fp-int-convert-overflow.h>.
10342 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10343 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10344 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10345 and <fix-fp-int-convert-overflow.h>.
10346 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10347 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10348 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10350 2015-10-09 Carlos O'Donell <carlos@redhat.com>
10353 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10354 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10357 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10358 Phil Blundell <pb@pbcl.net>
10360 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10361 * nptl/tst-cancel26.c: New file.
10362 * nptl/tst-cancel27.c: Likewise.
10364 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
10366 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10367 __ILP32__ isn't defined.
10369 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10370 (lrintf): Likewise.
10371 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10372 (lrintl): Likewise.
10373 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10374 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10375 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10377 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10379 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10382 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10384 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10385 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10387 2015-10-09 Joseph Myers <joseph@codesourcery.com>
10389 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10391 * sysdeps/i386/configure: Regenerated.
10392 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10394 * sysdeps/x86_64/configure: Regenerated.
10395 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10396 Make code unconditional.
10398 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10400 * sysdeps/i386/configure: Regenerated.
10401 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10403 * sysdeps/x86_64/configure: Regenerated.
10404 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10405 Make code unconditional.
10406 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10410 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10411 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10412 code unconditional.
10413 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10414 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10415 code unconditional.
10416 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10417 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10418 code unconditional.
10419 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10420 code unconditional.
10421 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10422 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10423 code unconditional.
10424 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10425 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10426 code unconditional.
10427 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10428 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10429 code unconditional.
10430 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10431 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10432 code unconditional.
10433 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10434 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10437 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10438 mantissa to long int before shifting left.
10440 2015-10-08 Joseph Myers <joseph@codesourcery.com>
10443 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10445 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10446 when result overflows but exception would not result from cast.
10447 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10449 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10450 when result overflows but exception would not result from cast.
10451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10453 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10454 when result overflows but exception would not result from cast.
10455 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10457 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10458 when result overflows but exception would not result from cast.
10459 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10461 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10462 when result overflows but exception would not result from cast.
10463 * math/libm-test.inc (lrint_test_data): Add more tests.
10464 (llrint_test_data): Likewise.
10466 2015-10-08 Roland McGrath <roland@hack.frob.com>
10469 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10470 Move out from under [$(run-built-tests) = yes] conditional.
10471 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10472 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10474 2015-10-08 Carlos O'Donell <carlos@redhat.com>
10477 * string/Makefile (tests): Add bug-strcoll2.
10478 (LOCALES): Add cs_CZ.UTF-8.
10479 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10482 * string/bug-strcoll2.c: New file.
10483 * locale/categories.def: Revert commit
10484 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10485 * locale/langinfo.h: Likewise.
10486 * locale/localeinfo.h: Likewise.
10487 * locale/C-collate.c: Likewise.
10488 * locale/programs/ld-collate.c (collate_output): Likewise.
10489 * string/strcoll_l.c (STRDIFF): Likewise.
10490 (STRCOLL): Likewise.
10491 * wcsmbs/wcscoll_l.c: Likewise.
10493 2015-10-08 Joseph Myers <joseph@codesourcery.com>
10495 * math/libm-test.inc (lround_test_data): Do not expect the absence
10496 of "inexact" for some tests with non-integer arguments.
10497 (llround_test_data): Likewise.
10499 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10501 (libc_cv_cc_sse2avx): Likewise.
10502 * sysdeps/i386/configure: Regenerated.
10503 * sysdeps/i386/i686/multiarch/Makefile
10504 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10505 [$(subdir) = math].
10506 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10507 code unconditional.
10508 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10510 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10512 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10514 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10516 (libc_cv_cc_sse2avx): Likewise.
10517 * sysdeps/x86_64/configure: Regenerated.
10518 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10520 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10521 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10523 (_dl_runtime_profile)
10524 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10526 * sysdeps/x86_64/fpu/multiarch/Makefile
10527 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10529 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10530 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10531 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/e_log.c
10533 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10534 * sysdeps/x86_64/fpu/multiarch/s_atan.c
10535 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10536 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10538 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10540 * sysdeps/x86_64/fpu/multiarch/s_sin.c
10541 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10542 * sysdeps/x86_64/fpu/multiarch/s_tan.c
10543 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10544 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10545 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10546 (HAVE_SSE2AVX_SUPPORT): Likewise.
10548 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
10550 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10551 instead of #pragma optimize.
10553 2015-10-07 Carlos O'Donell <carlos@redhat.com>
10556 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10557 as is similarly done in systrim and _int_free already.
10559 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10561 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10563 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10566 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10568 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10569 overflows but exception would not result from cast.
10570 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10572 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10573 overflows but exception would not result from cast.
10574 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10576 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10577 overflows but exception would not result from cast.
10578 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10580 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10581 overflows but exception would not result from cast.
10582 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10584 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10585 overflows but exception would not result from cast.
10586 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10588 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10589 overflows but exception would not result from cast.
10590 * math/libm-test.inc (lround_test_data): Add more tests.
10591 (llround_test_data): Likewise.
10593 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
10595 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10596 (CFLAGS-ialloc.c): Ditto.
10597 (CFLAGS-scheck.c): Ditto.
10599 2015-10-07 Carlos O'Donell <carlos@redhat.com>
10602 * manual/filesys.texi (Storage Allocation): Fix argument order for
10605 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10608 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10609 exponent below 48 inside case for non-overflowing exponent.
10610 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10612 2015-10-07 Florian Weimer <fweimer@redhat.com>
10614 * iconvdata/cp737.h (from_idx): Add const.
10615 * iconvdata/cp775.h (from_idx): Likewise.
10617 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10619 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10620 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10621 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10625 file, conditioned on [!_LP64].
10626 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10627 [!_LP64] (__lround): Do not define as function or alias.
10628 [!_LP64] (lround): Likewise.
10629 [!_LP64] (__lroundl): Likewise.
10630 [!_LP64] (lroundl): Likewise.
10631 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10633 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10636 2015-10-06 Joseph Myers <joseph@codesourcery.com>
10638 * math/libm-test.inc (lrint_test_data): Add more tests.
10639 (llrint_test_data): Likewise.
10640 (lround_test_data): Likewise.
10641 (llround_test_data): Likewise.
10643 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10644 (llrint_test_data): Add tests used for lrint.
10646 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10648 * sysdeps/i386/configure: Regenerated.
10649 * sysdeps/i386/i686/multiarch/Makefile
10650 [$(config-cflags-sse4) = yes]: Make code unconditional.
10651 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10653 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10655 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10657 * sysdeps/x86_64/configure: Regenerated.
10658 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10659 Make code unconditional.
10660 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10662 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10663 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10665 * scripts/rpm2dynsym.sh: Remove file.
10667 2015-10-06 Florian Weimer <fweimer@redhat.com>
10669 * configure.ac (libc_cv_cxx_thread_local): Define.
10670 * configure: Regenerate.
10671 * config.make.in (have-cxx-thread_local): Define.
10672 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10673 (LDLIBS-tst-thread_local1): Define.
10674 (tests): Add tst-thread_local1.
10675 [have-cxx-thread_local != yes] (tests-unsupported): Add
10677 * nptl/tst-thread_local1.cc: New file.
10679 2015-10-06 Joseph Myers <joseph@codesourcery.com>
10682 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10683 (u_thres): Likewise.
10684 (__expl): Determine whether to call __kernel_standard_l based on
10685 value of result, not argument.
10687 * math/libm-test.inc (scalb_test_data): Add more expectations for
10688 the "inexact" exception.
10691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10692 0.0L for argument 1.0L.
10695 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10696 constant 0.0L when computing infinite result.
10698 2015-10-06 Florian Weimer <fweimer@redhat.com>
10701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10702 malloc_usable_size.
10704 2015-10-06 Florian Weimer <fweimer@redhat.com>
10707 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10708 Mangle function pointer before storing it.
10709 (__call_tls_dtors): Demangle function pointer before calling it.
10711 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10714 * iconv/gconv_db.c (gen_steps): Check for additional errors.
10715 Clean up on failure.
10717 2015-10-05 Joseph Myers <joseph@codesourcery.com>
10720 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10721 long int variable to store possibly incremented high part of
10723 * math/libm-test.inc (lround_test_data): Add tests used for
10724 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
10725 for tests requiring 64-bit long. Do not condition tests on
10726 [TEST_FLOAT] unnecessarily.
10727 (llround_test_data): Add tests used for lround. Add another
10728 expectation for the "inexact" exception. Do not condition tests
10729 on [TEST_FLOAT] unnecessarily.
10734 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10735 * sysdeps/ieee754/dbl-64/e_log10.c: Include
10736 <fix-int-fp-convert-zero.h>.
10737 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10738 * sysdeps/ieee754/dbl-64/e_log2.c: Include
10739 <fix-int-fp-convert-zero.h>.
10740 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10741 * sysdeps/ieee754/dbl-64/s_erf.c: Include
10742 <fix-int-fp-convert-zero.h>.
10743 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10744 * sysdeps/ieee754/dbl-64/s_logb.c: Include
10745 <fix-int-fp-convert-zero.h>.
10746 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10747 * sysdeps/ieee754/flt-32/e_log10f.c: Include
10748 <fix-int-fp-convert-zero.h>.
10749 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10750 * sysdeps/ieee754/flt-32/e_log2f.c: Include
10751 <fix-int-fp-convert-zero.h>.
10752 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10753 * sysdeps/ieee754/flt-32/s_erff.c: Include
10754 <fix-int-fp-convert-zero.h>.
10755 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10756 * sysdeps/ieee754/flt-32/s_logbf.c: Include
10757 <fix-int-fp-convert-zero.h>.
10758 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10760 <fix-int-fp-convert-zero.h>.
10761 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10763 <fix-int-fp-convert-zero.h>.
10764 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10765 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10766 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10767 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10769 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10771 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
10773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10775 2015-10-02 Joseph Myers <joseph@codesourcery.com>
10778 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10779 overflowing computation.
10780 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10781 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10793 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10795 * math/libm-test.inc (nexttoward_test_data): Add more tests.
10797 * nss/rewrite_field.c (__nss_rewrite_field): Use
10799 * nss/valid_field.c (__nss_valid_field): Likewise.
10800 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10802 2015-10-02 Florian Weimer <fweimer@redhat.com>
10805 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10806 (__nss_invalid_field_characters, __nss_valid_field)
10807 (__nss_valid_list_field, __nss_rewrite_field): Declare.
10808 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10809 tst-field.c: New file.
10810 * nss/Makefile (routines): Add valid_field, rewrite_field.
10811 (tests-static): Define unconditionally.
10812 (tests): Include tests-static.
10813 [build-static-nss] (tests-static): Use append.
10814 [build-static-nss] (tests): Remove modification.
10815 * nss/getent.c (print_group): Call putgrent. Report error.
10816 (print_gshadow): Call putsgent. Report error.
10817 (print_passwd): Call putpwent. Report error.
10818 (print_shadow): Call putspent. Report error.
10819 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10820 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10821 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
10822 name, password, directory, shell fields for valid syntax. Rewrite
10823 GECOS field to match syntax.
10824 * pwd/Makefile (tests): Add tst-putpwent.
10825 * pwd/tst-putpwent.c: New file.
10826 * grp/putgrent.c (putgrent): Convert to ISO function definition.
10827 Check grName, grpasswd, gr_mem fields for valid syntax.
10828 Change loop variable i to size_t.
10829 * grp/Makefile (tests): Add tst-putgrent.
10830 * grp/tst-putgrent.c: New file.
10831 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10833 * shadow/Makefile (tests): Add tst-putspent.
10834 * shadow/tst-putspent.c: New file.
10835 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10836 sg_mem fields for valid syntax.
10837 * gshadow/Makefile (tests): Add tst-putsgent.
10838 * gshadow/tst-putsgent.c: New file.
10840 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10842 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10843 assembly instructions.
10845 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10847 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10848 prefix from operands.
10850 2015-10-01 Joseph Myers <joseph@codesourcery.com>
10854 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10856 (MAXLGM): Do not use diagnostic control macros.
10857 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10858 threshold for ldbl-128ibm.
10859 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10860 instead of multiplying by log then subtracting.
10861 * math/auto-libm-test-in: Add more tests of lgamma.
10862 * math/auto-libm-test-out: Regenerated.
10864 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10865 (TYPE_HEX_DIG): Likewise.
10866 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10867 precisions when printing floating-point numbers.
10868 (check_float_internal): Likewise.
10870 2015-09-30 Joseph Myers <joseph@codesourcery.com>
10873 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10874 of log (10) rounded downward to 48 bits.
10875 (log10_low): Use corresponding low part of log (10).
10878 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10879 compute result as (x - x) / (x - x) not as 0 / 0.
10880 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10881 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10883 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10884 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10886 * math/auto-libm-test-out: Regenerated.
10887 * math/libm-test.inc (acos_test_data): Add more tests.
10888 (asin_test_data): Likewise.
10889 (asinh_test_data): Likewise.
10890 (atan_test_data): Likewise.
10891 (atanh_test_data): Likewise.
10892 (atan2_test_data): Likewise.
10893 (cbrt_test_data): Likewise.
10894 (ceil_test_data): Likewise.
10895 (copysign_test_data): Likewise.
10896 (cos_test_data): Likewise.
10897 (cosh_test_data): Likewise.
10898 (erf_test_data): Likewise.
10899 (erfc_test_data): Likewise.
10900 (exp_test_data): Likewise.
10901 (exp10_test_data): Likewise.
10902 (exp2_test_data): Likewise.
10903 (expm1_test_data): Likewise.
10904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10906 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
10909 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10911 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10912 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10914 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10915 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10917 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10918 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10919 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10920 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10922 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10923 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10925 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10926 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10928 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10929 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10931 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10932 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10934 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10937 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10938 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10940 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10942 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10944 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10945 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10947 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10949 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10951 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10955 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10957 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10959 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10961 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10963 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10964 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10966 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10968 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10974 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10975 Replace ../i486/pthread_cond_timedwait.S with
10976 ../pthread_cond_timedwait.S.
10978 2015-09-30 Joseph Myers <joseph@codesourcery.com>
10980 * math/libm-test.inc (acos_test_data): Refine expectations for
10981 errno and "inexact" exceptions.
10982 (acosh_test_data): Likewise.
10983 (asin_test_data): Likewise.
10984 (asinh_test_data): Likewise.
10985 (atan_test_data): Likewise.
10986 (atanh_test_data): Likewise.
10987 (atan2_test_data): Likewise.
10988 (cbrt_test_data): Likewise.
10989 (ceil_test_data): Likewise.
10990 (copysign_test_data): Likewise.
10991 (cosh_test_data): Likewise.
10992 (erf_test_data): Likewise.
10993 (erfc_test_data): Likewise.
10994 (exp_test_data): Likewise.
10995 (exp10_test_data): Likewise.
10996 (exp2_test_data): Likewise.
10997 (expm1_test_data): Likewise.
10998 (fabs_test_data): Likewise.
10999 (floor_test_data): Likewise.
11000 (fma_test_data): Likewise.
11001 (fmax_test_data): Likewise.
11002 (fmin_test_data): Likewise.
11003 (fmod_test_data): Likewise.
11004 (fpclassify_test_data): Likewise.
11005 (frexp_test_data): Likewise.
11006 (hypot_test_data): Likewise.
11007 (ilogb_test_data): Likewise.
11008 (isgreater_test_data): Likewise.
11009 (isgreaterequal_test_data): Likewise.
11010 (isinf_test_data): Likewise.
11011 (isless_test_data): Likewise.
11012 (islessequal_test_data): Likewise.
11013 (islessgreater_test_data): Likewise.
11014 (isnan_test_data): Likewise.
11015 (isnormal_test_data): Likewise.
11016 (issignaling_test_data): Likewise.
11017 (isunordered_test_data): Likewise.
11018 (j0_test_data): Likewise.
11019 (j1_test_data): Likewise.
11020 (jn_test_data): Likewise.
11021 (lgamma_test_data): Likewise.
11022 (lrint_test_data): Likewise.
11023 (llrint_test_data): Likewise.
11024 (log_test_data): Likewise.
11025 (log10_test_data): Likewise.
11026 (log1p_test_data): Likewise.
11027 (log2_test_data): Likewise.
11028 (logb_test_data): Likewise.
11029 (lround_test_data): Likewise.
11030 (llround_test_data): Likewise.
11031 (modf_test_data): Likewise.
11032 (nearbyint_test_data): Likewise.
11033 (nextafter_test_data): Likewise.
11034 (nexttoward_test_data): Likewise.
11035 (pow_test_data): Likewise.
11036 (remainder_test_data): Likewise.
11037 (remquo_test_data): Likewise.
11038 (rint_test_data): Likewise.
11039 (round_test_data): Likewise.
11040 (signbit_test_data): Likewise.
11041 (sinh_test_data): Likewise.
11042 (sqrt_test_data): Likewise.
11043 (tanh_test_data): Likewise.
11044 (tgamma_test_data): Likewise.
11045 (trunc_test_data): Likewise.
11046 (y0_test_data): Likewise.
11047 (y1_test_data): Likewise.
11048 (yn_test_data): Likewise.
11049 (significand_test_data): Likewise.
11051 2015-09-29 Carlos O'Donell <carlos@redhat.com>
11053 * manual/filesys.texi (Storage Allocation): Document that
11054 posix_fallocate emulation fails when fd is open with O_WRONLY.
11056 2015-09-28 Joseph Myers <joseph@codesourcery.com>
11059 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11060 allow more cases with X^2 + Y^2 >= 0.5.
11061 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
11062 normal element in sum instead of special-casing based on values of
11064 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11065 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
11066 -1 as normal element in sum instead of special-casing based on
11067 values of arguments.
11068 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11069 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11070 (__x2y2m1): Update comment.
11071 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
11072 as normal element in sum instead of special-casing based on values
11074 * math/s_clog.c (__clog): Handle more cases using log1p without
11076 * math/s_clog10.c (__clog10): Likewise.
11077 * math/s_clog10f.c (__clog10f): Likewise.
11078 * math/s_clog10l.c (__clog10l): Likewise.
11079 * math/s_clogf.c (__clogf): Likewise.
11080 * math/s_clogl.c (__clogl): Likewise.
11081 * math/auto-libm-test-in: Add more tests of clog and clog10.
11082 * math/auto-libm-test-out: Regenerated.
11083 * sysdeps/i386/fpu/libm-test-ulps: Update.
11084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11086 2015-09-28 Martin Sebor <msebor@redhat.com>
11089 * string/Makefile (LOCALES): Define.
11090 (gen-locales.mk): Include.
11091 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11092 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11093 * string/tst-strxfrm2.c (do_test): Print the name of the locale
11094 on setlocale failure.
11096 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11099 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11100 (__strftime_internal): Likewise.
11101 * time/tst-strftime.c (do_bz18985): New test.
11102 (do_test): Call it.
11104 2015-09-26 Joseph Myers <joseph@codesourcery.com>
11107 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11108 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
11109 extracting high part.
11110 * math/auto-libm-test-in: Add another test of pow.
11111 * math/auto-libm-test-out: Regenerated.
11112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11114 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11119 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11120 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11121 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11122 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11123 DBL_NARROW_EVAL, reloading the PIC register as needed.
11124 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11125 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11126 FLT_NARROW_EVAL. Use separate return path for case when first
11128 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
11130 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11133 math_check_force_underflow_nonneg.
11134 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11135 underflow for subnormal result.
11136 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11138 math_check_force_underflow_nonneg.
11139 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11140 math_check_force_underflow.
11141 * sysdeps/x86_64/fpu/x86_64-math-asm.h
11142 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11143 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
11145 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11146 * math/auto-libm-test-in: Add more tests of pow.
11147 * math/auto-libm-test-out: Regenerated.
11149 2015-09-25 Florian Weimer <fweimer@redhat.com>
11151 * nss/bug17079.c (init_test_items): Add diagnostic for
11152 inconsistent entries.
11153 (test_buffer_size): Skip inconsistent entries.
11155 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11158 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11159 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11160 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11163 * sysdeps/microblaze/s_fma.c: New file.
11164 * sysdeps/microblaze/s_fmaf.c: Likewise.
11165 * sysdeps/microblaze/sfp-machine.h: Likewise.
11167 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
11170 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11173 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11176 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11178 (__ieee754_hypot) [PIC]: Load PIC register.
11179 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11181 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11182 math_check_force_underflow_nonneg in case where result might be
11184 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11189 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11190 * math/auto-libm-test-in: Add more tests of hypot.
11191 * math/auto-libm-test-out: Regenerated.
11193 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
11195 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11197 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11199 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11200 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11201 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11202 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11203 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11204 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11205 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11207 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11210 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11211 (FLT_CHECK_FORCE_UFLOW): Likewise.
11212 (DBL_CHECK_FORCE_UFLOW): Likewise.
11213 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11214 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11215 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11216 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11217 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11218 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11219 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11220 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11221 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11222 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11223 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11224 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11225 (flt_min): Replace with use of DEFINE_FLT_MIN.
11226 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11227 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11228 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11229 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11230 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11231 (flt_min): Replace with use of DEFINE_FLT_MIN.
11232 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11233 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11234 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11235 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11236 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11237 (flt_min): Replace with use of DEFINE_FLT_MIN.
11238 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11239 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11240 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11241 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11242 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11243 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11244 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11245 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11246 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11247 (__atan): Use DBL_CHECK_FORCE_UFLOW.
11248 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11249 (flt_min): Replace with use of DEFINE_FLT_MIN.
11250 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11251 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11252 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11253 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
11255 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11256 (flt_min): Replace with use of DEFINE_FLT_MIN.
11257 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
11259 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11260 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11262 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11263 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11264 (flt_min): Replace with use of DEFINE_FLT_MIN.
11266 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11267 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11268 (__log1pl): Use MO.
11271 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11272 $(config-cflags-nofma).
11274 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11276 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11278 2015-09-23 Joseph Myers <joseph@codesourcery.com>
11280 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11281 (TWO127): Likewise.
11283 * sysdeps/generic/math_private.h (fabs_tg): New macro.
11284 (min_of_type): Likewise.
11285 (math_check_force_underflow): Likewise.
11286 (math_check_force_underflow_nonneg): Likewise.
11287 (math_check_force_underflow_complex): Likewise.
11288 * math/e_exp2l.c (__ieee754_exp2l): Use
11289 math_check_force_underflow_nonneg.
11290 * math/k_casinh.c (__kernel_casinh): Likewise.
11291 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11292 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11293 * math/s_catan.c (__catan): Use
11294 math_check_force_underflow_complex.
11295 * math/s_catanf.c (__catanf): Likewise.
11296 * math/s_catanh.c (__catanh): Likewise.
11297 * math/s_catanhf.c (__catanhf): Likewise.
11298 * math/s_catanhl.c (__catanhl): Likewise.
11299 * math/s_catanl.c (__catanl): Likewise.
11300 * math/s_ccosh.c (__ccosh): Likewise.
11301 * math/s_ccoshf.c (__ccoshf): Likewise.
11302 * math/s_ccoshl.c (__ccoshl): Likewise.
11303 * math/s_cexp.c (__cexp): Likewise.
11304 * math/s_cexpf.c (__cexpf): Likewise.
11305 * math/s_cexpl.c (__cexpl): Likewise.
11306 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11307 * math/s_clog10.c (__clog10): Likewise.
11308 * math/s_clog10f.c (__clog10f): Likewise.
11309 * math/s_clog10l.c (__clog10l): Likewise.
11310 * math/s_clogf.c (__clogf): Likewise.
11311 * math/s_clogl.c (__clogl): Likewise.
11312 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11313 * math/s_csinf.c (__csinf): Likewise.
11314 * math/s_csinh.c (__csinh): Likewise.
11315 * math/s_csinhf.c (__csinhf): Likewise.
11316 * math/s_csinhl.c (__csinhl): Likewise.
11317 * math/s_csinl.c (__csinl): Likewise.
11318 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11319 * math/s_csqrtf.c (__csqrtf): Likewise.
11320 * math/s_csqrtl.c (__csqrtl): Likewise.
11321 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11322 * math/s_ctanf.c (__ctanf): Likewise.
11323 * math/s_ctanh.c (__ctanh): Likewise.
11324 * math/s_ctanhf.c (__ctanhf): Likewise.
11325 * math/s_ctanhl.c (__ctanhl): Likewise.
11326 * math/s_ctanl.c (__ctanl): Likewise.
11327 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11328 instead of volatile.
11329 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11330 math_check_force_underflow.
11331 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11332 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11333 volatile when forcing underflow.
11334 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11335 math_check_force_underflow_nonneg.
11336 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11338 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11339 math_check_force_underflow.
11340 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11341 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11342 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11343 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11344 math_check_force_underflow_nonneg.
11345 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11346 math_check_force_underflow.
11347 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11349 instead of volatile.
11350 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11351 math_check_force_underflow.
11352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11354 math_check_force_underflow_nonneg.
11355 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11356 math_check_force_underflow.
11357 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11358 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11359 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11360 math_check_force_underflow_nonneg.
11361 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11363 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11364 math_check_force_underflow.
11365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11366 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11367 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11368 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11369 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11370 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11371 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11372 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11373 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11374 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11375 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11376 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11378 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11379 math_check_force_underflow_nonneg.
11380 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11382 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11383 math_check_force_underflow.
11384 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11385 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11386 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11388 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11389 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11390 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11392 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11395 instead of volatile.
11396 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11397 math_check_force_underflow.
11398 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11400 math_check_force_underflow.
11401 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11403 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11404 Use math_check_force_underflow_nonneg.
11405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11406 math_check_force_underflow.
11407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11411 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11413 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11417 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11418 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11420 math_check_force_underflow_nonneg.
11421 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11422 math_check_force_underflow.
11423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11424 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11425 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11426 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11427 math_check_force_underflow_nonneg.
11428 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11429 math_check_force_underflow.
11430 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11432 instead of volatile.
11433 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11434 math_check_force_underflow.
11436 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11437 * stdlib/strtod_l.c: Include <math_private.h>.
11438 (overflow_value): Use math_narrow_eval.
11439 (underflow_value): Likewise.
11440 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11441 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11442 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11443 (__ieee754_gamma_r): Likewise.
11444 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11448 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11449 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11450 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11451 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11452 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11453 (__ieee754_gammaf_r): Likewise.
11454 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11456 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11457 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11458 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11459 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11460 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11462 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11469 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11471 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11473 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11478 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11481 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
11483 * nptl/Versions: Remove ignored symbols.
11485 2015-09-22 Florian Weimer <fweimer@redhat.com>
11487 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
11488 * nss/Makefile (tests): Update.
11490 2015-09-22 Florian Weimer <fweimer@redhat.com>
11492 * nss/bug18287.c: New file.
11493 * nss/Makefile (tests): Add bug18287.
11495 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11497 * mach/Versions (__mach_host_self_): Add symbol.
11499 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11501 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11504 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11506 Really fix sysdeps/i386/fpu/s_scalbn.S build
11508 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11509 (libc: GLIBC_2_22): Remove unused version set.
11511 2015-09-18 Mike Frysinger <vapier@gentoo.org>
11513 * config.make.in (enable-timezone-tools): New variable.
11514 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11515 (enable_timezone_tools): Export to generated files.
11516 * configure: Regenerate.
11517 * INSTALL: Regenerate.
11518 * manual/install.texi (--disable-timezone-tools): Document new flag.
11519 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11520 ifeq ($(enable-timezone-tools),yes) check.
11522 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11524 * timezone/Makefile: Revert previous change.
11527 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11528 (DEFINE_DBL_MIN): Likewise.
11529 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11530 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11531 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11532 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11533 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11534 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11535 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11536 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11537 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11538 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11539 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11540 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11541 (flt_min): Replace with use of DEFINE_FLT_MIN.
11542 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11543 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11544 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11545 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11546 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11547 (flt_min): Replace with use of DEFINE_FLT_MIN.
11548 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11549 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11550 (flt_min): Replace with use of DEFINE_FLT_MIN.
11551 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11552 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11553 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11554 (__ieee754_hypot): Use DBL_NARROW_EVAL.
11555 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11556 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11557 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11558 (__ieee754_pow): Use DBL_NARROW_EVAL.
11559 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11560 (__ieee754_powf): Use FLT_NARROW_EVAL.
11561 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11562 (__ieee754_expf_sse2): Convert double-precision result to single
11564 * sysdeps/i386/fpu/libm-test-ulps: Update.
11566 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11568 * timezone/Makefile: Ignore unused variable errors due to private.h
11569 (time_t_min) and (time_t_max).
11570 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
11573 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11576 * sysdeps/i386/fpu/i386-math-asm.h: New file.
11577 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11578 (__ieee754_scalb): Use DBL_NARROW_EVAL.
11579 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11580 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11581 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11582 (__scalbn): Use DBL_NARROW_EVAL.
11583 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11584 (__scalbnf): Use FLT_NARROW_EVAL.
11586 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11588 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11589 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11590 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11591 * stdio-common/printf_fp.c (___printf_fp):
11592 Use signbit to get the sign. Use isinf macro to allow inlining.
11593 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11594 * stdio-common/printf_size.c (__printf_size): Likewise.
11596 2015-09-18 Mike Frysinger <vapier@gentoo.org>
11598 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11600 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11603 * sysdeps/generic/math_private.h: Include <float.h>.
11604 (math_narrow_eval): New macro.
11605 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11606 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11607 math_narrow_eval on overflowing return value.
11608 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11610 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11611 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11614 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11616 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11618 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11619 * math/Makefile: Remove isinf_ns.c.
11620 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11621 * math/multc3.c (__multc3): Likewise.
11622 * math/s_casin.c (__casin): Likewise.
11623 * math/s_casinf.c (__casinf): Likewise.
11624 * math/s_casinl.c (__casinl): Likewise.
11625 * math/s_cproj.c (__cproj): Likewise.
11626 * math/s_cprojf.c (__cprojf): Likewise.
11627 * math/s_cprojl.c (__cprofl): Likewise.
11628 * math/s_ctan.c (__ctan): Likewise.
11629 * math/s_ctanf.c (__ctanf): Likewise.
11630 * math/s_ctanh.c (__ctanh): Likewise.
11631 * math/s_ctanhf.c (__ctanhf): Likewise.
11632 * math/s_ctanhl.c (__ctanhl): Likewise.
11633 * math/s_ctanl.c (__ctanl): Likewise.
11634 * math/w_fmod.c (__fmod): Likewise.
11635 * math/w_fmodf.c (__fmodf): Likewise.
11636 * math/w_fmodl.c (_fmodl): Likewise.
11637 * math/w_remainder.c (__remainder): Likewise.
11638 * math/w_remainderf.c (__remainderf): Likewise.
11639 * math/w_remainderl.c (__remainderl): Likewise.
11640 * math/w_scalb.c (__scalb): Likewise.
11641 * math/w_scalbf.c (__scalbf): Likewise.
11642 * math/w_scalbl.c (__scalbl): Likewise.
11643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11644 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11646 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11648 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11649 __isinf_nsf with isinf.
11650 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11651 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11653 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11655 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11656 __isinf_nsl with isinf.
11657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11659 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11660 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11661 __isinf_nsl with isinf.
11662 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11663 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11666 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11668 * resolv/base64.c (rcsid): Remove unused static.
11669 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11670 static. (tqpi1): Likewise.
11671 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11672 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11673 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11674 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11676 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11677 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11678 * timezone/private.h (time_t_min): Likewise. (time_t_max):
11681 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
11683 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11685 (_longjmp_unwind): Use __libc_ptf_call.
11686 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11688 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
11690 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11691 * sysdeps/arm/__longjmp.S: Likewise.
11693 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11695 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11696 Use __builtin_signbit.
11697 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11698 Use __builtin_signbitf.
11699 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11700 Use __builtin_signbitl.
11701 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11702 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11704 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11709 * math/Makefile: Build test-snan.c with -fsignaling-nans.
11710 * math/math.h (fpclassify): Use __builtin_fpclassify when
11711 available. (signbit): Use __builtin_signbit(f/l).
11712 (isfinite): Use__builtin_isfinite. (isnormal): Use
11713 __builtin_isnormal. (isnan): Use __builtin_isnan.
11714 (isinf): Use __builtin_isinf_sign.
11716 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11718 * benchtests/Makefile: Add bench-math-inlines, link with libm.
11719 * benchtests/bench-math-inlines.c: New benchmark.
11720 * benchtests/bench-util.h: New file.
11721 * benchtests/bench-util.c: New file.
11722 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11724 2015-09-18 Carlos O'Donell <carlos@redhat.com>
11726 * elf/tst-dlmopen1.c: Define TEST_SO.
11727 (do_test): Use TEST_SO.
11729 * elf/dl-load.c: Include libc-internal.h.
11730 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11732 2015-09-18 Vincent Bernat <vincent@bernat.im>
11735 * time/strptime_l.c (__strptime_internal): Make %z accept
11736 [+-]HH:MM time zones.
11738 2015-09-18 Vincent Bernat <vincent@bernat.im>
11741 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11744 2015-09-17 Mike Frysinger <vapier@gentoo.org>
11746 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11747 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11749 (__ASSUME_FDATASYNC): Delete.
11751 2015-09-17 Joseph Myers <joseph@codesourcery.com>
11753 * conform/linknamespace.pl: Require weak undefined symbols to be
11754 in the standard namespace.
11755 (%strong_syms): Rename to %seen_syms.
11756 (%strong_seen): Rename to %seen_where.
11758 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
11761 * misc/error.c (error): Replace pthread_setcancelstate with
11762 __pthread_setcancelstate.
11763 (error_at_line): Likewise.
11764 * posix/wordexp.c (parse_comm): Likewise.
11765 * stdlib/fmtmsg.c (fmtmsg): Likewise.
11766 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11767 (__pthread_setcancelstate): This.
11768 (pthread_setcancelstate): Add an alias.
11769 * nptl/nptl-init.c (pthread_functions): Replace
11770 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11771 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11772 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11774 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11775 it with hidden_def.
11776 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11777 (pthread_setcancelstate): Renamed to ...
11778 (__pthread_setcancelstate): This.
11779 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11780 __libc_ptf_call with __pthread_setcancelstate.
11782 2015-09-17 Joseph Myers <joseph@codesourcery.com>
11783 Andreas Schwab <schwab@suse.de>
11786 * math/s_ctan.c (__ctan): Determine sign of zero real part of
11787 result when imaginary part of argument is infinite using sine and
11789 * math/s_ctanf.c (__ctanf): Likewise.
11790 * math/s_ctanl.c (__ctanl): Likewise.
11791 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11792 of result when real part of argument is infinite using sine and
11794 * math/s_ctanhf.c (__ctanhf): Likewise.
11795 * math/s_ctanhl.c (__ctanhl): Likewise.
11796 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11797 (ctanh_test_data): Add more tests of ctanh.
11799 2015-09-17 Joseph Myers <joseph@codesourcery.com>
11802 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11803 bit-mask as in subtraction.
11804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11806 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11807 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11811 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11812 underflow exception for small results.
11813 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11819 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11821 * math/auto-libm-test-in: Add more tests of tgamma.
11822 * math/auto-libm-test-out: Regenerated.
11824 2015-09-17 Andreas Schwab <schwab@suse.de>
11826 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11828 2015-09-16 Joseph Myers <joseph@codesourcery.com>
11831 * math/bits/mathcalls.h
11832 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11834 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11836 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11838 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11840 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11842 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11844 * conform/data/math.h-data
11845 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11847 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11848 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11849 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11850 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11851 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11852 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11853 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11854 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11855 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11856 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11857 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11860 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11861 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11862 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11863 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11864 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11865 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11866 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11867 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11868 [NO_LONG_DOUBLE] (scalbnl): Likewise.
11869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11871 [NO_LONG_DOUBLE] (scalbnl): Likewise.
11872 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11875 long_double_symbol calls.
11876 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11877 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11878 strong alias of __ldexpl.
11879 (scalbnl): Define using long_double_symbol.
11880 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11882 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11883 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11884 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11885 (scalbln_test_data): Add more errno expectations.
11887 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
11889 Cache the host port like we cache the task port. This way we do not
11890 need to call the kernel just to get the port. Furthermore, we no
11891 longer increase the reference count on every invocation of
11894 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11895 Protect declarations against the macro expansion.
11896 * mach/mach_init.c (__mach_host_self_): New variable.
11897 (mach_init): Initialize `__mach_host_self_'.
11898 * mach/mach_init.h (__mach_host_self_): New declaration.
11899 (__mach_host_self, mach_host_self): New macros.
11900 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11903 2015-09-16 Joseph Myers <joseph@codesourcery.com>
11906 * po/de.po: Update from Translation Project.
11909 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11910 (__expm1l): Remove code to handle positive infinity and overflow.
11911 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11913 (__expm1l): Remove code to handle positive infinity and overflow.
11915 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
11916 Paul Pluzhnikov <ppluzhnikov@google.com>
11919 * stdio-common/Makefile (tst-printf-bz18872): New test.
11920 (tst-printf-bz18872-mem.out): Likewise.
11921 * stdio-common/tst-printf-bz18872.sh: Generate new test.
11922 * stdio-common/vfprintf.c: Fix memory leaks.
11924 2015-09-16 Andreas Schwab <schwab@suse.de>
11927 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11928 Remove extra va_start/va_end calls.
11931 * posix/execl.c (execl): Add missing va_end.
11932 * posix/execle.c (execle): Likewise.
11933 * posix/execlp.c (execlp): Likewise.
11935 2015-09-15 Roland McGrath <roland@hack.frob.com>
11937 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11938 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11940 2015-09-15 Joseph Myers <joseph@codesourcery.com>
11943 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
11944 undefine around includes of <bits/mathcalls.h>.
11945 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11946 not declare function.
11947 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11948 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11950 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11952 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11954 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11955 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11956 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11959 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11960 return non-finite argument without doing ordered comparisons on
11964 * math/fenv.h (fegetround): Use __attribute_pure__.
11965 * include/fenv.h (__fegetround): Likewise.
11968 * math/s_ctan.c (__ctan): Force underflow exception for results
11969 whose real or imaginary part has small absolute value.
11970 * math/s_ctanf.c (__ctanf): Likewise.
11971 * math/s_ctanh.c (__ctanh): Likewise.
11972 * math/s_ctanhf.c (__ctanhf): Likewise.
11973 * math/s_ctanhl.c (__ctanhl): Likewise.
11974 * math/s_ctanl.c (__ctanl): Likewise.
11975 * math/auto-libm-test-in: Do not allow missing underflow for ctan
11976 and ctanh. Add more tests of ctan and ctanh.
11979 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11980 handling of cases where one argument is an infinity.
11984 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11986 (__ieee754_exp10): For small results, force underflow exception
11987 and remove excess range and precision from return value.
11988 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11990 (__ieee754_exp10f): For small results, force underflow exception
11991 and remove excess range and precision from return value.
11992 * math/auto-libm-test-in: Add more tests of exp10.
11993 * math/auto-libm-test-out: Regenerated.
11995 2015-09-14 Joseph Myers <joseph@codesourcery.com>
11999 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12001 (__ieee754_exp): For small results, force underflow exception and
12002 remove excess range and precision from return value.
12003 (__exp_finite): Likewise.
12004 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12006 (__ieee754_expf): For small results, force underflow exception and
12007 remove excess range and precision from return value.
12008 (__expf_finite): Likewise.
12009 * math/auto-libm-test-in: Add more tests of exp.
12010 * math/auto-libm-test-out: Regenerated.
12014 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12016 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12018 (__ieee754_exp2): For small results, force underflow exception and
12019 remove excess range and precision from return value.
12020 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12022 (__ieee754_exp2f): For small results, force underflow exception
12023 and remove excess range and precision from return value.
12024 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12026 (__ieee754_exp2l): Force underflow exception for small results.
12027 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12028 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12029 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12031 (__ieee754_exp2l): Force underflow exception for small results.
12032 * math/auto-libm-test-in: Add more tests or exp2.
12033 * math/auto-libm-test-out: Regenerated.
12035 2015-09-14 Carlos O'Donell <carlos@redhat.com>
12037 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12039 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12042 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12044 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12045 io fs process)): Drop spurious backslash.
12047 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12050 Use sysinfo system call instead of parsing /proc/meminfo.
12051 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12054 2015-09-11 Mike Frysinger <vapier@gentoo.org>
12057 * programs/localedef.c (main): Display argv[remaining] when
12058 output_path is NULL.
12060 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12062 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12063 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12064 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12066 * math/auto-libm-test-out: Regenerated.
12067 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12069 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12072 2015-09-11 Roland McGrath <roland@hack.frob.com>
12074 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12075 Use 'override' keyword to freeze the value here, preventing
12076 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12078 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/aarch64/bits/atomic.h: Move to ...
12082 * sysdeps/aarch64/atomic-machine.h: ...here.
12083 (_AARCH64_BITS_ATOMIC_H): Rename macro to
12084 _AARCH64_ATOMIC_MACHINE_H.
12085 * sysdeps/alpha/bits/atomic.h: Move to ...
12086 * sysdeps/alpha/atomic-machine.h: ...here.
12087 * sysdeps/arm/bits/atomic.h: Move to ...
12088 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
12089 * bits/atomic.h: Move to ...
12090 * sysdeps/generic/atomic-machine.h: ...here.
12091 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12092 * sysdeps/i386/bits/atomic.h: Move to ...
12093 * sysdeps/i386/atomic-machine.h: ...here.
12094 * sysdeps/ia64/bits/atomic.h: Move to ...
12095 * sysdeps/ia64/atomic-machine.h: ...here.
12096 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12097 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12098 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12099 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12100 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12101 * sysdeps/microblaze/bits/atomic.h: Move to ...
12102 * sysdeps/microblaze/atomic-machine.h: ...here.
12103 * sysdeps/mips/bits/atomic.h: Move to ...
12104 * sysdeps/mips/atomic-machine.h: ...here.
12105 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12106 * sysdeps/powerpc/bits/atomic.h: Move to ...
12107 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
12108 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12109 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
12110 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
12111 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12112 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
12113 <atomic-machine.h> instead of <bits/atomic.h>.
12114 * sysdeps/s390/bits/atomic.h: Move to ...
12115 * sysdeps/s390/atomic-machine.h: ...here.
12116 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12117 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12118 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12119 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12120 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12121 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12122 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12123 * sysdeps/tile/bits/atomic.h: Move to ...
12124 * sysdeps/tile/atomic-machine.h: ...here.
12125 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12126 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
12127 <sysdeps/tile/atomic-machine.h> instead of
12128 <sysdeps/tile/bits/atomic.h>.
12129 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12130 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12131 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
12132 <sysdeps/tile/atomic-machine.h> instead of
12133 <sysdeps/tile/bits/atomic.h>.
12134 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12135 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12136 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
12137 <sysdeps/arm/atomic-machine.h> instead of
12138 <sysdeps/arm/bits/atomic.h>.
12139 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12140 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12141 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12142 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12143 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12144 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12145 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12146 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12147 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12148 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12149 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12150 * sysdeps/x86_64/bits/atomic.h: Move to ...
12151 * sysdeps/x86_64/atomic-machine.h: ...here.
12152 * include/atomic.h: Include <atomic-machine.h> instead of
12155 * sysdeps/mips/mips32/libm-test-ulps: Update.
12156 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12160 not convert non-integer negative arguments to int to determine the
12162 * math/auto-libm-test-in: Add more tests of lgamma.
12163 * math/auto-libm-test-out: Regenerated.
12165 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12166 cosh, csqrt, erfc, expm1 and lgamma.
12167 * math/auto-libm-test-out: Regenerated.
12168 * sysdeps/i386/fpu/libm-test-ulps: Update.
12169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12171 2015-09-10 Joseph Myers <joseph@codesourcery.com>
12176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12177 __lgamma_neg for arguments from -28.0 to -2.0.
12178 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12179 __lgamma_negf for arguments from -15.0 to -2.0.
12180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12181 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12183 Call __lgamma_negl for arguments from -33.0 to -2.0.
12184 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12185 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12186 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12187 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12190 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12193 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12194 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12195 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12196 (__lgamma_neg): Likewise.
12197 (__lgamma_negl): Likewise.
12198 (__lgamma_product): Likewise.
12199 (__lgamma_productl): Likewise.
12200 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12201 * math/auto-libm-test-in: Add more tests of lgamma.
12202 * math/auto-libm-test-out: Regenerated.
12203 * sysdeps/i386/fpu/libm-test-ulps: Update.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206 2015-09-09 Justin Maggard <jmaggard@netgear.com>
12209 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12211 2015-09-08 Joseph Myers <joseph@codesourcery.com>
12214 * bits/libc-lock.h: Move to ...
12215 * sysdeps/generic/libc-lock.h: ...here.
12216 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12217 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12218 * sysdeps/mach/hurd/libc-lock.h: ...here.
12219 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12220 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12221 * sysdeps/mach/bits/libc-lock.h: Move to ...
12222 * sysdeps/mach/libc-lock.h: ...here.
12223 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12224 * sysdeps/nptl/bits/libc-lock.h: Move to ...
12225 * sysdeps/nptl/libc-lock.h: ...here.
12226 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12227 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12228 * sysdeps/nptl/libc-lockP.h: ...here.
12229 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12230 * crypt/crypt_util.c: Include <libc-lock.h> instead of
12231 <bits/libc-lock.h>.
12232 * dirent/scandir-tail.c: Likewise.
12233 * dlfcn/dlerror.c: Likewise.
12234 * elf/dl-close.c: Likewise.
12235 * elf/dl-iteratephdr.c: Likewise.
12236 * elf/dl-lookup.c: Likewise.
12237 * elf/dl-open.c: Likewise.
12238 * elf/dl-support.c: Likewise.
12239 * elf/dl-writev.h: Likewise.
12240 * elf/rtld.c: Likewise.
12241 * grp/fgetgrent.c: Likewise.
12242 * gshadow/fgetsgent.c: Likewise.
12243 * gshadow/sgetsgent.c: Likewise.
12244 * iconv/gconv_conf.c: Likewise.
12245 * iconv/gconv_db.c: Likewise.
12246 * iconv/gconv_dl.c: Likewise.
12247 * iconv/gconv_int.h: Likewise.
12248 * iconv/gconv_trans.c: Likewise.
12249 * include/link.h: Likewise.
12250 * inet/getnameinfo.c: Likewise.
12251 * inet/getnetgrent.c: Likewise.
12252 * inet/getnetgrent_r.c: Likewise.
12253 * intl/bindtextdom.c: Likewise.
12254 * intl/dcigettext.c: Likewise.
12255 * intl/finddomain.c: Likewise.
12256 * intl/gettextP.h: Likewise.
12257 * intl/loadmsgcat.c: Likewise.
12258 * intl/localealias.c: Likewise.
12259 * intl/textdomain.c: Likewise.
12260 * libidn/idn-stub.c: Likewise.
12261 * libio/libioP.h: Likewise.
12262 * locale/duplocale.c: Likewise.
12263 * locale/freelocale.c: Likewise.
12264 * locale/newlocale.c: Likewise.
12265 * locale/setlocale.c: Likewise.
12266 * login/getutent_r.c: Likewise.
12267 * login/getutid_r.c: Likewise.
12268 * login/getutline_r.c: Likewise.
12269 * login/utmp-private.h: Likewise.
12270 * login/utmpname.c: Likewise.
12271 * malloc/mtrace.c: Likewise.
12272 * misc/efgcvt.c: Likewise.
12273 * misc/error.c: Likewise.
12274 * misc/fstab.c: Likewise.
12275 * misc/getpass.c: Likewise.
12276 * misc/mntent.c: Likewise.
12277 * misc/syslog.c: Likewise.
12278 * nis/nis_call.c: Likewise.
12279 * nis/nis_callback.c: Likewise.
12280 * nis/nss-default.c: Likewise.
12281 * nis/nss_compat/compat-grp.c: Likewise.
12282 * nis/nss_compat/compat-initgroups.c: Likewise.
12283 * nis/nss_compat/compat-pwd.c: Likewise.
12284 * nis/nss_compat/compat-spwd.c: Likewise.
12285 * nis/nss_nis/nis-alias.c: Likewise.
12286 * nis/nss_nis/nis-ethers.c: Likewise.
12287 * nis/nss_nis/nis-grp.c: Likewise.
12288 * nis/nss_nis/nis-hosts.c: Likewise.
12289 * nis/nss_nis/nis-network.c: Likewise.
12290 * nis/nss_nis/nis-proto.c: Likewise.
12291 * nis/nss_nis/nis-pwd.c: Likewise.
12292 * nis/nss_nis/nis-rpc.c: Likewise.
12293 * nis/nss_nis/nis-service.c: Likewise.
12294 * nis/nss_nis/nis-spwd.c: Likewise.
12295 * nis/nss_nisplus/nisplus-alias.c: Likewise.
12296 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12297 * nis/nss_nisplus/nisplus-grp.c: Likewise.
12298 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12299 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12300 * nis/nss_nisplus/nisplus-network.c: Likewise.
12301 * nis/nss_nisplus/nisplus-proto.c: Likewise.
12302 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12303 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12304 * nis/nss_nisplus/nisplus-service.c: Likewise.
12305 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12306 * nis/ypclnt.c: Likewise.
12307 * nptl/libc_pthread_init.c: Likewise.
12308 * nss/getXXbyYY.c: Likewise.
12309 * nss/getXXent.c: Likewise.
12310 * nss/getXXent_r.c: Likewise.
12311 * nss/nss_db/db-XXX.c: Likewise.
12312 * nss/nss_db/db-netgrp.c: Likewise.
12313 * nss/nss_db/nss_db.h: Likewise.
12314 * nss/nss_files/files-XXX.c: Likewise.
12315 * nss/nss_files/files-alias.c: Likewise.
12316 * nss/nsswitch.c: Likewise.
12317 * posix/regex_internal.h: Likewise.
12318 * posix/wordexp.c: Likewise.
12319 * pwd/fgetpwent.c: Likewise.
12320 * resolv/res_hconf.c: Likewise.
12321 * resolv/res_libc.c: Likewise.
12322 * shadow/fgetspent.c: Likewise.
12323 * shadow/lckpwdf.c: Likewise.
12324 * shadow/sgetspent.c: Likewise.
12325 * socket/opensock.c: Likewise.
12326 * stdio-common/reg-modifier.c: Likewise.
12327 * stdio-common/reg-printf.c: Likewise.
12328 * stdio-common/reg-type.c: Likewise.
12329 * stdio-common/vfprintf.c: Likewise.
12330 * stdio-common/vfscanf.c: Likewise.
12331 * stdlib/abort.c: Likewise.
12332 * stdlib/cxa_atexit.c: Likewise.
12333 * stdlib/fmtmsg.c: Likewise.
12334 * stdlib/random.c: Likewise.
12335 * stdlib/setenv.c: Likewise.
12336 * string/strsignal.c: Likewise.
12337 * sunrpc/auth_none.c: Likewise.
12338 * sunrpc/bindrsvprt.c: Likewise.
12339 * sunrpc/create_xid.c: Likewise.
12340 * sunrpc/key_call.c: Likewise.
12341 * sunrpc/rpc_thread.c: Likewise.
12342 * sysdeps/arm/backtrace.c: Likewise.
12343 * sysdeps/generic/ldsodefs.h: Likewise.
12344 * sysdeps/generic/stdio-lock.h: Likewise.
12345 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12346 * sysdeps/i386/backtrace.c: Likewise.
12347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12348 * sysdeps/m68k/backtrace.c: Likewise.
12349 * sysdeps/mach/hurd/cthreads.c: Likewise.
12350 * sysdeps/mach/hurd/dirstream.h: Likewise.
12351 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12352 * sysdeps/nptl/malloc-machine.h: Likewise.
12353 * sysdeps/nptl/stdio-lock.h: Likewise.
12354 * sysdeps/posix/dirstream.h: Likewise.
12355 * sysdeps/posix/getaddrinfo.c: Likewise.
12356 * sysdeps/posix/system.c: Likewise.
12357 * sysdeps/pthread/aio_suspend.c: Likewise.
12358 * sysdeps/s390/s390-32/backtrace.c: Likewise.
12359 * sysdeps/s390/s390-64/backtrace.c: Likewise.
12360 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12361 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12362 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12363 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12365 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12366 * sysdeps/unix/sysv/linux/system.c: Likewise.
12367 * sysdeps/x86_64/backtrace.c: Likewise.
12368 * time/alt_digit.c: Likewise.
12369 * time/era.c: Likewise.
12370 * time/tzset.c: Likewise.
12371 * wcsmbs/wcsmbsload.c: Likewise.
12372 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12373 instead of <bits/libc-lock.h> in comment.
12375 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
12377 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12378 Only use .set mips2 if the current ISA is below mips2.
12379 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12381 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12382 mips32r2 if the current ISA is below mips32r2.
12383 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12384 (TLS_IE): Updated to use the TLD_RDHWR macro.
12385 (TLS_LE): Likewise.
12386 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12387 __ASSEMBLER__ condition.
12389 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12391 Fix parallel build of before-compile targets.
12393 * sysdeps/mach/Makefile ($(patsubst
12394 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12395 mach-before-compile target.
12396 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12397 io fs process)): Move rule to dedicated hurd-before-compile target.
12399 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12401 Fix rules generating headers in hurd/ and mach/ when initial make call
12402 has subdir= explicitly set.
12404 * sysdeps/mach/Makefile ($(patsubst
12405 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12407 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12408 io fs process)): Force subdir to hurd when calling $(MAKE).
12409 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12410 subdir to mach when calling $(MAKE).
12412 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
12414 Check sysheaders when looking for Mach and Hurd headers
12416 * sysdeps/mach/configure.ac: Add sysheaders check.
12417 * sysdeps/mach/configure: Regenerate.
12418 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12419 * sysdeps/mach/hurd/configure: Regenerate.
12421 2015-09-04 Roland McGrath <roland@hack.frob.com>
12424 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12425 Fix inverted sense of test of 'o_directory_works' value.
12426 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12427 Bernhard Voelker <mail@bernhard-voelker.de>.
12429 2015-09-04 Joseph Myers <joseph@codesourcery.com>
12432 * bits/linkmap.h: Move to ...
12433 * sysdeps/generic/linkmap.h: ...here.
12434 * sysdeps/aarch64/bits/linkmap.h: Move to ...
12435 * sysdeps/aarch64/linkmap.h: ...here.
12436 * sysdeps/arm/bits/linkmap.h: Move to ...
12437 * sysdeps/arm/linkmap.h: ...here.
12438 * sysdeps/hppa/bits/linkmap.h: Move to ...
12439 * sysdeps/hppa/linkmap.h: ...here.
12440 * sysdeps/ia64/bits/linkmap.h: Move to ...
12441 * sysdeps/ia64/linkmap.h: ...here.
12442 * sysdeps/mips/bits/linkmap.h: Move to ...
12443 * sysdeps/mips/linkmap.h: ...here.
12444 * sysdeps/s390/bits/linkmap.h: Move to ...
12445 * sysdeps/s390/linkmap.h: ...here.
12446 * sysdeps/sh/bits/linkmap.h: Move to ...
12447 * sysdeps/sh/linkmap.h: ...here.
12448 * sysdeps/x86/bits/linkmap.h: Move to ...
12449 * sysdeps/x86/linkmap.h: ...here.
12450 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12452 2015-09-04 Andreas Schwab <schwab@suse.de>
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12456 (__makecontext): Terminate FDE before return label.
12457 (__novec_makecontext): Likewise.
12459 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12461 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12462 first member of struct sv in syscall macro.
12464 2015-09-04 Joseph Myers <joseph@codesourcery.com>
12467 * bits/stdio-lock.h: Move to ...
12468 * sysdeps/generic/stdio-lock.h: ...here.
12469 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12470 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12471 * sysdeps/nptl/stdio-lock.h: ...here.
12472 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12473 * include/libio.h: Include <stdio-lock.h> instead of
12474 <bits/stdio-lock.h>.
12475 * sysdeps/nptl/fork.c: Likewise.
12476 * sysdeps/pthread/flockfile.c: Likewise.
12477 * sysdeps/pthread/ftrylockfile.c: Likewise.
12478 * sysdeps/pthread/funlockfile.c: Likewise.
12481 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12482 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12483 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12484 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12485 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12486 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12487 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12489 2015-09-03 Roland McGrath <roland@hack.frob.com>
12491 * elf/Makefile (test-xfail-tst-protected1a): New variable.
12492 (test-xfail-tst-protected1b): New variable.
12494 2015-09-03 Joseph Myers <joseph@codesourcery.com>
12497 * bits/libc-tsd.h: Move to ...
12498 * sysdeps/generic/libc-tsd.h: ...here.
12499 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12500 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12501 * sysdeps/mach/hurd/libc-tsd.h: ...here.
12502 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12503 * include/ctype.h: Include <libc-tsd.h> instead of
12505 * include/rpc/rpc.h: Likewise.
12506 * locale/localeinfo.h: Likewise.
12507 * sunrpc/rpc_thread.c: Likewise.
12508 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12509 * sysdeps/nptl/malloc-machine.h: Likewise.
12511 * Makefile (headers): Remove bits/libc-lock.h.
12512 * libio/Makefile (headers): Remove bits/stdio-lock.h.
12514 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12515 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12516 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12517 <bits/stdio-lock.h>.
12518 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12519 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12521 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12524 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12525 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12528 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12530 * malloc/mtrace.pl: Filter out NULL entries.
12532 2015-09-01 Joseph Myers <joseph@codesourcery.com>
12534 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12535 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12538 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12539 (TCP_CC_INFO): Likewise.
12540 (TCP_SAVE_SYN): Likewise.
12541 (TCP_SAVED_SYN): Likewise.
12543 2015-08-31 Brett Neumeier <brett@neumeier.us>
12546 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12548 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
12551 Fix broken overflow check in posix_fallocate
12552 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12553 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12554 Fix parenthesization typo.
12556 2015-08-28 Mike Frysinger <vapier@gentoo.org>
12559 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12560 tst-mntent-blank-passno.
12561 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12562 * misc/tst-mntent-blank-corrupt.c: New test.
12563 * misc/tst-mntent-blank-passno.c: New test ripped from ...
12564 * misc/tst-mntent.c (do_test): ... here.
12566 2015-08-29 Mike Frysinger <vapier@gentoo.org>
12569 * po/de.po: Fix SIGALRM typo.
12571 2015-08-28 James Perkins <james@loowit.net>
12573 * time/tst-strptime2.c (tests): Replace short list of test
12574 strings for strptime %z specifier with code which exhaustively
12575 tests every combination of sign and 0 to 5 digits. Tests for
12576 rejection of invalid strings.
12578 2015-08-28 James Perkins <james@loowit.net>
12581 * time/strptime_l.c (__strptime_internal): Fix %z minutes
12582 calculation, removing incorrect decimal time rounding, so that
12583 all minute values result in a valid seconds value.
12584 * time/strptime_l.c (__strptime_internal): Extend %z time zone
12585 offset range limits to UTC-99:59 through UTC+99:59 to parse
12586 current and historical use cases.
12587 * time/tst-strptime2.c (tests): Modify and add tests for the
12588 strptime %z input field descriptor, specifically conversion of
12589 minutes to seconds and validating an offset range of -9959 to
12592 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12593 Dmitry V. Levin <ldv@altlinux.org>
12596 * posix/Makefile (tests): Add tst-mmap-offset.
12597 * posix/tst-mmap.c: New file.
12598 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12599 offset calculation for negative values.
12601 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12603 * sysdeps/i386/init-arch.h: New file.
12604 * sysdeps/i386/i586/init-arch.h: Likewise.
12605 * sysdeps/i386/i686/init-arch.h: Likewise.
12606 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12607 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
12608 * sysdeps/x86/cpu-features.h (bit_I586): New.
12609 (bit_I686): Likewise.
12610 (bit_CX8): Likewise.
12611 (bit_CMOV): Likewise.
12612 (index_CX8): Likewise.
12613 (index_CMOV): Likewise.
12614 (index_I586): Likewise.
12615 (index_I686): Likewise.
12616 (reg_CX8): Likewise.
12617 (reg_CMOV): Likewise.
12618 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12619 available at compile-time.
12620 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12621 available at compile-time.
12622 * sysdeps/x86/init-arch.h (USE_I586): New macro.
12623 (USE_I686): Likewise.
12625 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12627 * sysdeps/i386/bcopy.S: New file.
12628 * sysdeps/i386/bzero.S: Likewise.
12629 * sysdeps/i386/memcpy.S: Likewise.
12630 * sysdeps/i386/memmove.S: Likewise.
12631 * sysdeps/i386/mempcpy.S: Likewise.
12632 * sysdeps/i386/memset.S: Likewise.
12633 * sysdeps/i386/bzero.c: Removed.
12634 * sysdeps/i386/memset.c: Likewise.
12635 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12636 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12637 * sysdeps/i386/i586/memset_chk.S: Likewise.
12638 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12639 * sysdeps/i386/memcpy_chk.S: Here.
12640 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12641 * sysdeps/i386/memmove_chk.S: Here.
12642 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12643 * sysdeps/i386/mempcpy_chk.S: Likewise.
12644 * sysdeps/i386/i686/memset_chk.S: Moved to ...
12645 * sysdeps/i386/memset_chk.S: Likewise.
12647 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
12649 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12650 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12651 file, move DIAG_POP_NEEDS_COMMENT to end of file.
12652 * soft-fp/fmadf4.c: Ditto.
12653 * soft-fp/fmatf4.c: Ditto.
12655 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12657 * sysdeps/i386/i586/Implies: Removed.
12658 * sysdeps/i386/i686/Implies: Likewise.
12660 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12662 * sysdeps/i386/i486/strlen.S: Moved to ...
12663 * sysdeps/i386/strlen.S: Here.
12665 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12667 * sysdeps/i386/i486/strcat.S: Moved to ...
12668 * sysdeps/i386/strcat.S: Here.
12670 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12672 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12673 * sysdeps/i386/pthread_spin_trylock.S: Here.
12674 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12675 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12677 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12679 * sysdeps/i386/i486/string-inlines.c: Moved to ...
12680 * sysdeps/i386/string-inlines.c: Here.
12682 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12684 * sysdeps/i386/i486/htonl.S: Moved ...
12685 * sysdeps/i386/htonl.S: here.
12687 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12689 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12690 * sysdeps/i386/bits/atomic.h: Here.
12692 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12694 * sysdeps/i386/i486/Versions: Removed.
12696 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
12699 * misc/mktemp.c: Add mkdtemp to the link_warning message.
12700 Based on patch by Aurelien Jarno.
12702 2015-08-26 Stan Shebs <stanshebs@google.com>
12704 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12705 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12707 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12709 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12710 * sysdeps/powerpc/dl-procinfo.c:
12711 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12712 feature so it shows when LD_SHOW_AUXV=1.
12714 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12716 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12717 (__arch_compare_and_exchange_val_32_acq): Remove and use common
12718 definition. ISA 2.07B no longer requires full sync.
12720 2015-08-26 Mike Frysinger <vapier@gentoo.org>
12723 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12724 (si_call_addr): Define.
12725 (si_syscall): Define.
12728 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
12730 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12731 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12732 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12733 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12734 (__memset_zero_constant_len_parameter): New.
12735 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12736 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12737 (__memset_zero_constant_len_parameter): Don't define if
12738 __memset_chk or USE_AS_BZERO are defined.
12740 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12741 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12742 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12744 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12745 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12746 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12747 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
12749 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12750 -mno-mmx for $(all-rtld-routines).
12751 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12752 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
12755 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12757 * sysdeps/generic/unwind.h
12758 (_Unwind_Word): Use __mode__(__unwind_word__)
12759 instead of __mode__(__word__).
12760 (_Unwind_Sword): Likewise.
12762 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12763 (MAX_NEEDED_INPUT): New define.
12764 (MAX_NEEDED_OUTPUT): New define.
12766 * NEWS: New item for IBM z13 string optimizations.
12768 * sysdeps/s390/multiarch/memrchr-c.c: New File.
12769 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12770 * sysdeps/s390/multiarch/memrchr.c: Likewise.
12771 * sysdeps/s390/multiarch/Makefile
12772 (sysdep_routines): Add memrchr functions.
12773 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12774 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12776 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12777 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12778 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12779 * sysdeps/s390/multiarch/Makefile
12780 (sysdep_routines): Add wmemcmp functions.
12781 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12782 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12783 * benchtests/bench-wmemcmp.c: New File.
12784 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12786 * sysdeps/s390/multiarch/wmemset-c.c: New File.
12787 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12788 * sysdeps/s390/multiarch/wmemset.c: Likewise.
12789 * sysdeps/s390/multiarch/Makefile
12790 (sysdep_routines): Add wmemset functions.
12791 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12792 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12793 * wcsmbs/wmemset.c: Use WMEMSET if defined.
12794 * string/test-memset.c: Add wmemset support.
12795 * wcsmbs/test-wmemset.c: New File.
12796 * wcsmbs/Makefile (strop-tests): Add wmemset.
12797 * benchtests/bench-memset.c: Add wmemset support.
12798 * benchtests/bench-wmemset.c: New File.
12799 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12801 * sysdeps/s390/multiarch/memccpy-c.c: New File.
12802 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12803 * sysdeps/s390/multiarch/memccpy.c: Likewise.
12804 * sysdeps/s390/multiarch/Makefile
12805 (sysdep_routines): Add memccpy functions.
12806 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12807 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12808 * string/memccpy.c: Use MEMCCPY if defined.
12810 * sysdeps/s390/multiarch/memchr-vx.S: New File.
12811 * sysdeps/s390/multiarch/memchr.c: Likewise.
12812 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12813 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12814 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12815 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12816 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12817 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12818 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12819 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12820 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12821 and rawmemchr functions.
12822 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12823 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12825 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12826 * string/test-memchr.c: Add wmemchr support.
12827 * wcsmbs/test-wmemchr.c: New File.
12828 * wcsmbs/Makefile (strop-tests): Add wmemchr.
12829 * benchtests/bench-memchr.c: Add wmemchr support.
12830 * benchtests/bench-wmemchr.c: New File.
12831 * benchtests/Makefile (wcsmbs-bench): wmemchr.
12833 * sysdeps/s390/multiarch/strcspn-c.c: New File.
12834 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12835 * sysdeps/s390/multiarch/strcspn.c: Likewise.
12836 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12837 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12838 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12839 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12841 * sysdeps/s390/multiarch/ifunc-impl-list.c
12842 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12843 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12844 * string/test-strcspn.c: Add wcscspn support.
12845 * wcsmbs/test-wcscspn.c: New File.
12846 * wcsmbs/Makefile (strop-tests): Add wcscspn.
12847 * benchtests/bench-strcspn.c: Add wcscspn support.
12848 * benchtests/bench-wcscspn.c: New File.
12849 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12851 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12852 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12853 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12854 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12855 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12856 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12857 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12859 * sysdeps/s390/multiarch/ifunc-impl-list.c
12860 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12861 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12862 * string/test-strpbrk.c: Add wcspbrk support.
12863 * wcsmbs/test-wcspbrk.c: New File.
12864 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12865 * benchtests/bench-strpbrk.c: Add wcspbrk support.
12866 * benchtests/bench-wcspbrk.c: New File.
12867 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12869 * sysdeps/s390/multiarch/strspn-c.c: New File.
12870 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12871 * sysdeps/s390/multiarch/strspn.c: Likewise.
12872 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12873 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12874 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12875 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12876 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12878 * sysdeps/s390/multiarch/ifunc-impl-list.c
12879 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12880 * string/test-strspn.c: Add wcsspn support.
12881 * wcsmbs/test-wcsspn.c: New File.
12882 * wcsmbs/Makefile (strop-tests): Add wcsspn.
12883 * benchtests/bench-strspn.c: Add wcsspn support.
12884 * benchtests/bench-wcsspn.c: New File.
12885 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12887 * sysdeps/s390/multiarch/strrchr-c.c: New File.
12888 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12889 * sysdeps/s390/multiarch/strrchr.c: Likewise.
12890 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12891 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12892 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12893 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12895 * sysdeps/s390/multiarch/ifunc-impl-list.c
12896 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12897 * benchtests/bench-wcsrchr.c: New File.
12898 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12900 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12901 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12902 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12903 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12904 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12905 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12906 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12907 wcschrnul functions.
12908 * sysdeps/s390/multiarch/ifunc-impl-list.c
12909 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12910 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12911 * string/test-strchr.c: Add wcschrnul support.
12912 * wcsmbs/test-wcschrnul.c: New File.
12913 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12914 * benchtests/bench-strchr.c: Add wcschrnul support.
12915 * benchtests/bench-wcschrnul.c: New File.
12916 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12918 * sysdeps/s390/multiarch/strchr-c.c: New File.
12919 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12920 * sysdeps/s390/multiarch/strchr.c: Likewise.
12921 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12922 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12923 * sysdeps/s390/multiarch/wcschr.c: Likewise.
12924 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12926 * sysdeps/s390/multiarch/ifunc-impl-list.c
12927 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12928 * string/strchr.c (STRCHR): Define and use macro.
12929 * benchtests/bench-wcschr.c: New File.
12930 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12932 * sysdeps/s390/multiarch/strncmp-c.c: New File.
12933 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12934 * sysdeps/s390/multiarch/strncmp.c: Likewise.
12935 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12936 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12937 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12938 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12940 * sysdeps/s390/multiarch/ifunc-impl-list.c
12941 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12942 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12943 * benchtests/bench-strncmp.c: Add wcsncmp support.
12944 * benchtests/bench-wcsncmp.c: New File.
12945 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12947 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12948 * sysdeps/s390/multiarch/strcmp.c: Likewise.
12949 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12950 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12951 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12952 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12953 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12954 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12956 * sysdeps/s390/multiarch/ifunc-impl-list.c
12957 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12958 * string/strcmp.c (STRCMP): Define and use macro.
12959 * benchtests/bench-wcscmp.c: New File.
12960 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12961 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12962 instead of _HAVE_STRING_ARCH_memchr.
12964 * sysdeps/s390/multiarch/strncat-c.c: New File.
12965 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12966 * sysdeps/s390/multiarch/strncat.c: Likewise.
12967 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12968 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12969 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12970 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12972 * sysdeps/s390/multiarch/ifunc-impl-list.c
12973 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12974 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12975 * string/test-strncat.c: Add wcsncat support.
12976 * wcsmbs/test-wcsncat.c: New File.
12977 * wcsmbs/Makefile (strop-tests): Add wcsncat.
12978 * benchtests/bench-strncat.c: Add wcsncat support.
12979 * benchtests/bench-wcsncat.c: New File.
12980 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12982 * sysdeps/s390/multiarch/strcat-c.c: New File.
12983 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12984 * sysdeps/s390/multiarch/strcat.c: Likewise.
12985 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12986 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12987 * sysdeps/s390/multiarch/wcscat.c: Likewise.
12988 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12990 * sysdeps/s390/multiarch/ifunc-impl-list.c
12991 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12992 * string/strcat.c (STRCAT): Define and use macro.
12993 * wcsmbs/wcscat.c: Use WCSCAT if defined.
12994 * string/test-strcat.c: Add wcscat support.
12995 * wcsmbs/test-wcscat.c: New File.
12996 * wcsmbs/Makefile (strop-tests): Add wcscat.
12997 * benchtests/bench-strcat.c: Add wcscat support.
12998 * benchtests/bench-wcscat.c: New File.
12999 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13001 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13002 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13003 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13004 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13005 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13006 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13007 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13009 * sysdeps/s390/multiarch/ifunc-impl-list.c
13010 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13011 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13012 * string/test-stpncpy.c: Add wcpncpy support.
13013 * wcsmbs/test-wcpncpy.c: New File.
13014 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13015 * benchtests/bench-stpncpy.c: Add wcpncpy support.
13016 * benchtests/bench-wcpncpy.c: New File.
13017 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13019 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13020 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13021 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13022 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13023 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13024 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13025 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13026 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13028 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13029 * sysdeps/s390/multiarch/ifunc-impl-list.c
13030 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13031 * string/test-strncpy.c: Add wcsncpy support.
13032 * wcsmbs/test-wcsncpy.c: New File.
13033 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13034 * benchtests/bench-strncpy.c: Add wcsncpy support.
13035 * benchtests/bench-wcsncpy.c: New File.
13036 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13038 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13039 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13040 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13041 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13042 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13043 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13044 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13046 * string/stpcpy.c: Use STPCPY if defined.
13047 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13048 * sysdeps/s390/multiarch/ifunc-impl-list.c
13049 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13050 * string/test-stpcpy.c: Add wcpcpy support.
13051 * wcsmbs/test-wcpcpy.c: New File.
13052 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13053 * benchtests/bench-stpcpy.c: Add wcpcpy support.
13054 * benchtests/bench-wcpcpy.c: New File.
13055 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13057 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13058 * sysdeps/s390/multiarch/strcpy.c: Likewise.
13059 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13060 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13061 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13062 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13063 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13064 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13066 * sysdeps/s390/multiarch/ifunc-impl-list.c
13067 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13068 * benchtests/bench-wcscpy.c: New File.
13069 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13071 * sysdeps/s390/multiarch/strnlen-c.c: New File.
13072 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13073 * sysdeps/s390/multiarch/strnlen.c: Likewise.
13074 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13075 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13076 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13077 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13079 * sysdeps/s390/multiarch/ifunc-impl-list.c
13080 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13081 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13082 * string/test-strnlen.c: Add wcsnlen support.
13083 * wcsmbs/test-wcsnlen.c: New File.
13084 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13085 * benchtests/bench-strnlen.c: Add wcsnlen support.
13086 * benchtests/bench-wcsnlen.c: New File.
13087 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13089 * sysdeps/s390/multiarch/Makefile: New File.
13090 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13091 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13092 * sysdeps/s390/multiarch/strlen.c: Likewise.
13093 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13094 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13095 * sysdeps/s390/multiarch/wcslen.c: Likewise.
13096 * string/strlen.c (STRLEN): Define and use macro.
13097 * sysdeps/s390/multiarch/ifunc-impl-list.c
13098 (IFUNC_VX_IMPL): New macro function.
13099 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13100 * benchtests/Makefile (wcsmbs-bench): New variable.
13101 (string-bench-all): Added wcsmbs-bench.
13102 * benchtests/bench-wcslen.c: New File.
13104 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13105 s390_vx_libc_ifunc2): New macro function.
13107 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13108 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13110 * sysdeps/s390/configure: Regenerated.
13112 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13113 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13115 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13116 * sysdeps/s390/dl-procinfo.h: Add vector capability.
13117 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13119 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13120 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13122 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13123 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13124 (memcmp, bcmp): Use __memcmp_default as alias source.
13125 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13126 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13127 Rename to __memcmp_default.
13128 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13129 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13130 (memcpy): Use __memcpy_default as alias source.
13131 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13132 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13133 Rename to __memcpy_default.
13134 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13135 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13136 (memset): Use __memset_default as alias source.
13137 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13138 * sysdeps/s390/s390-32/memset.S (__memset_g5):
13139 Rename to __memset_default.
13140 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13141 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13142 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13143 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13144 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13145 (memcmp, bcmp): Use __memcmp_default as alias source.
13146 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13147 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13148 Rename to __memcmp_default.
13149 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13150 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13151 (memcpy): Use __memcpy_default as alias source.
13152 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13153 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13154 Rename to __memcpy_default.
13155 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13156 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13157 (memset): Use __memset_default as alias source.
13158 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13159 * sysdeps/s390/s390-64/memset.S (__memset_z900):
13160 Rename to __memset_default.
13161 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13162 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13165 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13166 __ieee_instruction_pointer to __unused.
13167 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13168 __ieee_instruction_pointer.
13169 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13170 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13171 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13172 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13173 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13174 Mark dxc-field as reserved.
13176 2015-08-25 Roland McGrath <roland@hack.frob.com>
13178 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13179 if the weak reference is not null.
13181 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13183 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13186 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13188 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13190 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13191 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13192 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13193 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13194 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13195 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13196 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13197 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13198 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13199 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13200 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13201 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13202 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13203 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13204 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13205 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13206 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13207 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13209 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13211 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13212 register other than r0 for tabort, it has special meaning.
13213 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13214 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13215 transaction before starting syscall.
13217 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13219 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13221 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13223 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13225 * sysdeps/x86_64/rtld-memcmp.c: Removed.
13226 * sysdeps/x86_64/rtld-memset.S: Likewise.
13227 * sysdeps/x86_64/rtld-strchr.S: Likewise.
13228 * sysdeps/x86_64/rtld-strlen.S: Likewise.
13229 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13230 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13232 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13234 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
13236 * debug/strcpy_chk.c: Improve performance.
13237 * debug/stpcpy_chk.c: Likewise.
13238 * sysdeps/x86_64/strcpy_chk.S: Remove.
13239 * sysdeps/x86_64/stpcpy_chk.S: Remove.
13242 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13244 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13247 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13249 (modules-names): Add ifuncmod8.
13250 ($(objpfx)ifuncmain8): New rule.
13251 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13253 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13254 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13255 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13256 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13257 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13258 * sysdeps/x86_64/dl-trampoline.h: Likewise.
13259 * sysdeps/x86_64/ifuncmain8.c: New file.
13260 * sysdeps/x86_64/ifuncmod8.c: Likewise.
13261 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13263 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13264 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13265 Change rtld_savespace_sse to __glibc_unused2.
13266 (RTLD_CHECK_FOREIGN_CALL): Removed.
13267 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13268 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13269 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13271 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13273 * sysdeps/aarch64/bzero.S (__bzero): Remove.
13275 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13277 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13278 Unconditionally set __fpcr to avoid uninialized warning.
13279 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13281 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13283 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13286 * malloc/arena.c (arena_get2): Drop unused argument.
13287 (arena_lock): Adjust.
13288 (arena_get_retry): Likewise.
13290 2015-08-24 Andreas Schwab <schwab@suse.de>
13292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13294 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13295 (__ASSUME_IPC64): Don't undef.
13296 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13297 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13298 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13299 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13300 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13301 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13302 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13303 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13304 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13305 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13306 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13307 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13308 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13309 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13310 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13311 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13312 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13313 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13314 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13315 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13316 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13318 2015-08-21 Mike Frysinger <vapier@gentoo.org>
13320 * manual/Makefile (install): Only build manual when perl is available.
13322 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13324 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13325 '#undef memcpy' by '#undef memchr'.
13327 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13329 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13330 memchr not point to the internal __GI_memchr implementation.
13332 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13334 * timezone/Makefile (CFLAGS-zdump.c): Remove
13335 -Wno-strict-prototypes.
13336 (CFLAGS-zic.c): Likewise.
13337 (CFLAGS-ialloc.c): Likewise.
13338 (CFLAGS-scheck.c): Likewise.
13340 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13343 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13345 * i386/i686/multiarch/strcasestr-c.c: Removed.
13346 * x86_64/multiarch/strcasestr.c: Likewise.
13347 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13350 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13352 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13354 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13355 variables for high and low parts before possibly modifying them.
13357 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13359 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13360 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13361 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13362 of "multiarch/init-arch.h".
13363 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13364 * sysdeps/x86/init-arch.h: This.
13366 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13368 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13369 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13371 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
13374 * manual/macros.texi: Add twoexp macro.
13375 * manual/filesys.texi: Fix exponents.
13376 * manual/llio.texi: Likewise.
13377 * manual/stdio.texi: Likewise.
13379 2015-08-20 Florian Weimer <fweimer@redhat.com>
13381 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13384 2015-08-19 Joseph Myers <joseph@codesourcery.com>
13387 * math/s_csqrt.c (__csqrt): Force underflow exception for results
13388 whose real or imaginary part has small absolute value.
13389 * math/s_csqrtf.c (__csqrtf): Likewise.
13390 * math/s_csqrtl.c (__csqrtl): Likewise.
13391 * math/auto-libm-test-in: Add more tests of csqrt.
13392 * math/auto-libm-test-out: Regenerated.
13393 * sysdeps/i386/fpu/libm-test-ulps: Update.
13395 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13397 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13398 __ppc_set_ppr_very_low): New functions.
13399 * manual/platform.texi: Add documentation about
13400 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13402 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
13404 * string/stpncpy.c (stpncpy): Improve performance using
13405 __strnlen/memcpy/memset.
13407 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
13410 * scripts/test-installation.pl: Don't add -lmvec to build options if
13411 libmvec wasn't built.
13413 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
13416 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13417 case when there is a gap between DT_REL and DT_JMPREL sections.
13418 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13419 (LDFLAGS-tst-split-dynreloc): New.
13420 (tst-split-dynreloc-ENV): Likewise.
13421 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13422 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13424 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13427 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13429 (__xstat64_conv): Likewise.
13430 (__xstat32_conv): Likewise.
13432 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13435 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13436 Don't load %ebx when calling __setcontext. Call __setcontext
13437 with HIDDEN_JUMPTARGET.
13438 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13441 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13443 * sysdeps/i386/i686/Makefile
13444 [$(subdir) == string] (sysdep_routines): Moved to ...
13445 * sysdeps/i386/Makefile: Here.
13446 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13447 * sysdeps/i386/cacheinfo.c: Here.
13448 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13449 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13450 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13451 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13453 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13455 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13456 __i586__ is defined.
13457 (HAS_I686): Defined to 1 if __i686__ is defined.
13459 2015-08-19 Joseph Myers <joseph@codesourcery.com>
13461 * elf/Makefile [$(have-z-execstack) = yes]
13462 (CPPFLAGS-tst-execstack.c): New variable.
13464 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13465 conditional to [defined UTMPX || _HAVE_UT_TYPE].
13466 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13467 UTMPX || _HAVE_UT_TV].
13468 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13469 UTMPX || _HAVE_UT_TV - 0].
13471 2015-08-18 Joseph Myers <joseph@codesourcery.com>
13473 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13474 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13475 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13477 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13479 * sysdeps/powerpc/dl-procinfo.c:
13480 (_dl_powerpc_cap_flags): Added missing strings for some
13482 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13484 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
13486 Port the 0x7efe...feff pattern to GCC 6.
13487 See Steve Ellcey's bug report in:
13488 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13489 * string/memrchr.c (MEMRCHR):
13490 * string/rawmemchr.c (RAWMEMCHR):
13491 * string/strchr.c (strchr):
13492 * string/strchrnul.c (STRCHRNUL):
13493 Rewrite code to avoid issues with signed shift overflow.
13495 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
13497 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13498 whether cpuid is available only if HAS_CPUID is 0.
13499 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13500 (HAS_I586): Likewise.
13501 (HAS_I686): Likewise.
13503 2015-08-18 Zack Weinberg <zackw@panix.com>
13505 * misc/Versions (libc): Add GLIBC_2.23.
13507 2015-08-18 Alan Modra <amodra@gmail.com>
13510 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13512 (_start): Load %dp via .Lp__global.
13513 [!SHARED]: Use .section .rodata.
13515 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13517 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13518 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13520 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13522 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13523 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13525 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13527 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13528 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13530 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13532 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13533 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13535 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13537 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13538 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13540 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13542 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13543 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13545 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13547 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13549 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13551 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13552 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
13553 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13554 (__ASSUME_LWS_CAS): Delete.
13556 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13558 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13559 * sysdeps/hppa/configure: Regenerated.
13560 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13561 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13562 * sysdeps/hppa/nptl/tls.h: Likewise.
13564 2015-08-17 Joseph Myers <joseph@codesourcery.com>
13567 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13568 for scaling up small arguments.
13569 * math/s_csqrtf.c (__csqrtf): Likewise.
13570 * math/s_csqrtl.c (__csqrtl): Likewise.
13571 * math/auto-libm-test-in: Add more tests of csqrt.
13572 * math/auto-libm-test-out: Regenerated.
13574 2015-08-17 Andreas Schwab <schwab@suse.de>
13576 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13577 version set GLIBC_2.19.
13579 2015-08-16 Zack Weinberg <zackw@panix.com>
13582 * misc/regexp.h: This interface is no longer supported.
13583 Remove all contents, leaving only an #error directive.
13584 * misc/regexp.c (loc1, loc2, locs, step, advance):
13585 Demote to compatibility symbols.
13587 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
13590 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13591 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13592 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13593 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13594 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13595 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13596 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13597 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13598 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13600 2015-08-15 Zack Weinberg <zackw@panix.com>
13603 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13604 buffer length is known to be too large, not if it's known to be
13606 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13607 overflow at runtime, involving a length parameter, twice: once
13608 with a compile-time constant length parameter, once without.
13610 2015-08-14 Joseph Myers <joseph@codesourcery.com>
13613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13614 scaling x * y up instead of down.
13615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13617 * math/auto-libm-test-in: Add more tests of fma.
13618 * math/auto-libm-test-out: Regenerated.
13620 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13622 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13624 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13626 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13631 2015-08-13 Joseph Myers <joseph@codesourcery.com>
13633 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13634 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13635 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13637 * math/auto-libm-test-out: Regenerated.
13638 * sysdeps/i386/fpu/libm-test-ulps: Update.
13639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13642 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13643 (__tanh): Force underflow exception for arguments with small
13645 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13646 (__tanhf): Force underflow exception for arguments with small
13648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13649 (__tanhl): Force underflow exception for arguments with small
13651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13652 (__tanhl): Force underflow exception for arguments with small
13654 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13655 (__tanhl): Force underflow exception for arguments with small
13657 * math/auto-libm-test-in: Add more tests of tanh.
13658 * math/auto-libm-test-out: Regenerated.
13659 * sysdeps/i386/fpu/libm-test-ulps: Update.
13661 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13663 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13664 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13666 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13668 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13671 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13673 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13674 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13676 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13678 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13679 Remove $(objpfx)init-arch.o.
13680 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13682 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13683 (INIT_ARCH_EXT): Defined as empty.
13684 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13685 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13686 __init_cpu_features call. Replace HAS_XXX with
13687 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13688 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13690 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13691 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13692 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13693 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13694 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13695 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13696 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13697 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13698 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13699 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13700 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13701 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13702 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13703 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13704 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13705 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13706 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13707 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13708 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13709 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13710 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13711 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13712 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13713 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13714 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13715 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13716 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13718 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13719 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13720 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13721 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13722 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13724 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13726 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13727 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13728 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13729 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13730 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13731 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13732 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13733 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13734 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13735 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13736 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13737 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
13738 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13739 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13740 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13741 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13742 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13743 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13748 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13749 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13750 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13751 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13752 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13753 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13754 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13755 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13758 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13760 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13761 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13762 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13763 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13764 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13765 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13766 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13767 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13768 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13770 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13772 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13773 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13777 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13778 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13779 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13780 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13783 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13784 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13785 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13786 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13787 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13789 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13790 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13791 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13793 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13794 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13795 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13796 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13797 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13798 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13799 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
13800 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13801 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13802 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13803 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13804 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13805 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13806 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13807 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13808 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13809 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13810 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13811 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13812 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13813 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13814 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13816 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13818 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13819 (dl_platform_init): Call init_cpu_features.
13820 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13821 * sysdeps/i386/i686/cacheinfo.c
13822 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13823 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13824 * sysdeps/i386/i686/multiarch/Versions: Removed.
13825 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13827 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13828 * sysdeps/unix/sysv/linux/x86/Makefile
13829 (libpthread-sysdep_routines): Remove init-arch.
13830 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13831 <sysdeps/x86_64/dl-procinfo.c> instead of
13832 sysdeps/generic/dl-procinfo.c>.
13833 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13834 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13835 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13836 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13837 [$(subdir) == elf] (tests-static): Add
13838 tst-get-cpu-features-static.
13839 * sysdeps/x86/Versions: New file.
13840 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13841 * sysdeps/x86/cpu-features.c: Likewise.
13842 * sysdeps/x86/cpu-features.h: Likewise.
13843 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13844 * sysdeps/x86/libc-start.c: Likewise.
13845 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13846 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13847 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13848 * sysdeps/x86_64/dl-procinfo.c: Likewise.
13849 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13850 Assume USE_MULTIARCH is defined and don't check it.
13851 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13852 (is_amd): Likewise.
13853 (max_cpuid): Likewise.
13854 (intel_check_word): Likewise.
13855 (__cache_sysconf): Don't call __init_cpu_features.
13856 (__x86_preferred_memory_instruction): Removed.
13857 (init_cacheinfo): Don't call __init_cpu_features. Replace
13858 __cpu_features with GLRO(dl_x86_cpu_features).
13859 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13860 (dl_platform_init): Call init_cpu_features.
13861 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13862 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13863 * sysdeps/x86_64/multiarch/Versions: Removed.
13864 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13865 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13866 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13868 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13870 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13873 * libio/Makefile (test-fmemopen-mem): New test.
13874 * libio/test-fmemopen.c (do_bz18820): New test.
13875 * libio/fmemopen.c (__fmemopen): Fix memory leak.
13876 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13878 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13881 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13882 (FREE_BUF): Delete.
13883 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13884 * libio/genops.c (_IO_setb): Use malloc and free directly.
13885 (_IO_default_doallocate, _IO_default_finish): Likewise.
13886 ( _IO_unbuffer_all): Likewise.
13887 ( libc_freeres_fn): Likewise.
13888 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13889 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13890 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13891 (_IO_wdefault_doallocate): Likewise.
13893 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13896 * sysdeps/posix/nice.c (nice): Restore old errno.
13897 * posix/tst-nice.c (do_test): Add test for BZ #18086.
13899 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
13901 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13903 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13905 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13906 __bcopy and add a weak_alias to bcopy.
13907 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13910 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13911 cleanup macro usage.
13912 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13913 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13914 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13915 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13916 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13917 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13918 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13919 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13920 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13921 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13922 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13923 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13924 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13925 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13926 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13928 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13929 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13930 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13932 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13934 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13936 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13937 (sysdep_routines): Add strstr-ppc64.
13938 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13940 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
13943 * elf/Makefile (tests): Add Add tst-nodelete2.
13944 (modules-names): Add tst-nodelete2mod.
13945 (tst-nodelete2mod.so-no-z-defs): New.
13946 ($(objpfx)tst-nodelete2): Likewise.
13947 ($(objpfx)tst-nodelete2.out): Likewise.
13948 (LDFLAGS-tst-nodelete2): Likewise.
13949 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13950 out of loop through all loaded libraries.
13951 * elf/tst-nodelete2.c: New file.
13952 * elf/tst-nodelete2mod.c: Likewise.
13953 * elf/tst-znodelete-zlib.cc: Delete.
13955 2015-08-11 Andreas Schwab <schwab@suse.de>
13957 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13958 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13959 (__openat64_nocancel): Likewise.
13961 2015-08-11 Joseph Myers <joseph@codesourcery.com>
13963 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13964 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13965 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13966 * math/auto-libm-test-out: Regenerated.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13970 2015-08-10 Joseph Myers <joseph@codesourcery.com>
13973 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13974 threshold for returning +/- 1.
13975 * math/auto-libm-test-in: Add more tests of tanh.
13976 * math/auto-libm-test-out: Regenerated.
13977 * sysdeps/i386/fpu/libm-test-ulps: Update.
13979 2015-08-10 Andreas Schwab <schwab@suse.de>
13982 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13983 MORE_OFLAGS to oflag.
13984 * io/test-lfs.c (do_test): Test openat64.
13986 2015-08-10 Joseph Myers <joseph@codesourcery.com>
13989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13990 smaller threshold for returning the argument.
13991 * math/auto-libm-test-in: Add more tests of sinh.
13992 * math/auto-libm-test-out: Regenerated.
13993 * sysdeps/i386/fpu/libm-test-ulps: Update.
13995 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
13998 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14001 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
14003 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14004 (generated): Don't add $(addprefix z.,$(tzfiles)).
14006 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14008 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14009 * scripts/sysd-rules.awk: Likewise.
14011 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14013 * iconvdata/tst-tables.sh: Change echo -n to printf.
14014 * nss/db-Makefile: Likewise.
14015 * posix/tst-getconf.sh: Likewise.
14016 * stdio-common/tst-unbputc.sh: Likewise.
14018 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14020 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14021 MADV_*_PAGES defines behind this feature check.
14023 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
14026 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14027 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14029 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14030 LOAD_REGS_5, LOAD_REGS_6): Update.
14031 (INTERNAL_SYSCALL): Update using new LOAD defines.
14032 (INTERNAL_SYSCALL_NCS): Likewise.
14033 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14035 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14038 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14040 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14043 * catgets/Makefile (tst-catgets-mem): New test.
14044 * catgets/catgets.c (catopen): Don't use unbounded alloca.
14045 * catgets/open_catalog.c (__open_catalog): Likewise.
14046 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14048 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
14051 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14053 (atomic_compare_and_exchange_val_acq): Use register asms to assign
14054 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
14055 Cast return to __typeof (oldval).
14057 2015-08-08 Mike Frysinger <vapier@gentoo.org>
14059 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14060 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
14061 and delete sys/syscall.h include.
14063 2015-08-07 Joseph Myers <joseph@codesourcery.com>
14066 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14067 (tan): Force underflow exception for arguments with small absolute
14069 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14070 (__kernel_tanf): Force underflow exception for arguments with
14071 small absolute value.
14072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14073 (__kernel_tanl): Force underflow exception for arguments with
14074 small absolute value.
14075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14076 (__kernel_tanl): Force underflow exception for arguments with
14077 small absolute value.
14078 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14079 (__kernel_tanl): Force underflow exception for arguments with
14080 small absolute value.
14081 * math/auto-libm-test-in: Add more tests of tan.
14082 * math/auto-libm-test-out: Regenerated.
14084 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14086 Fix sysdeps/i386/fpu/s_scalbn.S build
14088 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14090 2015-08-07 Mike Frysinger <vapier@gentoo.org>
14092 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14094 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14096 Fix gcrt0.o compilation
14098 When static-start-installed-name is different from
14099 start-installed-name, we must not use the shared objects.
14102 (extra-objs): Add gmon-start.o when building shared library and
14103 $(static-start-installed-name) is different from
14104 $(start-installed-name).
14105 $(objpfx)g$(static-start-installed-name): When building shared
14106 library and $(static-start-installed-name) is different from
14107 $(static-start-installed-name), revert to non-shared rule,
14108 i.e. using $(objpfx)% and gmon-start.o.
14110 2015-08-06 Joseph Myers <joseph@codesourcery.com>
14113 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14114 (__ieee754_sinh): Force underflow exception for arguments with
14115 small absolute value.
14116 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14117 (__ieee754_sinhf): Force underflow exception for arguments with
14118 small absolute value.
14119 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14120 (__ieee754_sinhl): Force underflow exception for arguments with
14121 small absolute value.
14122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14123 (__ieee754_sinhl): Force underflow exception for arguments with
14124 small absolute value.
14125 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14126 (__ieee754_sinhl): Force underflow exception for arguments with
14127 small absolute value.
14128 * math/auto-libm-test-in: Add more tests of sinh.
14129 * math/auto-libm-test-out: Regenerated.
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14134 * libio/oldfileops.c: Include unistd.h.
14136 2015-08-06 Mike Frysinger <vapier@gentoo.org>
14138 * stdlib/isomac.c: Include ctype.h.
14140 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
14142 * dirent/tst-seekdir.c (main): Converted to ...
14143 (do_test): ... this.
14144 (TEST_FUNCTION): New macro.
14145 Include test-skeleton.c.
14146 * elf/tst-dlmodcount.c (main): Converted to ...
14147 (do_test): ... this.
14148 (TEST_FUNCTION): New macro.
14149 Include test-skeleton.c.
14150 * elf/tst-order-main.c (main): Converted to ...
14151 (do_test): ... this.
14152 (TEST_FUNCTION): New macro.
14153 Include test-skeleton.c.
14154 * elf/tst-pie2.c (main): Converted to ...
14155 (do_test): ... this.
14156 (TEST_FUNCTION): New macro.
14157 Include test-skeleton.c.
14158 * inet/tst-ether_aton.c (main): Converted to ...
14159 (do_test): ... this.
14160 (TEST_FUNCTION): New macro.
14161 Include test-skeleton.c.
14162 * misc/tst-mntent.c (main): Converted to ...
14163 (do_test): ... this.
14164 (TEST_FUNCTION): New macro.
14165 Include test-skeleton.c.
14166 * misc/tst-tsearch.c (main): Converted to ...
14167 (do_test): ... this.
14168 (TEST_FUNCTION): New macro.
14169 Include test-skeleton.c.
14170 * posix/tst-regexloc.c (main): Converted to ...
14171 (do_test): ... this.
14172 (TEST_FUNCTION): New macro.
14173 Include test-skeleton.c.
14174 * resolv/tst-aton.c (main): Converted to ...
14175 (do_test): ... this.
14176 (TEST_FUNCTION): New macro.
14177 Include test-skeleton.c.
14178 * stdio-common/test-fwrite.c (main): Converted to ...
14179 (do_test): ... this.
14180 (TEST_FUNCTION): New macro.
14181 Include test-skeleton.c.
14182 * stdio-common/tst-ferror.c (main): Converted to ...
14183 (do_test): ... this.
14184 (TEST_FUNCTION): New macro.
14185 Include test-skeleton.c.
14186 * stdio-common/tst-printf.c (main): Converted to ...
14187 (do_test): ... this.
14188 (TEST_FUNCTION): New macro.
14189 Include test-skeleton.c.
14190 * stdio-common/tst-printfsz.c (main): Converted to ...
14191 (do_test): ... this.
14192 (TEST_FUNCTION): New macro.
14193 Include test-skeleton.c.
14194 * stdlib/tst-strtod.c (main): Converted to ...
14195 (do_test): ... this.
14196 (TEST_FUNCTION): New macro.
14197 Include test-skeleton.c.
14198 * string/tst-strlen.c (main): Converted to ...
14199 (do_test): ... this.
14200 (TEST_FUNCTION): New macro.
14201 Include test-skeleton.c.
14202 * string/tst-svc.c (main): Converted to ...
14203 (do_test): ... this.
14204 (TEST_FUNCTION): New macro.
14205 Include test-skeleton.c.
14206 * time/tst-strptime.c (main): Converted to ...
14207 (do_test): ... this.
14208 (TEST_FUNCTION): New macro.
14209 Include test-skeleton.c.
14210 * timezone/tst-timezone.c (main): Converted to ...
14211 (do_test): ... this.
14212 (TEST_FUNCTION): New macro.
14213 Include test-skeleton.c.
14215 2015-08-05 Zack Weinberg <zackw@panix.com>
14217 * misc/regexp.h: Update comments.
14219 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
14222 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14223 before return label.
14225 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14228 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14229 when calling __errno_location.
14230 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14231 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14233 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14237 (__lll_timedwait_tid): Align stack to 16 bytes when calling
14240 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14243 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14244 (__start_context): Don't use pop to restore %rdi so that stack
14245 is aligned to 16 bytes when calling __setcontext.
14247 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14249 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14251 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14253 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14255 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14256 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
14257 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14259 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14261 * string/memccpy.c (memccpy):
14262 Improve performance by using memchr/memcpy/__mempcpy.
14264 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14266 * string/strncpy.c (strncpy):
14267 Improve performance by using __strnlen/memcpy.
14269 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14271 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14272 Optimize to avoid an unnecessary FPCR read.
14274 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14276 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14277 Optimize to reduce FPCR/FPSR accesses.
14279 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14281 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14282 dead->data[category] != NULL.
14284 2015-08-05 Joseph Myers <joseph@codesourcery.com>
14287 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14288 and |x| close to 1, use absolute value of x when computing log.
14289 * math/auto-libm-test-in: Add more tests of pow.
14290 * math/auto-libm-test-out: Regenerated.
14292 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14294 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14295 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14296 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14298 2015-08-05 Marko Myllynen <myllynen@redhat.com>
14301 * locales/km_KH: Remove timezone definition.
14302 * locales/lo_LA: Likewise.
14303 * locales/my_MM: Likewise.
14304 * locales/nan_TW@latin: Likewise.
14305 * locales/th_TH: Likewise.
14306 * locales/uk_UA: Likewise.
14308 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14311 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14312 (wcsncat): Likewise.
14313 (wcscmp): Likewise.
14314 (wcsncmp): Likewise.
14316 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14318 * test-skeleton.c (usage): New function.
14319 (main): Call usage when opt is '?'.
14321 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14323 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14326 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14328 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14329 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
14332 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
14334 * version.h (RELEASE): Set to "development".
14335 (VERSION): Set to "2.22.90"
14337 * version.h (RELEASE): Set to "stable".
14338 (VERSION): Set to "2.22"
14339 * include/features.h (__GLIBC_MINOR__): Set to 22.
14341 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
14343 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14344 Restructure macro to avoid "value computed is not used" warning.
14345 (atomic_compare_and_exchange_val_acq): Likewise.
14347 2015-08-04 Andreas Schwab <schwab@suse.de>
14350 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14352 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14354 2015-08-01 Carlos O'Donell <carlos@redhat.com>
14356 * po/pl.po: Updated translation.
14357 * po/uk.po: Likewise.
14358 * po/fi.po: Likewise.
14359 * po/ko.po: Likewise.
14360 * po/ru.po: Likewise.
14361 * po/vi.po: Likewise.
14363 2015-07-31 Zack Weinberg <zackw@panix.com>
14366 * regexp.h: Add unconditional #warning stating that this header
14367 will be removed soon. Revise banner comment to match.
14368 (compile): Consistently use ERROR instead of RETURN to report
14369 errors (partial fix for bz#18681).
14370 * regexp.c: Don't include regexp.h. Remove some unnecessary
14373 2015-07-31 Carlos O'Donell <carlos@redhat.com>
14375 * po/libc.pot: Regenerated.
14377 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
14380 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14381 float-vlen4-arch-ext-cflags): Removed.
14382 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14383 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14385 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14388 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14389 aligned to __aligned__.
14390 (pthread_cond_t, pthread_rwlock_t): Likewise.
14392 2015-07-30 Torvald Riegel <triegel@redhat.com>
14394 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14396 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14398 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14399 (struct sigaction): Change sa_flags from a long to an int, and add
14400 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14402 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14404 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14405 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14406 sysdeps/generic/sysdep.h include.
14407 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14408 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
14409 sysdeps/hppa/sysdep.h.
14410 (ENTRY, PSEUDO): Undefine before defining.
14412 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14414 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14415 from scratch to use INTERNAL_SYSCALL.
14417 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
14420 * scripts/check-localplt.awk: Support alternate relocations.
14421 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14423 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14424 malloc entries with + REL R_386_GLOB_DAT.
14425 * sysdeps/x86_64/localplt.data: New file.
14427 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
14430 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14431 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14432 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14434 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14436 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14438 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14440 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14441 directly in terms of __sync_fetch_and_add and delete (int) cast.
14443 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14445 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14446 the -D_ASM_IA64_CURRENT_H flag.
14448 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14451 * pwd/pwd.h (putpwent): Delete __nonnull markings.
14453 2015-07-27 Andreas Schwab <schwab@suse.de>
14455 * conform/conformtest.pl (checknamespace): Filter out string
14456 literals while tokenizing.
14458 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
14460 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14461 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14462 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14464 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
14466 * nptl/tst-join7mod.c: Add #include <string.h>.
14468 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
14470 * sysdeps/nios2/libm-test-ulps: Update.
14472 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
14474 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14475 Fix order of arguments to the rt_sigprocmask syscall.
14476 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14479 2015-07-24 Roland McGrath <roland@hack.frob.com>
14481 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14483 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14486 * nptl/Makefile (tests): New test case tst-join7.
14487 (modules-names): New test case module tst-join7mod.
14488 * nptl/tst-join7.c: New file.
14489 * nptl/tst-join7mod.c: New file.
14490 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14491 all translation units in libc.so, libpthread.so and rtld.
14493 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14497 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
14499 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14500 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14501 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14502 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14503 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14504 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14505 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14506 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14507 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14508 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14509 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14510 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14511 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14512 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14513 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14516 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14519 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14520 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14521 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14522 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14523 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14524 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14526 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14528 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14529 instead of just saying load lock in the comments.
14531 2015-07-23 Roland McGrath <roland@hack.frob.com>
14533 * sysdeps/unix/Subdirs: Moved ...
14534 * sysdeps/posix/Subdirs: ... here.
14535 * login/pty.h (struct termios, struct winsize): Add forward decls.
14536 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14537 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14538 * sysdeps/arm/nacl/libc.abilist: Updated.
14539 * sysdeps/nacl/libutil.abilist: New file.
14541 * bits/signum.h: Update comments to mention 1003.1-2013 too.
14542 (SIGWINCH): New macro.
14544 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14545 * sysdeps/arm/nacl/libc.abilist: Add it.
14547 2015-07-23 Mike Frysinger <vapier@gentoo.org>
14549 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14551 2015-07-23 Mike Frysinger <vapier@gentoo.org>
14553 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14554 Swap __glibc_reserved0 and sa_flags order.
14556 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14559 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14560 are pending TLS destructor calls.
14561 * include/link.h (struct link_map): Add concurrency note for
14563 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14564 Don't touch the link map flag. Atomically increment
14566 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14567 Avoid taking the load lock and don't touch the link map flag.
14568 * stdlib/tst-tls-atexit-nodelete.c: New test case.
14569 * stdlib/Makefile (tests): Use it.
14570 * stdlib/tst-tls-atexit.c (do_test): dlopen
14571 tst-tls-atexit-lib.so again before dlclose. Add conditionals
14572 to allow tst-tls-atexit-nodelete test case to use it.
14574 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14576 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14578 (msgqnum_t): New typedef.
14579 (msglen_t): Likewise.
14580 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
14581 and msg_qbytes type to msglen_t.
14583 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14585 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14586 pad0 to __glibc_reserved0.
14587 (struct stat64): Likewise.
14589 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14591 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14592 Change sa_flags from a long to an int and add __glibc_reserved0 before
14595 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14597 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14598 anonymous by deleting "siginfo" name.
14600 2015-07-21 Roland McGrath <roland@hack.frob.com>
14602 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14603 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14604 rather than __nacl_irt_filename.
14605 * sysdeps/nacl/xstat.c (__xstat): Likewise.
14607 * NEWS: New item for arm-nacl port.
14608 * sysdeps/arm/nacl/libc.abilist: New file.
14609 * sysdeps/nacl/ld.abilist: New file.
14610 * sysdeps/nacl/libBrokenLocale.abilist: New file.
14611 * sysdeps/nacl/libanl.abilist: New file.
14612 * sysdeps/nacl/libcrypt.abilist: New file.
14613 * sysdeps/nacl/libdl.abilist: New file.
14614 * sysdeps/nacl/libm.abilist: New file.
14615 * sysdeps/nacl/libpthread.abilist: New file.
14616 * sysdeps/nacl/libresolv.abilist: New file.
14617 * sysdeps/nacl/librt.abilist: New file.
14619 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
14621 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14622 __startcontext to initialize the new context.
14623 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14624 up CFI directive to forbid further backtracing.
14626 2015-07-21 Marko Myllynen <myllynen@redhat.com>
14628 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14630 * charmaps/ANSI_X3.4-1968: Likewise.
14631 * charmaps/BS_4730: Likewise.
14632 * charmaps/BS_VIEWDATA: Likewise.
14633 * charmaps/CP1250: Likewise.
14634 * charmaps/CP1251: Likewise.
14635 * charmaps/CP1252: Likewise.
14636 * charmaps/CP1253: Likewise.
14637 * charmaps/CP1254: Likewise.
14638 * charmaps/CP1255: Likewise.
14639 * charmaps/CP1256: Likewise.
14640 * charmaps/CSN_369103: Likewise.
14641 * charmaps/EBCDIC-DK-NO: Likewise.
14642 * charmaps/GB_1988-80: Likewise.
14643 * charmaps/GREEK-CCITT: Likewise.
14644 * charmaps/GREEK7: Likewise.
14645 * charmaps/INIS-8: Likewise.
14646 * charmaps/ISIRI-3342: Likewise.
14647 * charmaps/ISO_2033-1983: Likewise.
14648 * charmaps/ISO_5427-EXT: Likewise.
14649 * locales/POSIX: Likewise.
14650 * locales/ar_SA: Likewise.
14651 * locales/be_BY: Likewise.
14652 * locales/be_BY@latin: Likewise.
14653 * locales/ca_ES: Likewise.
14654 * locales/cs_CZ: Likewise.
14655 * locales/da_DK: Likewise.
14656 * locales/de_BE: Likewise.
14657 * locales/de_CH: Likewise.
14658 * locales/de_LU: Likewise.
14659 * locales/en_AU: Likewise.
14660 * locales/en_BW: Likewise.
14661 * locales/en_CA: Likewise.
14662 * locales/en_DK: Likewise.
14663 * locales/en_GB: Likewise.
14664 * locales/en_IE: Likewise.
14665 * locales/en_NZ: Likewise.
14666 * locales/en_ZA: Likewise.
14667 * locales/en_ZW: Likewise.
14668 * locales/es_AR: Likewise.
14669 * locales/es_BO: Likewise.
14670 * locales/es_CL: Likewise.
14671 * locales/es_CO: Likewise.
14672 * locales/es_DO: Likewise.
14673 * locales/es_EC: Likewise.
14674 * locales/es_ES: Likewise.
14675 * locales/es_HN: Likewise.
14676 * locales/es_MX: Likewise.
14677 * locales/es_PA: Likewise.
14678 * locales/es_PE: Likewise.
14679 * locales/es_PY: Likewise.
14680 * locales/es_SV: Likewise.
14681 * locales/es_US: Likewise.
14682 * locales/es_UY: Likewise.
14683 * locales/es_VE: Likewise.
14684 * locales/et_EE: Likewise.
14685 * locales/fa_IR: Likewise.
14686 * locales/fo_FO: Likewise.
14687 * locales/fr_CA: Likewise.
14688 * locales/fr_CH: Likewise.
14689 * locales/gv_GB: Likewise.
14690 * locales/he_IL: Likewise.
14691 * locales/hr_HR: Likewise.
14692 * locales/id_ID: Likewise.
14693 * locales/is_IS: Likewise.
14694 * locales/it_CH: Likewise.
14695 * locales/iw_IL: Likewise.
14696 * locales/kl_GL: Likewise.
14697 * locales/ko_KR: Likewise.
14698 * locales/kw_GB: Likewise.
14699 * locales/lg_UG: Likewise.
14700 * locales/lt_LT: Likewise.
14701 * locales/lv_LV: Likewise.
14702 * locales/mi_NZ: Likewise.
14703 * locales/nhn_MX: Likewise.
14704 * locales/nl_BE: Likewise.
14705 * locales/pl_PL: Likewise.
14706 * locales/sk_SK: Likewise.
14707 * locales/sl_SI: Likewise.
14708 * locales/sv_FI: Likewise.
14709 * locales/tl_PH: Likewise.
14710 * locales/tr_TR: Likewise.
14711 * locales/vi_VN: Likewise.
14713 2015-07-21 Khem Raj <raj.khem@gmail.com>
14716 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14717 of tu_IN and bh_IN.
14719 2015-07-21 Mike Frysinger <vapier@gentoo.org>
14722 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14724 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14726 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14728 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14729 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14730 (spawn_thread): New function.
14731 (load): Rename to reg_dtor_and_close. Move dlopen to...
14732 (do_test): ... here. Use IS_LOADED to test for its
14735 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
14737 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14739 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
14742 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14745 (si_upper): Likewise.
14747 2015-07-16 David S. Miller <davem@davemloft.net>
14749 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14751 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14753 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14755 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14756 fail output information.
14758 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14763 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14764 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14765 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14766 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14768 2015-07-16 Mike Frysinger <vapier@gentoo.org>
14770 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14771 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14772 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14773 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14775 2015-07-16 Mike Frysinger <vapier@gentoo.org>
14777 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14778 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14780 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14782 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14784 * tst-nodelete-opened.c (do_test): Add comment to clarify how
14787 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14790 * elf/tst-nodelete-opened.c: New test case.
14791 * elf/tst-nodelete-opened-lib.c: New test case module.
14792 * elf/Makefile (tests, modules-names): Use them.
14793 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14796 2015-07-15 David S. Miller <davem@davemloft.net>
14798 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14800 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14801 * sysdeps/sparc/sparc64/Makefile: Likewise.
14802 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14803 Remove space from macro define.
14804 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14806 2015-07-15 Pravin Satpute <psatpute@redhat.com>
14809 * locale/iso-639.def: Update Bhili and Tulu language codes as
14812 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
14814 * elf/tst-leaks1.c (main): Converted to ...
14815 (do_test): ... this.
14816 (TEST_FUNCTION): New macro.
14817 Include test-skeleton.c.
14818 * localedata/tst-langinfo.c (main): Converted to ...
14819 (do_test): ... this.
14820 (TEST_FUNCTION): New macro.
14821 Include test-skeleton.c.
14822 * math/test-fpucw.c (main): Converted to ...
14823 (do_test): ... this.
14824 (TEST_FUNCTION): New macro.
14825 Include test-skeleton.c.
14826 * math/test-tgmath.c (main): Converted to ...
14827 (do_test): ... this.
14828 (TEST_FUNCTION): New macro.
14829 Include test-skeleton.c.
14830 * math/test-tgmath2.c (main): Converted to ...
14831 (do_test): ... this.
14832 (TEST_FUNCTION): New macro.
14833 Include test-skeleton.c.
14834 * setjmp/tst-setjmp.c (main): Converted to ...
14835 (do_test): ... this.
14836 (TEST_FUNCTION): New macro.
14837 Include test-skeleton.c.
14838 * stdio-common/tst-sscanf.c (main): Converted to ...
14839 (do_test): ... this.
14840 (TEST_FUNCTION): New macro.
14841 Include test-skeleton.c.
14842 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14843 (do_test): ... this.
14844 (TEST_FUNCTION): New macro.
14845 Include test-skeleton.c.
14847 * elf/tst-audit9.c (main): Converted to ...
14848 (do_test): ... this.
14849 (TEST_FUNCTION): New macro.
14850 Include test-skeleton.c.
14852 2015-07-15 Mike Frysinger <vapier@gentoo.org>
14854 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14856 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14858 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14861 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14863 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14865 2015-07-14 Roland McGrath <roland@hack.frob.com>
14867 * sysdeps/generic/dl-fileid.h: New file.
14868 * sysdeps/posix/dl-fileid.h: New file.
14869 * sysdeps/nacl/dl-fileid.h: New file.
14870 * include/link.h: Include <dl-fileid.h>.
14871 (struct link_map): Replace l_dev and l_ino with l_file_id.
14872 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14873 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
14874 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
14876 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14878 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14880 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14882 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14883 Add iff $CXX is set.
14884 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14886 (tst-nodelete-zmodiff): Likewise.
14887 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14889 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14891 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14893 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
14895 * sysdeps/aarch64/fpu/math_private.h
14896 (define math_opt_barrier): Add AArch64 version.
14897 (math_force_eval): Likewise.
14899 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
14901 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14903 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
14905 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14906 %ld with %jd and cast to intmax_t.
14907 (do_test_length_zero): Likewise.
14909 2015-07-10 Roland McGrath <roland@hack.frob.com>
14911 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14913 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
14915 * sysdeps/tile/libm-test-ulps: Regenerated.
14917 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14918 Comment out the whole function, not just its body.
14920 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14922 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14925 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14927 2015-07-10 Torvald Riegel <triegel@redhat.com>
14929 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14930 (sem_assume_only_signals_cause_futex_EINTR): Remove.
14932 2015-07-10 Torvald Riegel <triegel@redhat.com>
14934 * sysdeps/nptl/futex-internal.h: New file.
14935 * sysdeps/nacl/futex-internal.h: New file.
14936 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14937 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14939 (setxid_unmark_thread): Likewise.
14940 (__nptl_setxid): Likewise.
14941 (__wait_lookup_done): Likewise.
14942 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14943 * nptl/nptl-init.c (sighandler_setxid): Likewise.
14944 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14945 * nptl/pthread_once.c (clear_once_control): Likewise.
14946 (__pthread_once_slow): Likewise.
14947 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14948 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14949 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14950 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14951 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14952 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14954 (__pthread_rwlock_rdlock): Likewise.
14955 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14957 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14959 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14961 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14962 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14964 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14965 __ASSUME_PRIVATE_FUTEX check.
14966 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14967 Check that shared futexes are supported.
14968 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14969 wrappers with error checking.
14970 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14971 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14972 * nptl/pthread_barrierattr_setpshared.c
14973 (pthread_barrierattr_setpshared): Check that shared futexes are
14975 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14977 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14979 * nptl/sem_init.c (futex_private_if_supported): Remove.
14980 (__new_sem_init): Adapt and check that shared futexes are supported.
14981 * nptl/sem_open.c (sem_open): Likewise.
14982 * nptl/sem_post.c (futex_wake): Remove.
14983 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14984 (do_futex_wait): Use futex wrappers with error checking.
14985 * nptl/sem_wait.c: Include lowlevellock.h.
14986 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14987 Use futex_supports_pshared.
14988 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14989 Use futex wrappers with error checking.
14990 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14992 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14993 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14994 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14995 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14996 (futex_wake): Likewise.
14997 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14998 (do_futex_wait): Use futex wrappers with error checking.
14999 (__new_sem_wait_slow): Update EINTR handling.
15000 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15002 2015-07-09 Martin Sebor <msebor@redhat.com>
15005 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15006 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15007 * nptl/Makefile (test-xfail-tst-once5): Define.
15009 2015-07-09 Roland McGrath <roland@hack.frob.com>
15011 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15012 * elf/dl-minimal.c: For readability, reorder some definitions and
15013 introduce more page breaks. Include <stdio.h>.
15014 (__libc_fatal): New function.
15016 * include/unistd.h: Add rtld_hidden_proto for _exit.
15017 * posix/_exit.c: Add rtld_hidden_def.
15018 * sysdeps/mach/hurd/_exit.c: Likewise.
15019 * sysdeps/nacl/_exit.c: Likewise.
15020 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15021 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15023 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
15025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15026 bndmov encoding with zero displacement.
15028 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
15029 H.J. Lu <hongjiu.lu@intel.com>
15032 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15033 * sysdeps/i386/configure: Regenerated.
15034 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15035 (_dl_runtime_profile): Save and restore Intel MPX return bound
15036 registers when calling _dl_call_pltexit. Add
15037 PRESERVE_BND_REGS_PREFIX before return.
15038 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15039 (LRV_BND1_OFFSET): Likewise.
15040 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15043 typo in bndmov encoding.
15044 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15045 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
15046 branch instructions to preserve bounds.
15048 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15051 [GLIBC_2.22]: Add fmemopen.
15053 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
15055 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15056 returns an error, also try to use host port from __mach_host_self for
15057 the __vm_wire call.
15058 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15060 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
15064 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15065 Fix pr_uid and pr_gid members.
15066 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15067 definition to elf_greg_t.
15069 2015-07-08 Roland McGrath <roland@hack.frob.com>
15072 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15073 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15074 * sysdeps/arm/configure: Regenerated.
15075 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15076 (test-xfail-tst-tlsalign-static): Variable removed.
15078 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15079 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15080 rather than explicit 'ln -s'.
15082 * resolv/rpc/netdb.h: New file.
15083 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15085 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15087 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15089 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15098 * include/stdio.h (fmemopen): Remove hidden prototype.
15099 (__fmemopen): Add new hidden prototype.
15100 * libio/Makefile: Add oldfmemopen object.
15101 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15102 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15104 * libio/oldfmemopen.c: New file: old fmemopen implementation for
15105 symbol compatibility.
15106 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15107 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15109 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15110 on append and read mode.
15111 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15113 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15114 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15115 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15116 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15118 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15119 [GLIBC_2.22]: Likewise.
15120 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15122 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15124 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15125 [GLIBC_2.22]: Likewise.
15126 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15127 [GLIBC_2.22]: Likewise.
15128 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15129 [GLIBC_2.22]: Likewise.
15130 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15131 [GLIBC_2.22]: Likewise.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15133 [GLIBC_2.22]: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15135 [GLIBC_2.22]: Likewise.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15137 [GLIBC_2.22]: Likewise.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15140 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15142 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15144 [GLIBC_2.22]: Likewise.
15145 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15146 [GLIBC_2.22]: Likewise.
15147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15148 [GLIBC_2.22]: Likewise.
15149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15150 [GLIBC_2.22]: Likewise.
15151 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15153 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15155 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15157 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15158 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15160 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15163 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15164 IPV6_PATHMTU, and IPV6_DONTFRAG.
15166 2015-07-08 Feng Gao <gfree.wind@gmail.com>
15168 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15169 and _IO_UNBUFFERED.
15170 * libio/oldfileops.c: Likewise.
15171 * libio/wfileops.c: Likewise.
15173 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15175 * nscd/selinux.c: Delete selinux/flask.h include.
15177 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15180 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15181 (putpwent): Likewise.
15182 (getpwnam): Likewise.
15183 (getpwent_r): Likewise.
15184 (getpwuid_r): Likewise.
15185 (getpwnam_r): Likewise.
15186 (fgetpwent_r): Likewise.
15188 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15191 * inet/rcmd.c (__validuser2_sa): Check user first to
15192 short-circuit host check.
15194 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
15195 Mikhail Ilin <m.ilin@samsung.com>
15198 * elf/Makefile (tests): Add tst-nodelete.
15199 (modules-names): Add tst-nodelete-uniquemod.
15200 (tst-nodelete-uniquemod.so-no-z-defs): New.
15201 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15202 (tst-nodelete-zmod.so-no-z-defs): Likewise.
15203 ($(objpfx)tst-nodelete): Likewise.
15204 ($(objpfx)tst-nodelete.out): Likewise.
15205 (LDFLAGS-tst-nodelete): Likewise.
15206 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15207 * elf/dl-close.c (_dl_close_worker): Add a parameter to
15208 implement forced object deletion.
15209 (_dl_close): Pass false to _dl_close_worker.
15210 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15211 * elf/tst-nodelete.cc: New file.
15212 * elf/tst-nodeletelib.cc: Likewise.
15213 * elf/tst-znodeletelib.cc: Likewise.
15214 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15216 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15219 * stdlib/Makefile ($(objpfx)tst-makecontext3):
15220 Depend on $(libdl).
15221 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15222 is not called infinitely times.
15223 (backtrace_helper): New function.
15224 (trace_arg): New struct.
15225 (st1): Enlarge stack size.
15226 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15227 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15228 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15231 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15233 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15235 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15237 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15238 Include sys/types.h instead of bits/types.h.
15239 Remove inclusion of bits/wordsize.h.
15241 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15244 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15245 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15246 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15247 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15248 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15250 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15252 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15254 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15255 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15256 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15258 * sysdeps/i386/link-defines.sym: New file.
15260 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15262 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15263 (modules-names): Add tst-auditmod3a tst-auditmod3b.
15264 ($(objpfx)tst-audit3): New rule.
15265 ($(objpfx)tst-audit3.out): Likewise.
15266 * sysdeps/i386/tst-audit3.c: New file.
15267 * sysdeps/i386/tst-audit3.h: Likewise.
15268 * sysdeps/i386/tst-auditmod3a.c: Likewise.
15269 * sysdeps/i386/tst-auditmod3b.c: Likewise.
15271 2015-07-07 Torvald Riegel <triegel@redhat.com>
15274 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15276 (__strcat_c): Likewise.
15277 (__strcat_g): Likewise.
15279 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
15282 * misc/sbrk.c: Set errno to ENOMEM on overflow.
15284 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15286 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15287 New function. (__ieee754_sqrtf): New function.
15288 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15290 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15293 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15295 * sysdeps/ieee754/support.c: Remove unused file.
15297 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15299 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15300 registers instead of d ones so the layout is kernel abi compatible.
15301 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15302 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15305 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15307 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15309 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15312 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15313 and return argument in case of subnormal argument.
15315 2015-07-01 Martin Sebor <msebor@redhat.com>
15318 * nptl/Makefile: Add tst-once5.cc.
15319 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15320 Remove macro redefinitions.
15321 * nptl/tst-once5.cc: New test.
15323 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15325 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15327 * sysdeps/arm/libm-test-ulps: Regenerated.
15329 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15330 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15332 2015-06-30 Torvald Riegel <triegel@redhat.com>
15334 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15335 lll_lock_wait_private and lll_futex_wake probes.
15337 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15338 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15340 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15342 * sysdeps/x86_64/bits/atomic.h: Likewise.
15343 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15344 to atomic_spin_nop and move ...
15345 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15347 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15348 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15349 atomic_spin_nop instead of BUSY_WAIT_NOP.
15350 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15352 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15353 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15354 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15355 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15356 instead of atomic_delay.
15358 2015-06-29 Joseph Myers <joseph@codesourcery.com>
15361 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15362 X_ADJ not X when adjusting exponent.
15363 (__ieee754_gamma_r): Do intermediate computations in
15364 round-to-nearest then adjust overflowing and underflowing results
15366 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15367 of X_ADJ not X when adjusting exponent.
15368 (__ieee754_gammaf_r): Do intermediate computations in
15369 round-to-nearest then adjust overflowing and underflowing results
15371 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15372 log of X_ADJ not X when adjusting exponent.
15373 (__ieee754_gammal_r): Do intermediate computations in
15374 round-to-nearest then adjust overflowing and underflowing results
15375 as needed. Use 1.0L not 1.0f as numerator of division.
15376 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15377 log of X_ADJ not X when adjusting exponent.
15378 (__ieee754_gammal_r): Do intermediate computations in
15379 round-to-nearest then adjust overflowing and underflowing results
15380 as needed. Use 1.0L not 1.0f as numerator of division.
15381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15382 of X_ADJ not X when adjusting exponent.
15383 (__ieee754_gammal_r): Do intermediate computations in
15384 round-to-nearest then adjust overflowing and underflowing results
15385 as needed. Use 1.0L not 1.0f as numerator of division.
15386 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
15387 to auto-libm-test-in.
15388 (tgamma_test): Use ALL_RM_TEST.
15389 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
15390 tests of tgamma with spurious-overflow.
15391 * math/auto-libm-test-out: Regenerated.
15392 * math/gen-libm-have-vector-test.sh: Do not check for START.
15393 * sysdeps/i386/fpu/libm-test-ulps: Update.
15394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15398 arguments, just return 0.5 times the argument, with underflow
15400 * math/auto-libm-test-in: Add more tests of j1.
15401 * math/auto-libm-test-out: Regenerated.
15404 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15405 (__ieee754_j1): Force underflow exception for small results.
15406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15407 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15408 (__ieee754_j1f): Force underflow exception for small results.
15409 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15410 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15412 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15413 (__ieee754_j1l): Force underflow exception for small results.
15414 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15415 * math/auto-libm-test-in: Add more tests of j1 and jn.
15416 * math/auto-libm-test-out: Regenerated.
15418 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15419 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15420 (PF_MPLS): Likewise.
15422 (AF_MPLS): Likewise.
15423 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15425 (MS_RMT_MASK): Include MS_LAZYTIME.
15427 2015-06-26 Mel Gorman <mgorman@suse.de>
15430 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15433 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
15435 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15436 (DT_MIPS_NUM): Update.
15437 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15438 DT_MIPS_RLD_MAP_REL.
15440 2015-06-25 Joseph Myers <joseph@codesourcery.com>
15444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15445 round-to-nearest internally then recompute results that
15446 underflowed to zero in the original rounding mode.
15447 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15448 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15451 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15455 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
15457 * NEWS: Fixed description of link with vector math library.
15459 2015-06-25 Andreas Schwab <schwab@suse.de>
15462 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15463 * libio/test-fmemopen.c (do_test): Add test for it.
15465 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
15468 * Makeconfig (no-pie-ldflag): New.
15469 (+link): Set to $(+link-pie) if default to PIE.
15470 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15471 * config.make.in (build-pie-default): New.
15472 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
15473 is default. AC_SUBST.
15474 * configure: Regenerated.
15475 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15477 2015-06-24 Roland McGrath <roland@hack.frob.com>
15479 * nptl/descr.h (struct pthread): Change type of field setxid_futex
15482 * resolv/gai_misc.h (struct waitlist): Change type of field
15483 counterp to 'volatile unsigned int *'.
15484 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15485 FUTEXADDR and OLDVAL.
15486 * resolv/getaddrinfo_a.c (getaddrinfo_a):
15487 Give local variable TOTAL type 'volatile unsigned int'.
15488 (struct async_waitlist): Change type of field counter to 'unsigned int'.
15489 * resolv/gai_suspend.c (gai_suspend):
15490 Give local variable CNTR type 'unsigned int'.
15492 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15493 counterp to 'volatile unsigned int *'.
15494 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15495 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15496 (aio_suspend): Give local variable CNTR type 'unsigned int'.
15497 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15498 Give local variable TOTAL type 'volatile unsigned int'.
15499 (struct async_waitlist): Change type of field counter to 'unsigned int'.
15501 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
15504 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15505 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
15506 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15507 comment for i386/x86-64.
15508 (test-xfail-tst-tlsalign-extern-static): Removed.
15510 2015-06-24 Joseph Myers <joseph@codesourcery.com>
15512 * math/test-double.h: New file.
15513 * math/test-float.h: Likewise.
15514 * math/test-ldouble.h: Likewise.
15515 * math/test-math-inline.h: Likewise.
15516 * math/test-math-no-inline.h: Likewise.
15517 * math/test-math-scalar.h: Likewise.
15518 * math/test-math-vector.h: Likewise.
15519 * math/test-vec-loop.h: Remove file. Contents moved into
15520 test-math-vector.h.
15521 * math/libm-test.inc (MATHCONST): Do not document macro.
15522 * math/test-double.c: Include test-double.h, test-math-no-inline.h
15523 and test-math-scalar.h.
15524 (FUNC): Remove macro.
15525 (FUNC_TEST): Likewise.
15527 (MATHCONST): Likewise.
15528 (PRINTF_EXPR): Likewise.
15529 (PRINTF_XEXPR): Likewise.
15530 (PRINTF_NEXPR): Likewise.
15531 (TEST_DOUBLE): Likewise.
15532 (TEST_MATHVEC): Likewise.
15533 (__NO_MATH_INLINES): Likewise.
15534 * math/test-float.c: Include test-float.h, test-math-no-inline.h
15535 and test-math-scalar.h.
15536 (FUNC): Remove macro.
15537 (FUNC_TEST): Likewise.
15539 (MATHCONST): Likewise.
15540 (PRINTF_EXPR): Likewise.
15541 (PRINTF_XEXPR): Likewise.
15542 (PRINTF_NEXPR): Likewise.
15543 (TEST_FLOAT): Likewise.
15544 (TEST_MATHVEC): Likewise.
15545 (__NO_MATH_INLINES): Likewise.
15546 * math/test-idouble.c: Include test-double.h, test-math-inline.h
15547 and test-math-scalar.h.
15548 (FUNC): Remove macro.
15549 (FUNC_TEST): Likewise.
15551 (MATHCONST): Likewise.
15552 (PRINTF_EXPR): Likewise.
15553 (PRINTF_XEXPR): Likewise.
15554 (PRINTF_NEXPR): Likewise.
15555 (TEST_DOUBLE): Likewise.
15556 (TEST_MATHVEC): Likewise.
15557 (TEST_INLINE): Likewise.
15558 (__NO_MATH_INLINES): Likewise.
15559 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15560 test-math-scalar.h.
15561 (FUNC): Remove macro.
15562 (FUNC_TEST): Likewise.
15564 (MATHCONST): Likewise.
15565 (PRINTF_EXPR): Likewise.
15566 (PRINTF_XEXPR): Likewise.
15567 (PRINTF_NEXPR): Likewise.
15568 (TEST_FLOAT): Likewise.
15569 (TEST_MATHVEC): Likewise.
15570 (TEST_INLINE): Likewise.
15571 (__NO_MATH_INLINES): Likewise.
15572 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15573 and test-math-scalar.h.
15574 (FUNC): Remove macro.
15575 (FUNC_TEST): Likewise.
15577 (MATHCONST): Likewise.
15578 (PRINTF_EXPR): Likewise.
15579 (PRINTF_XEXPR): Likewise.
15580 (PRINTF_NEXPR): Likewise.
15581 (TEST_LDOUBLE): Likewise.
15582 (TEST_MATHVEC): Likewise.
15583 (TEST_INLINE): Likewise.
15584 (__NO_MATH_INLINES): Likewise.
15585 * math/test-ldouble.c: Include test-ldouble.h,
15586 test-math-no-inline.h and test-math-scalar.h.
15587 (FUNC): Remove macro.
15588 (FUNC_TEST): Likewise.
15590 (MATHCONST): Likewise.
15591 (PRINTF_EXPR): Likewise.
15592 (PRINTF_XEXPR): Likewise.
15593 (PRINTF_NEXPR): Likewise.
15594 (TEST_LDOUBLE): Likewise.
15595 (TEST_MATHVEC): Likewise.
15596 (__NO_MATH_INLINES): Likewise.
15597 * math/test-double-vlen2.h: Include test-double.h,
15598 test-math-no-inline.h and test-math-vector.h.
15599 (FLOAT): Remove macro.
15601 (MATHCONST): Likewise.
15602 (PRINTF_EXPR): Likewise.
15603 (PRINTF_XEXPR): Likewise.
15604 (PRINTF_NEXPR): Likewise.
15605 (TEST_DOUBLE): Likewise.
15606 (TEST_MATHVEC): Likewise.
15607 (__NO_MATH_INLINES): Likewise.
15609 (CONCAT): Likewise.
15610 (WRAPPER_NAME): Likewise.
15611 (WRAPPER_DECL): Likewise.
15612 (WRAPPER_DECL_ff): Likewise.
15613 (WRAPPER_DECL_fFF): Likewise.
15614 (VECTOR_WRAPPER): Likewise.
15615 (VECTOR_WRAPPER_ff): Likewise.
15616 (VECTOR_WRAPPER_fFF): Likewise.
15617 (VEC_LEN): New macro.
15618 * math/test-double-vlen4.h: Include test-double.h,
15619 test-math-no-inline.h and test-math-vector.h.
15620 (FLOAT): Remove macro.
15622 (MATHCONST): Likewise.
15623 (PRINTF_EXPR): Likewise.
15624 (PRINTF_XEXPR): Likewise.
15625 (PRINTF_NEXPR): Likewise.
15626 (TEST_DOUBLE): Likewise.
15627 (TEST_MATHVEC): Likewise.
15628 (__NO_MATH_INLINES): Likewise.
15630 (CONCAT): Likewise.
15631 (WRAPPER_NAME): Likewise.
15632 (WRAPPER_DECL): Likewise.
15633 (WRAPPER_DECL_ff): Likewise.
15634 (WRAPPER_DECL_fFF): Likewise.
15635 (VECTOR_WRAPPER): Likewise.
15636 (VECTOR_WRAPPER_ff): Likewise.
15637 (VECTOR_WRAPPER_fFF): Likewise.
15638 (VEC_LEN): New macro.
15639 * math/test-double-vlen8.h: Include test-double.h,
15640 test-math-no-inline.h and test-math-vector.h.
15641 (FLOAT): Remove macro.
15643 (MATHCONST): Likewise.
15644 (PRINTF_EXPR): Likewise.
15645 (PRINTF_XEXPR): Likewise.
15646 (PRINTF_NEXPR): Likewise.
15647 (TEST_DOUBLE): Likewise.
15648 (TEST_MATHVEC): Likewise.
15649 (__NO_MATH_INLINES): Likewise.
15651 (CONCAT): Likewise.
15652 (WRAPPER_NAME): Likewise.
15653 (WRAPPER_DECL): Likewise.
15654 (WRAPPER_DECL_ff): Likewise.
15655 (WRAPPER_DECL_fFF): Likewise.
15656 (VECTOR_WRAPPER): Likewise.
15657 (VECTOR_WRAPPER_ff): Likewise.
15658 (VECTOR_WRAPPER_fFF): Likewise.
15659 (VEC_LEN): New macro.
15660 * math/test-float-vlen4.h: Include test-float.h,
15661 test-math-no-inline.h and test-math-vector.h.
15662 (FLOAT): Remove macro.
15664 (MATHCONST): Likewise.
15665 (PRINTF_EXPR): Likewise.
15666 (PRINTF_XEXPR): Likewise.
15667 (PRINTF_NEXPR): Likewise.
15668 (TEST_FLOAT): Likewise.
15669 (TEST_MATHVEC): Likewise.
15670 (__NO_MATH_INLINES): Likewise.
15672 (CONCAT): Likewise.
15673 (WRAPPER_NAME): Likewise.
15674 (WRAPPER_DECL): Likewise.
15675 (WRAPPER_DECL_ff): Likewise.
15676 (WRAPPER_DECL_fFF): Likewise.
15677 (VECTOR_WRAPPER): Likewise.
15678 (VECTOR_WRAPPER_ff): Likewise.
15679 (VECTOR_WRAPPER_fFF): Likewise.
15680 (VEC_LEN): New macro.
15681 * math/test-float-vlen8.h: Include test-float.h,
15682 test-math-no-inline.h and test-math-vector.h.
15683 (FLOAT): Remove macro.
15685 (MATHCONST): Likewise.
15686 (PRINTF_EXPR): Likewise.
15687 (PRINTF_XEXPR): Likewise.
15688 (PRINTF_NEXPR): Likewise.
15689 (TEST_FLOAT): Likewise.
15690 (TEST_MATHVEC): Likewise.
15691 (__NO_MATH_INLINES): Likewise.
15693 (CONCAT): Likewise.
15694 (WRAPPER_NAME): Likewise.
15695 (WRAPPER_DECL): Likewise.
15696 (WRAPPER_DECL_ff): Likewise.
15697 (WRAPPER_DECL_fFF): Likewise.
15698 (VECTOR_WRAPPER): Likewise.
15699 (VECTOR_WRAPPER_ff): Likewise.
15700 (VECTOR_WRAPPER_fFF): Likewise.
15701 (VEC_LEN): New macro.
15702 * math/test-float-vlen16.h: Include test-float.h,
15703 test-math-no-inline.h and test-math-vector.h.
15704 (FLOAT): Remove macro.
15706 (MATHCONST): Likewise.
15707 (PRINTF_EXPR): Likewise.
15708 (PRINTF_XEXPR): Likewise.
15709 (PRINTF_NEXPR): Likewise.
15710 (TEST_FLOAT): Likewise.
15711 (TEST_MATHVEC): Likewise.
15712 (__NO_MATH_INLINES): Likewise.
15714 (CONCAT): Likewise.
15715 (WRAPPER_NAME): Likewise.
15716 (WRAPPER_DECL): Likewise.
15717 (WRAPPER_DECL_ff): Likewise.
15718 (WRAPPER_DECL_fFF): Likewise.
15719 (VECTOR_WRAPPER): Likewise.
15720 (VECTOR_WRAPPER_ff): Likewise.
15721 (VECTOR_WRAPPER_fFF): Likewise.
15722 (VEC_LEN): New macro.
15723 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15725 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15726 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15727 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15728 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15729 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15730 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15731 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15733 2015-06-24 Roland McGrath <roland@hack.frob.com>
15735 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15736 (__getlogin_r): ... this.
15738 2015-06-24 Joseph Myers <joseph@codesourcery.com>
15741 * math/s_ccosh.c (__ccosh): Compare with least normal value
15742 instead of comparing class with FP_SUBNORMAL.
15743 * math/s_ccoshf.c (__ccoshf): Likewise.
15744 * math/s_ccoshl.c (__ccoshl): Likewise.
15745 * math/s_cexp.c (__cexp): Likewise.
15746 * math/s_cexpf.c (__cexpf): Likewise.
15747 * math/s_cexpl.c (__cexpl): Likewise.
15748 * math/s_csin.c (__csin): Likewise.
15749 * math/s_csinf.c (__csinf): Likewise.
15750 * math/s_csinh.c (__csinh): Likewise.
15751 * math/s_csinhf.c (__csinhf): Likewise.
15752 * math/s_csinhl.c (__csinhl): Likewise.
15753 * math/s_csinl.c (__csinl): Likewise.
15754 * math/s_ctan.c (__ctan): Likewise.
15755 * math/s_ctanf.c (__ctanf): Likewise.
15756 * math/s_ctanh.c (__ctanh): Likewise.
15757 * math/s_ctanhf.c (__ctanhf): Likewise.
15758 * math/s_ctanhl.c (__ctanhl): Likewise.
15759 * math/s_ctanl.c (__ctanl): Likewise.
15760 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15761 csin, csinh, ctan and ctanh.
15762 * math/auto-libm-test-out: Regenerated.
15763 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15764 * sysdeps/i386/fpu/libm-test-ulps: Update.
15765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15767 2015-06-24 Roland McGrath <roland@hack.frob.com>
15769 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15770 return value is wrong, print the expected value too.
15772 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
15775 * elf/readlib.c (is_gdb_python_file): New.
15776 (process_file): Don't issue errors on filenames with -gdb.py
15779 2015-06-24 Joseph Myers <joseph@codesourcery.com>
15781 * math/auto-libm-test-in: Add more tests of csin and csinh.
15782 * math/auto-libm-test-out: Regenerated.
15783 * math/libm-test.inc (csin_test_data): Remove tests moved to
15785 (csinh_test_data): Likewise.
15788 * math/s_csin.c (__csin): Negate before rather than after possibly
15789 overflowing multiplication.
15790 * math/s_csinf.c (__csinf): Likewise.
15791 * math/s_csinh.c (__csinh): Likewise.
15792 * math/s_csinhf.c (__csinhf): Likewise.
15793 * math/s_csinhl.c (__csinhl): Likewise.
15794 * math/s_csinl.c (__csinl): Likewise.
15795 * math/auto-libm-test-in: Add some tests of csin and csinh.
15796 * math/auto-libm-test-out: Regenerated.
15797 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15798 (csinh_test_data): Likewise.
15799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15802 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15803 underflow exception for small results.
15805 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
15807 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15808 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15809 variable and included header.
15810 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15811 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15812 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15813 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15814 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15815 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15816 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15817 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15818 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15819 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15820 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15821 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15822 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15823 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15824 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15825 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15827 2015-06-23 Joseph Myers <joseph@codesourcery.com>
15831 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15832 (__sin): Force underflow exception for arguments with small
15834 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15835 (__kernel_sinf): Force underflow exception for arguments with
15836 small absolute value.
15837 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15838 (__kernel_sincosl): Force underflow exception for arguments with
15839 small absolute value.
15840 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15841 (__kernel_sinl): Force underflow exception for arguments with
15842 small absolute value.
15843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15844 (__kernel_sincosl): Force underflow exception for arguments with
15845 small absolute value.
15846 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15847 (__kernel_sinl): Force underflow exception for arguments with
15848 small absolute value.
15849 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15850 (__kernel_sinl): Force underflow exception for arguments with
15851 small absolute value.
15852 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15853 (__kernel_sinf): Force underflow exception for arguments with
15854 small absolute value.
15855 * math/auto-libm-test-in: Add more tests of sin and sincos.
15856 * math/auto-libm-test-out: Regenerated.
15860 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15861 (__kernel_standard_l): Use feholdexcept and fesetenv around
15862 conversion to double instead of special-casing overflow and
15864 * math/libm-test.inc (fmod_test_data): Add more tests.
15865 (remainder_test_data): Likewise.
15866 (sqrt_test_data): Likewise.
15868 2015-06-23 Torvald Riegel <triegel@redhat.com>
15871 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15872 atomic_read_barrier, atomic_write_barrier): Define.
15873 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15874 atomic_read_barrier, atomic_write_barrier): Define.
15876 2015-06-23 Joseph Myers <joseph@codesourcery.com>
15878 * math/Makefile [$(PERL) != no]
15879 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15880 dependency on libm-test.stmp below the inclusion of Rules.
15882 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
15884 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15886 and included header.
15887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15889 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15892 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15894 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15895 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15896 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15897 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15898 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15899 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15900 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15901 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15902 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15903 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15904 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15905 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15907 2015-06-23 Joseph Myers <joseph@codesourcery.com>
15910 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15911 intermediate but not final result might underflow.
15912 * math/s_csqrtf.c (__csqrtf): Likewise.
15913 * math/s_csqrtl.c (__csqrtl): Likewise.
15914 * math/auto-libm-test-in: Add more tests of csqrt.
15915 * math/auto-libm-test-out: Regenerated.
15916 * sysdeps/i386/fpu/libm-test-ulps: Update.
15919 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15920 threshold on absolute value of exponent for which scaling is used.
15921 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15922 * math/auto-libm-test-in: Add more tests of exp2.
15923 * math/auto-libm-test-out: Regenerated.
15925 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
15928 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15929 when initializing interface list, based on the bug analysis
15930 and the patch proposed by Eric Newton.
15931 * resolv/tst-res_hconf_reorder.c: New test.
15932 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15933 tst-res_hconf_reorder.
15934 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15935 and $(shared-thread-library).
15936 (tst-res_hconf_reorder-ENV): New variable.
15938 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15941 2015-06-22 Joseph Myers <joseph@codesourcery.com>
15944 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15945 (__expm1): Force underflow exception for arguments with small
15947 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15948 (__expm1f): Force underflow exception for arguments with small
15950 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15951 (__expm1): Force underflow exception for arguments with small
15953 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15954 (__expm1f): Force underflow exception for arguments with small
15956 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15957 Check for small arguments before calling __expm1.
15958 * math/auto-libm-test-in: Do not mark underflow exceptions as
15959 possibly missing for bug 16353.
15960 * math/auto-libm-test-out: Regenerated.
15962 2015-06-22 Andreas Schwab <schwab@suse.de>
15965 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15968 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
15970 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15972 * string/strcoll_l.c: Remove unused struct element idxnow.
15974 2015-06-21 Joseph Myers <joseph@codesourcery.com>
15977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15978 underflow and return argument in case of subnormal argument.
15979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15981 * math/auto-libm-test-in: Add more tests of expm1.
15982 * math/auto-libm-test-out: Regenerated.
15985 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15986 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15988 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15989 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15991 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
15992 mark underflow exceptions as possibly missing for bug 16361.
15993 * math/auto-libm-test-out: Regenerated.
15995 2015-06-19 Joseph Myers <joseph@codesourcery.com>
15997 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15998 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16000 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16001 (test-xfail-XOPEN2K8/utmpx.h/conform).
16003 * conform/conformtest.pl ($xerrors): New variable.
16004 (note_error): New function.
16005 (compiletest): New argument $xfail. Use not_error.
16006 (runtest): Likewise.
16007 (top level): Handle xfail- lines. Update calls to compiletest and
16008 runtest. Handle xfail- and optional- in headers listed with
16010 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16011 (O_EXEC): Likewise.
16012 (O_SEARCH): Likewise.
16013 * conform/data/stropts.h-data (ioctl): Likewise.
16014 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16015 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16016 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16017 (msghdr.msg_controllen): Likewise.
16018 (cmsghdr.cmsg_len): Likewise.
16019 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16020 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16022 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16023 (test-xfail-XPG4/stropts.h/conform): Likewise.
16024 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16025 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16026 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16027 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16028 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16029 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16030 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16031 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16032 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16033 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16034 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16035 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16036 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16037 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16038 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16039 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16040 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16041 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16042 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16044 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
16046 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16047 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16048 definitions for proper unfolding of __MATHDECL_VEC.
16050 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16052 * benchtests/bench-strcoll.c:
16054 (main): Remove unused variable res.
16056 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16058 * timezone/Makefile (%/UTC %/Universal):
16059 Generate test-result files for UTC and Universal.
16061 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16063 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16065 2015-06-18 Joseph Myers <joseph@codesourcery.com>
16068 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16069 for arguments with small absolute value.
16070 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16071 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16072 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16073 (__asinh): Force underflow exception for arguments with small
16075 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16076 (__asinhf): Force underflow exception for arguments with small
16078 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16079 (__asinhl): Force underflow exception for arguments with small
16081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16082 (__asinhl): Force underflow exception for arguments with small
16084 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16085 (__asinhl): Force underflow exception for arguments with small
16087 * math/auto-libm-test-in: Do not mark underflow exceptions as
16088 possibly missing for bug 16350.
16089 * math/auto-libm-test-out: Regenerated.
16091 * include/bits/ipc.h: Remove file.
16092 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16094 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16095 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16096 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16097 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16098 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16099 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16100 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16101 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16102 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16104 * math/auto-libm-test-in: Remove spurious underflow allowance for
16106 * math/auto-libm-test-out: Regenerated.
16109 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16110 unconditional definition.
16111 (MCAST_BLOCK_SOURCE): Likewise.
16112 (MCAST_UNBLOCK_SOURCE): Likewise.
16113 (MCAST_LEAVE_GROUP): Likewise.
16114 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16115 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16116 (MCAST_MSFILTER): Likewise.
16117 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16119 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16120 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16121 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16122 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16123 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16125 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
16127 * NEWS: Mention addition of x86_64 vector sincosf.
16128 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16129 * math/test-float-vlen4.h: Likewise.
16130 * math/test-float-vlen8.h: Likewise.
16131 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16132 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16133 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16134 * sysdeps/x86_64/fpu/Versions: New versions added.
16135 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16136 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16137 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16138 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16139 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16140 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16141 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16142 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16143 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16144 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16145 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16146 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16147 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16148 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16149 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16150 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16151 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16152 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16153 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16154 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16155 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16156 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16157 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16158 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16160 * NEWS: Mention addition of x86_64 vector sincos.
16161 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16162 * math/math.h (__MATHDECL_VEC): New macro.
16163 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16164 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16165 declaration under condition.
16166 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16167 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16168 TEST_VEC_LOOP change.
16169 * math/test-double-vlen4.h: Likewise.
16170 * math/test-double-vlen8.h: Likewise.
16171 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16172 * math/test-float-vlen4.h: Likewise.
16173 * math/test-float-vlen8.h: Likewise.
16174 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16175 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16176 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16177 * sysdeps/x86_64/fpu/Versions: New versions added.
16178 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16179 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16180 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16181 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16182 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16183 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16184 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16185 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16186 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16187 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16188 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16189 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16190 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16191 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16192 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16193 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16194 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16195 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16196 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16197 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16198 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16199 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16200 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16201 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16203 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16204 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16205 redirections for powf.
16206 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16207 * sysdeps/x86_64/fpu/Versions: New versions added.
16208 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16209 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16210 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16211 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16212 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16213 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16214 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16215 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16216 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16217 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16218 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16219 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16220 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16221 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16222 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16223 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16224 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16225 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16226 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16227 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16228 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16229 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16230 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16231 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16232 * math/test-float-vlen16.h: Fixed 2 argument macro.
16233 * math/test-float-vlen4.h: Likewise.
16234 * math/test-float-vlen8.h: Likewise.
16235 * NEWS: Mention addition of x86_64 vector powf.
16237 2015-06-17 Joseph Myers <joseph@codesourcery.com>
16239 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16241 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16243 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16248 * resource/getpriority.c (getpriority): Rename to __getpriority
16249 and define as weak alias of __getpriority.
16250 * resource/setpriority.c (setpriority): Rename to __setpriority
16251 and define as weak alias of __setpriority.
16252 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16253 __getpriority and define as weak alias of __getpriority.
16254 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16255 __setpriority and define as weak alias of __setpriority.
16256 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16258 (setpriority): Use __setpriority as strong name.
16259 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16260 __getpriority and define as weak alias of __getpriority.
16261 * include/sys/resource.h (__getpriority): Declare. Use
16263 (__setpriority): Likewise.
16264 (getpriority): Don't use libc_hidden_proto.
16265 (setpriority): Likewise.
16266 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16267 getpriority. Call __setpriority instead of setpriority.
16268 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16272 * misc/getttyent.c (getttynam): Rename to __getttynam and define
16273 as weak alias of __getttynam. Use prototype function definition.
16274 Call __setttyent, __getttyent and __endttyent instead of
16275 setttyent, getttyent and endttyent.
16276 (getttyent): Rename to __getttyent and define as weak alias of
16277 __getttyent. Call __setttyent instead of setttyent. Call
16278 __fgets_unlocked instead of fgets_unlocked.
16279 (setttyent): Rename to __setttyent and define as weak alias of
16281 (endttyent): Rename to __endttyent and define as weak alias of
16283 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
16284 (__setttyent): Likewise.
16285 (__endttyent): Likewise.
16286 (getttyent): Don't use libc_hidden_proto.
16287 (setttyent): Likewise.
16288 (endttyent): Likewise.
16289 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16290 __endttyent instead of setttyent, getttyent and endttyent.
16291 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16295 * socket/recv.c (__recv): Use libc_hidden_def.
16296 * socket/socket.c (__socket): Likewise.
16297 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16298 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16299 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16300 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16301 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16303 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16305 * include/sys/socket.h (__socket): Do not use attribute_hidden.
16306 Use libc_hidden_proto.
16307 (__recv): Likewise.
16308 * socket/Versions (libc): Export __recv and __socket at version
16310 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16312 (init_mq_netlink): Call __socket instead of socket.
16313 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16317 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16318 __mq_timedreceive and define as alias of __mq_timedreceive. Use
16320 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16321 define as alias of __mq_timedsend. Use hidden_weak.
16322 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16323 __mq_timedsend as strong name.
16324 (mq_timedreceive): Use __mq_timedreceive as strong name.
16325 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
16326 (__mq_timedreceive): Likewise.
16327 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16328 __mq_timedreceive instead of mq_timedreceive.
16329 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16330 instead of mq_timedsend.
16331 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16334 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16335 hidden_def and hidden_weak instead of libc_hidden_def and
16337 (top level): Refer to hidden_def in comment.
16338 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16339 macro. Use it instead of libc_hidden_def.
16340 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16341 specify __GI_* name explicitly.
16342 (mq_timedreceive): Likewise.
16343 (mq_setattr): Likewise.
16346 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16347 __pthread_barrier_init and define as weak alias of
16348 __pthread_barrier_init.
16349 * sysdeps/sparc/nptl/pthread_barrier_init.c
16350 (pthread_barrier_init): Likewise.
16351 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16352 __pthread_barrier_wait and define as weak alias of
16353 __pthread_barrier_wait.
16354 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16355 (pthread_barrier_wait): Likewise.
16356 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16357 (pthread_barrier_wait): Likewise.
16358 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16359 (pthread_barrier_wait): Likewise.
16360 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16361 (pthread_barrier_wait): Likewise.
16362 * nptl/Versions (libpthread): Export __pthread_barrier_init and
16363 __pthread_barrier_wait at version GLIBC_PRIVATE.
16364 * include/pthread.h (__pthread_barrier_init): Declare.
16365 (__pthread_barrier_wait): Likewise.
16366 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16367 Call __pthread_barrier_wait instead of pthread_barrier_wait.
16368 (helper_thread): Likewise.
16369 (init_mq_netlink): Call __pthread_barrier_init instead of
16370 pthread_barrier_init.
16373 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16374 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16375 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
16376 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16378 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16382 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16383 strong alias of _IO_fflush. Use libc_hidden_def.
16384 * libio/iofflush_u.c (fflush_unlocked): Rename to
16385 __fflush_unlocked and define as weak alias of __fflush_unlocked.
16386 Use libc_hidden_weak.
16387 * include/stdio.h (__fflush_unlocked): Declare. Use
16389 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16391 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16395 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16396 define as weak alias of __addseverity.
16397 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16399 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16400 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16401 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16404 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16405 (__tfind): Likewise.
16406 (__tdelete): Likewise.
16407 (__twalk): Likewise.
16408 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16409 __twalk to GLIBC_PRIVATE.
16410 * include/search.h (__tsearch): Use libc_hidden_proto.
16411 (__tfind): Likewise.
16412 (__tdelete): Likewise.
16413 (__twalk): Likewise.
16414 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16415 Call __tdelete instead of tdelete.
16416 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16417 tfind. Call __tsearch instead of tsearch.
16418 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16419 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16421 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16424 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16425 (dprintf): Define as a weak alias of __dprintf, not a strong
16427 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
16428 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16430 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16432 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16433 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16436 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16437 not a strong alias.
16438 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16442 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16443 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
16444 (in6addr_loopback): Rename to __in6addr_loopback and define as
16445 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
16446 * include/netinet/in.h (__in6addr_loopback): Declare. Use
16448 (__in6addr_any): Likewise.
16449 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16451 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16453 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16455 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
16457 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16458 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16459 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16460 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16461 redirections for pow.
16462 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16463 * sysdeps/x86_64/fpu/Versions: New versions added.
16464 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16465 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16466 build of SSE, AVX2 and AVX512 IFUNC versions.
16467 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16468 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16469 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16470 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16471 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16472 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16473 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16474 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16475 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16476 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16477 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16478 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16479 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16480 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16481 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16482 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16483 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16484 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16485 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16486 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16487 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16488 * NEWS: Mention addition of x86_64 vector pow.
16490 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16491 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16492 redirections for expf.
16493 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16494 * sysdeps/x86_64/fpu/Versions: New versions added.
16495 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16496 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16497 build of SSE, AVX2 and AVX512 IFUNC versions.
16498 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16499 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16500 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16501 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16502 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16503 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16504 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16505 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16506 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16507 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16508 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16509 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16510 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16511 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16512 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16513 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16514 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16515 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16516 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16517 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16518 * NEWS: Mention addition of x86_64 vector expf.
16520 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16521 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16522 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16523 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16524 redirections for exp.
16525 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16526 * sysdeps/x86_64/fpu/Versions: New versions added.
16527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16528 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16529 build of SSE, AVX2 and AVX512 IFUNC versions.
16530 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16531 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16532 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16533 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16534 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16535 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16536 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16537 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16538 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16539 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16540 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16541 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16542 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16543 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16544 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16545 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16546 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16547 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16548 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16549 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16550 * NEWS: Mention addition of x86_64 vector exp.
16552 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16553 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16554 redirections for logf.
16555 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16556 * sysdeps/x86_64/fpu/Versions: New versions added.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16558 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16559 build of SSE, AVX2 and AVX512 IFUNC versions.
16560 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16561 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16562 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16563 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16564 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16565 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16566 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16567 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16568 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16569 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16570 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16571 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16572 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16573 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16574 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16575 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16576 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16577 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16578 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16579 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16580 * NEWS: Mention addition of x86_64 vector logf.
16582 * bits/libm-simd-decl-stubs.h: Added stubs for log.
16583 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16584 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16585 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16586 redirections for log.
16587 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16588 * sysdeps/x86_64/fpu/Versions: New versions added.
16589 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16590 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16591 build of SSE, AVX2 and AVX512 IFUNC versions.
16592 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16593 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16594 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16595 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16596 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16597 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16598 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16599 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16600 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16601 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16602 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16603 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16604 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16606 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16607 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16608 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16609 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16610 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16611 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16612 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16613 * NEWS: Mention addition of x86_64 vector log.
16615 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
16617 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16618 cfi_adjust_cfa_offset argument.
16619 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16620 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16623 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16624 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16625 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16626 ordering using ldar.
16627 (_dl_tlsdesc_dynamic): Likewise.
16628 (_dl_tlsdesc_return_lazy): Likewise.
16629 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16630 relaxed atomics instead of volatile and synchronize with release store.
16631 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16633 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16635 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
16637 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16638 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16639 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16640 * sysdeps/x86_64/fpu/Versions: New versions added.
16641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16643 build of SSE, AVX2 and AVX512 IFUNC versions.
16644 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16645 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16646 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16647 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16648 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16649 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16650 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16651 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16652 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16653 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16654 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16655 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16656 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16657 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16658 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16659 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16660 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16661 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16662 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16663 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16664 * NEWS: Mention addition of x86_64 vector sinf.
16666 2015-06-14 Joseph Myers <joseph@codesourcery.com>
16668 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16669 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16670 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16672 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16673 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16675 2015-06-12 Joseph Myers <joseph@codesourcery.com>
16678 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16679 strong alias of _IO_fputs. Use libc_hidden_def.
16680 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16681 and define as weak alias of __fputs_unlocked. Use
16683 * include/stdio.h (__fputs_unlocked): Declare. Use
16685 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16689 * resolv/netdb.h [__USE_POSIX]: Change condition to
16691 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16693 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16694 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16695 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16696 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16697 [XPG4 || UNIX98] (AI_ALL): Likewise.
16698 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16699 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16700 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16701 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16702 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16703 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16704 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16705 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16706 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16707 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16708 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16709 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16710 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16711 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16712 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16713 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16714 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16715 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16716 [XPG4 || UNIX98] (gai_strerror): Likewise.
16717 [XPG4 || UNIX98] (getaddrinfo): Likewise.
16718 [XPG4 || UNIX98] (getnameinfo): Likewise.
16721 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16722 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16724 (getgrent): Likewise.
16725 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16727 [XPG3 || POSIX2008] (endgrent): Likewise.
16728 [XPG3] (setgrent): Likewise.
16729 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16731 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16734 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16735 define as weak alias of __getlogin_r. Use libc_hidden_weak.
16736 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16737 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16738 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16739 * include/unistd.h (__getlogin_r): Declare. Use
16741 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16742 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16744 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16745 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16746 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16748 2015-06-12 Martin Sebor <msebor@redhat.com>
16751 * Makerules (check-install-supported): New target.
16752 (install): Add check-install-supported as a dependency.
16753 * manual/install.texi (Installing the C Library): Document
16754 that overriding prefix and exec_prefix is not supported.
16756 * INSTALL: Regenerate from the above.
16758 2015-06-12 Joseph Myers <joseph@codesourcery.com>
16761 * posix/Versions (libc): Export __libc_pread at version
16763 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16765 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16770 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16771 (cvt_symbol): Use weak_alias instead of strong_alias.
16772 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16773 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16775 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16776 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16779 * inet/herrno.c (h_errno): Rename to __h_errno.
16780 (__libc_h_errno): Define as alias of __h_errno not h_errno.
16781 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16782 to __h_errno instead of h_errno.
16783 * nptl/herrno.c (h_errno): Rename to __h_errno.
16784 (__h_errno_location): Refer to __h_errno not h_errno.
16785 * resolv/Versions (h_errno): Rename to __h_errno.
16786 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16788 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16790 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
16792 * configure.ac: More strict check for AVX512 assembler support.
16793 * configure: Regenerated.
16795 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16796 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16797 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16798 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16799 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16800 * sysdeps/x86_64/fpu/Versions: New versions added.
16801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16802 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16803 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16804 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16806 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16807 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16808 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16809 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16810 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16811 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16812 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16813 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16814 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16815 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16816 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16818 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16819 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16820 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16821 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16822 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16823 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16824 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16825 * NEWS: Mention addition of x86_64 vector sin.
16827 2015-06-11 Florian Weimer <fweimer@redhat.com>
16829 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16832 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
16835 * nptl/pt-interp.c: New file.
16836 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16838 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16839 $(common-objpfx)runtime-linker.h.
16841 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
16843 * Makeconfig (+interp): Remove unused variable.
16844 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16845 only. Depend on $(common-objpfx)runtime-linker.h instead of
16846 $(elf-objpfx)runtime-linker.h.
16847 ($(elf-objpfx)runtime-linker.h): Rename to
16848 $(common-objpfx)runtime-linker.h and move ...
16849 * Makerules [$(build-shared) = yes]: ... here.
16850 * elf/interp.c: Include <runtime-linker.h> instead of
16851 <elf/runtime-linker.h>.
16853 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16855 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16856 (__gettimeofday_syscall): Remove vsyscall fallback.
16857 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16858 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16859 Add syscall fallback function.
16860 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16861 if vDSO is not present.
16862 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16864 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16866 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16867 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16869 2015-06-09 Joseph Myers <joseph@codesourcery.com>
16872 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16874 (wcscmp): Define as weak alias of WCSCMP.
16875 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16877 (USE_HIDDEN_DEF): Define.
16878 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16879 __wcscoll. Don't use libc_hidden_weak.
16880 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16882 * sysdeps/i386/i686/multiarch/wcscmp-c.c
16883 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16885 (weak_alias): Undefine and redefine.
16886 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16887 __wcscmp and define as weak alias of __wcscmp.
16888 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16889 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
16890 (__wcscoll): Likewise.
16891 (wcscmp): Don't use libc_hidden_proto.
16892 (wcscoll): Likewise.
16893 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16895 * posix/regexec.c (check_node_accept_bytes): Likewise.
16896 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16898 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16899 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16902 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16903 __fstatvfs and define as weak alias of __fstatvfs. Use
16905 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16906 and define as weak alias of __statvfs. Use libc_hidden_weak.
16907 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16908 Define as alias of __fstatvfs, not fstatvfs.
16909 (fstatvfs64): Likewise.
16910 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16911 Define as alias of __statvfs, not statvfs.
16912 (statvfs64): Likewise.
16913 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16916 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16919 (HAVE_GETCPU_VSYSCALL): Define.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16921 (HAVE_GETCPU_VSYSCALL): Likewise.
16922 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16923 * sysdeps/unix/sysv/linux/sched_getcpu.c
16924 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16925 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16926 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16928 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16929 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16930 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16933 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16934 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16938 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
16940 * sysdeps/x86_64/fpu/Makefile: New file.
16941 * sysdeps/x86_64/fpu/Versions: New file.
16942 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16943 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16944 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16945 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16946 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16947 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16948 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16949 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16950 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16951 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16952 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16953 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16954 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16956 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16957 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16958 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16959 * sysdeps/x86_64/configure.ac: Options for libmvec build.
16960 * sysdeps/x86_64/configure: Regenerated.
16961 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16962 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16963 * manual/install.texi (Configuring and compiling): Document
16965 * INSTALL: Regenerated.
16966 * NEWS: Mention addition of libmvec and x86_64 vector cos.
16968 * math/Makefile: Added rules for vector tests.
16969 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16970 declaration under condition.
16971 * math/test-double-vlen2.h: New file.
16972 * math/test-double-vlen4.h: New file.
16973 * math/test-double-vlen8.h: New file.
16974 * math/test-vec-loop.h: Added initialization macro.
16975 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16976 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16977 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16978 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16979 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16980 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16981 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16982 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16983 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16984 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16985 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16987 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16988 * sysdeps/x86_64/fpu/Versions: New versions added.
16989 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16990 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16991 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16992 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16993 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16994 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16995 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16996 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16997 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16998 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16999 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17000 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17001 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17002 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17003 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17004 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17005 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17006 * NEWS: Mention addition of x86_64 vector cosf.
17008 * math/Makefile: Added CFLAGS for new tests.
17009 * math/test-float-vlen16.h: New file.
17010 * math/test-float-vlen4.h: New file.
17011 * math/test-float-vlen8.h: New file.
17012 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17013 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17014 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17015 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17016 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17017 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17018 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17019 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17020 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17021 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17022 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17024 2015-06-09 Marko Myllynen <myllynen@redhat.com>
17026 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17027 * locale/programs/ld-ctype.c: Likewise.
17029 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
17031 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17032 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17033 bit_ZMM16_31_state): New macro.
17034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17035 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17037 2015-06-08 Joseph Myers <joseph@codesourcery.com>
17039 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17041 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
17043 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17045 2015-06-05 Joseph Myers <joseph@codesourcery.com>
17048 * libio/memstream.c (open_memstream): Rename to __open_memstream
17049 and define as weak alias of __open_memstream.
17050 * include/stdio.h (__open_memstream): Declare. Use
17052 (open_memstream): Don't use libc_hidden_proto.
17053 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17055 * posix/getopt.c (_getopt_internal_r): Likewise.
17056 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17058 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17059 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17060 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17063 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17064 instead of wcrtomb.
17067 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17068 [__USE_XOPEN2K8]. Remove redundant #endif.
17069 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17070 Remove redundant #if.
17071 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17073 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17074 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17077 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17078 (__iswlower): Likewise.
17079 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
17080 (__iswlower): Likewise.
17081 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17082 instead of towlower.
17083 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17084 instead of iswlower. Call __towupper instead of towupper.
17085 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17086 instead of iswalnum.
17088 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17090 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17093 2015-06-05 Florian Weimer <fweimer@redhat.com>
17097 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17098 Check for overflow properly. Check for O_APPEND. Ignore large
17099 file system block sizes. Add comments about problems.
17100 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17101 * manual/filesys.texi (Storage Allocation): New node.
17103 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17105 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17106 cancellable syscalls.
17107 (SYS_ify): Add guard to no redefine it.
17108 (INLINE_SYSCALL): Likewise.
17109 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17110 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17111 SYSCALL_CANCEL instead.
17112 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17113 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17114 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17115 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17116 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17117 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17118 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17119 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17120 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17121 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17122 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17123 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17124 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17125 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17126 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17127 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17129 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17130 (__libc_pread64): Likewise.
17131 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17132 (__libc_preadv): Likewise.
17133 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17134 (__libc_readv64): Likewise.
17135 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17136 (__libc_pwrite): Likewise.
17137 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17138 (__libc_pwrite64): Likewise.
17139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17140 (__libc_pwritev): Likewise.
17141 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17142 (__libc_pwritev64): Likewise.
17143 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17144 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17145 (sync_file_range): Likewise.
17146 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17148 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17150 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17151 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17152 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17153 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17154 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17155 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17156 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17157 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17161 (__libc_read64): Likewise.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17171 (__libc_pread64): Likewise.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17175 (__libc_pwrite64): Likewise.
17176 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17177 (sync_file_range): Likewise.
17178 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17179 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17180 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17181 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17182 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17183 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17184 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17185 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17186 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17187 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17188 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17189 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17190 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17191 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17192 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17193 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17194 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17195 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17196 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17198 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17200 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17201 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17203 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17204 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17205 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17206 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17208 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17209 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17210 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17212 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17214 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
17216 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17218 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17219 Use VDSO routines for gettimeofday, clock_gettime if
17221 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17222 Declare VDSO symbols.
17223 * sysdeps/unix/sysv/linux/arm/sysdep.h:
17224 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17225 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17226 * sysdeps/unix/sysv/linux/arm/Versions: Add
17227 __vdso_clock_gettime.
17229 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17231 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17232 be an inline implementation regardless of library is built within.
17233 (open_not_cancel_2): Likewise.
17234 (__read_nocancel): Likewise.
17235 (__write_nocancel): Likewise.
17236 (openat_not_cancel): Likewise.
17237 (openat_not_cancel_3): Likewise.
17238 (openat64_not_cancel): Likewise.
17239 (openat64_not_cancel_3): Likewise.
17240 (__close_nocancel): Likewise.
17241 (pause_not_cancel): Likewise.
17242 (nanosleep_not_cancel): Likewise.
17243 (sigsuspend_not_cancel): Likewise.
17245 2015-06-04 Torvald Riegel <triegel@redhat.com>
17248 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17250 (__pthread_rwlock_rdlock_slow): Likewise.
17251 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17253 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17255 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17256 * nptl/tst-rwlock16.c: New file.
17257 * nptl/Makefile (tests): Add new test.
17259 2015-06-04 Torvald Riegel <triegel@redhat.com>
17262 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17263 missing wake-up of readers.
17264 * nptl/tst-rwlock15.c: New file.
17265 * nptl/Makefile (tests): Add new test.
17267 2015-06-03 Roland McGrath <roland@hack.frob.com>
17269 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17270 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17271 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17272 and __nacl_supply_interface_rtld.
17273 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17274 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17275 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17276 Add __nacl_supply_interface_rtld.
17277 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17279 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17281 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17284 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17286 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17288 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17289 __signbit* with standard C99 macros.
17290 * math/e_exp10l.c: Likewise.
17291 * math/e_exp2l.c: Likewise.
17292 * math/e_scalb.c: Likewise.
17293 * math/e_scalbf.c: Likewise.
17294 * math/e_scalbl.c: Likewise.
17295 * math/s_ldexp.c: Likewise.
17296 * math/s_ldexpf.c: Likewise.
17297 * math/s_ldexpl.c: Likewise.
17298 * math/w_atan2.c: Likewise.
17299 * math/w_atan2f.c: Likewise.
17300 * math/w_atan2l.c: Likewise.
17301 * math/w_cosh.c: Likewise.
17302 * math/w_coshf.c: Likewise.
17303 * math/w_coshl.c: Likewise.
17304 * math/w_exp10.c: Likewise.
17305 * math/w_exp10f.c: Likewise.
17306 * math/w_exp10l.c: Likewise.
17307 * math/w_exp2.c: Likewise.
17308 * math/w_exp2f.c: Likewise.
17309 * math/w_exp2l.c: Likewise.
17310 * math/w_fmod.c: Likewise.
17311 * math/w_fmodf.c: Likewise.
17312 * math/w_fmodl.c: Likewise.
17313 * math/w_hypot.c: Likewise.
17314 * math/w_hypotf.c: Likewise.
17315 * math/w_hypotl.c: Likewise.
17316 * math/w_jnl.c: Likewise.
17317 * math/w_lgamma.c: Likewise.
17318 * math/w_lgamma_r.c: Likewise.
17319 * math/w_lgammaf.c: Likewise.
17320 * math/w_lgammaf_r.c: Likewise.
17321 * math/w_lgammal.c: Likewise.
17322 * math/w_lgammal_r.c: Likewise.
17323 * math/w_pow.c: Likewise.
17324 * math/w_powf.c: Likewise.
17325 * math/w_powl.c: Likewise.
17326 * math/w_remainder.c: Likewise.
17327 * math/w_remainderf.c: Likewise.
17328 * math/w_remainderl.c: Likewise.
17329 * math/w_scalb.c: Likewise.
17330 * math/w_scalbf.c: Likewise.
17331 * math/w_scalbl.c: Likewise.
17332 * math/w_scalbln.c: Likewise.
17333 * math/w_scalblnf.c: Likewise.
17334 * math/w_scalblnl.c: Likewise.
17335 * math/w_sinh.c: Likewise.
17336 * math/w_sinhf.c: Likewise.
17337 * math/w_sinhl.c: Likewise.
17338 * math/w_tgamma.c: Likewise.
17339 * math/w_tgammaf.c: Likewise.
17340 * math/w_tgammal.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17348 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17349 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17350 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17372 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17373 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17374 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17375 * stdio-common/printf_fp.c: Likewise.
17376 * stdio-common/printf_fphex.c: Likewise.
17377 * stdio-common/printf_size.c: Likewise.
17379 2015-06-03 Joseph Myers <joseph@codesourcery.com>
17382 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17384 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17386 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17387 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17388 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17389 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17390 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17391 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17392 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17393 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17394 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17395 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17398 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17399 weak alias of __wmemchr. Use libc_hidden_weak.
17400 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
17401 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17402 instead of wmemchr.
17404 2015-06-02 Roland McGrath <roland@hack.frob.com>
17407 * elf/tst-tlsalign-extern.c: New file.
17408 * elf/tst-tlsalign-extern-static.c: New file.
17409 * elf/tst-tlsalign-vars.c: New file.
17410 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17411 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17412 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17413 ($(objpfx)tst-tlsalign-extern-static): Likewise.
17414 (test-xfail-tst-tlsalign-extern-static): New variable.
17416 2015-06-02 Joseph Myers <joseph@codesourcery.com>
17418 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17419 Use variable name _sc_err instead of err.
17420 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17422 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17423 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17424 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17425 (INLINE_SYSCALL): Likewise.
17427 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17428 * include/string.h (__strnlen): Use libc_hidden_proto.
17429 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17430 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17431 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17432 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17433 (libc_hidden_def): Undefine and redefine.
17434 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17435 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17437 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17439 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17442 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17443 weak alias of __towlower. Use libc_hidden_weak.
17444 (towupper): Rename to __towupper and define as weak alias of
17445 __towupper. Use libc_hidden_weak.
17446 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
17447 (__towupper): Likewise.
17448 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17449 __towlower instead of towlower.
17451 2015-06-02 Roland McGrath <roland@hack.frob.com>
17453 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17454 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17456 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
17458 * sysdeps/aarch64/libm-test-ulps: Update.
17460 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17462 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17464 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17466 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17467 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17468 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17469 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17470 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17472 2015-06-01 Martin Sebor <msebor@redhat.com>
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17476 (__setcontext): Use extended four-operand version of mtsf whenever
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17479 (__novec_swapcontext): Likewise.
17481 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17483 * benchtests/scripts/compare_bench.py: New file.
17484 * benchtests/scripts/import_bench.py (mean): New function.
17485 (split_list): Likewise.
17486 (do_for_all_timings): Likewise.
17487 (compress_timings): Likewise.
17489 * benchtests/scripts/import_bench.py: New file.
17490 * benchtests/scripts/validate_benchout.py: Import import_bench
17491 instead of jsonschema.
17492 (validate_bench): Remove function.
17493 (main): Use import_bench.
17495 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
17497 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17498 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17500 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17504 2015-05-28 Roland McGrath <roland@hack.frob.com>
17506 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17507 set THREAD_SELF->tid to a magic value and futex-wake it.
17508 Pass its address to the thread_exit system call.
17509 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17511 * sysdeps/nacl/lowlevellock.h: New file.
17512 * sysdeps/nacl/lll_timedwait_tid.c: New file.
17514 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17515 Add TIMEOUT to current time, don't subtract it.
17517 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
17521 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17522 ($(objpfx)tst-audit2.out): Also depend on
17523 $(objpfx)tst-auditmod9b.so.
17524 * elf/tst-audit2.c: Include <dlfcn.h>.
17525 (calloc_called): New.
17526 (calloc): Allow to be called more than once.
17527 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17529 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
17531 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17532 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17534 2015-05-27 Marko Myllynen <myllynen@redhat.com>
17536 * stdlib/monetary.h: Fix comment.
17538 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
17540 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17541 Avoid using variables in #defines that might cause shadowing.
17542 (INTERNAL_VSYSCALL_CALL): Likewise.
17544 2015-05-26 Roland McGrath <roland@hack.frob.com>
17546 * sysdeps/nacl/lll_timedlock_wait.c: New file.
17548 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17549 * nptl/lll_timedlock_wait.c: ... to this new file.
17550 * nptl/Makefile (libpthread-routines): Add it.
17551 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17552 * nptl/lll_timedwait_tid.c: ... to this new file.
17553 * nptl/Makefile (libpthread-routines): Add it.
17554 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17555 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17556 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17557 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17558 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17559 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17560 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17561 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17562 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17563 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17565 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17567 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17568 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17569 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17571 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17573 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17575 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17576 * sysdeps/unix/sysv/linux/tile/sysdep.h
17577 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17578 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17579 using vDSO syscall macro.
17581 2015-05-26 Andriy Rysin <arysin@gmail.com>
17584 * uk_UA: Fix sorting order for Ukrainian locale
17586 2015-05-26 Marko Myllynen <myllynen@redhat.com>
17588 * stdlib/monetary.h: Fix comment.
17590 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
17593 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17594 st_mtim and st_ctim members.
17595 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17596 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17597 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17598 (struct stat64): Likewise.
17599 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17600 (struct stat64): Likewise.
17601 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17602 (struct stat64): Likewise.
17604 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17606 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17607 Define and include sysdep-vdso.h.
17608 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17610 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17612 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17613 Define with VDSO_SYMBOL and use PTR_MANGLE.
17614 (__vdso_clock_gettime): Likewise.
17615 (__vdso_clock_getres): Likewise.
17616 (_libc_vdso_platform_setup): Likewise.
17617 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17619 (_libc_vdso_platform_setup): Likewise.
17620 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
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 (_libc_vdso_platform_setup): Likewise.
17631 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17633 (__vdso_clock_gettime): Likewise.
17634 (__vdso_clock_getres): Likewise.
17635 (_libc_vdso_platform_setup): Likewise.
17636 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17638 (__vdso_clock_gettime): Likewise.
17639 (_libc_vdso_platform_setup): Likewise.
17640 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17642 (__vdso_getcpu): Likewise.
17643 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17644 Use VDSO_SYMBOL macro to define.
17645 (__vdso_clock_gettime): Likewise.
17646 (__vdso_clock_getres): Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17649 (__vdso_clock_gettime): Likewise.
17650 (__vdso_clock_getres): Likewise.
17651 (__vdso_get_tbfreq): Likewise.
17652 (__vdso_getcpu): Likewise.
17653 (__vdso_time): Likewise.
17654 (__vdso_sigtramp_rt64): Likewise.
17655 (__vdso_signtramp32): Likewise.
17656 (__vdso_sigtramp_rt32): Likewise.
17657 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17659 (__vdso_clock_gettime): Likewise.
17660 (__vdso_clock_getres): Likewise.
17661 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17663 (__vdso_clock_gettime): Likewise.
17664 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
17668 (INTERNAL_VSYSCALL): Likewise.
17669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17671 (INTERNAL_VSYSCALL): Likewise.
17672 (INTERNAL_VSYSCALL_NCS): Likewise.
17673 (INTERNAL_VSYSCALL_CALL): New macro.
17674 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17677 (INTERNAL_VSYSCALL): Likewise.
17678 (INTERNAL_VSYSCALL_NCS): Likewise.
17679 (INTERNAL_VSYSCALL_CALL): New macro.
17680 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17682 (INLINE_VSYSCALL): Remove macro.
17683 (INTERNAL_VSYSCALL): Remove macro.
17684 (INTERNAL_VSYSCALL_NCS): Remove macro.
17685 (INTERNAL_VSYSCALL_CALL): New macro.
17686 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17687 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17688 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17689 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17690 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17692 (INLINE_VSYSCALL): Remove macro.
17693 (INTERNAL_VSYSCALL): Likewise.
17694 (INTERNAL_VSYSCALL_NCS): Likewise.
17695 (INTERNAL_VSYSCALL_CALL): New macro.
17696 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17697 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17698 PTR_DEMANGLE on vDSO pointer.
17699 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17700 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17702 (INTERNAL_SYSCALL): Likewise.
17703 (INTERNAL_VSYSCALL_NCS): Remove macro.
17704 (INTERNAL_VSYSCALL_CALL): New macro.
17705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17707 (INTERNAL_VSYSCALL): Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17709 sysdep-vdso.h instead of libc-vdso.h.
17710 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17712 (INLINE_VSYSCALL): Likewise.
17713 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17714 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17716 (INLINE_VSYSCALL): Likewise.
17717 (INTERNAL_VSYSCALL): Likewise.
17718 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17719 * sysdeps/unix/sysv/linux/timespec_get.c
17720 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17721 (timespec_get): Use ANSI prototype.
17722 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17723 and definition for Linux.
17725 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
17727 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17728 * include/libc-symbols.h: libmvec_hidden_* macro series added.
17730 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
17734 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17735 for missing DT_PLTRELSZ.
17737 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
17739 Remove obsolete aliases that broke 'locale -a'
17741 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17742 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17743 breaking some applications that use 'locale -a' output.
17744 Change the encoding of this file from Latin-1 to ASCII to avoid
17745 other potential problems with people grepping this file.
17747 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17749 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17750 -fasynchronous-unwind-tables.
17751 (CFLAGS-sendto.c): Likewise.
17752 (CFLAGS-sendmsg.c): Likewise.
17753 (CFLAGS-connect.c): Likewise.
17754 (CFLAGS-recvmsg.c): Likewise.
17755 (CFLAGS-recvfrom.c): Likewise.
17756 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17757 (SOCKETCALL): New macro: non-cancellable socketcall.
17758 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17759 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17760 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17761 * sysdeps/unix/sysv/linux/accept.c: New file.
17762 * sysdeps/unix/sysv/linux/bind.c: Likewise.
17763 * sysdeps/unix/sysv/linux/connect.c: Likewise.
17764 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17765 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17766 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17767 * sysdeps/unix/sysv/linux/listen.c: Likewise.
17768 * sysdeps/unix/sysv/linux/recv.c: Likewise.
17769 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17770 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17771 * sysdeps/unix/sysv/linux/send.c: Likewise.
17772 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17773 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17774 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17775 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17776 * sysdeps/unix/sysv/linux/socket.c: Likewise.
17777 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17778 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17780 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17781 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17782 instead of __internal_xxx function.
17783 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17785 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17786 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17787 instead of __internal_xxx function.
17788 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17790 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17791 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17792 instead of __internal_xxx function.
17793 * sysdeps/unix/sysv/linux/accept.S: Remove file.
17794 * sysdeps/unix/sysv/linux/bind.S: Likewise.
17795 * sysdeps/unix/sysv/linux/connect.S: Likewise.
17796 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17797 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17798 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17799 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17800 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17801 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17803 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17804 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17805 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17806 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17807 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17808 * sysdeps/unix/sysv/linux/listen.S: Likewise.
17809 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17810 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17811 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17812 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17815 * sysdeps/unix/sysv/linux/recv.S: Likewise.
17816 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17817 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17819 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17820 * sysdeps/unix/sysv/linux/send.S: Likewise.
17821 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17822 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17823 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17824 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17825 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17826 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17827 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17828 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17829 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17830 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17831 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17832 socketcall is implemented in GLIBC.
17834 2015-05-22 Joseph Myers <joseph@codesourcery.com>
17836 * soft-fp/fmadf4.c: Include <libc-internal.h>.
17837 (__fma): Ignore uninitialized warnings around packing.
17838 * soft-fp/fmasf4.c: Include <libc-internal.h>.
17839 (__fmaf): Ignore uninitialized warnings around packing.
17840 * soft-fp/fmatf4.c: Include <libc-internal.h>.
17841 (__fmal): Ignore uninitialized warnings around packing.
17843 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17844 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17846 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17848 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17849 switch statement into default case.
17850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17852 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17853 a conditional in forcing "inexact".
17854 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17857 2015-05-22 Roland McGrath <roland@hack.frob.com>
17859 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17860 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17861 for each INTERNAL_SYSCALL use.
17863 2015-05-22 Joseph Myers <joseph@codesourcery.com>
17866 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17867 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17871 * string/basename.c (basename): Rename to __basename and define as
17872 weak alias of __basename. Use libc_hidden_weak.
17873 * include/string.h (__basename): Declare. Use libc_hidden_proto.
17874 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17875 __basename instead of basename.
17876 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17878 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17880 2015-05-18 Florian Weimer <fweimer@redhat.com>
17882 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17883 (_IO_JUMPS_FILE_plus): New.
17884 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17885 _IO_CAST_FIELD_ACCESS.
17886 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17887 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17888 * libio/freopen.c (freopen): Likewise.
17889 * libio/freopen64.c (freopen64): Likewise.
17890 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17891 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17892 * libio/iofwide.c (_IO_fwide): Likewise.
17893 * libio/memstream.c (open_memstream): Likewise.
17894 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17895 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17896 * libio/oldiopopen.c (_IO_old_popen): Likewise.
17898 2015-05-21 Joseph Myers <joseph@codesourcery.com>
17900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17901 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17903 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17904 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17906 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17907 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17913 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17914 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17916 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17917 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17918 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17920 2015-05-21 Florian Weimer <fweimer@redhat.com>
17922 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17923 Adjust jump table label generation macros.
17925 2015-05-21 Florian Weimer <fweimer@redhat.com>
17927 * stdio-common/vfprintf.c (vfprintf): Move local variables
17928 args_malloced, specs, specs_malloced, and the code after
17929 do_positional to the printf_positional function.
17930 (printf_positional): New function.
17932 2015-05-21 Florian Weimer <fweimer@redhat.com>
17934 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17936 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17937 STEP4_TABLE, process_arg): Move macro definitions
17938 out of the vfprintf function. (Cosmetic change only.)
17940 2015-05-21 Carlos O'Donell <carlos@redhat.com>
17942 * benchtests/Makefile (stdio-common-bench): Define.
17943 (benchset): Add stdio-common-bench.
17944 * sprintf-inputs: New file.
17945 * sprintf-source.c: New file.
17947 2015-05-21 Andreas Schwab <schwab@suse.de>
17951 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17952 of struct __res_state.
17953 * resolv/res_send.c (__libc_res_nsend): Likewise.
17954 (get_nsaddr): New function.
17955 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17958 2015-05-20 Joseph Myers <joseph@codesourcery.com>
17960 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17961 -D_POSIX_C_SOURCE=199506L.
17963 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17965 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17966 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17967 Do not mention otherwise.
17968 [POSIX] (_XOPEN_VERSION): Do not expect.
17969 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17970 [POSIX] (_POSIX2_C_BIND): Likewise.
17971 [POSIX] (_POSIX2_VERSION): Likewise.
17972 [POSIX] (_XOPEN_XPG2): Likewise.
17973 [POSIX] (_XOPEN_XPG3): Likewise.
17974 [POSIX] (_XOPEN_XPG4): Likewise.
17975 [POSIX] (_XOPEN_UNIX): Likewise.
17976 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17977 [POSIX] (_POSIX_BARRIERS): Likewise.
17978 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17979 [POSIX] (_POSIX_CPUTIME): Likewise.
17980 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17981 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17982 [POSIX] (_POSIX_SHELL): Likewise.
17983 [POSIX] (_POSIX_SPAWN): Likewise.
17984 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17985 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17986 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17987 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17988 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17989 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17990 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17991 [POSIX] (_XBS5_LP64_OFF64): Likewise.
17992 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17993 [POSIX] (_POSIX_TIMEOUTS): Likewise.
17994 [POSIX] (_POSIX2_PBS): Likewise.
17995 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17996 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17997 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17998 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17999 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18000 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18001 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18002 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18003 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18004 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18005 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18006 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18007 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18008 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18009 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18010 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18011 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18012 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18013 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18014 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18015 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18016 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18017 [POSIX] (_SC_2_C_BIND): Likewise.
18018 [POSIX] (_SC_2_C_VERSION): Likewise.
18019 [POSIX] (_SC_2_PBS): Likewise.
18020 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18021 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18022 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18023 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18024 [POSIX] (_SC_2_PBS_TRACK): Likewise.
18025 [POSIX] (_SC_ATEXIT_MAX): Likewise.
18026 [POSIX] (_SC_BARRIERS): Likewise.
18027 [POSIX] (_SC_BASE): Likewise.
18028 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18029 [POSIX] (_SC_DEVICE_IO): Likewise.
18030 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18031 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18032 [POSIX] (_SC_FD_MGMT): Likewise.
18033 [POSIX] (_SC_FIFO): Likewise.
18034 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18035 [POSIX] (_SC_FILE_LOCKING): Likewise.
18036 [POSIX] (_SC_FILE_SYSTEM): Likewise.
18037 [POSIX] (_SC_IOV_MAX): Likewise.
18038 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18039 [POSIX] (_SC_NETWORKING): Likewise.
18040 [POSIX] (_SC_PAGE_SIZE): Likewise.
18041 [POSIX] (_SC_PASS_MAX): Likewise.
18042 [POSIX] (_SC_PIPE): Likewise.
18043 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18044 [POSIX] (_SC_REGEXP): Likewise.
18045 [POSIX] (_SC_SHELL): Likewise.
18046 [POSIX] (_SC_SIGNALS): Likewise.
18047 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18048 [POSIX] (_SC_SPIN_LOCKS): Likewise.
18049 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18050 [POSIX] (_SC_USER_GROUPS): Likewise.
18051 [POSIX] (_SC_USER_GROUPS_R): Likewise.
18052 [POSIX] (_SC_STREAMS): Likewise.
18053 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18054 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18055 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18056 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18057 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18058 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18059 [POSIX] (_PC_FILESIZEBITS): Likewise.
18060 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18061 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18062 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18063 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18064 [POSIX] (uid_t): Likewise.
18065 [POSIX] (gid_t): Likewise.
18066 [POSIX] (off_t): Likewise.
18067 [POSIX] (pid_t): Likewise.
18068 [POSIX] (cuserid): Allow.
18069 (_SC_2_CHAR_TERM): Require constant.
18070 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18071 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18074 2015-05-20 Roland McGrath <roland@hack.frob.com>
18076 * sysdeps/nacl/pthread-pids.h: New file.
18077 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18078 (create_thread): Use __nacl_get_tid to initialize PD->tid.
18080 * nptl/pthread-pids.h: New file.
18081 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18082 * nptl/nptl-init.c: Include <pthread-pids.h>.
18083 (__pthread_initialize_minimal_internal):
18084 Call __pthread_initialize_pids instead of set_tid_address syscall.
18086 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18087 * sysdeps/posix/usleep.c: ... here.
18089 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18091 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18092 call_pselect6 object.
18093 [$(subdir) = io]: Remove call_sync_file_range object.
18094 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18096 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18097 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18099 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
18101 * math/s_cproj.c: Add include "math_private.h".
18102 * math/s_cprojf.c: Likewise.
18103 * math/s_cprojl.c: Likewise.
18105 2015-05-19 Joseph Myers <joseph@codesourcery.com>
18108 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18109 high mantissa bit when testing whether P is a NaN.
18110 * math/libm-test.inc (remainder_test_data): Add more tests.
18111 (remquo_test_data): Likewise.
18114 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18115 below -32, return the argument, with underflow if subnormal.
18116 * math/auto-libm-test-in: Add more tests of atanh.
18117 * math/auto-libm-test-out: Regenerated.
18119 2015-05-19 Roland McGrath <roland@hack.frob.com>
18122 * nptl/tst-sem15.c: New file.
18123 * nptl/Makefile (tests): Add it.
18124 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18125 s/<</>>/ to fix typo in EOVERFLOW check.
18126 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18128 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18130 * manual/strings.texi (envz_remove): Fix typo in safety
18133 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
18134 Steve Ellcey <sellcey@imgtec.com>
18136 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18137 in order to avoid strict alias warnings.
18138 (iruserok_af): Ditto for ra.
18140 2015-05-19 James Lemke <jwlemke@codesourcery.com>
18144 (magicbyte): Convert to a function and avoid returning 0x01.
18145 (mem2mem_check): Avoid using a length byte equal to the magic byte.
18146 (mem2chunk_check): Fix unsigned comparisons to zero.
18147 Hoist defs of sz and magic.
18149 2015-05-19 Richard Henderson <rth@redhat.com>
18151 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18153 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18155 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18158 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18159 * malloc/arena.c (arena_lock): Check if arena is corrupt.
18160 (reused_arena): Find a non-corrupt arena.
18161 (heap_trim): Pass arena to unlink.
18162 * malloc/hooks.c (malloc_check_get_size): Pass arena to
18164 (top_check): Likewise.
18165 (free_check): Likewise.
18166 (realloc_check): Likewise.
18167 * malloc/malloc.c (malloc_printerr): Add arena argument.
18168 (unlink): Likewise.
18169 (munmap_chunk): Adjust.
18170 (ARENA_CORRUPTION_BIT): New macro.
18171 (arena_is_corrupt): Likewise.
18172 (set_arena_corrupt): Likewise.
18173 (sysmalloc): Use mmap if there are no usable arenas.
18174 (_int_malloc): Likewise.
18175 (__libc_malloc): Don't fail if arena_get returns NULL.
18176 (_mid_memalign): Likewise.
18177 (__libc_calloc): Likewise.
18178 (__libc_realloc): Adjust for additional argument to
18180 (_int_free): Likewise.
18181 (malloc_consolidate): Likewise.
18182 (_int_realloc): Likewise.
18183 (_int_memalign): Don't touch corrupt arenas.
18184 * malloc/tst-malloc-backtrace.c: New test case.
18186 * Makefile (summarize-tests): Fix return value on success.
18188 * manual/string.texi (Envz Functions): Add envz_remove.
18190 2015-05-18 Roland McGrath <roland@hack.frob.com>
18192 * sysdeps/posix/opendir.c: Include <stdbool.h>.
18193 (invalid_name): New function, broken out of ...
18194 (__opendirat): ... here. Call it.
18195 (need_isdir_precheck): New function, broken out of ...
18196 (__opendirat): ... here. Call it.
18197 Use __fxstatat64, not __xstatat64.
18198 (opendir_oflags): New function, broken out of ...
18199 (__opendirat): ... here. Call it.
18200 (opendir_tail): New function, broken out of ...
18201 (__opendirat): ... here. Call it.
18202 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18203 opendir_tail, rather than punting to __opendirat.
18204 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18206 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18208 * .gitignore: Ignore generated *.pyc.
18210 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
18212 * include/stdio.h: Define __need_wint_t.
18213 * test-skeleton.c: Avoid `for' loop initial declaration.
18214 * nptl/tst-initializers1.c: Use test-skeleton.c.
18216 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18219 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18221 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18224 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18225 (__ieee754_atanh): Force underflow exception for results with
18226 small absolute value.
18227 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18228 (__ieee754_atanhf): Force underflow exception for results with
18229 small absolute value.
18230 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18231 (__ieee754_atanh): Force underflow exception for results with
18232 small absolute value.
18233 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18234 (__ieee754_atanhf): Force underflow exception for results with
18235 small absolute value.
18236 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18237 (__ieee754_atanhl): Force underflow exception for results with
18238 small absolute value.
18239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18240 (__ieee754_atanhl): Force underflow exception for results with
18241 small absolute value.
18242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18243 (__ieee754_atanhl): Force underflow exception for results with
18244 small absolute value.
18245 * math/auto-libm-test-in: Do not allow missing underflow
18246 exceptions from atanh.
18247 * math/auto-libm-test-out: Regenerated.
18250 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18251 2**-28 as threshold for returning x or +/- 1/x.
18252 * math/auto-libm-test-in: Add more tests of tan.
18253 * math/auto-libm-test-out: Regenerated.
18256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18257 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18258 * math/auto-libm-test-in: Add another test of lgamma.
18259 * math/auto-libm-test-out: Regenerated.
18261 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
18263 * stdio-common/printf_fp.c (___printf_fp): Use abs.
18264 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
18265 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18266 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18267 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
18268 (ADD2A): Use fabs. (SUB2A): Use fabs.
18269 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18270 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18272 (log1): Use fabs. (my_log2): Use fabs.
18273 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18274 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18276 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18278 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
18279 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
18280 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
18281 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
18282 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18283 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18285 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18288 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18289 as threshold for returning 1 - x.
18290 * math/auto-libm-test-in: Add more tests of erfc.
18291 * math/auto-libm-test-out: Regenerated.
18293 2015-05-14 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18297 threshold for large arguments.
18298 * math/auto-libm-test-in: Add another test of atan.
18299 * math/auto-libm-test-out: Regenerated.
18302 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18303 (__log1p): Force underflow exception for results with small
18305 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18306 (__log1pf): Force underflow exception for results with small
18308 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18309 (__log1p): Force underflow exception for results with small
18311 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18312 (__log1pf): Force underflow exception for results with small
18314 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18315 (__log1pl): Force underflow exception for results with small
18317 * math/auto-libm-test-in: Do not allow missing underflow
18318 exceptions from log1p.
18319 * math/auto-libm-test-out: Regenerated.
18321 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
18322 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18325 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18327 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
18329 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18330 (libmvec): New variable.
18331 * configure.ac: Added option for mathvec build.
18332 * configure: Regenerated.
18333 * mathvec/Depend: New file.
18334 * mathvec/Makefile: New file.
18335 * shlib-versions: Added libmvec.
18336 * math/Makefile: Added rule for libm.so installation.
18338 * bits/math-vector.h: New file.
18339 * bits/libm-simd-decl-stubs.h: New header.
18340 * math/Makefile (headers): Added new header
18341 libm-simd-decl-stubs.h.
18342 * math/math.h (__MATHCALL_VEC): New macro.
18344 * math/gen-libm-have-vector-test.sh: Script generates series of macros
18345 for conditions in testing functions.
18346 * math/Makefile: Added call of libm-have-vector-test.sh.
18347 * math/libm-test.inc (HAVE_VECTOR): New macros.
18349 * math/libm-test.inc: START refactored.
18350 * math/test-double.c (TEST_MATHVEC): Add define.
18351 * math/test-float.c: Likewise.
18352 * math/test-idouble.c: Likewise.
18353 * math/test-ifloat.c: Likewise.
18354 * math/test-ildoubl.c: Likewise.
18355 * math/test-ldouble.c: Likewise.
18356 * sysdeps/generic/math-tests-arch.h
18357 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18358 architecture check.
18360 * math/test-double.c (FUNC_TEST): New macro.
18361 * math/test-float.c: Likewise.
18362 * math/test-idouble.c: Likewise.
18363 * math/test-ifloat.c: Likewise.
18364 * math/test-ildoubl.c: Likewise.
18365 * math/test-ldouble.c: Likewise.
18366 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18368 2015-05-13 Roland McGrath <roland@hack.frob.com>
18370 * sysdeps/nacl/fdopendir.c: New file.
18372 * dirent/scandir-tail.c: New file.
18373 * dirent/scandir64-tail.c: New file.
18374 * dirent/Makefile (routines): Add them.
18375 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18376 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18377 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18378 [!SCANDIR] (SCANDIR_TAIL): New macro.
18379 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18380 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18381 (SCANDIRAT): Macro removed.
18382 (SCANDIR_TAIL): New macro.
18383 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18384 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18385 (SCANDIRAT): Just call __opendirat and __scandir_tail.
18386 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18387 (READDIR): Macro removed.
18388 (SCANDIR_TAIL): New macro.
18389 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18390 (SCANDIR_TAIL): New macro.
18392 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18393 * dirent/scandir-cancel.c: ... to this new file.
18394 * dirent/Makefile (routines): Add it.
18395 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18396 * sysdeps/unix/sysv/linux/i386/scandir64.c
18397 (SKIP_SCANDIR_CANCEL): Macro removed.
18398 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18400 * dirent/tst-scandir.c: New file.
18401 * dirent/tst-scandir64.c: New file.
18402 * dirent/Makefile (tests): Add them.
18404 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
18407 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18409 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
18411 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18414 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
18416 * benchtests/bench-strcoll.c: New benchmark.
18417 * benchtests/Makefile: Generate locales and run benchmark.
18418 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18419 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18420 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18421 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18422 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18423 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18424 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18425 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18426 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18427 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18428 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18429 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18430 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18431 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18432 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18433 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18434 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18435 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18436 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18437 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18438 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18439 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18440 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18441 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18443 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
18445 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18446 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18448 2015-05-12 Roland McGrath <roland@hack.frob.com>
18450 * posix/uname-values.h: New file.
18451 * posix/uname.c: Include that instead of <config-name.h>.
18452 * sysdeps/nacl/uname-values.h: New file.
18453 * sysdeps/arm/nacl/uname-values.h: New file.
18455 2015-05-12 Joseph Myers <joseph@codesourcery.com>
18457 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18458 splitting into fields.
18460 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
18462 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18463 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18464 * locale/localeinfo.h: Add enum collation_encoding_type.
18465 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18466 * programs/ld-collate.c (collate_output): Add encoding type info.
18467 * string/strcoll_l.c (STRDIFF): New function.
18468 * (STRCOLL): Use STRDIFF to skip over equal prefix.
18469 * wcsmbs/wcscoll_l.c: Define STRDIFF.
18471 2015-05-11 Joseph Myers <joseph@codesourcery.com>
18474 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18475 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
18476 <fpu_control.h> instead of <math/fpu_control.c>.
18477 * sysdeps/mips/mips32/fpu/Makefile: New file.
18479 2015-05-11 Andreas Schwab <schwab@suse.de>
18482 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18484 (_nss_compat_endgrent): Call nss_endgrent.
18485 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18487 (_nss_compat_endpwent): Call nss_endpwent.
18488 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18489 needent, call nss_setspent only if non-zero.
18490 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18491 (internal_endspent): Don't call nss_endspent.
18492 (_nss_compat_endspent): Call nss_endspent.
18493 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18494 Remove. All uses removed.
18495 (internal_setent): Remove parameter stayopen, add parameter
18496 stream. Use it instead of global variable.
18497 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18498 (internal_endent, internal_getent): Add parameter stream. Use it
18499 instead of global variable.
18500 (CONCAT(_nss_files_end,ENTNAME))
18501 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18502 (_nss_files_get##name##_r): Pass local stream. Remove locking.
18503 * nss/nss_files/files-alias.c (position, last_use): Remove. All
18505 (internal_setent, internal_endent): Add parameter stream. Use it
18506 instead of global variable.
18507 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18509 (get_next_alias): Add parameter stream.
18510 (_nss_files_getaliasent_r): Pass global stream.
18511 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
18512 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18513 (_nss_files_gethostbyname4_r): Pass local stream to
18514 internal_setent, internal_getent and internal_endent. Remove
18517 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18519 * tst-strfmon1.c (tests): Update expected currency symbol.
18521 2015-05-08 Roland McGrath <roland@hack.frob.com>
18523 * sysdeps/nacl/gethostname.c: New file.
18525 2015-05-08 Joseph Myers <joseph@codesourcery.com>
18527 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18529 * math/auto-libm-test-out: Regenerated.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533 2015-05-08 Carlos O'Donell <carlos@redhat.com>
18536 * stdlib/tst-setcontext3.c: New file.
18537 * stdlib/tst-setcontext3.sh: New file.
18538 * stdlib/Makefile (tests): Add tst-setcontext3.
18539 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18540 to verify test program created output file.
18541 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18542 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18543 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18544 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18546 2015-05-06 Roland McGrath <roland@hack.frob.com>
18549 * elf/tst-tlsalign.c: New file.
18550 * elf/tst-tlsalign-static.c: New file.
18551 * elf/tst-tlsalign-lib.c: New file.
18552 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18553 (tests-static): Add tst-tlsalign-static.
18554 (modules-names): Add tst-tlsalign-lib.
18555 (test-xfail-tst-tlsalign): New variable.
18556 (test-xfail-tst-tlsalign-static): New variable.
18558 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18559 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18561 2015-05-06 Joseph Myers <joseph@codesourcery.com>
18563 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18564 csqrt, erfc, sin and sincos.
18565 * math/auto-libm-test-out: Regenerated.
18566 * sysdeps/i386/fpu/libm-test-ulps: Update.
18567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
18571 * sysdeps/aarch64/libm-test-ulps: Update.
18573 2015-05-05 Joseph Myers <joseph@codesourcery.com>
18575 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18576 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18577 * math/auto-libm-test-out: Regenerated.
18578 * sysdeps/i386/fpu/libm-test-ulps: Update.
18579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18581 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
18584 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18585 (wcsncpy): Likewise.
18587 2015-05-05 Florian Weimer <fweimer@redhat.com>
18589 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18590 Assume __ASSUME_FALLOCATE is always true.
18591 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18592 (__posix_fallocate64_l64): Likweise.
18593 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18594 (posix_fallocate): Likewise.
18595 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18596 (__posix_fallocate64_l64): Likewise.
18597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18598 [!__ASSUME_FALLOCATE]: Add comment.
18600 2015-05-05 Florian Weimer <fweimer@redhat.com>
18602 * sysdeps/unix/sysv/linux/i386/Makefile
18603 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18604 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18605 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18606 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18607 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18608 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18609 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18611 2015-05-02 Joseph Myers <joseph@codesourcery.com>
18613 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18614 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18616 * math/auto-libm-test-out: Regenerated.
18617 * sysdeps/i386/fpu/libm-test-ulps: Update.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620 2015-05-01 Joseph Myers <joseph@codesourcery.com>
18622 * math/auto-libm-test-in: Add more tests of tgamma.
18623 * math/auto-libm-test-out: Regenerated.
18624 * sysdeps/i386/fpu/libm-test-ulps: Update.
18625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18627 * math/auto-libm-test-in: Add more tests of tanh.
18628 * math/auto-libm-test-out: Regenerated.
18629 * sysdeps/i386/fpu/libm-test-ulps: Update.
18630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18632 * math/auto-libm-test-in: Add more tests of tan.
18633 * math/auto-libm-test-out: Regenerated.
18634 * sysdeps/i386/fpu/libm-test-ulps: Update.
18635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18637 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18638 * math/auto-libm-test-out: Regenerated.
18639 * sysdeps/i386/fpu/libm-test-ulps: Update.
18640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642 * math/auto-libm-test-in: Add another test of pow.
18643 * math/auto-libm-test-out: Regenerated.
18644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18646 * math/auto-libm-test-in: Add more tests of lgamma.
18647 * math/auto-libm-test-out: Regenerated.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18651 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18653 * math/auto-libm-test-out: Regenerated.
18654 * sysdeps/i386/fpu/libm-test-ulps: Update.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18657 2015-05-01 Mark Wielaard <mjw@redhat.com>
18659 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18660 Elf64_Chdr structs and ELFCOMPRESS constants.
18662 2015-05-01 Joseph Myers <joseph@codesourcery.com>
18664 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18666 * math/auto-libm-test-out: Regenerated.
18667 * sysdeps/i386/fpu/libm-test-ulps: Update.
18668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670 * math/auto-libm-test-in: Add more tests of erf and erfc.
18671 * math/auto-libm-test-out: Regenerated.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
18677 * config.h.in (HAVE_AARCH64_BE): Add.
18679 2015-04-30 Joseph Myers <joseph@codesourcery.com>
18681 * math/auto-libm-test-in: Add more tests of csqrt.
18682 * math/auto-libm-test-out: Regenerated.
18683 * sysdeps/i386/fpu/libm-test-ulps: Update.
18684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18686 * math/auto-libm-test-in: Add more tests of cosh and sinh.
18687 * math/auto-libm-test-out: Regenerated.
18688 * sysdeps/i386/fpu/libm-test-ulps: Update.
18689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18691 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18693 2015-04-29 Roland McGrath <roland@hack.frob.com>
18695 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18696 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18698 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18699 (euidaccess, eaccess): Define as weak aliases.
18701 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18702 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
18703 but __suseconds_t is often 'long int' so some sources assume that
18704 type is being used (e.g. they use %ld to print tv_usec).
18706 2015-04-29 Florian Weimer <fweimer@redhat.com>
18709 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18711 * nss/tst-nss-getpwent.c: New file.
18712 * nss/Makefile (tests): Add new test.
18714 2015-04-28 Joseph Myers <joseph@codesourcery.com>
18717 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18718 exponents less than 48 as cases where high part of mantissa needs
18719 examining to determine whether argument is integral.
18720 * math/libm-test.inc (round_test_data): Add more tests.
18722 2015-04-28 Mark Wielaard <mjw@redhat.com>
18724 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18726 2015-04-27 David S. Miller <davem@davemloft.net>
18728 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18730 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18732 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
18735 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18737 2015-04-27 Florian Weimer <fweimer@redhat.com>
18740 * time/tzset.c (parse_tzname): Return error on memory allocation
18742 * test-skeleton.c (struct temp_name_list): Change type of name
18743 member to non-const.
18744 (add_temp_file): Create a copy of the file name.
18745 (delete_temp_files): Deallocate memory.
18746 (create_temp_file): Add comment.
18748 2015-04-24 Florian Weimer <fweimer@redhat.com>
18750 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18751 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18753 2015-04-24 Roland McGrath <roland@hack.frob.com>
18755 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18756 * sysdeps/arm/configure: Regenerated.
18758 2015-04-24 Florian Weimer <fweimer@redhat.com>
18761 * time/tzfile.c (__tzfile_read): Check for large values of
18762 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
18763 * time/tzset.c (__tzstring_len): New function, based on the old
18764 __tzstring function.
18765 (__tzstring): Call __tzstring_len.
18766 (parse_tzname): New helper function extracted from
18767 __tzset_parse_tz. Call __tzstring_len, without making a copy of
18769 (parse_offset): New helper function extracted from
18770 __tzset_parse_tz. Replace switch with fallthrough with
18771 initialization before sscanf.
18772 (parse_rule): Likewise.
18773 (__tzset_parse_tz): Rewrite using the new helper functions. Use
18774 new-style function definition.
18775 * timezone/Makefile (tests): Add tst-tzset.
18776 (tst-tzset.out): Dependencies on time zone files.
18777 (tst-tzset-ENV): Set TZDIR.
18778 (testdata/XT%): Copy crafted time zone files.
18779 * timezone/README: Mention crafted time zone files.
18780 * timezone/testdata/XT1, timezone/testdata/XT2,
18781 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18783 * timezone/tst-tzset.c: New test.
18785 2015-04-24 Florian Weimer <fweimer@redhat.com>
18787 * Makeconfig (+gccwarn): Remove -Winline.
18789 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18791 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18793 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18795 * NEWS: Mention sysconf() cache information support for s390.
18796 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18798 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
18800 * math/k_casinh.c (__kernel_casinh): Use __copysign.
18801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18802 (__nearbyint): Likewise.
18803 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18804 (copysignl): Likewise.
18806 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
18809 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18810 based on padding. (CVE-2015-1781)
18812 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18814 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18816 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18817 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18818 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18819 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18820 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18821 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18822 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18825 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18826 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18827 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18828 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18829 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18830 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18831 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18832 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18833 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18834 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18835 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18836 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18837 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18838 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18840 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
18842 * stdlib/setenv.c (__add_to_environ):
18843 Dump core quickly if setenv (..., NULL, ...) is called.
18844 This time, do it the right way, and pacify GCC with a pragma.
18846 2015-04-17 Roland McGrath <roland@hack.frob.com>
18848 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18849 IMAP->l_prev cannot be null, and #if out the code for the contrary
18850 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18851 believe that NS (&_dl_ns[NSID]) could point outside the array.
18853 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18854 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18855 before using NSID as an index.
18857 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
18860 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18861 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18862 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18864 2015-04-17 Roland McGrath <roland@hack.frob.com>
18866 Add preliminary port to Google Native Client on ARM.
18867 * abi-tags (.*-.*-nacl.*): New entry.
18868 * sysdeps/arm/nacl: New directory.
18869 * sysdeps/nacl: New directory.
18871 2015-04-16 David S. Miller <davem@davemloft.net>
18873 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18874 lowlevellock-futex.h
18876 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
18878 * sysdeps/tile/configure.ac: New file.
18879 * sysdeps/tile/configure: Regenerated.
18881 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18883 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
18884 conditionals for weak_alias and libc_hidden_weak.
18885 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18886 libc_hidden_weak and weak_alias.
18887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18888 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18889 and weak_alias for static one.
18891 2015-04-15 David S. Miller <davem@davemloft.net>
18893 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18895 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18898 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18899 Use signed comparision instead of substraction to avoid
18901 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18902 Take the sign of ret.
18903 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18904 Do not expect precise return values. Only the sign matters.
18905 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18906 * wcsmbs/test-wcsncmp.c: New File.
18907 * string/test-strncmp.c: Add wcsncmp support.
18909 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18912 * math/w_log1p.c: New file.
18913 * math/w_log1pf.c: Likewise.
18914 * math/w_log1pl.c: Likewise.
18915 * math/Makefile (libm-calls): Add w_log1p.
18916 * math/s_log1pl.c (log1pl): Remove weak_alias.
18917 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18918 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18919 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18920 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18921 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18922 [NO_LONG_DOUBLE] (log1pl): Likewise.
18923 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18924 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18925 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18926 (log1p): Remove long_double_symbol.
18927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18928 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18929 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18930 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18931 remove weak_alias for corresponding log1p function.
18932 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18933 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18934 * sysdeps/ia64/fpu/w_log1p.c: New file.
18935 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18936 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18937 * math/libm-test.inc (log1p_test_data): Add errno expectations.
18939 2015-04-10 Joseph Myers <joseph@codesourcery.com>
18942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18943 decimal exponent by 1.
18944 * stdlib/tst-strtod-round-data: Add more tests.
18945 * stdlib/tst-strtod-round.c (tests): Regenerated.
18947 2015-04-09 Joseph Myers <joseph@codesourcery.com>
18949 * math/auto-libm-test-in: Add more tests of clog and clog10.
18950 * math/auto-libm-test-out: Regenerated.
18951 * sysdeps/i386/fpu/libm-test-ulps: Update.
18952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18954 2015-04-09 Roland McGrath <roland@hack.frob.com>
18956 * Makeconfig (module-cppflags): Exclude all .v.i files.
18957 (skip-module-cppflags): Variable removed.
18959 * configure.ac (libc_config_ok): Initialize before reading
18960 preconfigure scripts, not after.
18961 * configure: Regenerated.
18963 * test-skeleton.c (TIMEOUT): Move #define to top level.
18964 (main): Grok environment variable TEST_DIRECT. If set, print
18965 test expectation details into that file and then behave as if
18968 2015-04-09 Florian Weimer <fweimer@redhat.com>
18970 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18973 2015-04-08 David S. Miller <davem@davemloft.net>
18975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18977 2015-04-08 Joseph Myers <joseph@codesourcery.com>
18979 * math/auto-libm-test-in: Add more tests of atanh.
18980 * math/auto-libm-test-out: Regenerated.
18981 * sysdeps/i386/fpu/libm-test-ulps: Update.
18982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18984 * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08 Florian Weimer <fweimer@redhat.com>
18991 * elf/pldd.c (main): Rewrite to use struct
18992 scratch_buffer instead of extend_alloca.
18993 * elf/pldd-xx.c (find_maps): Likewise.
18994 * grp/initgroups.c: Include <scratch_buffer.h> instead of
18996 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18997 scratch_buffer instead of extend_alloca.
18998 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18999 grp/compat-initgroups.c.
19000 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19001 Rewrite to use struct scratch_buffer instead of extend_alloca.
19002 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19003 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19005 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19007 * math/auto-libm-test-in: Add more tests of cbrt.
19008 * math/auto-libm-test-out: Regenerated.
19009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19011 * math/auto-libm-test-in: Add more tests of cabs.
19012 * math/auto-libm-test-out: Regenerated.
19013 * sysdeps/i386/fpu/libm-test-ulps: Update.
19014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19018 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19019 (__ieee754_atan2): Set FE_TONEAREST mode for internal
19021 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19023 * math/auto-libm-test-out: Regenerated.
19024 * sysdeps/i386/fpu/libm-test-ulps: Update.
19025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19029 (atan): Set FE_TONEAREST mode for internal computations.
19030 * math/auto-libm-test-in: Add more tests of atan.
19031 * math/auto-libm-test-out: Regenerated.
19033 2015-04-07 James Cowgill <james410@cowgill.org.uk>
19036 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19038 2015-04-07 Florian Weimer <fweimer@redhat.com>
19040 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19042 2015-04-07 Florian Weimer <fweimer@redhat.com>
19044 * include/scratch_buffer.h: New file.
19045 * malloc/scratch_buffer_grow.c: Likewise.
19046 * malloc/scratch_buffer_grow_preserve.c: Likewise.
19047 * malloc/scratch_buffer_set_array_size.c: Likewise.
19048 * malloc/tst-scratch_buffer.c: Likewise.
19049 * malloc/Makefile (routines): Add scratch_buffer_grow.
19050 (tests): Add test case.
19051 * malloc/Versions (GLIBC_PRIVATE): Export
19052 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19053 __libc_scratch_buffer_set_array_size.
19055 2015-04-06 Richard Henderson <rth@redhat.com>
19057 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19058 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19060 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19061 unsigned int before printing.
19063 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19066 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19067 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19069 2015-04-02 Florian Weimer <fweimer@redhat.com>
19071 * include/libc-internal.h (libc_max_align_t): Define.
19073 2015-04-02 Andreas Schwab <schwab@suse.de>
19076 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19078 2015-04-02 Mel Gorman <mgorman@suse.de>
19081 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19082 as well as the main arena.
19084 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19087 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19088 sharing L2 cache to 2 for Silvermont/Knights Landing.
19090 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19093 * config.make.in (have-protected-data): New.
19094 * configure.ac: Check linker support for protected data symbol.
19095 * configure: Regenerated.
19096 * elf/Makefile (modules-names): Add tst-protected1moda and
19097 tst-protected1modb if $(have-protected-data) is yes.
19098 (tests): Add tst-protected1a and tst-protected1b if
19099 $(have-protected-data) is yes.
19100 ($(objpfx)tst-protected1a): New.
19101 ($(objpfx)tst-protected1b): Likewise.
19102 (tst-protected1modb.so-no-z-defs): Likewise.
19103 * elf/tst-protected1a.c: New file.
19104 * elf/tst-protected1b.c: Likewise.
19105 * elf/tst-protected1mod.h: Likewise.
19106 * elf/tst-protected1moda.c: Likewise.
19107 * elf/tst-protected1modb.c: Likewise.
19109 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19112 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19113 indicates it is called from do_lookup_x on relocation against
19114 protected data, skip the data definion in the executable from
19116 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19117 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19118 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19119 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19120 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19122 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19123 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19124 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19125 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19126 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19127 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19129 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
19131 * sysdeps/nptl/pthread.h: Remove duplicate definition of
19132 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19134 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
19136 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19138 * sysdeps/x86_64/nptl/tls.h: Ditto.
19140 2015-03-27 Roland McGrath <roland@hack.frob.com>
19142 * dlfcn/tststatic.c (main): Converted to ...
19143 (do_test): ... this.
19144 (TEST_FUNCTION): New macro.
19145 Include test-skeleton.c.
19147 2015-03-26 Alan Modra <amodra@gmail.com>
19149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19150 Don't segfault if ifunc resolver returns a NULL. Do set plt to
19151 zero for undefined weak.
19152 (elf_machine_plt_conflict): Similarly.
19154 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19156 * math/auto-libm-test-in: Add more tests of acosh, asinh and
19158 * math/auto-libm-test-out: Regenerated.
19159 * sysdeps/i386/fpu/libm-test-ulps: Update.
19160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19162 * math/auto-libm-test-in: Add another test of asin.
19163 * math/auto-libm-test-out: Regenerated.
19164 * sysdeps/i386/fpu/libm-test-ulps: Update.
19165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19169 (LLL_EBX_REG): Likewise.
19170 (LLL_ENTER_KERNEL): Likewise.
19172 * math/auto-libm-test-in: Add more tests of asin.
19173 * math/auto-libm-test-out: Regenerated.
19174 * sysdeps/i386/fpu/libm-test-ulps: Update.
19175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19178 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19179 libc_do_syscall_args): New structure.
19180 (INTERNAL_SYSCALL_MAIN_0): New macro.
19181 (INTERNAL_SYSCALL_MAIN_1): Likewise.
19182 (INTERNAL_SYSCALL_MAIN_2): Likewise.
19183 (INTERNAL_SYSCALL_MAIN_3): Likewise.
19184 (INTERNAL_SYSCALL_MAIN_4): Likewise.
19185 (INTERNAL_SYSCALL_MAIN_5): Likewise.
19186 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
19187 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19188 Replace conditional definitions by conditional definitions of ....
19189 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
19190 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19191 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19192 (libpthread-sysdep_routines): Add libc-do-syscall.
19193 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19194 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19195 to __NR_futex not 240.
19197 2015-03-25 Alan Modra <amodra@gmail.com>
19199 * NEWS: Advertise TLS optimization.
19200 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19201 (DT_PPC_NUM): Increment.
19202 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19203 (CHECK_STATIC_TLS): Use here.
19204 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19207 * sysdeps/powerpc/dl-tls.c: New file.
19208 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19209 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19210 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19211 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19216 2015-03-25 Alan Modra <amodra@gmail.com>
19218 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19219 for overlapping .opd entries" to "support...".
19220 * sysdeps/powerpc/powerpc64/configure: Regenerate
19222 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19224 * math/auto-libm-test-in: Add more tests of acos.
19225 * math/auto-libm-test-out: Regenerated.
19226 * sysdeps/i386/fpu/libm-test-ulps: Update.
19227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19229 * math/auto-libm-test-in: Add more tests of expm1.
19230 * math/auto-libm-test-out: Regenerated.
19231 * sysdeps/i386/fpu/libm-test-ulps: Update.
19232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19234 2015-03-24 Joseph Myers <joseph@codesourcery.com>
19236 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19237 * math/auto-libm-test-out: Regenerated.
19238 * sysdeps/i386/fpu/libm-test-ulps: Update.
19239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19244 * math/auto-libm-test-in: Add more tests of log2.
19245 * math/auto-libm-test-out: Regenerated.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249 2015-03-23 Roland McGrath <roland@hack.frob.com>
19251 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19252 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
19253 _IO_IS_APPENDING bit in READ_WRITE instead.
19255 2015-03-23 Florian Weimer <fweimer@redhat.com>
19257 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19258 (__determine_cpumask_size): Replace extend_alloca with a
19259 variable-length array. Do not treat res == 0 as an error.
19261 2015-03-23 Florian Weimer <fweimer@redhat.com>
19264 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19265 and integer overflow.
19266 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19267 (main): Add integer overflow tests.
19268 * manual/pattern.texi (Calling Wordexp): Document additional use
19271 2015-03-23 Alan Modra <amodra@gmail.com>
19273 * config.h.in: Remove HAVE_ASM_PPC_REL16.
19274 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19275 and false branch of conditional.
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19279 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
19281 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19283 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19284 unused declaration of _hurd_intr_rpc_msg_in_trap.
19285 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19286 defined instead of whether it is non-zero.
19287 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19288 input constraint instead of both input and output constraint. Use ecx
19289 clobber instead of %ecx.
19290 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19291 mutex_unlock): Use a statement expression instead of an expression list.
19292 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19293 type to vm_size_t instead of vm_address_t.
19294 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19295 defined instead of whether it is non-zero.
19296 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19297 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19298 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19299 comparisons with mapaddr.
19300 * nscd/nscd-client.h: Include <time.h>.
19301 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19302 9th parameter to __vm_region instead of int.
19303 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19304 * scripts/check-local-headers.sh (exclude): Add device/,
19305 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19308 2015-03-19 Roland McGrath <roland@hack.frob.com>
19310 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19311 to account for alignment padding.
19312 * sysdeps/arm/memmove.S: Likewise.
19314 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
19316 * sysdeps/unix/sysv/linux/generic/README: New file.
19318 2015-03-18 Joseph Myers <joseph@codesourcery.com>
19321 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19322 (futex_abstimed_wait)
19323 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19324 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19325 of lll_futex_timed_wait.
19327 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
19330 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19332 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
19339 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19340 entries with Static TLS too. Skip entries past the end of the
19341 allocated DTV, from Alan Modra.
19342 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
19343 Static TLS DTV entry set up from...
19344 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19345 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19346 * nptl/allocatestack.c (init_one_static_tls): ... and here...
19347 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19349 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
19350 that the slot we find is associated with the given map before
19351 using its generation count.
19352 * nptl_db/db_info.c: Include ldsodefs.h.
19353 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19354 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19355 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19356 (link_map::l_tls_offset): New struct field.
19357 (dtv_t::counter): Likewise.
19358 (rtld_global): New struct.
19359 (_rtld_global): New rtld variable.
19360 (dl_tls_dtv_slotinfo_list): New rtld global field.
19361 (dtv_slotinfo_list): New struct.
19362 (dtv_slotinfo): Likewise.
19363 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19364 (td_lookup): Rename to...
19365 (td_mod_lookup): ... this. Use new mod parameter instead of
19367 * nptl_db/td_thr_tlsbase.c: Include link.h.
19368 (dtv_slotinfo_list, dtv_slotinfo): New functions.
19369 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
19370 addresses even if the DTV is out of date or missing them.
19371 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19372 index zero-length arrays.
19373 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19374 (td_lookup): Make it a macro implemented in terms of...
19375 (td_mod_lookup): ... this declaration.
19376 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19377 (DB_MAIN_VARIABLE): Likewise.
19379 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
19382 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19384 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
19386 * stdlib/setenv.c (__add_to_environ): Revert previous change.
19388 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
19391 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19392 (atomic_add, atomic_increment_and_test)
19393 (atomic_decrement_and_test): Fix 64-bit arithmetic.
19395 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
19397 * stdlib/setenv.c (__add_to_environ):
19398 Dump core quickly if setenv (..., NULL, ...) is called.
19400 2015-03-13 Roland McGrath <roland@hack.frob.com>
19402 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19403 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19404 all the necessary asm magic in one place.
19405 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19408 2015-03-13 Carlos O'Donell <carlos@redhat.com>
19411 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19412 traced file mtime. Use consistent log message.
19413 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19414 (register_traced_file): Call install_watches. Always set mtime.
19415 (invalidate_cache): Iterate over all trace files. Call install_watches.
19416 (inotify_check_files): Don't inline. Handle watching parent
19417 directories and configuration file movement in and out.
19418 (handle_inotify_events): New function.
19419 (main_loop_poll): Call handle_inotify_events.
19420 (main_loop_epoll): Likewise.
19421 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19422 (struct traced_file): Use array of inotify fds. Add parent directory,
19424 (struct database_dyn): Remove unused file_mtime.
19425 (init_traced_file): New inline function.
19426 (define_traced_file): New macro.
19427 * nss/nss_db/db-init.c: Use define_traced_file.
19428 (_nss_db_init): Use init_traced_file.
19429 * nss/nss_files/files-init.c: Use define_traced_file.
19430 (_nss_files_init): Use init_traced_file.
19432 2015-03-12 Joseph Myers <joseph@codesourcery.com>
19434 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19435 [_LIBC]: Do not include <stdlib.h>.
19436 [!_LIBC] (abort): Remove declaration.
19437 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19438 _FP_STATIC_ASSERT instead of conditionally calling abort.
19439 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19440 (_FP_EXTEND_CNAN): Likewise.
19441 (FP_TRUNC): Likewise.
19442 (__FP_CLZ): Likewise.
19443 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19445 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
19447 * manual/string.texi (XPG basename): Fix prototype.
19449 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19452 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19453 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19454 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19455 (__setcontext): Likewise.
19456 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19457 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19458 Call rt_sigprocmask syscall one time to set new signal mask
19459 and retrieve the current signal mask instead of two calls.
19460 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19461 (__swapcontext): Likewise.
19462 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19463 * stdlib/tst-setcontext2.c: New file.
19465 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19467 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19469 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
19472 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19475 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19478 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19480 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
19482 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19483 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19485 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19486 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19487 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19488 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19489 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19490 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19492 * nptl_db/td_symbol_list.c (td_lookup): Remove
19493 HAVE_ASM_GLOBAL_DOT_NAME code.
19494 * sysdeps/powerpc/powerpc64/configure.ac: Remove
19495 HAVE_ASM_GLOBAL_DOT_NAME check.
19496 * sysdeps/powerpc/powerpc64/configure: Regenerate.
19497 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19498 (DOT_LABEL): Remove define.
19499 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19500 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19501 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19502 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19503 (__TLS_GET_ADDR): Likewise.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19505 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19507 2015-03-11 Carlos O'Donell <carlos@redhat.com>
19510 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19511 (_FPU_SETCW): Initialize cw from fpsr before storing.
19512 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19513 (fesetexceptflag): Rewrite using fpu_control.h.
19514 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19516 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
19519 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19521 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19523 2015-03-11 Joseph Myers <joseph@codesourcery.com>
19525 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19526 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19528 (_FP_FMA): Likewise.
19529 (_FP_DIV): Likewise.
19531 2015-03-10 Roland McGrath <roland@hack.frob.com>
19533 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19534 with 0 in that case.
19535 * Makefile (summarize-tests): New canned sequence, factored out of
19536 commands for targets tests and xtests. Display summary lines that
19537 don't start with PASS: or XFAIL: rather than ones that do start with
19538 ERROR: or FAIL:. Make the commands fail if any summary lines fail
19539 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19540 do start with ERROR: or FAIL:.
19541 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19542 (except for [$(build-shared) = yes]).
19543 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19544 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19545 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19546 * nptl/Makefile: Revert 2015-03-04 changes.
19547 [$(CXX) empty] (tests-unsupported): New variable.
19548 * debug/Makefile: Likewise.
19550 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19551 gnulib file. Replace __attribute with __attribute__ throughout.
19553 2015-03-10 Carlos O'Donell <carlos@redhat.com>
19555 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19557 2015-03-10 Joseph Myers <joseph@codesourcery.com>
19560 * math/auto-libm-test-in: Add another test of pow.
19561 * math/auto-libm-test-out: Regenerated.
19563 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19565 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19566 $(config-cflags-nofma).
19568 2015-03-10 Joseph Myers <joseph@codesourcery.com>
19570 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19571 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19572 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19573 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19574 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19575 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19576 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19577 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19578 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19579 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19580 Add comment on closing #endif.
19582 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19584 * posix/wordexp.c (CHAR_IN_SET): New macro.
19585 (parse_param): Use it.
19587 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19589 * sysdeps/powerpc/fpu/libm-test-ulps: update.
19591 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19594 * posix/wordexp.c (parse_param): Fix buffer overflow.
19595 * posix/wordexp-test.c (test_case): Add test case.
19597 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19600 * posix/wordexp.c (parse_backtick): Fix off-by-one.
19601 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19603 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19606 * posix/wordexp-test.c (test_case): Add test for BZ #18043
19607 (do_bz18043): Delete.
19608 (at_page_end): New.
19609 (testit): Refactor to have words at the edge of unreadable page.
19611 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19614 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19615 Cleanup read-only streams as well.
19616 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19618 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19620 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19621 <bits/libc-lockP.h>
19623 2015-03-07 Joseph Myers <joseph@codesourcery.com>
19625 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
19627 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19628 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19629 * soft-fp/op-common.h (_FP_DECL): Likewise.
19631 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
19633 * elf/ifuncdep2.c (global): Replace
19634 __attribute__((visibility("protected"))) with
19635 asm (".protected global").
19636 * elf/ifuncmod1.c (global): Likewise.
19637 * elf/ifuncmod5.c (global): Likewise.
19639 2015-03-06 Joseph Myers <joseph@codesourcery.com>
19641 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19642 <asm/sfp-machine.h> instead of <sfp-machine.h>.
19644 2015-03-06 Roland McGrath <roland@hack.frob.com>
19646 * manual/install.texi (Configuring and compiling):
19647 Document test-wrapper-env-only.
19648 * INSTALL: Regenerated.
19650 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19653 * posix/wordexp.c (parse_param): Fix buffer overflow.
19654 * posix/wordexp-test.c (do_bz18043): Add test case.
19656 2015-03-06 Vincent Bernat <vincent@bernat.im>
19658 * time/tst-strptime2.c (do_test): Ensure failing tests are
19659 reported correctly.
19660 * time/tst-strptime3.c (do_test): Likewise.
19662 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
19664 Fix aio_error thread-safety.
19665 * sysdeps/pthread/aio_error.c: New file
19666 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19669 2015-03-06 Florian Weimer <fweimer@redhat.com>
19671 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19672 (group_number, vfprintf): Use it.
19673 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19674 (JUMP, REF): Use it.
19675 (WORK_BUFFER_SIZE): New enum constant.
19676 (process_arg, vfprintf): Use it.
19678 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
19680 * manual/errno.texi (Error Messages): Complete example function
19681 by adding missing #define.
19682 (program_invocation_name): Add statement indicating GNU
19683 extension and reference which header file declares the variable.
19684 (program_invocation_short_name): Likewise.
19686 2015-03-06 Mike Frysinger <vapier@gentoo.org>
19688 * manual/errno.texi (Error Messages): Delete strerror ISO C89
19689 compatibility note.
19691 2015-03-05 Roland McGrath <roland@hack.frob.com>
19693 * Makeconfig (test-wrapper-env-only): New variable.
19694 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19695 then use that with $(test-wrapper-env-only) rather than using
19696 $(test-wrapper-env) $(run-program-env) $($*-ENV).
19698 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
19701 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19702 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19703 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19704 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19705 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19706 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19707 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19708 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19710 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19711 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19715 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19717 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19719 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19724 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19725 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19727 2015-03-04 Roland McGrath <roland@hack.frob.com>
19729 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19730 (ETH_ALEN): New macro.
19731 (struct ether_addr): Use it for length of ether_addr_octet.
19733 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19734 (setdb): Don't call __nss_configure_lookup for "rpc".
19735 (do_test): Don't call test_rpc.
19736 (output_rpcent, test_rpc): Functions moved ...
19737 * sunrpc/test-rpcent.c: ... to this new file.
19738 * sunrpc/Makefile (tests): Add it.
19740 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19742 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19743 * nptl/tst-signal6.c: Likewise.
19744 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19745 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19747 * configure.ac (libc_cv_cxx_link_ok): New check.
19748 Reset CXX to empty if it fails to link.
19749 * configure: Regenerated.
19750 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19751 bug-atexit3-lib only if $(CXX) is nonempty.
19752 * nptl/Makefile (tests): Likewise for tst-cancel24.
19753 (tests, tests-static): Likewise for tst-cancel24-static.
19754 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19755 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19756 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19757 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19759 2015-03-04 Andreas Schwab <schwab@suse.de>
19762 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19763 for non-GCC compilers.
19764 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19767 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
19770 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19771 integer before bitwise and assembly operations.
19772 (feclearexcept): Likewise.
19773 * math/test-fenvinline.c: New file.
19774 * math/Makefile: Add test-fenvinline test.
19776 2015-03-03 Alan Modra <amodra@gmail.com>
19779 * scripts/localplt.awk: Strip off symbol version.
19780 * NEWS: Mention bug fix.
19782 2015-03-02 Roland McGrath <roland@hack.frob.com>
19784 * sysdeps/pthread/timer_routines.c
19785 (timer_free_list, thread_free_list, thread_active_list): Make static.
19787 2015-03-02 Joseph Myers <joseph@codesourcery.com>
19790 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19791 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19793 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19794 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19796 * sysdeps/unix/sysv/linux/sh/kernel-features.h
19797 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19800 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19803 * posix/fnmatch_loop.c (END): Detect invalid pattern.
19804 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19806 2015-03-02 Andreas Schwab <schwab@suse.de>
19808 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19811 2015-03-02 Florian Weimer <fweimer@redhat.com>
19813 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19814 Return error status.
19816 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
19819 * locale/findlocale.c (_nl_find_locale): Introduce const
19820 version of loc_name and drop unsafe type casts.
19822 2015-02-27 Roland McGrath <roland@hack.frob.com>
19824 * dlfcn/tststatic2.c (main): Converted to ...
19825 (do_test): ... this.
19826 (TEST_FUNCTION): New macro.
19827 Include test-skeleton.c.
19829 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
19832 * elf/Makefile (tests): Add vismain only if PIE is enabled.
19833 (tests-pie): Add vismain.
19834 (CFLAGS-vismain.c): New.
19835 * elf/vismain.c: Add comments for PIE requirement.
19837 2015-02-27 Joseph Myers <joseph@codesourcery.com>
19841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19842 0x1p-56L as threshold for just returning the argument.
19843 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19844 0x1p-32L as threshold for just returning the argument.
19845 * math/auto-libm-test-in: Add more tests of atanh.
19846 * math/auto-libm-test-out: Regenerated.
19847 * sysdeps/i386/fpu/libm-test-ulps: Update.
19848 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19850 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
19852 * string/bcopy.c (bcopy): Call memmove for performance.
19854 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
19856 * string/bzero.c (__bzero): Call memset for performance.
19858 2015-02-27 John David Anglin <dave.anglin@bell.net>
19861 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19864 2015-02-27 Joseph Myers <joseph@codesourcery.com>
19866 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19868 2015-02-26 Joseph Myers <joseph@codesourcery.com>
19870 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19871 (__kernel_standard): Use CSTR macro when setting exc.name.
19872 * sysdeps/ieee754/Makefile [$(subdir) = math]
19873 (CFLAGS-k_standard.c): Remove variable.
19875 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19876 setting p and q from "else if" to "else".
19878 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19880 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19881 (qzerof): Likewise.
19882 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19884 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19886 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19891 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19892 return pi/2 for arguments below 0x1p-113L.
19893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19894 return pi/2 for arguments below 0x1p-106L.
19895 * math/auto-libm-test-in: Add more tests of acos.
19896 * math/auto-libm-test-out: Regenerated.
19899 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19901 (__ieee754_asin): Force underflow exception for results with small
19903 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19905 (__ieee754_asinf): Force underflow exception for results with
19906 small absolute value.
19907 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19908 (__ieee754_asin): Force underflow exception for results with small
19910 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19911 (__ieee754_asinf): Force underflow exception for results with
19912 small absolute value.
19913 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19914 (__ieee754_asinl): Force underflow exception for results with
19915 small absolute value.
19916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19917 (__ieee754_asinl): Force underflow exception for results with
19918 small absolute value.
19919 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19920 (__ieee754_asinl): Force underflow exception for results with
19921 small absolute value.
19922 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19924 * math/auto-libm-test-in: Do not mark underflow exceptions as
19925 possibly missing for bug 16351.
19926 * math/auto-libm-test-out: Regenerated.
19929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19930 of power of 2 down when low part has opposite sign.
19931 * math/libm-test.inc (logb_test_data): Add more tests.
19933 2015-02-26 Andreas Schwab <schwab@suse.de>
19936 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19937 over collating symbol inside a bracket expression. Minor cleanup.
19938 * posix/tst-fnmatch3.c (do_test): Add test case.
19940 2015-02-26 Joseph Myers <joseph@codesourcery.com>
19943 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19944 Adjust exponent of power of 2 down when low part has opposite
19946 * math/libm-test.inc (ilogb_test_data): Add more tests.
19948 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
19951 * locale/findlocale.c (_nl_find_locale): Fix constness error in
19952 the previous change.
19955 * locale/findlocale.c (_nl_find_locale): Retry archive search
19956 after alias expansion.
19958 2015-02-25 Roland McGrath <roland@hack.frob.com>
19960 * iconv/tst-iconv3.c (main): Converted to ...
19961 (do_test): ... this.
19962 (TEST_FUNCTION): New macro.
19963 Include test-skeleton.c.
19965 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19966 (convert): Make function static.
19967 (test_unalign): Likewise. Add const to argument pointee types.
19968 (main): Replace with static function do_test.
19969 Print "Succeeded." only if RET is zero.
19970 (TEST_FUNCTION): New macro.
19971 Include test-skeleton.c.
19973 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19974 returns a null pointer.
19976 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19978 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19979 to __memcpy_ppc only for static builds.
19981 2015-02-25 Joseph Myers <joseph@codesourcery.com>
19984 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19985 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19986 * math/auto-libm-test-in: Add more tests of asinh.
19987 * math/auto-libm-test-out: Regenerated.
19988 * sysdeps/i386/fpu/libm-test-ulps: Update.
19989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
19994 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19995 and ip6_mtuinfo definitions here.
19996 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19997 in this define too. Update comment.
19999 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
20001 * elf/sprof.c (load_shobj): Tweak error message to match others.
20003 2015-02-24 Kevin Easton <kevin@guarana.org>
20005 [BZ #16145] (partial fix)
20006 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20007 to reduce lock contention.
20009 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
20011 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20012 (struct timex): Update time comment.
20013 (ADJ_SETOFFSET): Define.
20015 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20018 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20019 2**56 not 2**28 as threshold for log (2x) formula.
20020 * math/auto-libm-test-in: Add more tests of acosh.
20021 * math/auto-libm-test-out: Regenerated.
20022 * sysdeps/i386/fpu/libm-test-ulps: Update.
20023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20025 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20027 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20028 parenthesis around the buf assignment.
20029 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20031 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20034 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20035 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20036 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20037 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20038 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20039 * math/libm-test.inc (scalb_test_data): Add more tests.
20041 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20044 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20045 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20047 2015-02-24 Eric Rannaud <e@nanocritical.com>
20050 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20051 * io/bits/fcntl2.h (open): Use it.
20052 (openat): Likewise.
20053 * io/open.c (__libc_open): Likewise.
20054 * io/open64.c (__libc_open64): Likewise.
20055 * io/open64_2.c (__open64_2): Likewise.
20056 * io/open_2.c (__open_2): Likewise.
20057 * io/openat.c (__openat): Likewise.
20058 * io/openat64.c (__openat64): Likewise.
20059 * io/openat64_2.c (__openat64_2): Likewise.
20060 * io/openat_2.c (__openat_2): Likewise.
20061 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20062 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20063 * sysdeps/posix/open64.c (__libc_open64): Likewise.
20064 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20065 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20066 (__open_nocancel): Likewise.
20067 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20068 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20069 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20071 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20074 * resolv/gethnamaddr.c (getanswer): Skip logging if
20075 RES_USE_DNSSEC is set.
20076 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20078 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20080 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20082 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
20084 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20085 201304L, for Unicode 7.
20087 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
20090 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20091 shared library. Add gmon-start.os otherwise.
20092 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20093 $(objpfx)gmon-start.os if builing shared library.
20094 ($(objpfx)g$(static-start-installed-name)): Likewise.
20096 2015-02-23 Andreas Schwab <schwab@suse.de>
20098 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20100 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20103 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20104 (enlarge_userbuf): Likewise.
20106 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
20108 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20109 * math/atest-exp.c (TIMEOUT): Adjust to 200.
20110 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20111 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20113 2015-02-20 Joseph Myers <joseph@codesourcery.com>
20115 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20116 expression inside statement expression.
20118 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20120 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20121 <sysdeps/nptl/lowlevellock.h> and remove macros and
20122 functions that are now defined there.
20123 (SYS_futex): Remove.
20124 (lll_compare_and_swap): Remove.
20125 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20127 2015-02-19 Joseph Myers <joseph@codesourcery.com>
20130 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20131 instead of scandirat.
20132 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20133 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20134 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20136 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20137 (__scandirat): Declare. Use libc_hidden_proto.
20138 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20140 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20142 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20145 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20147 (__ieee754_atan2): For results with small absolute value, force
20148 underflow exception and remove excess range and precision from
20150 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20152 (__ieee754_atan2f): For results with small absolute value, force
20153 underflow exception and remove excess range and precision from
20155 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20157 (__atan): For results with small absolute value, force underflow
20158 exception and remove excess range and precision from return value.
20159 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20161 (__atanf): For results with small absolute value, force underflow
20162 exception and remove excess range and precision from return value.
20163 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20165 (__ieee754_atan2): Force underflow exception for results with
20166 small absolute value.
20167 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20169 (atan): Force underflow exception for results with small absolute
20171 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20172 (__atanf): Force underflow exception for results with small
20174 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20176 (__atanl): Force underflow exception for results with small
20178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20179 (__atanl): Force underflow exception for results with small
20181 * sysdeps/x86/fpu/bits/mathinline.h
20182 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20183 (__ieee754_atan2): Only define inline for long double.
20184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20185 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20186 * math/auto-libm-test-in: Do not mark underflow exceptions as
20187 possibly missing for bug 15319. Add more tests of atan2.
20188 * math/auto-libm-test-out: Regenerated.
20189 * math/libm-test.inc (casin_test_data): Do not mark underflow
20190 exceptions as possibly missing for bug 15319.
20191 (casinh_test_data): Likewise.
20192 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
20196 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20197 * sysdeps/mips/bits/endian.h: Fix comments.
20199 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20202 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20203 (hdestroy_r): Likewise.
20204 (hsearch_r): Likewise.
20205 (__hcreate_r): Declare and use libc_hidden_proto.
20206 (__hdestroy_r): Likewise.
20207 (__hsearch_r): Likewise.
20208 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20209 (hcreate): Call __hcreate_r instead of hcreate_r.
20210 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20211 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20212 as weak alias of __hcreate_r.
20213 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20215 (hsearch_r): Rename to __hsearch_r and define as weak alias of
20217 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20219 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20220 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20221 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20222 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20224 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20226 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20227 arena_lock into a single arena_get.
20229 2015-02-17 Carlos O'Donell <carlos@redhat.com>
20231 * dl-reloc.c: Inlucde libc-internal.h.
20232 (_dl_try_allocate_static_tls): Call ALIGN_UP.
20233 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20234 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20235 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20236 (grow_heap): Likewise.
20237 * malloc/malloc.c: Include libc-internal.h.
20238 (do_check_malloc): Call powerof2.
20239 (sysmalloc): Use pagesize. Call ALIGN_UP.
20240 (systrim): Use pagesize.
20241 (mremap_chunk): Use pagesize. Call ALIGN_UP.
20242 (__libc_valloc): Use pagesize.
20243 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20245 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20248 * include/sys/resource.h (__getrlimit64): Declare. Use
20250 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20251 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
20252 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20254 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20256 [!getrlimit64] (getrlimit64): Define as weak alias of
20257 __getrlimit64. Use libc_hidden_weak.
20258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20259 using __getrlimit64 not __new_getrlimit64.
20260 (__GI_getrlimit64): Likewise.
20261 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20263 (__GI_getrlimit64): Likewise.
20264 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20266 (getrlimit): Add __getrlimit64 alias.
20267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20269 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20271 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20272 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20274 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
20276 * libio/fileops.c: Add missing sys/mman.h
20277 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20279 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20281 * manual/math.texi (Errors in Math Functions): Clarify goals
20282 regarding inexact and underflow exceptions.
20284 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20286 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20287 * sysdeps/mips/memset.S: Ditto.
20289 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20291 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20293 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20295 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20296 (__v1longjmp): Remove versioned symbol.
20297 (__v1siglongjmp): Remove alias and versioned symbol.
20298 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20299 (__v2siglongjmp): Likewise.
20301 2015-02-16 Torvald Riegel <triegel@redhat.com>
20303 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20305 2015-02-16 Mike Frysinger <vapier@gentoo.org>
20307 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20309 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20312 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20313 zero result does not depend on the sign resulting from
20315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20317 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20318 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20319 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20320 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20321 * math/libm-test.inc (remquo_test_data): Add more tests.
20323 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
20325 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20326 Problem reported by J William Piggott.
20328 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20331 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20332 products 4 * y and 2 * y where those would overflow.
20333 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20335 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20336 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20338 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20339 * math/libm-test.inc (remquo_test_data): Add more tests.
20341 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20343 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20344 [defined _COMPILING_NEWLIB].
20345 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20346 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20348 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20349 [!defined __mips_isa_rev || __mips_isa_rev < 6].
20351 2015-02-16 Torvald Riegel <triegel@redhat.com>
20353 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20356 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
20359 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20360 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20361 HOST_STACK_END_ADDR): Likewise.
20363 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
20365 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20366 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20367 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20369 2015-02-13 Roland McGrath <roland@hack.frob.com>
20371 * sysdeps/generic/c++-types.data: New file.
20372 * sysdeps/generic/ld.abilist: New file.
20373 * sysdeps/generic/libBrokenLocale.abilist: New file.
20374 * sysdeps/generic/libanl.abilist: New file.
20375 * sysdeps/generic/libc.abilist: New file.
20376 * sysdeps/generic/libcrypt.abilist: New file.
20377 * sysdeps/generic/libdl.abilist: New file.
20378 * sysdeps/generic/libm.abilist: New file.
20379 * sysdeps/generic/libpthread.abilist: New file.
20380 * sysdeps/generic/libresolv.abilist: New file.
20381 * sysdeps/generic/librt.abilist: New file.
20383 2015-02-13 Joseph Myers <joseph@codesourcery.com>
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20387 Compute absolute value of x as modified by fmod, not original
20389 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20390 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
20391 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
20392 RUN_TEST_ffI_f1_mod8.
20393 (remquo_test_data): Add more tests.
20395 2015-02-13 Roland McGrath <roland@hack.frob.com>
20397 * sysdeps/init_array/pt-crti.S: New file.
20399 2015-02-13 Joseph Myers <joseph@codesourcery.com>
20402 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20403 __builtin_fmaf instead of relying on contraction of a * b + c.
20405 2015-02-12 J William Piggott <elseifthen@gmx.com>
20408 * manual/time.texi: correct the zoneinfo path in the TZ Variable
20411 2015-02-12 Joseph Myers <joseph@codesourcery.com>
20414 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20415 __builtin_fma instead of relying on contraction of a * b + c.
20417 2015-02-12 Roland McGrath <roland@hack.frob.com>
20419 * Makeconfig (ASFLAGS): Add -Werror=undef.
20420 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20421 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20422 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20424 * Makeconfig (after-link): New variable.
20425 (+link-pie, +link-pie-tests): Use it.
20426 (+link-static, +link-static-tests): Likewise.
20427 (+link, +link-tests): Likewise.
20428 * Makerules (build-module, build-module-asneeded): Likewise.
20429 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20431 * elf/Makefile ($(objpfx)ld.so): Likewise.
20433 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
20436 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20437 both struct timeval and struct timespec.
20439 2015-02-12 Joseph Myers <joseph@codesourcery.com>
20442 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20444 (__ieee754_exp2l): Do not multiply small fractional parts by
20446 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20449 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20450 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20451 * math/auto-libm-test-in: Add more tests of exp2.
20452 * math/auto-libm-test-out: Regenerated.
20454 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20456 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20459 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20461 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20464 2015-02-12 Andreas Schwab <schwab@suse.de>
20467 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20468 Filter out elision flags from value returned in kind.
20469 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20470 * nptl/tst-pthread-mutexattr.c: New file.
20472 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20474 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20475 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20476 into gnu-gnu, and update comment to refer to abi-tags.
20478 2015-02-11 Joseph Myers <joseph@codesourcery.com>
20481 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20482 (__sincos): Set errno to EDOM for infinite argument.
20483 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20484 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20485 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20486 (__sincosl): Set errno to EDOM for infinite argument.
20487 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20488 (__sincosl): Set errno to EDOM for infinite argument.
20489 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20490 (__sincosl): Set errno to EDOM for infinite argument.
20491 * math/libm-test.inc (sincos_test_data): Test errno setting.
20493 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
20495 * string/strxfrm_l.c: Remove #define STRCMP.
20496 * string/strcoll_l.c: Remove #define STRLEN.
20497 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20498 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20500 2015-02-10 Joseph Myers <joseph@codesourcery.com>
20502 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20503 * sysdeps/mips/mips32/sfp-machine.h: ... here.
20504 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20505 * sysdeps/mips/mips64/Makefile: ... here.
20506 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20507 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20508 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20509 * sysdeps/mips/mips64/sfp-machine.h: ... here.
20510 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20511 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20512 * sysdeps/mips/mips64/n64/Implies: Likewise.
20514 2015-02-10 Roland McGrath <roland@hack.frob.com>
20516 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20517 <sys/time.h>, <string.h>, and <errno.h>.
20518 (dest_offset, dest_address, value, zero): Remove unused variables.
20519 (ldouble): Remove typedef.
20520 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20521 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
20522 1). Fix code style.
20523 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20524 (check): Function removed.
20525 (CHECK): New macro.
20526 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
20527 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20528 Don't call set_sigaction_FP and remove_sigaction_FP here.
20529 (ldouble_test): Just use 'long double' as macro argument, no need for
20530 the 'ldouble' typedef.
20531 (do_test): Set up SIGFPE handler at start, using plain signal rather
20532 than sigaction. Fix code style.
20534 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
20537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20540 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20542 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20543 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20545 * sysdeps/powerpc/configure.ac: Remove file.
20546 * sysdeps/powerpc/configure: Likewise.
20548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20549 [sysdep_routines]: Remove wordcopy-power6 object.
20550 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20551 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20553 (__memmove_ppc32): Likewise.
20554 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20558 Remove preprocessor.
20560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20561 [sysdep_routines]: Remove wide chars objects.
20562 [wcsmbs]: New rule for wide char objects.
20564 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20565 Remove wordcopy-power6 obejct.
20566 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20567 Use local call for wordcopy and memcpy symbols.
20568 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20569 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20570 implementation for loader.
20571 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20573 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20574 Remove wordcopy-power7 object.
20575 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20576 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20577 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20578 (_wordcopy_fwd_dest_aligned): Likewise.
20579 (_wordcopy_bwd_aligned): Likewise.
20580 (_wordcopy_bwd_dest_aligned): Likewise.
20582 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20583 Rewrite to call __memmove_ppc instead of include default
20586 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20587 Remove wide chars objects.
20588 [wcsmbs]: New rule for wide char objects.
20590 2015-02-09 Andreas Schwab <schwab@suse.de>
20593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20594 in terms of __O_DIRECTORY.
20596 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20598 * time/getdate.c: Include <stdbool.h>.
20599 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20601 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20604 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
20606 Add ersatz _Static_assert on older C hosts
20607 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20608 pre-C11 C platform that is not known to support _Static_assert.
20610 2015-02-07 Richard Braun <rbraun@sceen.net>
20612 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20614 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20616 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
20618 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20619 priority against unexistent AIO_PRIO_DELTA_MAX.
20620 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20622 * misc/fchflags.c (fchflags): Likewise.
20623 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20624 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20625 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20626 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20627 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20629 [__USE_MISC] (chflags, fchflags): Declare functions.
20630 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20631 EINVAL when nfds is greater than FD_SETSIZE.
20632 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20633 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20635 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20636 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20637 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20638 MACH_RCV_TIMED_OUT.
20639 * hurd/hurd/signal.h (_hurd_self_sigstate,
20640 _hurd_critical_section_lock, _hurd_critical_section_unlock):
20641 Explicit casts from void *.
20642 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20643 * abi-tags: Rename gnu-gnu os into gnu.
20646 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20647 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20648 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20649 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20650 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20651 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20654 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20655 duplicates ADDR->sun_path with sockaddr LEN limitation.
20656 * sysdeps/mach/hurd/connect.c: Include <string.h>
20657 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20658 * sysdeps/mach/hurd/sendmsg.c: Likewise.
20659 * sysdeps/mach/hurd/sendto.c: Likewise.
20660 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20661 implementing it by hand.
20663 2015-02-06 Roland McGrath <roland@hack.frob.com>
20665 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20666 Use sfi_breg on ldr.
20667 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20670 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20672 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20673 Test SIGSETXID only if it's defined.
20675 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20677 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20678 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
20680 * nptl/tst-align2.c: Moved ...
20681 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20682 * nptl/Makefile (tests): Remove tst-align2.
20683 * sysdeps/unix/sysv/linux/Makefile
20684 [$(subdir) = nptl] (tests): Add tst-align-clone.
20685 * nptl/tst-getpid1.c: Moved ...
20686 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20687 * nptl/tst-getpid2.c: Moved ...
20688 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20689 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20690 * sysdeps/unix/sysv/linux/Makefile
20691 [$(subdir) = nptl] (tests): ... here.
20692 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20693 * sysdeps/unix/sysv/linux/Makefile
20694 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20696 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20697 Drop trailing \n from perror argument. Use return rather than exit.
20699 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20701 * nptl/tst-cancel21.c (do_test): Likewise.
20702 * debug/tst-backtrace6.c: Include <signal.h> first thing.
20703 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20704 [!SA_SIGINFO]: Make it a stub test.
20706 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20707 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20709 * posix/tst-getlogin.c: Move to ...
20710 * login/tst-getlogin.c: ... here.
20711 * posix/Makefile (tests): Move tst-getlogin to ...
20712 * login/Makefile (tests): ... here.
20714 * libio/tst-atime.c (do_test): Move local variables SV and E
20715 inside [ST_NOATIME] conditional.
20717 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20719 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20721 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20722 (wait_code): New function replaces macro.
20723 Call nanosleep rather than syscall.
20725 * nptl/pt-system.c: Rewritten. Put everything under
20726 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20727 Use IFUNC to redirect when possible.
20729 * nptl/pt-longjmp.c: Rewritten. Put everything under
20730 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20731 Use IFUNC to redirect when possible.
20733 * nptl/pt-fork.c: Rewritten. Put everything under
20734 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20735 Use IFUNC to redirect when possible.
20736 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20738 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20739 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20740 unconditionally nowadays. This included the only reference to
20741 __vdso_clock_gettime that appears outside libc proper.
20742 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20743 Remove version set (containing only __vdso_clock_gettime).
20744 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20745 Add attribute_hidden.
20746 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20747 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20748 libc_hidden_data_def.
20749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20752 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20753 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20754 setrpcent, and getrpcport to ...
20755 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20756 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20757 getrpcbynumber_r, and getrpcent_r to ...
20758 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20759 * inet/getrpcbyname.c: Moved ...
20760 * sunrpc/getrpcbyname.c: ... here.
20761 * inet/getrpcbyname_r.c: Moved ...
20762 * sunrpc/getrpcbyname_r.c: ... here.
20763 * inet/getrpcbynumber.c: Moved ...
20764 * sunrpc/getrpcbynumber.c: ... here.
20765 * inet/getrpcbynumber_r.c: Moved ...
20766 * sunrpc/getrpcbynumber_r.c: ... here.
20767 * inet/getrpcent.c: Moved ...
20768 * sunrpc/getrpcent.c: ... here.
20769 * inet/getrpcent_r.c: Moved ...
20770 * sunrpc/getrpcent_r.c: ... here.
20771 * inet/Makefile (routines): Move those to ...
20772 * sunrpc/Makefile (routines): ... here.
20773 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20774 the $(subdirs) list.
20775 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
20776 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20777 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20778 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20780 * elf/Makefile (routines): Include $(all-dl-routines), not just
20782 (rtld-routines): Likewise. Use = rather than :=.
20783 * sysdeps/aarch64/Makefile [$(subdir) = elf]
20784 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20785 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20786 * sysdeps/arm/Makefile: Likewise.
20787 * sysdeps/i386/Makefile: Likewise.
20788 * sysdeps/x86_64/Makefile: Likewise.
20789 * sysdeps/hppa/Makefile [$(subdir) = elf]
20790 (sysdep_routines, sysdep-rtld-routines): Don't add
20791 $(sysdep-dl-routines) to these.
20792 * sysdeps/ia64/Makefile: Likewise.
20793 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20794 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20795 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20796 Don't add dl-static to these; sysdep-dl-routines alone is enough.
20797 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20798 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20799 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20800 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20801 * sysdeps/powerpc/Makefile [$(subdir) = elf]
20802 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20803 these; sysdep-dl-routines alone is enough.
20805 2015-02-06 Joseph Myers <joseph@codesourcery.com>
20808 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20809 where multiplication results in zero and third argument is finite
20811 * math/auto-libm-test-in: Add more tests of fma.
20812 * math/auto-libm-test-out: Regenerated.
20814 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20815 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20816 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20817 (_FP_CMP_EQ): Likewise.
20818 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20820 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20821 extra argument CHECK_NAN. Redefine as wrapper around
20824 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
20826 * version.h (RELEASE): Set to "stable".
20827 (VERSION): Set to "2.21"
20828 * include/features.h (__GLIBC_MINOR__): Set to 21.
20830 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20832 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20833 Paul Eggert <eggert@cs.ucla.edu>
20836 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20838 size in bytes. Store needed elements in wpmax. Use needed size
20839 in bytes for extend_alloca.
20841 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
20843 * manual/install.texi: Latest tested versions are GCC 4.9.2,
20844 binutls 2.25, and texinfo 5.2.
20845 * INSTALL: Regenerate.
20846 * sysdeps/nios2/configure: Regenerate.
20847 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20848 * manual/contrib.texi: Update.
20849 * po/be.po: Update.
20850 * po/bg.po: Update.
20851 * po/ca.po: Update.
20852 * po/cs.po: Update.
20853 * po/da.po: Update.
20854 * po/de.po: Update.
20855 * po/el.po: Update.
20856 * po/eo.po: Update.
20857 * po/es.po: Update.
20858 * po/fi.po: Update.
20859 * po/fr.po: Update.
20860 * po/gl.po: Update.
20861 * po/hr.po: Update.
20862 * po/hu.po: Update.
20863 * po/ia.po: Update.
20864 * po/id.po: Update.
20865 * po/it.po: Update.
20866 * po/ja.po: Update.
20867 * po/ko.po: Update.
20868 * po/lt.po: Update.
20869 * po/nb.po: Update.
20870 * po/nl.po: Update.
20871 * po/pl.po: Update.
20872 * po/pt_BR.po: Update.
20873 * po/ru.po: Update.
20874 * po/rw.po: Update.
20875 * po/sk.po: Update.
20876 * po/sl.po: Update.
20877 * po/sv.po: Update.
20878 * po/tr.po: Update.
20879 * po/uk.po: Update.
20880 * po/vi.po: Update.
20881 * po/zh_CN.po: Update.
20882 * po/zh_TW.po: Update.
20884 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20885 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20886 * sysdeps/hppa/dl-irel.h: Remove #warning.
20887 * sysdeps/hppa/entry.h: Provide prototype for
20888 __canonicalize_funcptr_for_compare and cast argument.
20889 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20890 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20891 * sysdeps/hppa/sotruss-lib.c: New file.
20892 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20893 (atomic_compare_and_exchange_val_acq): Use __typeof__.
20894 (atomic_compare_and_exchange_bool_acq): Likewise.
20895 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20896 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20898 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20899 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20900 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20902 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
20904 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20905 called function in non-PIC case.
20907 2015-01-31 David S. Miller <davem@davemloft.net>
20909 * sysdeps/sparc/sparc32/bits/atomic.h
20910 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20911 unlock not after it.
20912 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20913 volatile register usage warnings from the compiler.
20915 * sysdeps/sparc/nptl/sem_init.c: Delete.
20916 * sysdeps/sparc/nptl/sem_post.c: Delete.
20917 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20918 * sysdeps/sparc/nptl/sem_wait.c: Delete.
20919 * sysdeps/sparc/sparc32/sem_init.c: New file.
20920 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20921 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20922 padding explicitly initialized.
20923 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20924 padding for in-semaphore spinlock.
20925 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20926 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20927 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20928 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20929 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20930 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20931 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20932 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20934 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20935 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20937 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
20940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20941 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20942 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20944 (index_AVX_Fast_Unaligned_Load): Likewise.
20945 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20946 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20947 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20948 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20949 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20950 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20951 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20952 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20953 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20955 2015-01-29 Andreas Schwab <schwab@suse.de>
20957 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20959 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20962 * nscd/nscd_stat.c (send_stats): Initialize DATA.
20964 2015-01-28 Martin Sebor <msebor@redhat.com>
20966 * math/README.libm-test: Clarify. Add "How to read the test output."
20968 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
20970 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20973 2015-01-28 Joseph Myers <joseph@codesourcery.com>
20975 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20976 (__HAVE_64B_ATOMICS): Define to 0.
20978 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20981 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20982 value to set as new flag.
20985 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20986 and use _ARCH_PPCSQ instead.
20987 (__ieee754_sqrt): Likewise.
20988 (__ieee754_sqrtf): Likewise.
20989 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20990 _ARCH_PPCSQ is defined.
20991 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20993 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20994 _ARCH_PPCSQ is defined.
20995 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20996 fsqrts instruction.
20997 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20999 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21001 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21002 bug (GCC BZ #64739).
21004 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
21006 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21007 Mark _retval as used.
21008 (lll_futex_wake_unlock): Likewise.
21009 (lll_futex_timed_wait_requeue_pi): Likewise.
21011 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21012 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21013 register variables.
21015 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21018 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21019 (__bswap_64): Mark as __always_inline.
21021 2015-01-25 Bram <bug_rh@spam.wizbit.be>
21024 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21025 when none of the search directories exist.
21027 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21030 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21031 power8 in .machine directive.
21034 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21035 set dependency from opd value.
21037 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21040 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21043 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21046 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21048 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21050 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21051 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21052 Replace 1UL with (uint64_t) 1.
21053 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21056 2015-01-23 Roland McGrath <roland@hack.frob.com>
21058 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21059 (if_freenameindex): Likewise.
21061 * resource/getrlimit64.c: Add missing libc_hidden_def.
21063 2015-01-22 Joseph Myers <joseph@codesourcery.com>
21065 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21067 (_FP_FMA): Likewise.
21068 (_FP_TO_INT_ROUND): Likewise.
21069 (_FP_FROM_INT): Likewise.
21071 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21075 Make code racy and cancel safe.
21077 2015-01-21 Carlos O'Donell <carlos@redhat.com>
21079 * sysdeps/arm/unwind-resume.h: Fix copyright year.
21080 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21083 * pwd/tst-getpw.c: Rewrite.
21086 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21087 (modules-names): Add moddummy1 and moddummy2.
21088 ($(objpfx)tst-rec-dlopen): Define.
21089 * dlfcn/moddummy1.c: New file.
21090 * dlfcn/moddummy2.c: New file.
21091 * dlfcn/tst-rec-dlopen.c: New file.
21092 * elf/dl-cache.c (_dl_load_cache_lookup):
21093 Return char*. Copy result with alloca/strcpy/strdup.
21094 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21095 returns char*. Free cached. If not saving realname
21097 * elf/dl-open.c (dl_open_worker): Do not assert that
21098 _r_debug->r_state is RT_CONSISTENT.
21099 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21102 2015-01-21 Torvald Riegel <triegel@redhat.com>
21103 Carlos O'Donell <carlos@redhat.com>
21106 * nptl/sem_waitcommon.c: New file.
21107 * nptl/sem_wait.c: Include sem_waitcommon.c.
21108 (__sem_wait_cleanup, do_futex_wait): Remove.
21109 (__new_sem_wait): Adapt.
21110 (__new_sem_trywait): New function.
21111 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21112 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21113 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21114 (sem_timedwait): Adapt.
21115 * nptl/sem_post.c (__new_sem_post): Adapt.
21116 (futex_wake): New function.
21117 (__old_sem_post): Add release MO fence.
21118 * nptl/sem_open.c (sem_open): Adapt.
21119 * nptl/sem_init.c (__new_sem_init): Adapt.
21120 (futex_private_if_supported): New function.
21121 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21122 (__old_sem_getvalue): Add using previous code.
21123 * sysdeps/nptl/internaltypes.h: Adapt.
21124 * nptl/tst-sem13.c (do_test): Adapt.
21125 * nptl/tst-sem11.c (main): Adapt.
21126 * nptl/sem_trywait.c: Remove.
21127 * nptl/DESIGN-sem.txt: Remove.
21128 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21129 (gen-as-const-headers): Remove structsem.sym.
21130 * nptl/structsem.sym: Remove.
21131 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21132 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21133 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21134 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21135 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21136 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21137 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21138 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21139 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21140 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21141 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21142 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21143 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21144 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21145 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21146 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21147 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21148 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21149 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21150 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21151 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21152 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21154 2015-01-20 Carlos O'Donell <carlos@redhat.com>
21156 * INSTALL: Regenerated.
21158 * po/libc.pot: Regenerated.
21160 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
21161 Sandra Loosemore <sandra@codesourcery.com>
21162 Andrew Jenner <andrew@codesourcery.com>
21163 Joseph Myers <joseph@codesourcery.com>
21164 Nathan Sidwell <nathan@codesourcery.com>
21166 * NEWS: Mention new Nios II port.
21167 * sysdeps/nios2/Implies: New file.
21168 * sysdeps/nios2/Makefile: New file.
21169 * sysdeps/nios2/Subdirs: New file.
21170 * sysdeps/nios2/Versions: New file.
21171 * sysdeps/nios2/__longjmp.S: New file.
21172 * sysdeps/nios2/abort-instr.h: New file.
21173 * sysdeps/nios2/backtrace.c: New file.
21174 * sysdeps/nios2/bits/endian.h: New file.
21175 * sysdeps/nios2/bits/fenv.h: New file.
21176 * sysdeps/nios2/bits/link.h: New file.
21177 * sysdeps/nios2/bits/setjmp.h: New file.
21178 * sysdeps/nios2/bsd-_setjmp.S: New file.
21179 * sysdeps/nios2/bsd-setjmp.S: New file.
21180 * sysdeps/nios2/configure: New generated file.
21181 * sysdeps/nios2/configure.ac: New file.
21182 * sysdeps/nios2/crti.S: New file.
21183 * sysdeps/nios2/crtn.S: New file.
21184 * sysdeps/nios2/dl-init.c: New file.
21185 * sysdeps/nios2/dl-machine.h: New file.
21186 * sysdeps/nios2/dl-sysdep.h: New file.
21187 * sysdeps/nios2/dl-tls.h: New file.
21188 * sysdeps/nios2/dl-trampoline.S: New file.
21189 * sysdeps/nios2/gccframe.h: New file.
21190 * sysdeps/nios2/gmp-mparam.h: New file.
21191 * sysdeps/nios2/jmpbuf-offsets.h: New file.
21192 * sysdeps/nios2/jmpbuf-unwind.h: New file.
21193 * sysdeps/nios2/ldsodefs.h: New file.
21194 * sysdeps/nios2/libc-tls.c: New file.
21195 * sysdeps/nios2/libm-test-ulps: New file.
21196 * sysdeps/nios2/machine-gmon.h: New file.
21197 * sysdeps/nios2/math-tests.h: New file.
21198 * sysdeps/nios2/math_private.h: New file.
21199 * sysdeps/nios2/memusage.h: New file.
21200 * sysdeps/nios2/nptl/Makefile: New file.
21201 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21202 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21203 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21204 * sysdeps/nios2/nptl/pthreaddef.h: New file.
21205 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21206 * sysdeps/nios2/nptl/tls.h: New file.
21207 * sysdeps/nios2/preconfigure: New file.
21208 * sysdeps/nios2/s_fma.c: New file.
21209 * sysdeps/nios2/s_fmaf.c: New file.
21210 * sysdeps/nios2/setjmp.S: New file.
21211 * sysdeps/nios2/sfp-machine.h: New file.
21212 * sysdeps/nios2/sotruss-lib.c: New file.
21213 * sysdeps/nios2/stackguard-macros.h: New file.
21214 * sysdeps/nios2/stackinfo.h: New file.
21215 * sysdeps/nios2/start.S: New file.
21216 * sysdeps/nios2/sysdep.h: New file.
21217 * sysdeps/nios2/tls-macros.h: New file.
21218 * sysdeps/nios2/tst-audit.h: New file.
21219 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21220 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21221 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21222 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21223 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21224 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21225 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21226 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21227 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21228 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21229 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21230 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21231 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21232 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21233 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21234 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21235 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21236 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21237 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21238 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21239 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21240 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21241 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21242 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21243 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21244 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21245 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21246 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21247 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21248 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21249 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21250 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21251 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21252 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21253 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21254 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21255 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21256 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21257 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21258 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21259 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21260 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21261 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21262 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21264 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21267 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21268 (getutent): Use weak_alias in non SHARED case
21269 and default_symbol_version in SHARED case.
21270 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21271 (getutent_r, pututline): Likewise.
21272 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21273 (getutid): Likewise.
21274 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21275 (getutid_r): Likewise.
21276 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21277 (getutline): Likewise.
21278 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21279 (getutline_r): Likewise.
21280 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21281 (updwtmp): Likewise.
21283 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21286 * sysdeps/s390/s390-32/memcmp.S
21287 (memcmp_g5): Rename to __memcmp_g5.
21288 * sysdeps/s390/s390-32/memcpy.S
21289 (memcpy_g5): Rename to __memcpy_g5.
21290 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21291 (memcpy_mvcle) Rename to __memcpy_mvcle.
21292 * sysdeps/s390/s390-32/memset.S
21293 (memset_g5): Rename to __memset_g5.
21294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21295 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21296 and use prefixed functions.
21297 * sysdeps/s390/s390-32/multiarch/memcmp.S
21298 (memcmp_z196): Rename to __memcmp_z196.
21299 (memcmp_z10): Rename to __memcmp_z10.
21300 (memcmp): Set alias to __memcmp_g5.
21301 (bcmp): Set alias to __memcmp_g5.
21302 * sysdeps/s390/s390-32/multiarch/memcpy.S
21303 (memcpy_z196): Rename to __memcpy_z196.
21304 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21305 (memcpy_z10): Rename to __memcpy_z10.
21306 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21307 (memcpy): Set alias to __memcpy_g5.
21308 * sysdeps/s390/s390-32/multiarch/memset.S
21309 (memset_z196): Rename to __memset_z196.
21310 Jump to __memset_mvcle instead of memset_mvcle.
21311 (memset_z10): Rename to __memset_z10.
21312 Jump to __memset_mvcle instead of memset_mvcle.
21313 (memset_mvcle) Rename to __memset_mvcle.
21314 (memset): Set alias to __memset_g5.
21315 * sysdeps/s390/s390-64/memcmp.S
21316 (memcmp_z900): Rename to __memcmp_z900.
21317 * sysdeps/s390/s390-64/memcpy.S
21318 (memcpy_z900): Rename to __memcpy_z900.
21319 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21320 (memcpy_mvcle) Rename to __memcpy_mvcle.
21321 * sysdeps/s390/s390-64/memset.S
21322 (memset_z900): Rename to __memset_z900.
21323 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21324 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21325 and use prefixed functions.
21326 * sysdeps/s390/s390-64/multiarch/memcmp.S
21327 (memcmp_z196): Rename to __memcmp_z196.
21328 (memcmp_z10): Rename to __memcmp_z10.
21329 (memcmp): Set alias to __memcmp_z900.
21330 (bcmp): Set alias to __memcmp_z900.
21331 * sysdeps/s390/s390-64/multiarch/memcpy.S
21332 (memcpy_z196): Rename to __memcpy_z196.
21333 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21334 (memcpy_z10): Rename to __memcpy_z10.
21335 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21336 (memcpy): Set alias to __memcpy_z900.
21337 * sysdeps/s390/s390-64/multiarch/memset.S
21338 (memset_z196): Rename to __memset_z196.
21339 Jump to __memset_mvcle instead of memset_mvcle.
21340 (memset_z10): Rename to __memset_z10.
21341 Jump to __memset_mvcle instead of memset_mvcle.
21342 (memset_mvcle) Rename to __memset_mvcle.
21343 (memset): Set alias to __memset_z900.
21345 2015-01-14 Joseph Myers <joseph@codesourcery.com>
21348 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21349 __fesetenv instead of fesetenv.
21351 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21356 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21358 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21361 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21362 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21363 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21364 strncmp-power8 object.
21365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21366 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21367 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21370 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21371 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21373 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21374 trailing byte check.
21376 2015-01-13 David S. Miller <davem@davemloft.net>
21378 * include/signal.h (__sigreturn): Guard with __USE_MISC.
21380 2015-01-13 Roland McGrath <roland@hack.frob.com>
21382 * login/logout.c (logout): Use memset rather than bzero.
21383 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21384 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21385 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21386 (_gethtbyaddr): Likewise.
21387 * locale/programs/simple-hash.c (bcopy): Macro removed.
21389 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21391 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21392 Add strcmp-power8 object.
21393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21394 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21395 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21396 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21397 __strcmp_power8 implementation.
21398 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21401 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21402 Add strncpy-power8 and stpncpy-power8 objects.
21403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21404 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21406 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21407 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21408 __stpncpy_power8 implementation.
21409 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21410 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21411 __strncpy_power8 implementation.
21412 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21413 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21416 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21417 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21418 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21420 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21421 strncat-power8 object.
21422 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21423 __strcat_power8 implementation.
21424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21425 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21426 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21427 optimized strcat for power8.
21429 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21430 strcpy-power8 and stpcpy-power8 objects.
21431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21432 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21434 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21435 multiarch stpcpy implementation for POWER8.
21436 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21437 multiarch strcpy implementation for POWER8.
21438 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21439 __strcpy_power8 function.
21440 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21442 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21446 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
21449 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21450 weights and rules. Use do_xfrm_cached if data fits in cache,
21451 do_xfrm otherwise. Moved former main loop to...
21452 * (do_xfrm_cached): New function.
21453 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21454 find_idx, find_position and stack_push.
21455 * (find_idx): New function.
21456 * (find_position): Likewise.
21457 * localedata/sort-test.sh: Added test run for do_xfrm.
21458 * localedata/xfrm-test.c (main): Added command line option
21459 -nocache to run the test with strings that are too large for
21462 2015-01-13 Torvald Riegel <triegel@redhat.com>
21464 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21465 variable to lll_futex_wake call, not the value itself.
21467 2015-01-12 Joseph Myers <joseph@codesourcery.com>
21470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21471 twom64. Adjust value to 0x1p-64L.
21472 (__scalblnl): Only return standard underflowing result for K <=
21473 -64 not K <= -63; adjust exponent for underflowing result by 64
21475 * math/libm-test.inc (scalbn_test_data): Add more tests.
21476 (scalbln_test_data): Likewise.
21479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21481 (__scalblnl): Get new exponent of adjusted subnormal value from ES
21483 * math/libm-test.inc (scalbn_test_data): Add more tests.
21484 (scalbln_test_data): Likewise.
21486 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21487 Stefani Seibold <stefani@seibold.net>
21489 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21490 (sysdep_routines): Add dl-vdso here, ...
21491 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21492 (sysdep_routines): ... not here.
21493 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21494 fallback when vDSO is not presented.
21495 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21496 Define with libc_hidden_proto/libc_hidden_data_def definitions.
21497 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21498 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21499 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21500 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21501 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21502 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21503 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21505 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
21506 fallback configurable symbol when vDSO is not available.
21507 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21508 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
21509 be able to redefine fallback symbol when vDSO is not available.
21510 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21511 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21513 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21516 (TLS_INIT_TP): Add tm_capable initialization.
21517 (TLS_DEFINE_INIT_TP): Likewise.
21518 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21520 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21521 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21523 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21524 transactoion is lock elision is built and TCB tm_capable is set.
21525 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21527 (INTERNAL_SYSCALL_NCS): Likewise.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21529 (INTERNAL_SYSCALL_NCS): Likewise.
21530 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21532 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21534 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21535 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21536 and remove it for 32 bits case.
21537 [pthread_rwlock_t] (__rwelision): New field for lock elision.
21538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21540 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21541 Disable lock elision with rdlocks if elision is not available.
21543 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21544 (sysdep_routines): Add lock elision objects.
21545 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21546 [pthread_mutex_t] (__spins): Rework to add lock elision field.
21547 [pthread_mutex_t] (__elision): Add field.
21548 [__PTHREAD_SPINS]: Adjust to init lock elision field.
21549 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21550 elision definitions for powerpc.
21551 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21552 implementation of lock elision for powerpc.
21553 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21554 implementation of timed lock elision for powerpc.
21555 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21556 implementation of trylock with lock elision for powerpc.
21557 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21558 implementaion of unlock for lock elision for powerpc.
21559 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21560 automatic enable lock elision for mutexes.
21561 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21562 transaction execution definitions for powerpc.
21563 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21565 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21566 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21567 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21568 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21571 2015-01-09 Roland McGrath <roland@hack.frob.com>
21573 * sysdeps/posix/shm-directory.c: Use <> rather than ""
21574 for #include of <shm-directory.h>.
21576 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
21578 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21579 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21581 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
21584 * NEWS: Mention bug fix.
21585 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21586 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21587 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21589 2015-01-09 Torvald Riegel <triegel@redhat.com>
21591 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21593 2015-01-09 Torvald Riegel <triegel@redhat.com>
21595 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21597 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21599 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21600 pointer and cast to uintptr_t.
21602 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21604 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21606 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21608 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21610 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21613 2015-01-08 Roland McGrath <roland@hack.frob.com>
21615 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21616 <nptl/pthreadP.h> instead.
21617 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21619 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21621 [__SIGRTMIN] (init): Function removed.
21622 [__SIGRTMIN] (initialized): Variable removed.
21623 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21624 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21625 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21626 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21627 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21628 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21629 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21630 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21631 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21632 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21633 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21634 * sysdeps/nptl/allocrtsig.c: New file.
21635 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21636 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21637 * sysdeps/generic/testrtsig.h: File removed.
21639 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21640 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21642 * nptl/nptl-init.c (pthread_functions): Conditionalize
21643 .ptr__nptl_setxid initialization on [SIGSETXID].
21645 * sysdeps/nptl/sys/procfs.h: New file.
21646 * nptl_db/Makefile (headers): Add it.
21647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21649 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21650 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21651 * nptl/pthread_attr_setaffinity.c: Include it.
21652 * nptl/pthread_setattr_default_np.c: Likewise.
21653 * nptl/check-cpuset.h: New file.
21655 2015-01-08 Richard Henderson <rth@redhat.com>
21657 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21658 (CFLAGS-tst-execstack-prog.c): Likewise.
21659 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21661 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
21662 Sandra Loosemore <sandra@codesourcery.com>
21663 Andrew Jenner <andrew@codesourcery.com>
21664 Joseph Myers <joseph@codesourcery.com>
21665 Nathan Sidwell <nathan@codesourcery.com>
21667 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21668 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21669 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21670 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21671 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21672 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21673 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21674 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21675 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21676 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21677 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21678 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21679 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21680 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21681 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21682 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21683 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21685 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21687 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21688 timespec struct member in syscall macro.
21689 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21690 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21691 first timeval struct member in syscall macro.
21692 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21694 2015-01-07 Joseph Myers <joseph@codesourcery.com>
21697 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21698 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21699 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21700 __feupdateenv and define as weak alias of __feupdateenv. Use
21702 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21704 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21705 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
21706 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21707 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21709 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21710 __feupdateenv and define as weak alias of __feupdateenv. Use
21712 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21714 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21715 __feupdateenv and define as weak alias of __feupdateenv. Use
21717 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21719 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21720 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21721 (__feupdateenv): Likewise.
21722 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21723 __feupdateenv and define as weak alias of __feupdateenv. Use
21725 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21726 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21728 * sysdeps/tile/math_private.h (__feupdateenv): New inline
21730 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21732 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21733 __feupdateenv instead of feupdateenv.
21734 (default_libc_feupdateenv_test): Likewise.
21735 (libc_feresetround_ctx): Likewise.
21737 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21739 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21742 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
21744 * posix/regcomp.c (parse_bracket_exp): Initialize type to
21745 COLL_SYM in a couple of places to avoid uninitialized variable
21746 wanings on tilegx gcc 4.8.2.
21748 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
21750 * sysdeps/aarch64/strcpy.S: New file.
21751 * sysdeps/aarch64/stpcpy.S: New file.
21754 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
21756 * sysdeps/aarch64/strrchr.S: New file.
21759 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
21762 * stdlib/setenv.c: Fix memory leak when setting large,
21765 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
21768 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21769 and tabs from buffer before parsing fstab entry.
21770 * misc/tst-mntent.c (main): Add test for mount entry with
21771 trailing spaces and tabs.
21773 2015-01-06 Joseph Myers <joseph@codesourcery.com>
21776 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
21777 * math/fesetround.c (fesetround): Rename to __fesetround and
21778 define as weak alias of __fesetround. Use libm_hidden_weak.
21779 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21780 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21781 * sysdeps/arm/fesetround.c (fesetround): Likewise.
21782 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21783 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21784 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21785 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21786 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21787 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21788 __fesetround_inline.
21789 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21790 __fesetround_inline instead of __fesetround.
21791 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21792 __fesetround and define as weak alias of __fesetround. Use
21793 libm_hidden_weak. Call __fesetround_inline instead of
21795 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21796 __fesetround and define as weak alias of __fesetround. Use
21798 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21800 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21801 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21802 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21803 * sysdeps/tile/math_private.h (__fesetround): New inline function.
21804 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21805 __fesetround and define as weak alias of __fesetround. Use
21807 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21808 __fesetround instead of fesetround.
21809 (default_libc_feholdexcept_setround): Likewise.
21810 (libc_feholdsetround_ctx): Likewise.
21811 (libc_feholdsetround_noex_ctx): Likewise.
21814 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21815 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21816 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21817 and define as weak alias of __fesetenv. Use libm_hidden_weak.
21818 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21819 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21820 define as weak alias of __fesetenv. Use libm_hidden_weak.
21821 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21822 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21823 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21824 define as weak alias of __fesetenv. Use libm_hidden_weak.
21825 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21826 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21827 define as weak alias of __fesetenv. Use libm_hidden_weak.
21828 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21830 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21831 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21833 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21834 define as weak alias of __fesetenv. Use libm_hidden_weak.
21835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21836 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21837 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21838 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21839 and define as weak alias of __fesetenv. Use libm_hidden_weak.
21840 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21841 __fesetenv instead of fesetenv.
21842 (libc_feresetround_noex_ctx): Likewise.
21843 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21844 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21845 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21846 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21847 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21848 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21849 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21850 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21851 (__feupdateenv): Likewise.
21852 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21853 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21854 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21855 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21857 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
21860 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21861 addresses have been freed.
21863 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
21865 * resolv/res_init.c (__res_vinit): Improve comments about nserv
21868 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
21870 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21871 Clean up check_pf allocation pattern. addresses
21873 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21875 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21876 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21877 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21878 * nptl/pthread_exit.c (__pthread_exit): Likewise.
21879 * nptl/pthread_join.c (pthread_join): Likewise.
21880 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21881 * sysdeps/posix/waitid.c (__waitid): Likewise.
21882 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21883 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21884 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21885 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21886 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21888 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21889 (__libc_pread64): Likewise.
21890 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21891 (__libc_pwrite): Likewise.
21892 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21893 (__libc_pwrite64): Likewsie.
21894 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21895 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21896 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21897 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21898 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21899 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21900 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21904 (__libc_pread64): Likewise.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21908 (__libc_pwrite64): Likewise.
21909 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21910 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21911 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21912 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21913 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21914 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21915 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21916 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21917 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21918 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21919 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21920 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21921 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21922 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21923 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21924 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21927 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
21929 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21930 (CFLAGS-test-double.c): Likewise.
21931 (CFLAGS-test-ldouble.c): Likewise.
21932 (CPPFLAGS-test-ifloat.c): Likewise.
21933 (CPPFLAGS-test-idouble.c): Likewise.
21934 (CPPFLAGS-test-ildoubl.c): Likewise.
21935 (CFLAGS-test-test-fenv.c): Remove variable.
21936 (CFLAGS-test-misc.c): Likewise.
21938 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
21941 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21942 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21943 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21944 CLOCKS_PER_SEC == 1000000.
21945 * time/clocktest.c (main): Replace %ld with %jd and cast to
21948 2015-01-05 Roland McGrath <roland@hack.frob.com>
21950 * sysdeps/generic/unwind-resume.h: New file.
21951 * sysdeps/gnu/unwind-resume.c: Include it.
21952 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21953 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21955 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21956 global rather than static.
21957 (_Unwind_Resume): Update user.
21958 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21959 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
21960 rather than static. Add __attribute__ ((cold)).
21961 (_Unwind_Resume, __gcc_personality_v0): Update callers.
21962 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21963 * sysdeps/arm/arm-unwind-resume.S: New file.
21964 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21965 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21966 * sysdeps/arm/Makefile [$(subdir) = csu]
21967 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21968 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21969 Add rt-arm-unwind-resume.
21971 (libpthread-sysdep_routines, libpthread-shared-only-routines):
21972 Add pt-arm-unwind-resume.
21973 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21974 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21976 2015-01-05 Joseph Myers <joseph@codesourcery.com>
21979 * include/fenv.h (__feholdexcept): Declare. Use
21981 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21982 define as weak alias of __feholdexcept. Use libm_hidden_weak.
21983 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21984 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21985 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21986 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21987 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21988 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21989 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21990 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21991 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21992 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21993 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21994 (feholdexcept): Likewise.
21995 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21996 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21997 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21998 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21999 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22000 __feholdexcept instead of feholdexcept.
22001 (default_libc_feholdexcept_setround): Likewise.
22003 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22005 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22006 to avoid using stl/str to align destination.
22008 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22010 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22012 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22015 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22016 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22017 Define as weak alias not strong alias.
22019 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22021 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22022 bltzal with addiupc.
22023 (RTLD_START): Ditto.
22025 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
22027 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22028 for __vdso_* functions in declarations.
22029 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22031 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22032 INTERNAL_VSYSCALL): Use struct return types to check for error.
22034 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22035 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22036 function with cast from llround().
22037 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22038 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22041 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22044 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22045 Define as weak alias not strong alias.
22048 * ctype/ctype-c99.c: New file. isblank implementation moved from
22050 * ctype/ctype-extn.c: ... here.
22051 (__isblank_l): Move to ...
22052 * ctype/ctype-c99_l.c: ... here. New file.
22053 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22054 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22056 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22057 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22058 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22059 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22060 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22063 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22064 (posix_fadvise64): Define as weak alias not strong alias.
22065 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22066 (posix_fallocate64): Likewise.
22067 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22069 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22070 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22071 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22072 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22073 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22075 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
22078 * NEWS: Mention bug fix.
22079 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22080 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22081 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22082 (HOST_STACK_END_ADDR): Likewise.
22084 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22087 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
22088 * math/fegetround.c (fegetround): Rename to __fegetround and
22089 define as weak alias of __fegetround. Use libm_hidden_weak.
22090 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22091 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22092 * sysdeps/arm/fegetround.c (fegetround): Likewise.
22093 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22094 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22095 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22096 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22097 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22098 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22099 Undefine after rather than before function definition; use
22100 parentheses around function name in definition.
22101 (__fegetround): Also undefine macro after function definition.
22102 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22103 __fegetround and define as weak alias of __fegetround. Use
22104 libm_hidden_weak. Do not undefine as macro.
22105 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22107 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22108 __fegetround and define as weak alias of __fegetround. Use
22110 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22111 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22112 * sysdeps/tile/math_private.h (__fegetround): New inline function.
22113 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22114 __fegetround and define as weak alias of __fegetround. Use
22116 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22117 __fegetround instead of fegetround.
22120 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22121 Condition macro definition on [__USE_MISC].
22124 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22125 (struct sigaction): Change type of sa_flags field to int.
22128 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22129 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22132 * nptl/version.c (banner): Use single year in copyright notice.
22134 * NEWS: Update copyright dates.
22135 * catgets/gencat.c (print_version): Likewise.
22136 * csu/version.c (banner): Likewise.
22137 * debug/catchsegv.sh: Likewise.
22138 * debug/pcprofiledump.c (print_version): Likewise.
22139 * debug/xtrace.sh (do_version): Likewise.
22140 * elf/ldconfig.c (print_version): Likewise.
22141 * elf/ldd.bash.in: Likewise.
22142 * elf/pldd.c (print_version): Likewise.
22143 * elf/sotruss.sh: Likewise.
22144 * elf/sprof.c (print_version): Likewise.
22145 * iconv/iconv_prog.c (print_version): Likewise.
22146 * iconv/iconvconfig.c (print_version): Likewise.
22147 * locale/programs/locale.c (print_version): Likewise.
22148 * locale/programs/localedef.c (print_version): Likewise.
22149 * login/programs/pt_chown.c (print_version): Likewise.
22150 * malloc/memusage.sh (do_version): Likewise.
22151 * malloc/memusagestat.c (print_version): Likewise.
22152 * malloc/mtrace.pl: Likewise.
22153 * manual/libc.texinfo: Likewise.
22154 * nptl/version.c (banner): Likewise.
22155 * nscd/nscd.c (print_version): Likewise.
22156 * nss/getent.c (print_version): Likewise.
22157 * nss/makedb.c (print_version): Likewise.
22158 * posix/getconf.c (main): Likewise.
22159 * scripts/test-installation.pl: Likewise.
22160 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22162 2015-01-02 Will Newton <will.newton@linaro.org>
22164 * sysdeps/arm/armv7/configure: Removed.
22165 * sysdeps/arm/armv7/configure.ac: Likewise.
22167 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22169 * All files with FSF copyright notices: Update copyright dates
22170 using scripts/update-copyrights.
22171 * intl/plural.c: Regenerated.
22172 * locale/programs/charmap-kw.h: Likewise.
22173 * locale/programs/locfile-kw.h: Likewise.
22175 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22177 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22179 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22182 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22183 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22184 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22185 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22186 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22187 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22188 define as weak alias of __fegetenv. Use libm_hidden_weak.
22189 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22190 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22191 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22192 define as weak alias of __fegetenv. Use libm_hidden_weak.
22193 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22194 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22195 define as weak alias of __fegetenv. Use libm_hidden_weak.
22196 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22198 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22199 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22201 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22202 define as weak alias of __fegetenv. Use libm_hidden_weak.
22203 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22204 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22205 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22206 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22207 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22208 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22209 __fegetenv instead of fegetenv.
22210 (libc_feholdsetround_noex_ctx): Likewise.
22212 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
22214 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22215 (Elf_MIPS_ABIFlags_v0): New structure.
22216 (EF_MIPS_FP64): Define.
22217 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22218 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22219 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22220 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22221 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22222 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22223 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22224 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22225 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22226 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22227 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22228 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22229 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22230 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22231 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22232 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22233 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22234 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22235 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22236 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22237 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22238 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22240 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22242 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22243 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22244 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22245 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22246 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22247 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22248 * sysdeps/mips/tst-abi-interlink.c: Likewise.
22249 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22250 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22251 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22252 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22253 record the current FP ABI extension.
22254 (mips-mode-switch): Define to show if kernel headers support mode
22256 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22257 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22258 supported SYSV ABI version to 3.
22259 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22262 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22263 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22265 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22267 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22269 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22271 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22272 __fegetround and redefine to call __fegetround. Remove condition
22273 on [!__NO_MATH_INLINES].
22274 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22276 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22277 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22279 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22280 instead of <fenv_libc.h>.
22281 (__llrintl): Call fegetround instead of __fegetround.
22282 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22283 instead of <fenv_libc.h>.
22284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22285 (__lrintl): Call fegetround instead of __fegetround.
22286 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22287 instead of <fenv_libc.h>.
22288 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22289 (__rintl): Call fegetround instead of __fegetround.
22291 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22293 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22296 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
22299 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22300 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22301 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22303 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
22305 * sysdeps/i386/tls-macros.h: Include <features.h>.
22306 (TLS_LE): Use non-PIC version for GCC >= 5.0.
22307 (TLS_IE): Likewise.
22308 (TLS_LD): Likewise.
22309 (TLS_GD): Likewise.
22310 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22311 define for GCC >= 5.0.
22313 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
22315 * math/test-fenv.c (test_single_exception, set_single_exc,
22316 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22317 feexcp_mask_test, feenable_test, fe_single_test): Add
22318 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22319 case where they are not used.
22320 * math/libm-test.inc: Likewise.
22321 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22322 unused in the absence of FP rounding/exception support.
22323 * stdio-common/tst-printf-round.c: Likewise.
22324 * stdlib/tst-strtod-round.c: Likewise.
22325 * stdlib/tst-strtod-underflow.c: Likewise.
22327 2014-12-30 Joseph Myers <joseph@codesourcery.com>
22330 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22331 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22332 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22333 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22335 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22336 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22337 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22339 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22340 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22342 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22344 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22345 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22346 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22348 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22350 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22351 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22352 (__feraiseexcept): Likewise.
22353 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22354 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22356 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22357 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22359 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22360 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22361 Use libm_hidden_def.
22362 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22364 (feraiseexcept): Define as weak not strong alias. Use
22366 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22367 New inline function. Factored out of ...
22368 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
22369 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22370 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22372 * math/w_acos.c (__acos): Likewise.
22373 * math/w_asin.c (__asin): Likewise.
22374 * math/w_ilogb.c (__ilogb): Likewise.
22375 * math/w_j0.c (y0): Likewise.
22376 * math/w_j1.c (y1): Likewise.
22377 * math/w_jn.c (yn): Likewise.
22378 * math/w_log.c (__log): Likewise.
22379 * math/w_log10.c (__log10): Likewise.
22380 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22381 * sysdeps/aarch64/fpu/math_private.h
22382 (libc_feupdateenv_test_aarch64): Likewise.
22383 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22384 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22385 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22386 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22387 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22388 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22389 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22390 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22391 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22392 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22394 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
22397 * io/test-utime.c (main): Replace %ld with %jd and cast to
22399 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22400 * nptl/tst-mutex5.c: Include <stdint.h>.
22401 (do_test): Replace %ld with %jd and cast to intmax_t.
22402 * posix/tst-regex.c (run_test): Likewise.
22403 (run_test_backwards): Likewise.
22404 * rt/tst-clock.c: Include <stdint.h>.
22405 (clock_test): Replace %ld with %jd and cast to intmax_t.
22406 * rt/tst-cpuclock1.c: Include <stdint.h>.
22407 (do_test): Replace %lu with %ju and cast to uintmax_t.
22408 * rt/tst-cpuclock2.c: Include <stdint.h>.
22409 (do_test): Replace %lu with %ju and cast to uintmax_t.
22410 * rt/tst-mqueue1.c: Include <stdint.h>.
22411 (check_attrs): Replace %ld with %jd and cast to intmax_t.
22412 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22414 * rt/tst-mqueue4.c (do_test): Likewise.
22415 * rt/tst-timer4.c: Include <stdint.h>.
22416 (check_ts): Replace %ld with %jd and cast to intmax_t.
22417 (do_test): Likewise.
22418 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22419 and cast to intmax_t.
22420 * sysdeps/pthread/tst-timer.c (main): Likewise.
22421 * time/clocktest.c (main): Likewise.
22422 * time/tst-posixtz.c (do_test): Likewise.
22423 * timezone/tst-timezone.c (main): Likewise.
22425 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
22426 H.J. Lu <hongjiu.lu@intel.com>
22428 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22429 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22430 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22431 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22432 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22433 version if bit_Fast_Unaligned_Load is set.
22434 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22435 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22436 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22437 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22438 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22439 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22441 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22442 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22443 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22445 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22446 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22447 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22448 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22450 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
22452 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22453 instead of #if to avoid a Wundef warning.
22454 * stdlib/tst-limits.c (do_test): Likewise.
22456 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22457 parallel other exception macros.
22458 (fegetenv): Convert from macro to extern inline so that it applies
22459 retroactively to inline functions already seen by the compiler.
22460 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22462 * posix/Makefile (before-compile): Use $(objpfx) for
22463 posix-conf-vars-def.h.
22465 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22467 * posix/getconf.c (main): Use size_t for type of I.
22468 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22471 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22472 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22473 * posix/posix-envs.def: Likewise.
22474 * sysdeps/posix/sysconf.c: Likewise.
22475 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22476 (specs): Remove array.
22477 * scripts/gen-posix-conf-vars.awk: Support generation of specs
22480 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22481 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22482 (__sysconf): Use CONF_IS_* macros.
22484 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22485 ($(objpfx)posix-conf-vars-def.h): New target.
22486 * posix/posix-conf-vars.list: New file.
22487 * posix/posix-conf-vars.h: New file.
22488 * posix/confstr.c: Include posix-conf-vars.h.
22489 (confstr): Use CONF_IS_* macros.
22490 * posix/posix-envs.def: Include posix-conf-vars.h. Use
22492 * scripts/gen-posix-conf-vars.awk: New file.
22494 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
22496 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22497 fegetround): Add no-op macros to avoid linknamespace issues.
22499 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22500 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22502 * sysdeps/unix/sysv/linux/tile/sysdep.h
22503 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22504 assembly-specific section to avoid a redefinition warning.
22506 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22507 long before casting to pointer to avoid a cast warning.
22509 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
22511 * sysdeps/tile/tilegx/Implies: New file.
22513 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
22515 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22517 2014-12-23 Florian Weimer <fweimer@redhat.com>
22519 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22521 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22525 * sysdeps/unix/sysv/linux/utimes.c: Do not include
22526 <kernel-features.h>.
22527 (__utimes) [__NR_utimes]: Make code unconditional.
22528 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22529 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22530 (__ASSUME_UTIMES): Do not undefine.
22531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22532 (__ASSUME_UTIMES): Likewise.
22533 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22534 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22535 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22536 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22538 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
22540 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22542 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
22545 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22546 alias to weak alias for j0l, y0l.
22547 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22548 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22551 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22554 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
22556 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22557 to zero if not already defined.
22559 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22562 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22563 (__kernel_standard_f): Remove. Moved to k_standardf.c.
22564 (__kernel_standard_l): Remove. Moved to k_standardl.c with
22565 (char *) casts added.
22566 * sysdeps/ieee754/k_standardf.c: New file.
22567 * sysdeps/ieee754/k_standardl.c: Likewise.
22568 * math/Makefile (libm-support): Remove k_standard.
22569 (libm-calls): Add k_standard.
22571 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22573 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22574 Optimize to avoid an unnecessary FPCR read.
22576 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22578 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22579 Optimize to reduce FPCR/FPSR accesses.
22581 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22583 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22584 Call libc_fetestexcept_aarch64.
22586 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22588 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22589 Call libc_fesetround_aarch64.
22591 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22594 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22595 (__bind): Do not define as weak alias.
22596 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22598 (__getsockname): Do not define as weak alias.
22600 2014-12-22 Will Newton <will.newton@linaro.org>
22602 * manual/install.texi: Document that we require bison 2.7
22604 * INSTALL: Regenerate.
22605 * configure.ac: Use AC_CHECK_PROG_VER instead of
22606 AC_PATH_PROG when checking for bison and check for
22607 version 2.7 or above.
22608 * configure: Regenerate.
22610 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
22613 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22614 * sysdeps/tile/ffsll.c (ffsll): To here.
22616 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22618 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
22620 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22622 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22624 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22625 hidden ___tls_get_addr.
22626 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22627 hidden __tls_get_addr.
22628 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22629 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22632 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
22634 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22637 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
22639 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22640 from "call _dl_init@PLT".
22641 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22643 2014-12-21 Anders Kaseorg <andersk@mit.edu>
22645 * manual/search.texi: (Array Sort Function): Clarify stable sorting
22648 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
22650 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22652 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
22655 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22658 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
22660 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22661 of multu on MIPSr6.
22662 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22663 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22664 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22665 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22666 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22668 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
22670 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22671 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22672 (PTR_SUBU): Use subu for mips32r6/mips64r6.
22673 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22674 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22676 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22678 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
22680 * string/strncat.c (STRNCAT): Simplify implementation.
22682 2014-12-19 David S. Miller <davem@davemloft.net>
22684 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22685 access the quad as both a long double and as a series of 4 words.
22687 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22688 link_map->l_info array access.
22690 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
22692 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22694 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22695 * math/atest-exp2.c (TIMEOUT): Likewise.
22696 * math/atest-sincos.c (TIMEOUT): Likewise.
22698 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
22700 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22701 -Wno-error with -fno-builtin-lround.
22703 2014-12-19 Torvald Riegel <triegel@redhat.com>
22705 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22706 Contains futex constants and functions moved over from ...
22707 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
22708 <lowlevellock-futex.h>.
22709 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22710 (lll_timedwait_tid): Add comments and parentheses around macro
22713 2014-12-19 Torvald Riegel <triegel@redhat.com>
22715 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22716 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
22717 (__lll_private_flag): Remove.
22718 (lll_futex_wait): Likewise.
22719 (lll_futex_timed_wait): Likewise.
22720 (lll_futex_wake): Likewise.
22721 (lll_futex_requeue): Likewise.
22722 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22723 (__lll_timedwait_tid): Spell out argument names.
22724 (lll_timedwait_tid): Add comments and parentheses around macro
22726 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22727 LLL_SHARED and LLL_PRIVATE usable from assembly code.
22729 2014-12-19 Torvald Riegel <triegel@redhat.com>
22731 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22732 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22733 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22734 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22735 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22736 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22737 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22738 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22739 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22740 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22741 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22742 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22743 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22744 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22745 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22746 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22747 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22748 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22749 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22751 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
22753 * sysdeps/x86_64/x32/Makefile: New file.
22755 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
22757 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22758 1L with (mp_limb_t) 1.
22760 2014-12-17 Roland McGrath <roland@hack.frob.com>
22762 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22763 * nptl/libc_pthread_init.c: ... here.
22764 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22765 * nptl/register-atfork.c: ... here.
22767 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22768 Use pthread_sigmask rather than INTERNAL_SYSCALL.
22769 Use assert_perror to check its return value.
22770 (__gai_create_helper_thread): Likewise.
22772 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22774 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22776 2014-12-17 Joseph Myers <joseph@codesourcery.com>
22779 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22781 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22783 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22785 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22787 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22788 (profil_counter): Likewise.
22789 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22790 (profil_counter): Likewise.
22791 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22793 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22795 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22796 (profil_counter): Likewise.
22797 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22799 [!__profil_counter] (profil_counter): Define as weak alias of
22801 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22802 (profil_counter): Rename to __profil_counter.
22803 [!__profil_counter] (profil_counter): Define as weak alias of
22805 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22806 (profil_counter): Rename to __profil_counter.
22807 [!__profil_counter] (profil_counter): Define as weak alias of
22809 * sysdeps/posix/profil.c: Update comment referring to
22811 (__profil): Use __profil_counter instead of profil_counter.
22812 * sysdeps/posix/sprofil.c (profil_counter): Rename to
22813 __profil_counter. Use __profil_counter_ushort and
22814 __profil_counter_uint in definitions.
22815 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22816 instead of profil_counter_uint and profil_counter_ushort.
22819 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22820 define as weak alias of __inet_makeaddr.
22821 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22822 as weak alias of __inet_addr.
22823 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22824 as weak alias of __inet_pton. Use libc_hidden_weak.
22825 * include/arpa/inet.h (__inet_pton): Declare. Use
22827 (inet_makeaddr): Don't use libc_hidden_proto.
22828 (__inet_makeaddr): Declare. Use libc_hidden_proto.
22829 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22830 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
22831 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22833 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22834 (test-xfail-POSIX/time.h/linknamespace): Likewise.
22836 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
22838 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22840 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22842 * stdio-common/bug-vfprintf-nargs.c (do_test):
22843 Cast value to intptr_t to avoid format warning
22844 for usage with PRIdPTR printing macro.
22846 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22848 * libio/tst-widetext.c (do_test):
22849 Use format type %td instead of %Zd for ptrdiff_t
22850 in order to avoid format warning.
22852 2014-12-17 Andreas Schwab <schwab@suse.de>
22854 * nscd/mem.c (gc): Add size_t cast to match printf format.
22856 2014-12-16 Roland McGrath <roland@hack.frob.com>
22858 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22859 (init): Apply PTR_MANGLE to pointers before storing them.
22860 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22863 2014-12-16 Joseph Myers <joseph@codesourcery.com>
22866 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22867 define as weak alias of __memrchr.
22868 (__memrchr): Do not define as strong alias of memrchr.
22869 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22871 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22872 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22873 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22876 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22877 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
22878 (if_indextoname): Rename to __if_indextoname and define as weak
22879 alias of __if_indextoname. Use libc_hidden_weak.
22880 (if_freenameindex): Rename to __if_freenameindex and define as
22881 weak alias of __if_freenameindex.
22882 (if_nameindex): Rename to __if_nameindex and define as weak alias
22884 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22885 __if_nametoindex and define as weak alias of __if_nametoindex.
22886 Use libc_hidden_weak.
22887 (if_freenameindex): Rename to __if_freenameindex and define as
22888 weak alias of __if_freenameindex.
22889 (if_nameindex): Rename to __if_nameindex and define as weak alias
22891 (if_indextoname): Rename to __if_indextoname and define as weak
22892 alias of __if_indextoname. Use libc_hidden_weak.
22893 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22894 __if_nametoindex and define as weak alias of __if_nametoindex.
22895 Use libc_hidden_weak.
22896 (if_freenameindex): Rename to __if_freenameindex and define as
22897 weak alias of __if_freenameindex. Use libc_hidden_weak.
22898 (if_nameindex_netlink): Use __if_freenameindex instead of
22900 (if_nameindex): Rename to __if_nameindex and define as weak alias
22901 of __if_nameindex. Use libc_hidden_weak.
22902 (if_indextoname): Rename to __if_indextoname and define as weak
22903 alias of __if_indextoname. Use libc_hidden_weak.
22904 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22906 [!_ISOMAC] (__if_freenameindex): Likewise.
22907 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22909 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22911 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22912 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22913 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22914 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22915 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22916 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22917 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22919 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22921 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22922 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22924 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22926 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22927 subscript above bounds'
22929 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22932 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
22934 * libio/tst-fopenloc.c: Use test-skeleton.c.
22936 * stdlib/tst-bsearch.c: Use test-skeleton.c.
22937 (entry): Rename to ITEM.
22938 (do_test, comp): Adjust.
22940 * stdio-common/tst-fseek.c: Use test-skeleton.c.
22942 2014-12-16 Torvald Riegel <triegel@redhat.com>
22944 * string/tester.c: Include <libc-internal.h>.
22945 (test_memset): Ignore -Wmemset-transposed-args.
22947 2014-12-16 Torvald Riegel <triegel@redhat.com>
22949 * misc/tst-mntent2.c (do_test): Fix warning.
22951 2014-12-16 Torvald Riegel <triegel@redhat.com>
22953 * elf/tst-unique4lib.cc(a): Mark as used.
22955 2014-12-16 Florian Weimer <fweimer@redhat.com>
22958 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22961 2014-12-16 Allan McRae <allan@archlinux.org>
22963 * stdio-common/Makefile (tests): Re-add bug26.
22965 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
22968 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22971 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
22973 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22974 (__lll_lock_wait): Likewise.
22975 (__lll_timedlock_wait): Likewise.
22976 (__lll_timedwait_tid): Likewise.
22977 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22978 (__lll_robust_timedlock_wait): Likewise.
22979 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22980 (lll_cond_trylock): Likewise.
22981 (__lll_lock): Likewise.
22982 (__lll_robust_lock): Likewise.
22983 (__lll_cond_lock): Likewise.
22984 (lll_robust_cond_lock): Likewise.
22985 (__lll_timedlock): Likewise.
22986 (__lll_robust_timedlock): Likewise.
22987 (__lll_unlock): Likewise.
22988 (__lll_robust_unlock): Likewise.
22989 (lll_wait_tid): Likewise.
22990 (lll_timedwait_tid): Likewise.
22992 2014-12-15 Torvald Riegel <triegel@redhat.com>
22994 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22996 2014-12-15 Torvald Riegel <triegel@redhat.com>
22998 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23000 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23002 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23003 * stdio-common/tst-sprintf.c: Likewise.
23005 2014-12-15 Torvald Riegel <triegel@redhat.com>
23007 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23009 2014-12-15 Jeff Law <law@redhat.com>
23012 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23013 on the heap. (CVE-2012-3406)
23014 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23015 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
23016 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23018 2014-12-15 Will Newton <will.newton@linaro.org>
23020 * manual/install.texi: Bump required version of texinfo
23022 * INSTALL: Regenerated.
23023 * configure.ac: Check for makeinfo version 4.7 and above.
23024 * configure: Regenerated.
23026 2014-12-12 Roland McGrath <roland@hack.frob.com>
23028 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23029 PREFIX, string constant to insert between directory and name.
23030 * sysdeps/posix/shm_open.c: Update caller.
23031 * sysdeps/posix/shm_unlink.c: Likewise.
23032 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23033 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23034 (SEM_SHM_PREFIX): New macro.
23035 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23036 [$(have-thread-library) = no].
23037 * nptl/Makefile (libpthread-routines): Add shm-directory.
23038 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23039 * sysdeps/nptl/shm-directory.h: New file.
23040 * sysdeps/posix/shm-directory.c
23041 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23042 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23043 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23045 (__where_is_shmfs): Function removed.
23046 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23048 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23050 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
23052 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23053 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23054 unconditional for use inside libpthread.
23055 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23057 2014-12-12 Roland McGrath <roland@hack.frob.com>
23059 * nptl/pthread_getaffinity.c: New file.
23060 * nptl/pthread_setaffinity.c: New file.
23061 * nptl/pthread_getname.c: New file.
23062 * nptl/pthread_setname.c: New file.
23064 * nptl/pthread_create.c (START_THREAD_DEFN)
23065 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23067 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23068 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23070 * resolv/res_send.c (send_vc): Disable warning resplen may
23071 be used uninitialized.
23073 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23075 * nptl/tst-mutex6.c
23076 (ATTR_NULL): New define checks ATTR against NULL.
23077 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23078 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23080 2014-12-11 James Lemke <jwlemke@codesourcery.com>
23084 (mem2mem_check): Revert my previous change.
23085 (malloc_check_get_size): Revert my previous change.
23086 (mem2chunk_check): Revert my previous change.
23088 2014-12-11 Roland McGrath <roland@hack.frob.com>
23090 * sysdeps/posix/shm-directory.c: New file.
23091 * sysdeps/posix/shm-directory.h: New file.
23092 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23093 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23094 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
23095 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23096 Transmute EPERM to EACCES.
23097 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23099 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
23100 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23102 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23104 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23105 pointer and cast to uintptr_t.
23106 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23107 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23108 Add cast to avoid warning.
23109 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23111 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23113 * nptl/semaphore.h: Move to ...
23114 * sysdeps/pthread/semaphore.h: ... here.
23115 * Makefile (installed-headers): Change nptl/semaphore.h to
23116 sysdeps/pthread/semaphore.h.
23118 2014-12-11 Roland McGrath <roland@hack.frob.com>
23120 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23121 generated error format strings.
23123 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23124 -Wformat-extra-args warnings for scanf formats.
23125 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23126 test of zero-length format (duh).
23127 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23128 corner-case scanf format test.
23129 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23130 generated fprintf format string.
23131 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23132 corner-case sprintf format tests.
23133 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23134 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23135 -Wformat-extra-args warnings throughout.
23136 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23137 (CFLAGS-scanf4.c): Likewise.
23138 (CFLAGS-scanf7.c): Likewise.
23139 (CFLAGS-tst-sprintf.c): Likewise.
23140 (CFLAGS-tst-printf.c): Likewise.
23141 (CFLAGS-tst-printfsz.c): Likewise.
23143 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23145 * include/cpio.h: New file.
23146 * include/fmtmsg.h: Likewise.
23148 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
23149 corresponding format argument to size_t.
23150 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
23152 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
23153 corresponding format argument to size_t.
23154 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
23156 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
23157 corresponding format argument to size_t.
23158 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23159 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23160 (CFLAGS-tst-mbswcs2.c): Likewise.
23161 (CFLAGS-tst-mbswcs3.c): Likewise.
23162 (CFLAGS-tst-mbswcs4.c): Likewise.
23163 (CFLAGS-tst-mbswcs5.c): Likewise.
23164 (CFLAGS-tst-trans.c): Likewise.
23166 2014-12-11 Roland McGrath <roland@hack.frob.com>
23168 * posix/regexbug1.c (main): Use "%s" format with regerror results,
23169 rather than assuming they won't contain any '%'s.
23171 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
23173 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23174 inhibit_loop_to_libcall to avoid recursive calls.
23175 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23176 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23178 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23180 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23183 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23185 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23186 integer value instead of boolean.
23188 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23190 * malloc/malloc.c: Fix powerof2 check.
23192 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23194 * locale/programs/locfile.h (maybe_swap_uint32):
23195 Remove inline and add unused attribute.
23197 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23200 Truncating assembler expression to a .long expression.
23202 2014-12-11 Andreas Schwab <schwab@suse.de>
23204 * elf/rtld.c (struct map_args): Constify str member.
23205 (do_preload): Constify fname argument.
23207 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23210 constants definition.
23212 2014-12-11 Andreas Schwab <schwab@suse.de>
23215 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23216 FORCE_ELISION instead of DO_ELISION.
23217 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23219 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23222 * iconvdata/gconv-modules: Remove duplicate entry.
23224 2014-12-11 Will Newton <will.newton@linaro.org>
23226 Merge gettext 0.19.3 into intl/.
23228 This involves a number of cosmetic changes to comments
23229 and ANSI function definitions and prototypes throughout
23230 all the files. The gettext copyright header is used but
23231 with the date ranges taken from the glibc copy.
23233 * NEWS: Add gettext merge to 2.21.
23234 * intl/bindtextdom.c: Switch to gettext copyright.
23235 Use ANSI definitions and prototypes.
23236 Use gl_* locking primitives rather than __libc_* ones.
23237 Use __builtin_expect rather than __glibc_likely/unlikely.
23238 * intl/dcgettext.c: Switch to gettext copyright.
23239 Use ANSI definitions and prototypes.
23240 * intl/dcigettext.c: Switch to gettext copyright.
23241 Use ANSI definitions and prototypes.
23242 (INTDIV0_RAISES_SIGFPE): New define.
23243 Use gl_* locking primitives rather than __libc_* ones.
23244 Include eval-plural.h instead of plural-eval.c.
23245 Use __builtin_expect rather than __glibc_likely/unlikely.
23246 * intl/dcngettext.c: Switch to gettext copyright.
23247 Use ANSI definitions and prototypes.
23248 * intl/dgettext.c: Likewise.
23249 * intl/dngettext.c: Likewise.
23250 * intl/plural-eval.c: Renamed to...
23251 * intl/eval-plural.h: ...this.
23252 * intl/explodename.c: Switch to gettext copyright.
23253 Use ANSI definitions and prototypes.
23254 (_nl_explode_name): Use strchr instead of __rawmemchr.
23255 * intl/finddomain.c: Switch to gettext copyright.
23256 Use ANSI definitions and prototypes.
23257 Use gl_* locking primitives rather than __libc_* ones.
23258 (_nl_find_domain): Use malloc rather than alloca for
23259 allocation of temporary locale name.
23260 * intl/gettext.c: Switch to gettext copyright.
23261 Use ANSI definitions and prototypes.
23262 * intl/gettextP.h: Switch to gettext copyright.
23263 Use ANSI definitions and prototypes.
23264 Use gl_* locking primitives rather than __libc_* ones.
23265 * intl/gmo.h: Switch to gettext copyright.
23266 (struct sysdep_string): Move struct segment_pair outside of
23268 * intl/hash-string.c: Use ANSI definitions and prototypes.
23269 * intl/hash-string.h: Switch to gettext copyright.
23270 Use ANSI definitions and prototypes.
23271 * intl/l10nflist.c: Switch to gettext copyright.
23272 Use ANSI definitions and prototypes.
23273 (_nl_normalize_codeset): Avoid integer overflow.
23274 * intl/loadinfo.h: Switch to gettext copyright.
23275 Use ANSI definitions and prototypes.
23276 (LIBINTL_DLL_EXPORTED): New define.
23277 (PATH_SEPARATOR): New define.
23278 * intl/loadmsgcat.c: Switch to gettext copyright.
23279 * intl/localealias.c: Switch to gettext copyright.
23280 Use ANSI definitions and prototypes.
23281 (_nl_expand_alias): Use PATH_SEPARATOR.
23282 * intl/ngettext.c: Switch to gettext copyright.
23283 Use ANSI definitions and prototypes.
23284 * intl/plural-exp.c: Likewise.
23285 * intl/plural-exp.h: Switch to gettext copyright.
23286 Use ANSI definitions and prototypes.
23287 (struct expression): Move definition of enum operator outside
23288 of struct definition.
23289 * intl/plural.c: Regenerate.
23290 * intl/plural.y: Switch to gettext copyright.
23291 Use ANSI definitions and prototypes.
23293 * intl/textdomain.c: Switch to gettext copyright.
23294 Use ANSI definitions and prototypes.
23295 Use gl_* locking primitives rather than __libc_* ones.
23297 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
23299 * debug/warning-nop.c: Add used atrribute.
23301 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23303 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23305 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23306 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23307 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23309 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23310 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23313 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23314 Undefine after defining function. Define as weak alias of
23315 __wcschr. Use libc_hidden_weak.
23316 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
23317 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23318 (libc_hidden_def): Also define __GI___wcschr alias.
23319 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23320 __wcschr and define as weak alias of __wcschr.
23321 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23323 [!WCSCHR] (DEFAULT_WCSCHR): Define.
23324 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23325 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
23326 libc_hidden_weak. Do not use libc_hidden_def.
23327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23328 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23329 __GI___wcschr alias.
23330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23331 [IS_IN (libc)] (wcschr): Define as macro expanding to
23333 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23334 [IS_IN (libc)] (__wcschr_power6): Likewise.
23335 [IS_IN (libc)] (__wcschr_power7): Likewise.
23336 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
23338 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23340 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23341 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23342 __wcschr and define as weak alias of __wcschr. Use
23343 libc_hidden_builtin_def.
23344 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23345 as weak alias of __wcschr. Use libc_hidden_weak.
23346 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23348 * time/era.c (_nl_init_era_entries): Likewise.
23349 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23351 (test-xfail-XPG3/time.h/linknamespace): Likewise.
23352 (test-xfail-XPG4/time.h/linknamespace): Likewise.
23354 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23356 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23357 format for long int variable.
23359 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
23362 * manual/search.texi: (Array Sort Function): Remove claim how to make
23365 2014-12-10 Andreas Schwab <schwab@suse.de>
23368 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23369 user-controlled locks.
23371 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
23373 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23376 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23378 * configure.ac (--disable-werror): New configure option.
23379 (enable_werror): New AC_SUBST.
23380 * configure: Regenerated.
23381 * config.make.in (enable-werror): New variable.
23382 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23384 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23385 * manual/install.texi (Configuring and compiling): Document
23387 * INSTALL: Regenerated.
23388 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23389 (CFLAGS-tst-chk2.c): Likewise.
23390 (CFLAGS-tst-chk3.c): Likewise.
23391 (CFLAGS-tst-chk4.cc): Likewise.
23392 (CFLAGS-tst-chk5.cc): Likewise.
23393 (CFLAGS-tst-chk6.cc): Likewise.
23394 (CFLAGS-tst-lfschk1.c): Likewise.
23395 (CFLAGS-tst-lfschk2.c): Likewise.
23396 (CFLAGS-tst-lfschk3.c): Likewise.
23397 (CFLAGS-tst-lfschk4.cc): Likewise.
23398 (CFLAGS-tst-lfschk5.cc): Likewise.
23399 (CFLAGS-tst-lfschk6.cc): Likewise.
23401 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23402 (main): Disable -Wdeprecated-declarations around calls to
23403 register_printf_function.
23405 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23406 (do_test): Disable -Wdiv-by-zero around some calls to
23407 fwrite_unlocked and fread_unlocked.
23409 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23410 (DIAG_POP_NEEDS_COMMENT): Likewise.
23411 (_DIAG_STR1): Likewise.
23412 (_DIAG_STR): Likewise.
23413 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23414 * stdio-common/bug21.c: Include <libc-internal.h>.
23415 (do_test): Disable -Wformat around call to sscanf.
23416 * stdio-common/scanf14.c: Include <libc-internal.h>.
23417 (main): Disable -Wformat around some calls to scanf functions.
23419 2014-12-09 Torvald Riegel <triegel@redhat.com>
23421 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23423 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23425 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23426 stack variable alignment.
23428 2014-12-06 Joseph Myers <joseph@codesourcery.com>
23431 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23432 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23433 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23434 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23436 __getrlimit instead of getrlimit.
23437 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23438 __gettimeofday instead of gettimeofday.
23439 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23441 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23443 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23444 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23446 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23447 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23449 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23451 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23452 for wide-character tests.
23454 2014-12-04 Roland McGrath <roland@hack.frob.com>
23456 * io/openat64.c: #include <libc-internal.h>
23457 (__openat64): Prototypify. Use ignore_value on MODE.
23458 * io/openat.c: Likewise.
23459 * misc/reboot.c: #include <libc-internal.h>
23460 (reboot): Prototypify. Use ignore_value on HOWTO.
23461 * misc/ptrace.c: #include <libc-internal.h>
23462 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
23464 2014-12-04 Joseph Myers <joseph@codesourcery.com>
23466 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23467 XPG4, UNIX98 and XOPEN2K.
23468 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23470 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23472 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23474 * libio/fileops.c: Use ISO C style for function definitions.
23475 * libio/iofopen.c: Likewise.
23476 * libio/wfileops.c: Likewise.
23479 * libio/fileops.c (_IO_new_file_underflow): Unset cached
23481 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23482 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23483 (fgets_func): Function pointer to fgets and fgetws.
23484 (do_ftell_test): Add test to verify ftell value after read
23486 (do_test): Set fgets_func.
23488 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23489 O_TRUNC flag for w and w+ modes.
23490 (do_rewind_test): Likewise.
23491 (do_ftell_test): Likewise.
23492 (do_write_test): Likewise.
23495 * libio/fileops.c (do_ftell): Seek only when there are
23497 * libio/wfileops.c (do_ftell_wide): Likewise.
23498 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23500 (do_one_test): Call it.
23502 2014-12-03 Joseph Myers <joseph@codesourcery.com>
23504 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23505 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23506 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23508 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23509 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23510 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23512 2014-12-02 Joseph Myers <joseph@codesourcery.com>
23514 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23516 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23519 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23520 as weak alias of __getifaddrs. Use libc_hidden_weak.
23521 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23522 __freeifaddrs. Use libc_hidden_weak.
23523 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23524 define as weak alias of __getifaddrs. Use libc_hidden_weak.
23525 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23526 __freeifaddrs. Use libc_hidden_weak.
23527 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23528 __getifaddrs and define as weak alias of __getifaddrs. Use
23530 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23531 __freeifaddrs. Use libc_hidden_weak.
23532 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23534 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23535 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23537 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
23540 * sysdeps/mips/start.S (__start): Use indirect jump to call
23543 2014-12-02 Joseph Myers <joseph@codesourcery.com>
23545 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23547 * nptl/tst-mutex1.c: Include <stdbool.h>.
23548 [!ATTR] (ATTR_NULL): New macro.
23549 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23550 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23551 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23553 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23557 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23558 Change conditional to [__USE_MISC].
23561 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23563 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23565 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23567 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23569 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23570 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23571 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23572 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23573 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23574 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23575 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23576 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23577 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23579 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23581 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23583 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23584 Remove strpbrk objects.
23585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23586 (__libc_ifunc_impl_list): Remove strpbrk implementation.
23587 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23588 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23589 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23590 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23593 Remove strcspn objects.
23594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23595 (__libc_ifunc_impl_list): Remove strcspn implementation.
23596 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23597 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23598 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23599 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23601 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23602 Remove strspn objetcs.
23603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23604 (__libc_ifunc_impl_list): Remove strspn implementation.
23605 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23606 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23607 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23608 * sysdeps/powerpc/powerpc64/strspn.S: New file.
23610 2014-12-01 James Lemke <jwlemke@codesourcery.com>
23614 (mem2mem_check): Add a terminator to the chain of checking blocks.
23615 (malloc_check_get_size): Use it here.
23616 (mem2chunk_check): Ditto.
23618 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23620 * sysdeps/powerpc/powerpc64/strtok.S: New file.
23621 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23623 2014-11-29 Carlos O'Donell <carlos@redhat.com>
23625 * bits/ioctl-types.h: Indent preprocessor directives correctly.
23627 * nptl/nptl-init.c: Include libc-internal.h.
23628 (__pthread_initialize_minimal_internal): Use ROUND_UP.
23630 * elf/ldconfig.c (search_dir): Expand comment.
23632 2014-11-29 Joseph Myers <joseph@codesourcery.com>
23634 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23636 (linknamespace-symlist-stdlibs-tests): Likewise.
23637 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23638 instead of $(objpfx)symlist-stdlibs.
23639 (linknamespace-libs-isoc): New variable.
23640 (linknamespace-libs): Use $(linknamespace-libs-isoc).
23641 (linknamespace-libs-ISO): New variable.
23642 (linknamespace-libs-ISO99): Likewise.
23643 (linknamespace-libs-ISO11): Likewise.
23644 (linknamespace-libs-XPG3): Likewise.
23645 (linknamespace-libs-XPG4): Likewise.
23646 (linknamespace-libs-POSIX): Likewise.
23647 (linknamespace-libs-UNIX98): Likewise.
23648 (linknamespace-libs-XOPEN2K): Likewise.
23649 (linknamespace-libs-POSIX2008): Likewise.
23650 (linknamespace-libs-XOPEN2K8): Likewise.
23651 ($(objpfx)symlist-stdlibs): Replace by
23652 $(linknamespace-symlist-stdlibs-tests). Use
23653 $(linknamespace-libs-$*) as set of libraries.
23654 ($(linknamespace-header-tests)): Update dependencies. Use
23655 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23656 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23657 * conform/linknamespace.pl: Remove comment about considering
23658 definitions of symbols from irrelevant libraries.
23660 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
23663 * elf/dl-tls.c: Include <atomic.h>.
23664 (oom): Remove #ifdef SHARED/#endif.
23665 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23666 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
23667 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23669 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23670 * nptl/Makefile (tests): Add tst-stack4.
23671 (modules-names): Add tst-stack4mod.
23672 ($(objpfx)tst-stack4): New.
23673 (tst-stack4mod.sos): Likewise.
23674 ($(objpfx)tst-stack4.out): Likewise.
23675 ($(tst-stack4mod.sos)): Likewise.
23677 * nptl/tst-stack4.c: New file.
23678 * nptl/tst-stack4mod.c: Likewise.
23680 2014-11-27 J. Brown <jb999@gmx.de>
23682 * sysdeps/x86/bits/string.h: Add recent CPUs.
23684 2014-11-27 Joseph Myers <joseph@codesourcery.com>
23686 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23689 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23692 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23695 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
23697 * nscd/connections.c: Include libc-internal.h because of macro
23698 usage ignore_value.
23700 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23702 * string/bits/string3.h (__warn_memset_zero_len): Don't
23703 declare for gcc newer than 5.0.
23704 (memset): Don't test for zero-length __LEN for gcc newer than
23707 2014-11-27 Joseph Myers <joseph@codesourcery.com>
23709 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23710 size_t for %zu format.
23712 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23713 difference, not %ju.
23715 2014-11-26 Joseph Myers <joseph@codesourcery.com>
23717 * include/libc-internal.h (ignore_value): New macro.
23718 * nscd/connections.c (restart): Wrap calls to setuid and setgid
23721 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23724 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23725 pthread_cleanup_push to void *.
23727 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23733 instead of 1L << 52.
23735 * libio/bug-rewind.c (do_test): Check fwscanf return values.
23736 * libio/bug-rewind2.c (do_test): Likewise.
23738 * debug/test-stpcpy_chk-ifunc.c: Remove file.
23739 * debug/test-strcpy_chk-ifunc.c: Likewise.
23740 * wcsmbs/test-wcschr-ifunc.c: Likewise.
23741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23746 * Rules [$(multi-arch) = no] (tests): Do not filter out
23748 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23749 * debug/Makefile (tests-ifunc): Remove variable.
23750 (tests): Do not add $(tests-ifunc).
23751 * wcsmbs/Makefile (tests-ifunc): Remove variable.
23752 (tests): Do not add $(tests-ifunc).
23753 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23754 [TEST_IFUNC]: Remove conditionals.
23755 * string/test-string.h (TEST_IFUNC): Remove macro.
23756 [TEST_IFUNC]: Remove conditionals.
23758 * string/test-strchr.c [!WIDE] (L): New macro.
23759 [WIDE] (L): Likewise.
23760 (check1): Use CHAR instead of char. Use L on string and character
23763 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
23765 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23767 * sysdeps/powerpc/bits/atomic.h
23768 (__arch_atomic_exchange_and_add_32_acq): Add definition.
23769 (__arch_atomic_exchange_and_add_32_rel): Likewise.
23770 (atomic_exchange_and_add_acq): Likewise.
23771 (atomic_exchange_and_add_rel): Likewise.
23772 * sysdeps/powerpc/powerpc32/bits/atomic.h
23773 (__arch_atomic_exchange_and_add_64_acq): Add definition.
23774 (__arch_atomic_exchange_and_add_64_rel): Likewise.
23775 * sysdeps/powerpc/powerpc64/bits/atomic.h
23776 (__arch_atomic_exchange_and_add_64_acq): Add definition.
23777 (__arch_atomic_exchange_and_add_64_rel): Likewise.
23779 2014-11-26 Torvald Riegel <triegel@redhat.com>
23781 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23782 Change synchronization of __sched_fifo_min_prio and
23783 __sched_fifo_max_prio.
23784 * nptl/pthread_mutexattr_getprioceiling.c
23785 (pthread_mutexattr_getprioceiling): Likewise.
23786 * nptl/pthread_mutexattr_setprioceiling.c
23787 (pthread_mutexattr_setprioceiling): Likewise.
23788 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23789 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23792 2014-11-26 Joseph Myers <joseph@codesourcery.com>
23794 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23797 2014-11-25 Joseph Myers <joseph@codesourcery.com>
23799 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23800 third argument const.
23802 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
23804 fnmatch: work around GCC compiler warning bug with uninit var
23805 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23806 This works around a bug with x86-64 GCC 4.9.2 and earlier
23807 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23808 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23809 used uninitialized in this function [-Wmaybe-uninitialized]".
23811 2014-11-25 Joseph Myers <joseph@codesourcery.com>
23813 * posix/bug-regex31.c (main): Return RES not 0.
23815 2014-11-25 Anton Blanchard <anton@samba.org>
23817 * sysdeps/powerpc/bits/atomic.h
23818 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23820 2014-11-24 Sterling Augustine <saugustine@google.com>
23822 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23824 2014-11-24 Ryan Cumming <etaoins@gmail.com>
23827 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23829 2014-11-24 Joseph Myers <joseph@codesourcery.com>
23832 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23833 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23835 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23836 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23838 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
23840 * string/strncpy.c (strncpy): Improve performance by using memset.
23842 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
23844 * string/strcpy.c (strcpy):
23845 Improve performance by using strlen and memcpy.
23847 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
23849 * string/strcoll_l.c (get_next_seq): __always_inline.
23850 * string/strcoll_l.c (do_compare): __always_inline.
23852 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23854 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23856 * include/mqueue.h: Likewise.
23857 * include/stdlib.h: Likewise.
23859 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23860 (get_null_defines): Adjust.
23861 * sunrpc/Makefile: Adjust comment.
23862 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23863 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23864 (CFLAGS-interp.c): Likewise.
23865 (CFLAGS-ldconfig.c): Likewise.
23866 (CPPFLAGS-.os): Likewise.
23867 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23868 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23869 * extra-modules.mk (extra-modules.mk): Likewise.
23870 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23871 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23872 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23873 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23874 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23875 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23876 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23877 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23878 * iconvdata/Makefile (CPPFLAGS): Likewise.
23879 (cpp-srcs-left): Add libof for all iconvdata routines.
23880 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23881 * include/assert.h: Likewise.
23882 * include/ctype.h: Likewise.
23883 * include/errno.h: Likewise.
23884 * include/libc-symbols.h: Likewise.
23885 * include/math.h: Likewise.
23886 * include/netdb.h: Likewise.
23887 * include/resolv.h: Likewise.
23888 * include/stdio.h: Likewise.
23889 * include/stdlib.h: Likewise.
23890 * include/string.h: Likewise.
23891 * include/sys/stat.h: Likewise.
23892 * include/wctype.h: Likewise.
23893 * intl/l10nflist.c: Likewise.
23894 * libidn/idn-stub.c: Likewise.
23895 * libio/libioP.h: Likewise.
23896 * nptl/libc_multiple_threads.c: Likewise.
23897 * nptl/pthreadP.h: Likewise.
23898 * posix/regex_internal.h: Likewise.
23899 * resolv/res_hconf.c: Likewise.
23900 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23901 * sysdeps/arm/memmove.S: Likewise.
23902 * sysdeps/arm/sysdep.h: Likewise.
23903 * sysdeps/generic/_itoa.h: Likewise.
23904 * sysdeps/generic/symbol-hacks.h: Likewise.
23905 * sysdeps/gnu/errlist.awk: Likewise.
23906 * sysdeps/gnu/errlist.c: Likewise.
23907 * sysdeps/i386/i586/memcpy.S: Likewise.
23908 * sysdeps/i386/i586/memset.S: Likewise.
23909 * sysdeps/i386/i686/memcpy.S: Likewise.
23910 * sysdeps/i386/i686/memmove.S: Likewise.
23911 * sysdeps/i386/i686/mempcpy.S: Likewise.
23912 * sysdeps/i386/i686/memset.S: Likewise.
23913 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23915 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23919 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23920 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23921 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23923 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23924 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23925 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23926 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23927 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23928 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23929 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23930 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23931 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23932 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23933 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23934 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23935 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23936 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23937 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23939 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23940 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23941 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23942 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23943 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23951 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23957 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23958 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23959 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23960 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23962 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23963 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23964 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23965 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23966 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23967 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23968 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23969 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23970 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23971 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23972 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23973 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23974 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23975 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23976 * sysdeps/nptl/bits/libc-lock.h: Likewise.
23977 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23978 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23979 * sysdeps/posix/closedir.c: Likewise.
23980 * sysdeps/posix/opendir.c: Likewise.
23981 * sysdeps/posix/readdir.c: Likewise.
23982 * sysdeps/posix/rewinddir.c: Likewise.
23983 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23984 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23985 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23986 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23987 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23989 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23995 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23996 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23997 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23998 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24000 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24001 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24002 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24003 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24004 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24005 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24006 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24008 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24010 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24011 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24019 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24020 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24023 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24024 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24025 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24026 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24028 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24029 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24030 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24031 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24032 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24034 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24035 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24037 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24038 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24039 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24040 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24041 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24042 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24043 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24045 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24047 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24048 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24050 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24051 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24052 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24055 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24056 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24057 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24058 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24059 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24060 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24061 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24062 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24063 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24065 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24066 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24067 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24069 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24070 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24071 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24072 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24073 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24074 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24075 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24079 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24081 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24082 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24083 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24084 * sysdeps/unix/alpha/sysdep.S: Likewise.
24085 * sysdeps/unix/alpha/sysdep.h: Likewise.
24086 * sysdeps/unix/make-syscalls.sh: Likewise.
24087 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24088 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24089 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24090 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24091 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24092 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24093 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24094 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24095 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24096 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24097 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24098 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24099 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24100 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24101 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24103 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24104 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24105 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24106 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24107 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24108 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24109 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24110 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24111 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24112 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24113 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24116 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24117 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24120 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24121 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24123 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24124 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24125 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24126 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24127 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24128 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24129 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24130 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24131 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24134 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24137 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24138 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24139 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24140 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24141 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24142 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24143 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24145 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24146 * sysdeps/x86_64/memcpy.S: Likewise.
24147 * sysdeps/x86_64/memmove.c: Likewise.
24148 * sysdeps/x86_64/memset.S: Likewise.
24149 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24151 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24152 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24153 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24154 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24156 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24157 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24158 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24159 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24161 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24162 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24163 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24164 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24166 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24168 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24169 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24170 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24171 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24173 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24174 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24175 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24176 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24177 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24178 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24179 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24180 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24181 * sysdeps/x86_64/strcmp.S: Likewise.
24183 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24185 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24186 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24187 * elf/rtld-Rules: Likewise.
24188 * elf/setup-vdso.h: Likewise.
24189 * include/assert.h: Likewise.
24190 * include/bits/stdlib-float.h: Likewise.
24191 * include/errno.h: Likewise.
24192 * include/sys/stat.h: Likewise.
24193 * include/unistd.h: Likewise.
24194 * sysdeps/aarch64/setjmp.S: Likewise.
24195 * sysdeps/alpha/setjmp.S: Likewise.
24196 * sysdeps/arm/__longjmp.S: Likewise.
24197 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24198 * sysdeps/arm/setjmp.S: Likewise.
24199 * sysdeps/arm/sysdep.h: Likewise.
24200 * sysdeps/generic/_itoa.h: Likewise.
24201 * sysdeps/generic/dl-sysdep.h: Likewise.
24202 * sysdeps/generic/ldsodefs.h: Likewise.
24203 * sysdeps/i386/dl-tls.h: Likewise.
24204 * sysdeps/i386/setjmp.S: Likewise.
24205 * sysdeps/m68k/setjmp.c: Likewise.
24206 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24207 * sysdeps/mach/hurd/opendir.c: Likewise.
24208 * sysdeps/posix/getcwd.c: Likewise.
24209 * sysdeps/posix/opendir.c: Likewise.
24210 * sysdeps/posix/profil.c: Likewise.
24211 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24212 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24213 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24214 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24215 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24216 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24217 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24218 * sysdeps/s390/dl-tls.h: Likewise.
24219 * sysdeps/s390/s390-32/setjmp.S: Likewise.
24220 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24221 * sysdeps/sh/sh3/setjmp.S: Likewise.
24222 * sysdeps/sh/sh4/setjmp.S: Likewise.
24223 * sysdeps/unix/alpha/sysdep.h: Likewise.
24224 * sysdeps/unix/arm/sysdep.S: Likewise.
24225 * sysdeps/unix/i386/sysdep.S: Likewise.
24226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24227 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24228 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24229 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24231 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24232 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24233 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24235 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24236 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24237 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24238 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24241 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24244 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24246 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24249 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24250 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24253 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24254 * sysdeps/x86_64/setjmp.S: Likewise.
24256 * include/math.h: Use IS_IN instead of IS_IN_libm.
24257 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24269 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24277 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24278 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24279 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24280 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24281 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24282 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24284 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24285 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24286 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24287 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24288 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24289 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24300 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24302 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24303 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24304 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24305 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24312 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24313 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24314 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24315 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24316 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24317 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24318 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24319 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24320 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24321 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24323 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24324 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24326 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24328 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24329 * nptl/pthreadP.h: Likewise.
24330 * nptl_db/structs.def: Likewise.
24331 * sysdeps/arm/sysdep.h: Likewise.
24332 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24333 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24334 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24335 * sysdeps/unix/alpha/sysdep.h: Likewise.
24336 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24338 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24339 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24340 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24341 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24342 * sysdeps/unix/sysv/linux/i386/sysdep.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: Likewise.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24353 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24354 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24358 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24359 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24361 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24363 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24364 * nptl/pthreadP.h: Likewise.
24365 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24366 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24367 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24368 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24369 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24370 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24371 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24372 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24373 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24374 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24375 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24376 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24383 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24386 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24387 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24388 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24390 * dlfcn/dladdr.c: Use IS_IN.
24391 * dlfcn/dladdr1.c: Likewise.
24392 * dlfcn/dlclose.c: Likewise.
24393 * dlfcn/dlerror.c: Likewise.
24394 * dlfcn/dlinfo.c: Likewise.
24395 * dlfcn/dlmopen.c: Likewise.
24396 * dlfcn/dlopen.c: Likewise.
24397 * dlfcn/dlsym.c: Likewise.
24398 * dlfcn/dlvsym.c: Likewise.
24400 * include/ifaddrs.h: Use IS_IN.
24401 * inet/check_pf.c: Likewise.
24402 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24403 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24405 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24407 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24408 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24410 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24411 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24414 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24416 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24417 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24418 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24419 * include/libc-symbols.h (IS_IN_LIB): New macro.
24420 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24421 * include/netdb.h: Likewise.
24422 * include/stap-probe.h: Remove all uses of IN_LIB.
24424 * Makeconfig (module-cppflags-real): Define MODULE_NAME
24425 instead of IN_MODULE.
24426 * include/libc-symbols.h (IN_MODULE): Define using
24428 (PASTE_NAME, PASTE_NAME1): New macros.
24429 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24431 (STAP_PROBE_ASM): Likewise.
24433 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
24435 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24436 __mach_init in dlopened libc.
24438 2014-11-22 Mike Frysinger <vapier@gentoo.org>
24440 * sysdeps/arm/preconfigure.ac: Delete EABI check.
24441 * sysdeps/arm/preconfigure: Regenerate.
24443 2014-11-21 Roland McGrath <roland@hack.frob.com>
24445 * nptl/pthread_create.c (__pthread_create_2_1): Set
24446 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24447 when copying values from IATTR into PD.
24449 2014-11-21 Will Newton <will.newton@linaro.org>
24450 Andrew Pinski <andrew.pinski@caviumnetworks.com>
24452 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24453 Refactor inline-asm. Also add comment.
24455 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24456 ElfW macro instead of hardcoded Elf64 types.
24457 (la_aarch64_gnu_pltenter): Likewise.
24458 * sysdeps/aarch64/dl-machine.h
24459 (elf_machine_runtime_setup): Use ElfW(Addr).
24461 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24462 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24463 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24464 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24465 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24466 (R_AARCH64_TLS_DTPMOD64): Rename to ..
24467 (R_AARCH64_TLS_DTPMOD): This.
24468 (R_AARCH64_TLS_DTPREL64): Rename to ...
24469 (R_AARCH64_TLS_DTPREL): This.
24470 (R_AARCH64_TLS_TPREL64): Rename to ...
24471 (R_AARCH64_TLS_TPREL): This.
24472 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24473 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24474 R_AARCH64_TLS_TPREL64.
24475 (elf_machine_rela): Likewise.
24477 2014-11-21 Torvald Riegel <triegel@redhat.com>
24479 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24480 by setting it to 0. 64b atomics are not supported currently.
24482 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24485 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24486 search domain names.
24488 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24492 * resolv/res_query.c (__libc_res_nquerydomain): Retain
24494 * posix/tst-getaddrinfo5.c: New.
24495 * posix/Makefile (tests): Add it.
24497 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24501 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24502 after parsing line but before break_if_match.
24503 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24504 if there is a protocol mismatch.
24506 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24508 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24509 because the potential race is on the user-supplied stream.
24511 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24513 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24514 string literal if not passed a buffer.
24515 * manual/job.texi (ctermid): Update reasoning, note deviation
24516 from posix, suggest mtasurace when not passed a buffer, for
24517 future non-preliminary safety notes.
24519 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24521 * manual/users.texi (cuserid): Fix MT-Safety note for the case
24522 of not passing it a buffer.
24523 Reported by Peng Haitao.
24525 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24527 * manual/Makefile ($(objpfx)stamp-summary): Require
24528 check-safety.sh to pass.
24529 * manual/check-safety.sh: Wish for verification that every
24530 @deftypefn and @deftypefun is followed by a @safety remark.
24532 2014-11-20 Roland McGrath <roland@hack.frob.com>
24534 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24536 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24537 PTHREAD_CANCEL_ASYNCHRONOUS.
24538 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24541 * nptl/default-sched.h: New file.
24542 * sysdeps/unix/sysv/linux/default-sched.h: New file.
24543 * nptl/pthread_create.c: Include it.
24544 (__pthread_create_2_1): Use collect_default_sched instead of making
24545 Linux syscalls here directly.
24547 2014-11-20 Torvald Riegel <triegel@redhat.com>
24549 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24550 __pthread_once): Use C11 atomics.
24552 2014-11-20 Torvald Riegel <triegel@redhat.com>
24554 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24556 2014-11-20 Torvald Riegel <triegel@redhat.com>
24558 * include/atomic.h (__atomic_link_error, __atomic_check_size,
24559 atomic_thread_fence_acquire, atomic_thread_fence_release,
24560 atomic_thread_fence_seq_cst, atomic_load_relaxed,
24561 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24562 atomic_compare_exchange_weak_relaxed,
24563 atomic_compare_exchange_weak_acquire,
24564 atomic_compare_exchange_weak_release,
24565 atomic_exchange_acquire, atomic_exchange_release,
24566 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24567 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24568 atomic_fetch_and_acquire,
24569 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24571 2014-11-20 Torvald Riegel <triegel@redhat.com>
24573 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24574 USE_ATOMIC_COMPILER_BUILTINS): Define.
24575 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24577 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24579 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24580 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24581 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24583 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24585 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24586 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24587 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24589 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24591 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24593 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24594 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24595 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24597 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24599 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24601 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24603 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24605 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24607 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24609 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24610 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24613 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24616 2014-11-19 Roland McGrath <roland@hack.frob.com>
24618 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24619 the sched_priority value here. It was already checked when the user
24620 called pthread_attr_setschedparam.
24622 * nptl/tst-bad-schedattr.c: New file.
24623 * nptl/Makefile (tests): Add it.
24625 2014-11-19 Carlos O'Donell <carlos@redhat.com>
24626 Florian Weimer <fweimer@redhat.com>
24627 Joseph Myers <joseph@codesourcery.com>
24628 Adam Conrad <adconrad@0c3.net>
24629 Andreas Schwab <schwab@suse.de>
24630 Brooks <bmoses@google.com>
24633 * wordexp-test.c (__dso_handle): Add prototype.
24634 (__register_atfork): Likewise.
24635 (__app_register_atfork): New function.
24636 (registered_forks): New global.
24637 (register_fork): New function.
24638 (test_case): Add 3 new tests for WRDE_CMDSUB.
24639 (main): Call __app_register_atfork.
24640 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24641 fork count is non-zero fail the test.
24642 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24644 (parse_dollars): Remove check for WRDE_NOCMD.
24645 (parse_dquote): Likewise.
24647 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24649 * Makeconfig (built-modules): List non-library modules to be
24651 (module-cppflags): Include libc-modules.h for
24652 everything except shlib-versions.v.i.
24653 (CPPFLAGS): Use it.
24654 (before-compile): Add libc-modules.h.
24655 ($(common-objpfx)libc-modules.h,
24656 $(common-objpfx)libc-modules.stmp): New targets.
24657 (common-generated): Add libc-modules.h and libc-modules.stmp.
24658 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24659 * include/libc-symbols.h: Don't include libc-modules.h.
24660 * include/libc-modules.h: Remove file.
24661 * scripts/gen-libc-modules.awk: New script to generate
24663 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24664 Depend on libc-modules.stmp.
24666 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24668 * Makeconfig (in-module): Get value of libof set for the
24670 (CPPFLAGS): Use $(in-module).
24671 * Makerules: Don't suffix routine names for nonlib.
24672 * include/libc-modules.h: New file.
24673 * include/libc-symbols.h: Include libc-modules.h
24674 (IS_IN): New macro to replace IS_IN_* macros.
24675 * elf/Makefile: Set libof-* for each routine.
24676 * elf/rtld-Rules: Likewise.
24677 * extra-modules.mk: Likewise.
24678 * iconv/Makefile: Likewise.
24679 * iconvdata/Makefile: Likewise.
24680 * locale/Makefile: Likewise.
24681 * malloc/Makefile: Likewise.
24682 * nss/Makefile: Likewise.
24683 * sysdeps/gnu/Makefile: Likewise.
24684 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24685 * sysdeps/unix/sysv/linux/Makefile: Likewise.
24686 * sysdeps/s390/s390-64/Makefile: Likewise.
24687 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
24688 CPPFLAGS for nscd instead of nonlib.
24690 2014-11-18 Roland McGrath <roland@hack.frob.com>
24692 * nptl/createthread.c: New file.
24694 * nptl/createthread.c: Moved ...
24695 * sysdeps/unix/sysv/linux/createthread.c: ... here.
24697 * nptl/createthread.c: Add proper top-line comment.
24698 (do_clone): Folded into ...
24699 (create_thread): ... here. Take new arguments STOPPED_START and
24700 THREAD_RAN. Always set PD->stopped_start to something here. Don't
24701 increment __nptl_threads, do event-reporting logic, do
24702 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24703 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
24704 resource cleanup if sched_setaffinity or sched_setscheduler fails,
24705 just send SIGCANCEL.
24706 * nptl/pthread_create.c: Forward-declare create_thread before
24707 including createthread.c.
24708 (start_thread): Use new macro START_THREAD_DEFN to replace defining
24709 declaration, and new macro START_THREAD_SELF to replace argument.
24710 Remove return statement.
24711 (report_thread_creation): New function.
24712 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
24713 synchronization logic, and __nptl_nthreads increment here, around
24714 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
24715 PD->parent_cancelhandling here, before create_thread. When
24716 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24717 __deallocate_stack, and ENOMEM translation here.
24719 2014-11-18 Joseph Myers <joseph@codesourcery.com>
24722 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24723 (mptwo): Rename to __mptwo.
24724 (__inv): Use __mptwo instead of mptwo.
24725 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24726 (mptwo): Rename to __mptwo.
24727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24728 of mpone and __mptwo instead of mptwo.
24729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24732 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24733 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24734 of mpone and __mptwo instead of mptwo.
24735 (__mpranred): Use __mpone instead of mpone.
24736 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24738 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24739 (test-xfail-ISO99/math.h/linknamespace): Likewise.
24740 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24741 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24742 (test-xfail-ISO11/math.h/linknamespace): Likewise.
24743 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24744 (test-xfail-XPG3/math.h/linknamespace): Likewise.
24745 (test-xfail-XPG4/math.h/linknamespace): Likewise.
24746 (test-xfail-POSIX/math.h/linknamespace): Likewise.
24747 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24748 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24749 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24750 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24751 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24752 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24753 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24754 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24755 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24756 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24758 2014-11-18 Tom de Vries <tom@codesoucery.com>
24760 * manual/signal.texi (Primitives Interrupted by Signals): In section,
24761 replace BSD Handler xref with BSD Signal Handling.
24763 2014-11-17 Richard Henderson <rth@redhat.com>
24765 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24766 (_FP_PACK_RAW_2): Remove.
24767 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24768 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24769 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24770 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24771 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24772 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24773 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24774 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24775 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24776 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24777 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24778 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24779 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24780 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24781 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24782 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24784 2014-11-14 Roland McGrath <roland@hack.frob.com>
24786 * signal/signal.h [__USE_MISC]
24787 (struct sigvec): Remove type.
24788 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24789 (sigvec): Remove declaration.
24790 * sysdeps/posix/sigvec.c: Moved ...
24791 * signal/sigvec.c: ... here, replacing old file.
24792 (struct sigvec): New type, copied from old signal.h definition.
24793 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24794 (__sigvec): Convert definition to prototype.
24795 (sigvec): Replace weak_alias with compat_symbol.
24796 * signal/Versions (libc: GLIBC_2.21): New version set.
24797 * include/signal.h: Remove __sigvec declaration.
24798 * sysdeps/unix/bsd/sigvec.c: Remove file.
24799 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24800 * manual/signal.texi (BSD Handler): Remove subsection.
24801 Move siginterrupt up to ...
24802 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
24803 (Blocking in BSD): Fold subsection into its parent.
24804 * NEWS: Mention sigvec removal.
24806 2014-11-14 Joseph Myers <joseph@codesourcery.com>
24808 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24809 (DLA_FMS): Make definition conditional only on [__FMA4__].
24810 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24813 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24814 Make definition conditional only on [PROF].
24815 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24817 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24818 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24820 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24822 * include/signal.h (__sigpause): Move declaration above call to
24824 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24826 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24827 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24829 2014-11-14 David S. Miller <davem@davemloft.net>
24831 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24832 Define before including <string/memcpy.c> and <string/mempcpy.c>.
24834 2014-11-14 Joseph Myers <joseph@codesourcery.com>
24836 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24837 * configure: Regenerated.
24838 * manual/install.texi (Tools for Compilation): Document a
24839 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24840 compiler verified to work.
24841 * INSTALL: Regenerated.
24843 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24844 redeclare with asm name.
24845 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24846 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24847 including <string.h>.
24848 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24849 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24850 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24851 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24852 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24853 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24854 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24856 2014-11-13 Joseph Myers <joseph@codesourcery.com>
24858 * stdlib/strtol.c (__strtol): Use prototype definition.
24861 * stdlib/strtol.c (SYM__): New macro.
24862 (SYM__1): Likewise.
24863 (__strtol): Likewise.
24864 (strtol): Rename to __strtol and define as weak alias of
24865 __strtol. Use libc_hidden_weak.
24867 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24869 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24870 Use numbered labels in inline assembly.
24872 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24874 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24875 Add setjmp LIBC_PROBE.
24876 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24878 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24879 Add longjmp, longjmp_target LIBC_PROBE.
24880 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24883 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24885 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24886 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24887 to get rid of unused variable warning.
24889 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
24891 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24892 Check for unwind_backtrace == NULL only in SHARED case.
24893 (__backchain_backtrace): Compile only in SHARED case.
24894 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24896 (__backchain_backtrace): Declare as static.
24898 2014-11-12 Roland McGrath <roland@hack.frob.com>
24900 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24901 (__libc_multiple_threads_ptr): Variable moved ...
24902 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24904 2014-11-12 Joseph Myers <joseph@codesourcery.com>
24906 * conform/GlibcConform.pm: New file.
24907 * conform/conformtest.pl: Use GlibcConform module.
24908 * conform/linknamespace.pl: New file.
24909 * conform/list-header-symbols.pl: Likewise.
24910 * conform/Makefile (linknamespace-symlists-base): New variable.
24911 (linknamespace-symlists-tests): Likewise.
24912 (linknamespace-header-base): Likewise.
24913 (linknamespace-header-tests): Likewise.
24914 (tests-special): Add new tests.
24915 ($(linknamespace-symlists-tests)): New rule.
24916 (linknamespace-libs): New variable.
24917 ($(objpfx)symlist-stdlibs): New rule.
24918 ($(linknamespace-header-tests)): Likewise.
24919 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24920 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24921 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24922 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24923 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24924 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24925 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24926 (test-xfail-ISO/math.h/linknamespace): Likewise.
24927 (test-xfail-ISO/signal.h/linknamespace): Likewise.
24928 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24929 (test-xfail-ISO/time.h/linknamespace): Likewise.
24930 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24931 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24932 (test-xfail-ISO99/math.h/linknamespace): Likewise.
24933 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24934 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24935 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24936 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24937 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24938 (test-xfail-ISO11/math.h/linknamespace): Likewise.
24939 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24940 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24941 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24942 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24943 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24944 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24945 (test-xfail-XPG3/math.h/linknamespace): Likewise.
24946 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24947 (test-xfail-XPG3/search.h/linknamespace): Likewise.
24948 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24949 (test-xfail-XPG3/time.h/linknamespace): Likewise.
24950 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24951 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24952 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24953 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24954 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24955 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24956 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24957 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24958 (test-xfail-XPG4/math.h/linknamespace): Likewise.
24959 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24960 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24961 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24962 (test-xfail-XPG4/search.h/linknamespace): Likewise.
24963 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24964 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24965 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24966 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24967 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24968 (test-xfail-XPG4/time.h/linknamespace): Likewise.
24969 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24970 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24971 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24972 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24973 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24974 (test-xfail-POSIX/math.h/linknamespace): Likewise.
24975 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24976 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24977 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24978 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24979 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24980 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24981 (test-xfail-POSIX/time.h/linknamespace): Likewise.
24982 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24983 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24984 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24985 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24986 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24987 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24988 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24989 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24990 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24991 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24992 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24993 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24994 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24995 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24996 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24997 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24998 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24999 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25000 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25001 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25002 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25003 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25004 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25005 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25006 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25007 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25008 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25009 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25010 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25011 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25012 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25013 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25014 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25015 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25016 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25017 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25018 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25019 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25020 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25021 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25022 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25023 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25024 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25025 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25026 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25027 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25028 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25029 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25030 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25031 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25032 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25033 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25034 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25035 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25036 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25037 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25038 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25039 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25040 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25041 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25042 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25043 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25044 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25045 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25046 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25047 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25048 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25049 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25050 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25051 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25052 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25053 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25054 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25055 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25056 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25057 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25058 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25059 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25060 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25061 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25062 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25063 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25064 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25065 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25066 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25067 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25068 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25069 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25070 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25071 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25072 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25073 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25074 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25075 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25076 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25077 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25078 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25079 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25082 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25086 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25087 (memmem): Rename to __memmem and define as weak alias of
25088 __memmem. Use libc_hidden_weak.
25089 (__memmem): Use libc_hidden_def.
25090 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
25091 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25095 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25096 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
25097 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25098 and define as weak alias of __fgets_unlocked. Use
25100 (__fgets_unlocked): Use libc_hidden_def.
25101 * include/stdio.h (__fgets_unlocked): Declare. Use
25103 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25104 __fgets_unlocked instead of fgets_unlocked.
25105 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25106 (GET_NPROCS_CONF_PARSER): Likewise.
25107 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25108 (GET_NPROCS_CONF_PARSER): Likewise.
25111 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25112 weak alias of __wmemset. Use libc_hidden_weak.
25113 (__wmemset): Use libc_hidden_def.
25114 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
25115 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25119 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25120 with asm name __mempcpy.
25121 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25124 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25125 and define as weak alias of __rawmemchr.
25126 (__rawmemchr): Do not define as strong alias of rawmemchr.
25129 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25130 alias of __qsort_r.
25131 (qsort): Call __qsort_r instead of qsort_r.
25132 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25133 (__qsort_r): Declare. Call libc_hidden_proto.
25134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25135 instead of qsort_r.
25136 * nscd/gai.c (__qsort_r): Define to qsort_r.
25137 * posix/tst-rfc3484.c (__qsort_r): Likewise.
25138 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25139 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25142 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25143 define as weak alias of __malloc_info.
25146 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25147 as weak alias of __rewinddir. Don't use libc_hidden_def.
25148 (__rewinddir): Use libc_hidden_def.
25149 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25150 as weak alias of __rewinddir. Don't use libc_hidden_def.
25151 (__rewinddir): Use libc_hidden_def.
25152 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25153 weak alias of __rewinddir. Don't use libc_hidden_def.
25154 (__rewinddir): Use libc_hidden_def.
25155 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25156 (__rewinddir): Use libc_hidden_proto.
25157 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25159 (__getcwd): Use __rewinddir instead of rewinddir.
25162 * libio/fileno.c (fileno): Rename to __fileno and define as weak
25163 alias of __fileno. Use libc_hidden_weak.
25164 (__fileno): Use libc_hidden_def.
25165 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25166 * libio/ftello.c (ftello): Rename to __ftello and define as weak
25168 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25170 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25171 (__fread_unlocked): Define as strong alias of _IO_fread. Use
25173 (fread_unlocked): Don't use libc_hidden_ver.
25174 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25175 and define as weak alias of __fread_unlocked. Don't use
25177 (__fread_unlocked): Use libc_hidden_def.
25178 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
25179 (ftello): Don't use libc_hidden_proto.
25180 (__ftello): Declare. Use libc_hidden_proto.
25181 (fread_unlocked): Don't use libc_hidden_proto.
25182 (__fread_unlocked): Declare. Use libc_hidden_proto.
25183 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25184 and __ftello instead of fileno, fread_unlocked and ftello.
25186 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25188 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25192 (_dl_start_user): Likewise.
25193 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25195 2014-11-12 Carlos O'Donell <carlos@redhat.com>
25196 Siddhesh Poyarekar <siddhesh@redhat.com>
25198 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25199 Move argv and envp down instead of moving argc up.
25200 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25202 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
25205 * test-skeleton.c (main): Return successful if one of
25206 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25207 * string/tst-strcoll-overflow.c: Define expected status.
25209 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
25212 * locale/iso-639.def: Define Bhili and Tulu language codes.
25214 2014-11-11 Alan Hayward <alan.hayward@arm.com>
25216 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25218 2014-11-10 Renlin Li <Renlin.Li@arm.com>
25221 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25223 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
25225 * configure.ac: Updated check of minimal required version to
25227 * manual/install.texi (Tools for Compilation): Updated version
25229 * configure: Regenerated.
25230 * INSTALL: Likewise.
25232 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
25234 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25237 2014-11-07 Joseph Myers <joseph@codesourcery.com>
25239 * include/sys/wait.h (__libc_waitpid): Remove declaration.
25240 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25241 (__waitpid): Don't define as alias. Use libc_hidden_def not
25243 (waitpid): Define as alias of __waitpid.
25244 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25246 (__waitpid): Don't define as alias. Use libc_hidden_def not
25248 (waitpid): Define as alias of __waitpid.
25249 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25250 __libc_waitpid alias.
25251 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25252 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25254 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25255 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25256 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25258 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25260 (__waitpid): Don't define as alias. Use libc_hidden_def not
25262 (waitpid): Define as alias of __waitpid.
25264 2014-11-06 Carlos O'Donell <carlos@redhat.com>
25266 * manual/llio.texi: Add comment that write safety has been
25269 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25270 (localplt-build-dso): Add elf/ld.so.
25271 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25272 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25273 and free for ld.so.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25275 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25280 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25281 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25282 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25283 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25284 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25285 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25286 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25287 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25288 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25289 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25292 2014-11-05 Joseph Myers <joseph@codesourcery.com>
25295 * include/libc-symbols.h (INTUSE): Remove macro.
25296 (INTDEF): Likewise.
25297 (INTVARDEF): Likewise.
25298 (_INTVARDEF): Likewise.
25299 (INTDEF2): Likewise.
25300 (INTVARDEF2): Likewise.
25301 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25302 rtld_hidden_def instead of INTVARDEF.
25303 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25304 (_dl_starting_up_internal): Remove declaration.
25305 (_dl_starting_up): Use rtld_hidden_proto.
25306 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25308 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25309 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25311 * elf/dl-writev.h (_dl_writev): Likewise.
25312 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25313 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25314 _dl_starting_up_internal.
25316 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25318 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25321 2014-11-05 Will Newton <will.newton@linaro.org>
25323 * benchtests/Makefile: (bench-malloc): Add malloc thread
25324 scalability benchmark.
25325 * benchtests/bench-malloc-threads.c: New file.
25327 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
25329 * sysdeps/aarch64/strchrnul.S: New file.
25331 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25333 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25335 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25346 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
25348 * catgets/test-gencat.c: Use test-skeleton.c.
25349 * catgets/tst-catgets.c: Likewise.
25350 * csu/tst-empty.c: Likewise.
25351 * elf/tst-audit2.c: Likewise.
25352 * elf/tst-global1.c: Likewise.
25353 * elf/tst-pathopt.c: Likewise.
25354 * elf/tst-piemod1.c: Likewise.
25355 * elf/tst-tls10.c: Likewise.
25356 * elf/tst-tls11.c: Likewise.
25357 * elf/tst-tls12.c: Likewise.
25358 * gnulib/tst-gcc.c: Likewise.
25359 * iconvdata/tst-e2big.c: Likewise.
25360 * iconvdata/tst-loading.c: Likewise.
25361 * iconv/tst-iconv1.c: Likewise.
25362 * iconv/tst-iconv2.c: Likewise.
25363 * inet/test-inet6_opt.c: Likewise.
25364 * inet/tst-gethnm.c: Likewise.
25365 * inet/tst-network.c: Likewise.
25366 * inet/tst-ntoa.c: Likewise.
25367 * intl/tst-codeset.c: Likewise.
25368 * intl/tst-gettext2.c: Likewise.
25369 * intl/tst-gettext3.c: Likewise.
25370 * intl/tst-ngettext.c: Likewise.
25371 * intl/tst-translit.c: Likewise.
25372 * io/test-stat.c: Likewise.
25373 * libio/test-fmemopen.c: Likewise.
25374 * libio/tst-freopen.c: Likewise.
25375 * libio/tst-sscanf.c: Likewise.
25376 * libio/tst-ungetwc1.c: Likewise.
25377 * libio/tst-ungetwc2.c: Likewise.
25378 * libio/tst-widetext.c: Likewise.
25379 * localedata/tst-ctype.c: Likewise.
25380 * localedata/tst-digits.c: Likewise.
25381 * localedata/tst-leaks.c: Likewise.
25382 * localedata/tst-mbswcs1.c: Likewise.
25383 * localedata/tst-mbswcs2.c: Likewise.
25384 * localedata/tst-mbswcs3.c: Likewise.
25385 * localedata/tst-mbswcs4.c: Likewise.
25386 * localedata/tst-mbswcs5.c: Likewise.
25387 * localedata/tst-setlocale.c: Likewise.
25388 * localedata/tst-trans.c: Likewise.
25389 * localedata/tst-wctype.c: Likewise.
25390 * localedata/tst-xlocale1.c: Likewise.
25391 * login/tst-grantpt.c: Likewise.
25392 * malloc/tst-calloc.c: Likewise.
25393 * malloc/tst-malloc.c: Likewise.
25394 * malloc/tst-mallocstate.c: Likewise.
25395 * malloc/tst-mcheck.c: Likewise.
25396 * malloc/tst-mtrace.c: Likewise.
25397 * malloc/tst-obstack.c: Likewise.
25398 * math/atest-exp2.c: Likewise.
25399 * math/atest-exp.c: Likewise.
25400 * math/atest-sincos.c: Likewise.
25401 * math/test-matherr.c: Likewise.
25402 * math/test-misc.c: Likewise.
25403 * math/test-powl.c: Likewise.
25404 * math/tst-definitions.c: Likewise.
25405 * misc/tst-dirname.c: Likewise.
25406 * misc/tst-efgcvt.c: Likewise.
25407 * misc/tst-fdset.c: Likewise.
25408 * misc/tst-hsearch.c: Likewise.
25409 * misc/tst-mntent2.c: Likewise.
25410 * nptl/tst-sem7.c: Likewise.
25411 * nptl/tst-sem8.c: Likewise.
25412 * nptl/tst-sem9.c: Likewise.
25413 * nss/test-netdb.c: Likewise.
25414 * posix/tst-fnmatch.c: Likewise.
25415 * posix/tst-getlogin.c: Likewise.
25416 * posix/tst-gnuglob.c: Likewise.
25417 * posix/tst-mmap.c: Likewise.
25418 * pwd/tst-getpw.c: Likewise.
25419 * resolv/tst-inet_ntop.c: Likewise.
25420 * rt/tst-timer.c: Likewise.
25421 * stdio-common/test-fseek.c: Likewise.
25422 * stdio-common/test-popen.c: Likewise.
25423 * stdio-common/test-vfprintf.c: Likewise.
25424 * stdio-common/tst-cookie.c: Likewise.
25425 * stdio-common/tst-fileno.c: Likewise.
25426 * stdio-common/tst-gets.c: Likewise.
25427 * stdio-common/tst-obprintf.c: Likewise.
25428 * stdio-common/tst-perror.c: Likewise.
25429 * stdio-common/tst-sprintf2.c: Likewise.
25430 * stdio-common/tst-sprintf3.c: Likewise.
25431 * stdio-common/tst-sprintf.c: Likewise.
25432 * stdio-common/tst-swprintf.c: Likewise.
25433 * stdio-common/tst-tmpnam.c: Likewise.
25434 * stdio-common/tst-unbputc.c: Likewise.
25435 * stdio-common/tst-wc-printf.c: Likewise.
25436 * stdlib/tst-environ.c: Likewise.
25437 * stdlib/tst-fmtmsg.c: Likewise.
25438 * stdlib/tst-limits.c: Likewise.
25439 * stdlib/tst-rand48-2.c: Likewise.
25440 * stdlib/tst-rand48.c: Likewise.
25441 * stdlib/tst-random2.c: Likewise.
25442 * stdlib/tst-random.c: Likewise.
25443 * stdlib/tst-strtol.c: Likewise.
25444 * stdlib/tst-strtoll.c: Likewise.
25445 * stdlib/tst-tls-atexit.c: Likewise.
25446 * stdlib/tst-xpg-basename.c: Likewise.
25447 * string/test-ffs.c: Likewise.
25448 * string/tst-bswap.c: Likewise.
25449 * string/tst-inlcall.c: Likewise.
25450 * string/tst-strtok.c: Likewise.
25451 * string/tst-strxfrm.c: Likewise.
25452 * sysdeps/x86_64/tst-audit10.c: Likewise.
25453 * sysdeps/x86_64/tst-audit3.c: Likewise.
25454 * sysdeps/x86_64/tst-audit4.c: Likewise.
25455 * sysdeps/x86_64/tst-audit5.c: Likewise.
25456 * time/tst-ftime_l.c: Likewise.
25457 * time/tst-getdate.c: Likewise.
25458 * time/tst-mktime3.c: Likewise.
25459 * time/tst-mktime.c: Likewise.
25460 * time/tst-posixtz.c: Likewise.
25461 * time/tst-strptime2.c: Likewise.
25462 * time/tst-strptime3.c: Likewise.
25463 * wcsmbs/tst-btowc.c: Likewise.
25464 * wcsmbs/tst-mbrtowc.c: Likewise.
25465 * wcsmbs/tst-mbsrtowcs.c: Likewise.
25466 * wcsmbs/tst-wchar-h.c: Likewise.
25467 * wcsmbs/tst-wcpncpy.c: Likewise.
25468 * wcsmbs/tst-wcrtomb.c: Likewise.
25469 * wcsmbs/tst-wcsnlen.c: Likewise.
25470 * wcsmbs/tst-wcstof.c: Likewise.
25472 2014-11-04 Joseph Myers <joseph@codesourcery.com>
25475 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25477 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25479 (_dl_mcount): Use rtld_hidden_proto.
25480 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25482 * elf/rtld.c (_rtld_global_ro): Likewise.
25485 * elf/dl-init.c (_dl_init): Don't use INTDEF.
25486 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25487 of _dl_init_internal.
25488 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25489 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25490 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25491 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25492 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25493 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25494 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25495 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25496 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25497 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25498 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25499 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25500 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25501 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25502 * sysdeps/tile/dl-start.S (_start): Likewise.
25503 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25504 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25507 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25508 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25509 (rtld_progname): Make macro definition unconditional.
25510 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25512 (dlmopen_doit): Do not use INTUSE with _dl_argv.
25513 (dl_main): Likewise.
25514 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25515 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25516 instead of _dl_argv_internal.
25517 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25518 __GI__dl_argv instead of INTUSE(_dl_argv).
25519 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25520 __GI__dl_argv instead of _dl_argv_internal.
25522 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25523 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25525 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25526 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25528 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25529 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25531 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25532 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25534 2014-11-04 Andreas Schwab <schwab@suse.de>
25536 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25538 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25540 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25541 mtvsrd instruction in binary form.
25543 2014-11-03 Andreas Schwab <schwab@suse.de>
25546 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25547 for less than MB_LEN_MAX use a local buffer of that size.
25548 * libio/tst-fputws.c: New file.
25549 * libio/Makefile (tests): Add tst-fputws.
25551 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
25553 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25554 the size of the fpu_fr.fpu_dregs[] array.
25556 2014-11-01 Joseph Myers <joseph@codesourcery.com>
25558 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25559 (__nanosleep): Do not define as alias.
25560 (nanosleep): Define as alias of __nanosleep.
25561 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25562 __libc_nanosleep name.
25564 2014-10-31 Joseph Myers <joseph@codesourcery.com>
25566 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25567 install.texi in comment.
25569 2014-10-31 Torvald Riegel <triegel@redhat.com>
25571 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25572 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25573 ... add here and use lwsync or sync ...
25574 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25575 ... and add here using lwsync.
25577 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
25579 * elf/dl-machine-reject-phdr.h: New file.
25580 * elf/dl-load.c: #include that.
25581 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25582 if that returned true.
25584 2014-10-31 Roland McGrath <roland@hack.frob.com>
25587 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25588 gen-as-const-headers chunk. Add a big scare comment after the last
25589 safe place to touch before-compile.
25591 2014-10-31 Joseph Myers <joseph@codesourcery.com>
25593 * manual/install.texi (Tools for Compilation): Update autoconf
25594 version requirements.
25595 * INSTALL: Regenerated.
25597 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25598 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25599 (__libc_pselect): Likewise.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25607 2014-10-31 Torvald Riegel <triegel@redhat.com>
25609 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25610 correct barrier instruction.
25611 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25613 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25616 2014-10-30 Roland McGrath <roland@hack.frob.com>
25618 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25619 after defining inlines. Instead, just use parens to defeat macro
25620 expansion of __isctype in its declaration.
25622 2014-10-30 Joseph Myers <joseph@codesourcery.com>
25624 * include/sys/uio.h (__libc_readv): Remove declaration.
25625 (__libc_writev): Likewise.
25626 * misc/readv.c (__libc_readv): Rename to __readv.
25627 (__readv): Do not define as alias.
25628 (readv): Define as alias of __readv.
25629 * misc/writev.c (__libc_writev): Rename to __writev.
25630 (__writev): Do not define as alias.
25631 (writev): Define as alias of __writev.
25632 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25633 (__readv): Do not define as alias.
25634 (readv): Define unconditionally as alias of __readv.
25635 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25636 (__writev): Do not define as alias.
25637 (writev): Define unconditionally as alias of __writev.
25638 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25640 (writev): Do not define __libc_writev name.
25642 2014-10-30 Roland McGrath <roland@hack.frob.com>
25644 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25645 (convert_charseq): New function, broken out of ...
25646 (use_from_charmap): ... here. Call it.
25647 (use_to_charmap): Use convert_charseq and free instead of duplicating
25648 its code with a variable-length stack struct.
25650 2014-10-30 Joseph Myers <joseph@codesourcery.com>
25652 * include/fcntl.h (__libc_creat): Remove declaration.
25653 * io/creat.c (__libc_creat): Rename to creat.
25654 (creat): Do not define as alias.
25655 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25656 of creat instead of __libc_creat.
25657 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25659 (creat): Do not define as alias.
25660 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25662 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25667 2014-10-29 Carlos O'Donell <carlos@redhat.com>
25669 * manual/llio.texi: Add comments discussing why write() may be
25670 considered MT-unsafe on Linux.
25672 2014-10-28 Carlos O'Donell <carlos@redhat.com>
25674 * dl-load.c (local_strdup): Remove.
25675 (expand_dynamic_string_token): Use __strdup.
25676 (decompose_rpath): Likewise.
25677 (_dl_map_object): Likewise.
25679 2014-10-28 Joseph Myers <joseph@codesourcery.com>
25682 * sysdeps/generic/unwind-dw2-fde.c
25683 (__register_frame_info_bases_internal): Do not declare.
25684 (__register_frame_info_table_bases_internal): Likewise.
25685 (__deregister_frame_info_bases_internal): Likewise.
25686 (__register_frame_info_bases): Declare and use hidden_proto before
25687 definition. Use hidden_def instead of INTDEF.
25688 (__register_frame_info_table_bases): Likewise.
25689 (__deregister_frame_info_bases): Likewise.
25690 (__register_frame_info): Do not use INTUSE.
25691 (__register_frame): Likewise.
25692 (__register_frame_info_table): Likewise.
25693 (__register_frame_table): Likewise.
25694 (__deregister_frame_info): Likewise.
25695 (__deregister_frame): Likewise.
25697 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
25699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25700 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25702 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25704 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25707 2014-10-27 Joseph Myers <joseph@codesourcery.com>
25710 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25711 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25712 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25713 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25714 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25715 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25716 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25717 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25718 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25719 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25720 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25721 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25722 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25724 (setfsuid): Likewise.
25725 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25726 (setfsuid): Likewise.
25727 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25728 (setfsuid): Likewise.
25729 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25731 (setfsuid): Likewise.
25732 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25733 (setfsuid): Likewise.
25734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25736 (setfsuid): Likewise.
25738 2014-10-27 Andreas Schwab <schwab@suse.de>
25741 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25742 check for Slow_SSE4_2 feature bit.
25743 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25744 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25745 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25746 Likewise. Fix check for Fast_Unaligned_Load feature bit.
25748 2014-10-24 Roland McGrath <roland@hack.frob.com>
25750 * configure.ac: Validate compiler version with a empirical test of
25751 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25753 * configure: Regenerated.
25755 * inet/htons.c (htons): Prototypify.
25756 * inet/htonl.c (htonl): Likewise.
25758 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25760 * string/strncat.c (strncat): Improve performance by using strlen.
25762 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25764 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25766 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25768 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25769 Call libc_fetestexcept_aarch64.
25771 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25773 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25774 Call libc_feholdexcept_aarch64.
25776 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25778 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25779 Call get_rounding_mode.
25781 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25783 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25786 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
25788 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25791 2014-10-24 Joseph Myers <joseph@codesourcery.com>
25794 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25795 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25796 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25797 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25798 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25799 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25800 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25801 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25802 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25803 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25804 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25806 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25807 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25808 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25809 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25810 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25811 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25812 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25813 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25814 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25815 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25816 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25817 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25818 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25819 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25820 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25821 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25822 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25823 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25824 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25825 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25826 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25827 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25828 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25829 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25830 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25831 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25832 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25834 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25836 (geteuid): Likewise.
25837 (getgid): Likewise.
25838 (getuid): Likewise.
25839 (getresgid): Likewise.
25840 (getresuid): Likewise.
25841 (getgroups): Likewise.
25842 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25843 (geteuid): Likewise.
25844 (getgid): Likewise.
25845 (getuid): Likewise.
25846 (getresgid): Likewise.
25847 (getresuid): Likewise.
25848 (getgroups): Likewise.
25849 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25850 (geteuid): Likewise.
25851 (getgid): Likewise.
25852 (getuid): Likewise.
25853 (getresgid): Likewise.
25854 (getresuid): Likewise.
25855 (getgroups): Likewise.
25856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25858 (geteuid): Likewise.
25859 (getgid): Likewise.
25860 (getuid): Likewise.
25861 (getresgid): Likewise.
25862 (getresuid): Likewise.
25863 (getgroups): Likewise.
25864 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25865 (geteuid): Likewise.
25866 (getgid): Likewise.
25867 (getuid): Likewise.
25868 (getresgid): Likewise.
25869 (getresuid): Likewise.
25870 (getgroups): Likewise.
25871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25873 (geteuid): Likewise.
25874 (getgid): Likewise.
25875 (getuid): Likewise.
25876 (getgroups): Likewise.
25879 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25880 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25881 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25883 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25884 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25885 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25886 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25887 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25888 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25889 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25890 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25891 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25893 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25894 (lchown): Likewise.
25895 (fchown): Likewise.
25896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25898 (lchown): Likewise.
25899 (fchown): Likewise.
25900 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25901 (lchown): Likewise.
25902 (fchown): Likewise.
25903 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25905 (lchown): Likewise.
25906 (fchown): Likewise.
25908 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25910 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25913 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25915 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25918 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25920 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25921 Remove unused include.
25923 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25925 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25927 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25928 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25930 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
25931 Helge Deller <deller@gmx.de>
25934 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25935 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25936 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25938 2014-10-23 Joseph Myers <joseph@codesourcery.com>
25941 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25942 Remove macro definition.
25943 (__ashrdi3_v_glibc20): Likewise.
25944 (__lshrdi3_v_glibc20): Likewise.
25945 (__cmpdi2_v_glibc20): Likewise.
25946 (__ucmpdi2_v_glibc20): Likewise.
25947 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25948 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25949 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25950 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25951 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25952 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25954 2014-10-22 Roland McGrath <roland@hack.frob.com>
25956 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25957 old GNU extension [0] syntax.
25958 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25959 alloca rather than an array member with variable length.
25960 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25961 * nscd/nscd.c (invalidate_db): New function, broken out of ...
25962 (parse_opt): ... here. Likewise use alloca there.
25963 Validate the -i argument before checking for rootness.
25964 (send_shutdown): New function, broken out of ...
25965 (parse_opt): ... here.
25967 2014-10-22 Roland McGrath <roland@hack.frob.com>
25969 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25970 macro to get at the _rt_local_ro field.
25971 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25972 ([PIC] case) or _dl_hwcap ([!PIC] case).
25973 * sysdeps/arm/setjmp.S: Likewise.
25975 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25976 * sysdeps/arm/configure.ac: New check to define it.
25977 * sysdeps/arm/configure: Regenerated.
25978 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25979 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25980 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25981 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25982 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25983 Use move/movt pair instead of a load.
25984 (LDST_GLOBAL): Macro removed.
25985 (LDR_GLOBAL): New macro replaces it.
25986 (LDR_HIDDEN): New macro.
25987 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25988 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25990 * setjmp/tst-setjmp-static.c: New file.
25991 * setjmp/Makefile (tests): Add it.
25992 (tests-static): New variable.
25994 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
25997 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25999 2014-10-21 Joseph Myers <joseph@codesourcery.com>
26002 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26004 2014-10-21 Roland McGrath <roland@hack.frob.com>
26006 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26008 2014-10-20 Roland McGrath <roland@hack.frob.com>
26010 * io/fts.c (dirent_not_directory): New function.
26011 (fts_build): Call it.
26013 2014-10-20 Roland McGrath <roland@hack.frob.com>
26015 * nptl/version.c (__nptl_main): Use normal __write rather than
26017 (banner): Update copyright years.
26019 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26021 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26022 * nptl/pthread_cond_timedwait.c: Likewise.
26023 * nptl/pthread_mutex_timedlock.c: Likewise.
26024 * nptl/sem_timedwait.c: Likewise.
26026 * sysdeps/nptl/bits/libc-lock.h
26027 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26028 (__libc_lock_init_recursive): Return void, not 0.
26029 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26030 (__libc_rwlock_init): Likewise.
26031 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26033 2014-10-20 Torvald Riegel <triegel@redhat.com>
26036 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26037 (__pthread_once_slow): ... here.
26038 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26039 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26041 2014-10-20 Torvald Riegel <triegel@redhat.com>
26044 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26045 __PTHREAD_ONCE_FORK_GEN_INCR): New.
26046 * sysdeps/nptl/fork.c (__libc_fork): Use them.
26047 * nptl/pthread_once.c (__pthread_once): Likewise.
26050 2014-10-20 Joseph Myers <joseph@codesourcery.com>
26053 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26055 (writev): Use __libc_writev as strong name.
26056 * sysdeps/unix/sysv/linux/readv.c: Remove file.
26057 * sysdeps/unix/sysv/linux/writev.c: Likewise.
26059 2014-10-17 Roland McGrath <roland@hack.frob.com>
26061 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26063 * sysdeps/i386/nptl/tls.h
26064 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26065 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26067 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26068 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26069 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26070 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26071 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26072 Call CHECK_THREAD_SYSINFO instead of doing an assert.
26074 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26075 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26077 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26079 (__pthread_mutex_init): ... here. Call it.
26080 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26081 Conditionalize PI cases on [__NR_futex].
26082 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26083 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26084 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26086 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26087 conditional on [SIGSETXID].
26088 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26089 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26090 is defined. Likewise for SIGSETXID.
26091 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26092 Conditionalize definitions on [SIGSETXID].
26093 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26094 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26095 unblocking on [SIGCANCEL].
26097 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26098 [__NR_set_robust_list].
26100 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26102 * string/strcoll_l.c (get_next_seq): Fix up formatting.
26103 (do_compare): Likewise.
26105 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
26108 * string/strcoll_l.c: Don't include stdio.h.
26109 (coll_seq): Remove members idxarr and rulearr.
26110 (get_next_seq_cached): Remove function.
26111 (get_next_seq): Likewise.
26112 (get_next_seq_nocache): Rename to get_next_seq.
26113 (do_compare): Remove function.
26114 (do_compare_nocache): Rename to do_compare.
26115 (STRCOLL): Remove weight and rules cache.
26117 2014-10-16 Roland McGrath <roland@hack.frob.com>
26119 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26120 * sysdeps/arm/sfp-machine.h: ... to here.
26121 * sysdeps/arm/Implies: Remove arm/soft-fp.
26123 2014-10-14 Joseph Myers <joseph@codesourcery.com>
26125 * conform/data/sys/utsname.h-data (*_t): Allow.
26126 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26127 [POSIX] (WEXITED): Do not expect constant.
26128 [POSIX] (WSTOPPED): Likewise.
26129 [POSIX] (WNOHANG): Likewise.
26130 [POSIX] (WNOWAIT): Likewise.
26131 [POSIX] (siginfo_t): Do not expect type or elements.
26132 [POSIX] (pid_t): Do not expect type.
26133 [POSIX] (signal.h): Do not allow header.
26134 [POSIX] (sys/resource.h): Likewise.
26135 [POSIX] (si_*): Do not allow pattern.
26136 [POSIX] (W*): Likewise.
26137 [POSIX] (P_*): Likewise.
26138 [POSIX] (BUS_*): Likewise.
26139 [POSIX] (CLD_*): Likewise.
26140 [POSIX] (FPE_*): Likewise.
26141 [POSIX] (ILL_*): Likewise.
26142 [POSIX] (POLL_*): Likewise.
26143 [POSIX] (SEGV_*): Likewise.
26144 [POSIX] (SI_*): Likewise.
26145 [POSIX] (TRAP_*): Likewise.
26146 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26149 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
26152 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26153 infinite loop when __recvmsg returns 0.
26155 2014-10-10 Joseph Myers <joseph@codesourcery.com>
26157 * CANCEL-FCT-WAIVE: Remove file.
26158 * CANCEL-FILE-WAIVE: Likewise.
26161 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26162 instead of INTVARDEF.
26163 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26164 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26165 rtld_hidden_data_def instead of INTVARDEF.
26166 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26167 * elf/dl-deps.c (expand_dst): Likewise.
26168 * elf/dl-load.c (_dl_dst_count): Likewise.
26169 (_dl_dst_substitute): Likewise.
26170 (decompose_rpath): Likewise.
26171 (_dl_init_paths): Likewise.
26172 (open_path): Likewise.
26173 (_dl_map_object): Likewise.
26174 * elf/rtld.c (dl_main): Likewise.
26175 (process_dl_audit): Likewise.
26176 (process_envvars): Likewise.
26177 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26178 Remove declaration.
26179 (__libc_enable_secure): Use rtld_hidden_proto.
26181 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26184 (add_path): New function broken out of _dl_rtld_di_serinfo.
26185 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
26187 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26189 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26190 parentheses around macro arguments.
26191 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26193 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26195 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26196 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26197 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26200 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26201 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26202 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26203 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26204 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26205 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26206 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26207 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26209 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26211 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26215 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26218 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26219 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26220 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26221 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26222 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26223 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26224 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26225 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26226 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26229 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26230 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26231 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26234 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26235 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26236 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26237 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26238 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26239 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26240 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26249 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26250 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26251 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26252 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26253 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26254 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26255 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26256 (_FP_FRAC_SRS_1): Likewise.
26257 (_FP_FRAC_CLZ_1): Likewise.
26258 (_FP_MUL_MEAT_1_imm): Likewise.
26259 (_FP_MUL_MEAT_1_wide): Likewise.
26260 (_FP_MUL_MEAT_1_hard): Likewise.
26261 (_FP_SQRT_MEAT_1): Likewise.
26262 (_FP_FRAC_ASSEMBLE_1): Likewise.
26263 (_FP_FRAC_DISASSEMBLE_1): Likewise.
26264 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26265 (__FP_CLZ_2): Likewise.
26266 (_FP_MUL_MEAT_2_wide): Likewise.
26267 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26268 (_FP_MUL_MEAT_2_gmp): Likewise.
26269 (_FP_MUL_MEAT_2_120_240_double): Likewise.
26270 (_FP_SQRT_MEAT_2): Likewise.
26271 (_FP_FRAC_ASSEMBLE_2): Likewise.
26272 (_FP_FRAC_DISASSEMBLE_2): Likewise.
26273 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26274 (_FP_FRAC_CLZ_4): Likewise.
26275 (_FP_MUL_MEAT_4_wide): Likewise.
26276 (_FP_MUL_MEAT_4_gmp): Likewise.
26277 (_FP_SQRT_MEAT_4): Likewise.
26278 (_FP_FRAC_ASSEMBLE_4): Likewise.
26279 (_FP_FRAC_DISASSEMBLE_4): Likewise.
26280 * soft-fp/op-common.h (_FP_CMP): Likewise.
26281 (_FP_CMP_EQ): Likewise.
26282 (_FP_CMP_UNORD): Likewise.
26283 (_FP_TO_INT): Likewise.
26284 (_FP_FROM_INT): Likewise.
26285 [!__FP_CLZ] (__FP_CLZ): Likewise.
26286 (_FP_DIV_HELP_imm): Likewise.
26287 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26292 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26300 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26301 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26302 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26303 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26304 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26305 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26306 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26307 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26318 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26321 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26322 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26323 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26324 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26325 (FP_UNPACK_RAW_SP): Likewise.
26326 (FP_PACK_RAW_S): Likewise.
26327 (FP_PACK_RAW_SP): Likewise.
26328 (FP_UNPACK_S): Likewise.
26329 (FP_UNPACK_SP): Likewise.
26330 (FP_UNPACK_SEMIRAW_S): Likewise.
26331 (FP_UNPACK_SEMIRAW_SP): Likewise.
26332 (FP_PACK_S): Likewise.
26333 (FP_PACK_SP): Likewise.
26334 (FP_PACK_SEMIRAW_S): Likewise.
26335 (FP_PACK_SEMIRAW_SP): Likewise.
26336 (_FP_SQRT_MEAT_S): Likewise.
26337 (FP_CMP_S): Likewise.
26338 (FP_CMP_EQ_S): Likewise.
26339 (FP_CMP_UNORD_S): Likewise.
26340 (FP_TO_INT_S): Likewise.
26341 (FP_FROM_INT_S): Likewise.
26343 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26345 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26346 (FP_EX_INVALID_IMZ): Likewise.
26347 (FP_EX_INVALID_IMZ_FMA): Likewise.
26348 (FP_EX_INVALID_ISI): Likewise.
26349 (FP_EX_INVALID_ZDZ): Likewise.
26350 (FP_EX_INVALID_IDI): Likewise.
26351 (FP_EX_INVALID_SQRT): Likewise.
26352 (FP_EX_INVALID_CVI): Likewise.
26353 (FP_EX_INVALID_VC): Likewise.
26354 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26355 "invalid" exceptions.
26356 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26357 (_FP_ADD_INTERNAL): Likewise.
26358 (_FP_MUL): Likewise.
26359 (_FP_FMA): Likewise.
26360 (_FP_DIV): Likewise.
26361 (_FP_CMP_CHECK_NAN): Likewise.
26362 (_FP_SQRT): Likewise.
26363 (_FP_TO_INT): Likewise.
26364 (FP_EXTEND): Likewise.
26366 2014-10-09 Allan McRae <allan@archlinux.org>
26368 * po/fr.po: Update French translation from translation project.
26370 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26373 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26375 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26376 (__cxa_atexit): Use libc_hidden_proto.
26377 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26380 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26382 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26383 [!_ISOMAC] (__iswspace_l_internal): Likewise.
26384 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26385 [!_ISOMAC] (__iswctype_internal): Likewise.
26386 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26387 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26389 (fcntl): Remove __fcntl_internal alias.
26390 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26391 __connect_internal alias.
26392 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26395 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26396 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26398 (_FP_CHECK_FLUSH_ZERO): New macro.
26399 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26400 (_FP_CMP): Likewise.
26401 (_FP_CMP_EQ): Likewise.
26402 (_FP_TO_INT): Do not set inexact for subnormal arguments if
26404 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26405 (FP_TRUNC): Likewise.
26407 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26408 treated as invalid conversion, not as normal exponent.
26410 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26411 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
26412 (_FP_CMP_EQ): Likewise.
26413 (_FP_CMP_UNORD): Likewise.
26414 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26415 (FP_CMP_EQ_D): Likewise.
26416 (FP_CMP_UNORD_D): Likewise.
26417 * soft-fp/extended.h (FP_CMP_E): Likewise.
26418 (FP_CMP_EQ_E): Likewise.
26419 (FP_CMP_UNORD_E): Likewise.
26420 * soft-fp/quad.h (FP_CMP_Q): Likewise.
26421 (FP_CMP_EQ_Q): Likewise.
26422 (FP_CMP_UNORD_Q): Likewise.
26423 * soft-fp/single.h (FP_CMP_S): Likewise.
26424 (FP_CMP_EQ_S): Likewise.
26425 (FP_CMP_UNORD_S): Likewise.
26426 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26427 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26428 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26429 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26430 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26431 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26432 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26433 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26434 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26435 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26436 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26437 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26438 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26440 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26442 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26443 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26445 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26447 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26448 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26449 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26450 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26452 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26454 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26455 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26457 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26459 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26460 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26461 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26462 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26465 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26466 a subnormal result, set the underflow exception if trapping on
26467 underflow is enabled.
26468 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26469 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26470 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26472 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26473 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26474 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26475 * soft-fp/extendxftf2.c (__extendxftf2): Use
26476 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26478 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26479 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26480 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26481 FP_HANDLE_EXCEPTIONS.
26482 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26483 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26484 FP_HANDLE_EXCEPTIONS.
26485 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26486 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26487 FP_HANDLE_EXCEPTIONS.
26488 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26489 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26490 FP_HANDLE_EXCEPTIONS.
26492 2014-10-08 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26496 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26498 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26499 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26501 (__adjtimex): Define using libc_hidden_ver.
26502 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26503 Remove declaration.
26504 (ntp_gettime): Call __adjtimex directly.
26505 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26506 Remove declaration.
26507 (ntp_gettimex): Call __adjtimex directly.
26508 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26509 __adjtimex_internal alias.
26511 2014-10-08 Roland McGrath <roland@hack.frob.com>
26514 * nscd/nscd.c (more_help): Rewrite list of tables collection
26515 using xstrdup and asprintf.
26517 * nscd/nscd_conf.c: Remove local xstrdup declaration.
26519 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26520 Roland McGrath <roland@hack.frob.com>
26522 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26523 (do_lookup_unique): ... local function 'enter' here; update callers.
26525 2014-10-06 Joseph Myers <joseph@codesourcery.com>
26527 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26528 compat_symbol calls on [SHARED].
26529 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26530 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26532 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26533 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26534 (oldsetrlimit): Remove.
26535 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26537 (lchown): New syscall entry.
26538 (oldsetrlimit): Remove.
26539 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26540 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26541 (oldsetrlimit): Remove.
26542 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26545 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26546 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26547 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26548 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26550 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26551 (fchown): Likewise.
26552 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26553 (fchown): Likewise.
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26557 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26559 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26560 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26561 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26562 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26563 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26565 (__old_sem_post): Likewise.
26567 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
26569 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26570 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26571 HAVE_CLOCK_GETTIME_VSYSCALL macros.
26572 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26573 Use INLINE_VSYSCALL macro.
26574 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26575 __vdso_clock_gettime.
26576 * sysdeps/unix/sysv/linux/tile/init-first.c
26577 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26578 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26579 __vdso_clock_gettime.
26581 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26582 to set up frame more cleanly.
26584 * sysdeps/tile/memcmp.c: New file.
26586 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26588 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26589 * sysdeps/tile/tilegx/strcasestr.c: New file.
26590 * sysdeps/tile/tilegx/strnlen.c: New file.
26591 * sysdeps/tile/tilegx/strstr.c: New file.
26593 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26595 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
26597 * nptl/tst-setuid3.c: Write errors to stdout.
26599 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26602 (preload): New functions broken out of _dl_map_object_deps.
26603 (_dl_map_object_deps): Remove a nested function. Update call sites.
26605 2014-10-01 Joseph Myers <joseph@codesourcery.com>
26608 * sysdeps/unix/sysv/linux/execve.c: Remove file.
26609 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26611 2014-10-01 Steve Ellcey <sellcey@mips.com>
26613 * sysdeps/mips/strcmp.S: New.
26615 2014-09-30 Joseph Myers <joseph@codesourcery.com>
26618 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26619 (linkat): Likewise.
26620 (mkdirat): Likewise.
26621 (readlinkat): Likewise.
26622 (renameat): Likewise.
26623 (symlinkat): Likewise.
26624 (unlinkat): Likewise.
26625 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26626 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26627 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26628 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26629 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26630 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26631 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26633 2014-09-30 Will Newton <will.newton@linaro.org>
26635 * math/math.h: Define long double math functions if
26636 _LIBC_TEST is defined.
26637 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26639 * localedata/Makefile: Move assignment to tests-special
26640 into an ifdef testing run-built-tests.
26641 * timezone/Makefile: Likewise.
26643 2014-09-29 Joseph Myers <joseph@codesourcery.com>
26645 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26646 with $(BASH) not $(SHELL).
26648 2014-09-29 Carlos O'Donell <carlos@redhat.com>
26649 Matthew LeGendre <legendre1@llnl.gov>
26652 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26655 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26657 * stdio-common/printf_fp.c
26658 (hack_digit): New function, broken out of ...
26659 (__printf_fp): ... local function here. Update call sites.
26660 hack_digit now takes an additional parameter that is a pointer
26661 to a struct of the referenced locals. Those locals moved inside
26662 the struct and references updated.
26664 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
26666 * aclocal.m4: Require autoconf 2.69.
26667 * configure: Regenerated.
26668 * sysdeps/aarch64/configure: Likewise.
26669 * sysdeps/alpha/configure: Likewise.
26670 * sysdeps/arm/armv7/configure: Likewise.
26671 * sysdeps/arm/configure: Likewise.
26672 * sysdeps/ia64/configure: Likewise.
26673 * sysdeps/mach/configure: Likewise.
26674 * sysdeps/mips/configure: Likewise.
26675 * sysdeps/s390/configure: Likewise.
26676 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26679 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26681 * sysdeps/ia64/configure.ac: Likewise.
26683 2014-09-26 Joseph Myers <joseph@codesourcery.com>
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26686 specify symbol version for ld.so. Do not include entry for
26688 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26689 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26690 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26693 * Makeconfig [$(build-shared) = yes]
26694 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26696 [$(build-shared) = yes && $(soversions.mk-done) = t]
26697 ($(common-objpfx)gnu/lib-names.h): Remove rule.
26698 [$(build-shared) = yes && $(soversions.mk-done) = t]
26699 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
26701 [$(build-shared) = yes && $(soversions.mk-done) = t]
26702 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26704 [$(build-shared) = yes && $(soversions.mk-done) = t]
26705 (common-generated): Don't append gnu/lib-names.h and
26706 gnu/lib-names.stmp here.
26707 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26708 (lib-names-h-abi): New variable.
26709 [$(build-shared) = yes && $(soversions.mk-done) = t]
26710 (lib-names-stmp-abi): Likewise.
26711 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26712 abi-variants] (before-compile): Append
26713 $(common-objpfx)$(lib-names-h-abi).
26714 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26715 abi-variants] (common-generated): Append gnu/lib-names.h.
26716 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26717 abi-variants] (install-others-nosubdir): Depend on
26718 $(inst_includedir)/$(lib-names-h-abi).
26719 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26720 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26721 [$(build-shared) = yes && $(soversions.mk-done) = t]
26722 ($(common-objpfx)$(lib-names-h-abi)): New rule.
26723 [$(build-shared) = yes && $(soversions.mk-done) = t]
26724 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26725 [$(build-shared) = yes && $(soversions.mk-done) = t]
26726 (common-generated): Append $(lib-names-h-abi) and
26727 $(lib-names-stmp-abi).
26728 * scripts/lib-names.awk: Do not handle multi being set.
26729 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26731 (abi-lp64_be-ld-soname): Likewise.
26732 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26734 (abi-hard-ld-soname): Likewise.
26735 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26736 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26738 (abi-o32_hard-ld-soname): Likewise.
26739 (abi-o32_soft_2008-ld-soname): Likewise.
26740 (abi-o32_hard_2008-ld-soname): Likewise.
26741 (abi-n32_soft-ld-soname): Likewise.
26742 (abi-n32_hard-ld-soname): Likewise.
26743 (abi-n32_soft_2008-ld-soname): Likewise.
26744 (abi-n32_hard_2008-ld-soname): Likewise.
26745 (abi-n64_soft-ld-soname): Likewise.
26746 (abi-n64_hard-ld-soname): Likewise.
26747 (abi-n64_soft_2008-ld-soname): Likewise.
26748 (abi-n64_hard_2008-ld-soname): Likewise.
26749 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26751 (abi-64-v2-ld-soname): Likewise.
26752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26754 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26756 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26758 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26760 (abi-64-ld-soname): Likewise.
26761 (abi-x32-ld-soname): Likewise.
26762 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26764 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26766 2014-09-23 Joseph Myers <joseph@codesourcery.com>
26769 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26770 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26771 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26772 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26773 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26774 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26775 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26776 syscall entry for GLIBC_2.2 symbol version.
26777 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26780 (setrlimit): Likewise.
26781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26784 2014-09-23 Will Newton <will.newton@linaro.org>
26786 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26787 _LINUX_ARM_SYSDEP_H include guard too.
26788 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26791 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
26793 * sysdeps/unix/sysv/linux/eventfd.c:
26794 Make first argument unsigned.
26795 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26796 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26798 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
26801 * socket/recvmmsg.c (recvmmsg): Drop const argument.
26802 * socket/sys/socket.h: Likewise.
26803 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26805 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26807 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26809 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
26811 * time/tst-ftime.c: New test.
26812 * time/Makefile (tests): Add tst-ftime.
26814 2014-09-17 Joseph Myers <joseph@codesourcery.com>
26816 * soft-fp/extended.h: Fix comment formatting.
26817 * soft-fp/op-1.h: Likewise.
26818 * soft-fp/op-2.h: Likewise.
26819 * soft-fp/op-4.h: Likewise.
26820 * soft-fp/op-8.h: Likewise.
26821 * soft-fp/op-common.h: Likewise.
26822 * soft-fp/soft-fp.h: Likewise.
26824 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26826 2014-09-16 Joseph Myers <joseph@codesourcery.com>
26829 * Makeconfig (soversions-default-setname): Remove variable.
26830 ($(common-objpfx)soversions.i): Don't pass default_setname to
26832 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26833 oldest_abi to abi-versions.awk.
26834 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26835 * config.make.in (oldest-abi): Remove variable.
26836 * configure.ac (--enable-oldest-abi): Remove configure option.
26837 * configure: Regenerated.
26838 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26840 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26841 * scripts/soversions.awk: Do not handle default_setname variable.
26842 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26844 * sysdeps/mach/hurd/configure: Regenerated.
26845 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26847 * sysdeps/unix/sysv/linux/configure: Regenerated.
26849 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26851 * elf/Makefile (CFLAGS-interp.c): Remove.
26852 ($(elf-objpfx)runtime-linker.h): Generate header with linker
26854 * elf/interp.c: Include generated runtime-linker.h
26856 * Makerules (lib%.so): Don't include $(+interp) in
26858 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26859 * dlfcn/eval.c: Remove file.
26861 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26865 * misc/sys/cdefs.h: Define __extern_always_inline for clang
26869 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26871 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26872 Jakub Jelinek <jakub@redhat.com>
26875 * libio/stdio.h: Check definition of __fortify_function
26876 instead of __extern_always_inline to include bits/stdio2.h.
26877 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26878 check if __extern_always_inline is defined.
26879 [__USE_MISC || __USE_XOPEN]: Likewise.
26880 [__USE_ISOC99] Likewise.
26881 * misc/sys/cdefs.h (__fortify_function): Define only if
26882 __extern_always_inline is defined.
26883 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26884 __extern_always_inline and __extern_inline only for g++-4.3
26885 and newer or a compatible gcc.
26887 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
26890 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26891 last change to handle zero prefix length.
26893 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26895 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26898 * posix/getconf.c (vars): Add _POSIX_IPV6 and
26899 _POSIX_RAW_SOCKETS.
26901 2014-09-13 Allan McRae <allan@archlinux.org>
26903 * po/ru.po: Update Russian translation from translation project.
26905 2014-09-12 Roland McGrath <roland@hack.frob.com>
26907 * locale/programs/locale.c (show_locale_vars): Inline local function
26908 into its sole call site. Clean up some style nits.
26909 (print_item): New function, broken out of ...
26910 (show_info): ... local function here. Clean up style nits.
26912 * locale/programs/ld-ctype.c (set_one_default): New function, broken
26914 (set_class_defaults): ... local function set_default here.
26915 Define set_default as a macro locally to pass constant parameters.
26916 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26917 rather than a shared local.
26919 * stdlib/rpmatch.c (try): New function, broken out of ...
26920 (rpmatch): ... local function here. Also, prototypify definition.
26922 2014-09-12 Joseph Myers <joseph@codesourcery.com>
26924 * scripts/soversions.awk: Do not handle configuration names.
26925 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26926 vendor and os variables to soversions.awk.
26927 * configure.ac: Do not modify gnu-* host_os.
26928 * configure: Regenerated
26929 * shlib-versions: Remove first column with configuration names.
26930 * nptl/shlib-versions: Likewise.
26931 * nptl_db/shlib-versions: Likewise.
26932 * sysdeps/hppa/shlib-versions: Likewise.
26933 * sysdeps/m68k/shlib-versions: Likewise.
26934 * sysdeps/mach/hurd/shlib-versions: Likewise.
26935 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26936 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26937 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26938 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26939 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26940 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26941 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26942 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
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/shlib-versions: Likewise.
26948 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26949 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26950 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26951 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26952 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26955 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26958 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26960 Condition symbol version definitions on [HAVE_ELFV2_ABI].
26962 * shlib-versions: Remove OS-specific entries. Moved to files in
26964 * sysdeps/mach/hurd/shlib-versions: New file.
26965 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26967 * nptl/shlib-versions: Remove architecture-specific entries.
26968 Moved to files in sysdeps.
26969 * shlib-versions: Likewise.
26970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26972 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26973 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26974 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26975 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26977 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26978 (UDP_NO_CHECK6_RX): Likewise.
26980 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26982 * sysdeps/posix/sysconf.c (__sysconf): Spell
26983 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26985 2014-08-12 Florian Weimer <fweimer@redhat.com>
26987 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26989 * iconv/Versions (__gconv_transliterate): Export for use from
26991 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26992 (struct __gconv_trans_data, __gconv_trans_fct,
26993 __gconv_trans_context_fct, __gconv_trans_query_fct,
26994 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26996 (struct __gconv_step_data): Remove __trans member.
26997 (__gconv_transliterate): Declaration moved from gconv_int.h. No
26998 longer hidden. Remove unused trans_data argument.
26999 * iconv/gconv_int.h (struct trans_struct): Remove definition.
27000 (__gconv_translit_find): Remove declaration.
27001 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
27003 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27004 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27005 trans_data argument. Add hidden definition.
27006 (__gconv_translit_find): Remove.
27007 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27008 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27009 * iconv/skeleton.c: Remove transliteration initialization.
27010 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27011 __gconv_step_data initialization.
27012 * libio/iofwide.c (__libio_translit_): Remove.
27013 (_IO_fwide): Adjust struct __gconv_step_data initialization.
27014 * wcsmbs/btowc.c (__btowc): Likewise.
27015 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27016 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27017 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27018 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27019 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27020 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27021 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27022 * wcsmbs/wctob.c (wctob): Likewise.
27024 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27027 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27028 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
27030 * sysdeps/x86/Makefile: Adjust.
27032 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27033 Roland McGrath <roland@hack.frob.com>
27035 * locale/weight.h: Add include guard.
27036 (findidx): Make static rather than auto; take new parameters
27037 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27038 * locale/weightwc.h: Likewise.
27039 * posix/fnmatch_loop.c
27040 (FCT): Change type of EXTRA from int32_t to wint_t.
27041 Don't include either header inside the function.
27042 Call FINDIDX rather than findidx, and pass new arguments.
27043 #undef FINDIDX at the end of the file.
27044 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27045 FINDIDX before including fnmatch_loop.c for the non-wide version.
27046 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27047 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27048 for the wide version.
27049 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27050 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27051 Pass new arguments to findidx.
27052 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27053 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27054 Don't #include it inside the function. Pass new arguments to findidx.
27055 * posix/regex_internal.h
27056 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27057 (re_string_elem_size_at): Don't #include it inside the function.
27058 Pass new arguments to findidx.
27059 * string/strcoll_l.c: #include WEIGHT_H at top level.
27060 (get_next_seq): Don't #include it inside the function.
27061 Pass new arguments to findidx.
27062 (get_next_seq_nocache): Likewise.
27063 * string/strxfrm_l.c: #include WEIGHT_H at top level.
27064 (STRXFRM): Don't #include it inside the function.
27065 Pass new arguments to findidx.
27067 2014-09-11 Florian Weimer <fweimer@redhat.com>
27070 * malloc/malloc.c (unlink): Turn asserts into a call to
27073 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
27076 * libio/wfileops (do_ftell_wide): Free OUT.
27078 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
27080 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27082 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27085 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27086 group if the current group is empty.
27088 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27090 * benchtests/bench-memset.c (test_main): Add more test from size
27091 from 32 to 512 bytes.
27092 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27093 Add POWER8 memset object.
27094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27095 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27096 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27098 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27100 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27101 multiarch POWER8 memset optimization.
27102 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27103 POWER8 memset optimization.
27105 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27106 Remove bzero multiarch objects.
27107 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27108 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27109 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27110 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27112 [__bzero]: Redefine to specific name.
27113 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27114 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27115 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27117 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27118 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27120 2014-09-10 Florian Weimer <fweimer@redhat.com>
27122 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27123 warnings into errors.
27125 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27126 __cxa_thread_atexit_impl prototype.
27128 2014-09-09 Steve Ellcey <sellcey@mips.com>
27130 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27131 Fix capitalization of error message.
27133 2014-09-09 Steve Ellcey <sellcey@mips.com>
27135 * sysdeps/mips/preconfigure: Modify ABI tests.
27137 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
27139 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27141 2014-09-07 Roland McGrath <roland@hack.frob.com>
27142 Carlos O'Donell <carlos@systemhalted.org>
27144 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27145 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27146 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27147 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27148 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27149 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27150 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27151 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27152 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27153 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27154 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27155 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27156 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27157 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27158 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27159 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27160 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27161 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27162 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27163 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27164 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27165 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27166 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27167 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27168 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27169 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27170 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27171 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27172 Deconditionalize the code that was previously under [RESET_PID].
27173 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27174 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27175 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27176 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27179 2014-09-08 Allan McRae <allan@archlinux.org>
27181 * version.h (RELEASE): Set to "development".
27182 (VERSION): Set to "2.20.90"
27184 2014-09-07 Allan McRae <allan@archlinux.org
27186 * version.h (RELEASE): Set to "stable".
27187 (VERSION): Set to "2.20"
27188 * include/features.h (__GLIBC_MINOR__): Set to 20.
27190 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27193 * po/ko.po: Update Korean translation from translation project.
27195 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
27198 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27199 macro for handling signed relocations.
27201 2014-09-03 Florian Weimer <fweimer@redhat.com>
27204 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27205 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27207 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27208 * iconvdata/ibm935.c (BODY): Likewise.
27209 * iconvdata/ibm937.c (BODY): Likewise.
27210 * iconvdata/ibm939.c (BODY): Likewise.
27211 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27213 * iconvdata/Makefile (iconv-test.out): Pass module list to test
27215 * iconvdata/run-iconv-test.sh: New test loop for checking for
27218 2014-09-02 Khem Raj <raj.khem@gmail.com>
27220 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27223 2014-09-01 Allan McRae <allan@archlinux.org>
27225 * po/eo.po: Update Esperanto translation from translation project.
27227 * po/ca.po: Update Catalan translation from translation project.
27229 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
27231 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27232 __proc_dostop call.
27234 2014-08-27 Mark Wielaard <mjw@redhat.com>
27237 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27238 to call set_thread_area instead of hand written asm.
27239 (__NR_set_thread_area): Removed define.
27240 (TLS_FLAG_WRITABLE): Likewise.
27241 (__ASSUME_SET_THREAD_AREA): Remove check.
27242 (TLS_EBX_ARG): Remove define.
27243 (TLS_LOAD_EBX): Likewise.
27245 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27247 Simplify atomicity of socket creation in bind.
27249 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27250 looking up the name after linking the file.
27252 2014-08-27 Allan McRae <allan@archlinux.org>
27254 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27256 2014-08-26 Florian Weimer <fweimer@redhat.com>
27259 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27260 trans_compare, open_translit, __gconv_translit_find):
27261 Remove module loading code.
27263 2014-08-26 Allan McRae <allan@archlinux.org>
27265 * po/vi.po: Update Vietnamese translation from translation project.
27267 * po/uk.po: Update Ukrainian translation from translation project.
27269 * po/fr.po: Update French translation from translation project.
27271 * po/ru.po: Update Russian translation from translation project.
27273 * po/pl.po: Update Polish translation from translation project.
27275 * po/cs.po: Update Czech translation from translation project.
27277 * po/de.po: Update German translation from translation project.
27279 * po/bg.po: Update Bulgarian translation from translation project.
27281 * po/sv.po: Update Sweedish translation from translation project.
27283 * po/nl.po: Update Dutch translation from translation project.
27285 * po/es.po: Update Spanish translation from translation project.
27287 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27289 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27291 * catgets/Makefile (CPPFLAGS-gencat): Remove.
27292 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27293 (CPPFLAGS-iconvconfig): Likewise.
27294 * timezone/Makefile (CPPFLAGS-zic): Likewise.
27296 * include/libc-symbols.h: Remove unnecessary check for
27298 * nptl/pthreadP.h: Likewise.
27299 * sysdeps/aarch64/setjmp.S: Likewise.
27300 * sysdeps/alpha/setjmp.S: Likewise.
27301 * sysdeps/arm/sysdep.h: Likewise.
27302 * sysdeps/i386/setjmp.S: Likewise.
27303 * sysdeps/m68k/setjmp.c: Likewise.
27304 * sysdeps/posix/getcwd.c: Likewise.
27305 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27306 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27307 * sysdeps/s390/s390-32/setjmp.S: Likewise.
27308 * sysdeps/s390/s390-64/setjmp.S: Likewise.
27309 * sysdeps/sh/sh3/setjmp.S: Likewise.
27310 * sysdeps/sh/sh4/setjmp.S: Likewise.
27311 * sysdeps/unix/alpha/sysdep.h: Likewise.
27312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27314 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27315 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27320 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27323 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27325 * sysdeps/x86_64/setjmp.S: Likewise.
27327 2014-08-13 Joseph Myers <joseph@codesourcery.com>
27330 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27332 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27333 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27335 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27337 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27340 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27341 and __x86_64__ when disabling x87 inline functions.
27343 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
27346 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27347 asm statement with __cpuid_count.
27349 2014-08-12 Mike Frysinger <vapier@gentoo.org>
27351 * configure.ac: Change __ehdr_start code to dereference the struct.
27352 Run readelf on the output to look for relocations.
27353 * configure: Regenerated.
27355 2014-08-12 Joseph Myers <joseph@codesourcery.com>
27358 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27360 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27362 2014-08-12 Roland McGrath <roland@hack.frob.com>
27364 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27366 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
27369 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27370 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27372 2014-08-12 Sean Anderson <seanga2@gmail.com>
27374 * malloc/malloc.c: Fix typo in comment.
27376 2014-08-09 Allan McRae <allan@archlinux.org>
27378 * Regenerate libc.po.
27380 2014-08-08 Mike Frysinger <vapier@gentoo.org>
27382 * intl/tst-gettext2.sh: Check every lang file for creation.
27384 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
27386 * sysdeps/aarch64/fpu/math_private.h
27387 (libc_feholdsetround_noex_aarch64_ctx): New function.
27389 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
27391 * sysdeps/arm/armv6/strcpy.S (strcpy):
27392 Fix performance issue in misaligned cases.
27394 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27396 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27397 Move definition from termios.h.
27398 (struct termio): Likewise.
27399 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27400 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27401 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27402 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27405 Move definition to ioctl-types.h
27406 (struct termio): Likewise.
27407 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27408 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27409 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27410 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27413 2014-08-05 Richard Henderson <rth@redhat.com>
27415 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27417 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27419 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27420 Use __feraiseexcept.
27421 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27422 Protect libm symbols with IS_IN_libm.
27424 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27426 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
27428 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27430 2014-08-04 Will Newton <will.newton@linaro.org>
27432 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27435 2014-08-04 Mike Frysinger <vapier@gentoo.org>
27437 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27438 variants for each function.
27440 2014-08-04 Roland McGrath <roland@hack.frob.com>
27442 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27444 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27445 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27447 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27448 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27449 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27450 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27451 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27452 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27453 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27454 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27455 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27456 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27457 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27458 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27459 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27460 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27461 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27462 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27463 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27464 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27465 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27466 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27467 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27468 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27469 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27470 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27471 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27472 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27473 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27474 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27475 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27476 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27477 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27478 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27479 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27480 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27481 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27482 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27483 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27484 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27485 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27486 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27487 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27488 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27489 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27491 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27493 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27495 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27497 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27498 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27499 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27501 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27502 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27504 2014-08-04 Roland McGrath <roland@hack.frob.com>
27506 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27507 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27508 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27509 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27510 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27511 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27513 2014-08-04 Roland McGrath <roland@hack.frob.com>
27515 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27516 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27517 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27518 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27520 2014-08-04 Roland McGrath <roland@hack.frob.com>
27522 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27523 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27524 (__libc_vfork): Define function under this name.
27525 (__vfork): Define as an alias.
27526 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27527 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27529 2014-08-04 Roland McGrath <roland@hack.frob.com>
27531 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27532 that was previously under [RESET_PID].
27533 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27535 2014-08-04 Andreas Schwab <schwab@suse.de>
27537 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27539 2014-08-03 Mike Frysinger <vapier@gentoo.org>
27541 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27544 2014-08-01 Roland McGrath <roland@hack.frob.com>
27546 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27548 2014-08-01 Richard Henderon <rth@redhat.com>
27550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27551 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27552 typo in exact zero test.
27553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27554 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27557 2014-08-01 Roland McGrath <roland@hack.frob.com>
27559 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27560 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27561 * sysdeps/arm/sysdep.h: ... here.
27562 [!__ASSEMBLER__]: Include <stdint.h>.
27564 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27566 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27567 (HAVE_WCTYPE_H): Likewise.
27568 (HAVE_ISWCTYPE): Likewise.
27569 (ENABLE_NLS): Likewise.
27570 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27571 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27573 * posix/regex_internal.c: Check if DEBUG is defined and is
27576 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27577 (HAVE_MBSRTOWCS): Likewise.
27578 * posix/fnmatch.c: Include string.h unconditionally.
27580 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
27582 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27585 2014-07-31 Roland McGrath <roland@hack.frob.com>
27587 * sysdeps/generic/safe-fatal.h: New file.
27588 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27589 * nptl/forward.c: Include it.
27590 (__pthread_unwind): Use __safe_fatal as default action, rather
27591 than a bogus use of INTERNAL_SYSCALL that could never work.
27593 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27594 * configure.ac (libc_cv_builtin_trap): New test.
27595 * configure: Regenerated.
27596 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27597 (ABORT_INSTRUCTION): Define using __builtin_trap.
27599 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27600 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27601 * sysdeps/nptl/nptl-signals.h: New file.
27602 * nptl/pthreadP.h: Include <nptl-signals.h>.
27604 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
27606 * sysdeps/s390/s390-64/utf16-utf32-z9.c
27607 (ONE_DIRECTION): Define.
27608 * sysdeps/s390/s390-64/utf8-utf16-z9.c
27609 (ONE_DIRECTION): Define.
27610 * sysdeps/s390/s390-64/utf8-utf32-z9.c
27611 (ONE_DIRECTION): Define.
27613 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
27615 * sysdeps/s390/Makefile: Delete file.
27616 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27617 * sysdeps/s390/__longjmp.c: Delete file.
27618 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27619 Remove fields __flags and __reserved.
27620 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27621 and add versioning.
27622 * sysdeps/s390/rtld-__longjmp.c: Delete file.
27623 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27624 * sysdeps/s390/rtld-setjmp.S: Likewise.
27625 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27626 * sysdeps/s390/s390-32/__longjmp.c: ... here.
27627 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27628 * sysdeps/s390/s390-32/setjmp.S: ... here.
27630 (__sigsetjmp): Remove setting __flags field.
27631 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27632 * sysdeps/s390/s390-64/__longjmp.c: ... here.
27633 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27634 * sysdeps/s390/s390-64/setjmp.S: ... here.
27636 (__sigsetjmp): Remove setting __flags field.
27637 * sysdeps/s390/setjmp.S: Delete file.
27638 * sysdeps/s390/sigjmp.c: Likewise.
27639 * sysdeps/s390/v1-longjmp.c: Likewise.
27640 * sysdeps/s390/v1-setjmp.h: Likewise.
27641 * sysdeps/s390/v1-sigjmp.c: Likewise.
27642 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27643 Remove v1-longjmp_chk.
27644 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27645 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27646 Include debug/longjmp_chk.c and add versioning.
27647 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27648 Include nptl/pt-longjmp.c and add versioning.
27649 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27650 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27651 Include __longjmp.c.
27652 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27654 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27655 (__getcontext): Remove setting __flags field.
27657 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27658 Don't restore upper high grps.
27659 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27661 (__swapcontext): Remove setting uc_flags field.
27662 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27664 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27665 Include __longjmp.c.
27666 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27668 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27669 (__getcontext): Remove setting __flags field.
27671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27672 (__swapcontext): Remove setting uc_flags field.
27673 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27674 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27675 Remove fields uc_high_gprs and __reserved.
27676 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27677 New file with reverted content.
27678 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27679 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27681 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27684 2014-07-31 Andreas Schwab <schwab@suse.de>
27686 * config.h.in (HAVE_IFUNC): Define to 0.
27687 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27690 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
27692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27693 memmove-avx-unaligned, memcpy-avx-unaligned and
27694 mempcpy-avx-unaligned.
27695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27696 Add tests for AVX memcpy functions.
27697 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27698 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27700 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27701 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27703 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27704 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27706 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27707 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27708 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27710 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27713 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27716 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
27719 * manual/llio.texi: Add section about open file description locks.
27720 * manual/examples/ofdlocks.c: Example of open file description
27722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27723 F_OFD_SETLK, and F_OFD_SETLKW.
27725 2014-07-23 Allan McRae <allan@archlinux.org>
27727 * po/es.po: Update Spanish translation from translation project.
27729 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
27731 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27733 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
27736 * sysdeps/arm/dl-machine.h (elf_machine_rela)
27737 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27738 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27740 2014-07-17 Joseph Myers <joseph@codesourcery.com>
27743 * math/fesetenv.c (__fesetenv)
27744 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27745 * math/feupdateenv.c (__feupdateenv)
27746 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27748 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27749 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27750 (__ASSUME_SOCKETCALL): Do not define.
27752 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27753 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27754 (__ASSUME_SOCKETCALL): Do not define.
27755 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27756 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27757 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27758 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27759 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27760 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27761 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27762 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27764 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27765 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27766 (__ASSUME_SOCKETCALL): Do not define.
27767 (__ASSUME_IPC64): Define unconditionally.
27768 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27769 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27770 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27771 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27772 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27773 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27774 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27777 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27778 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27779 (__ASSUME_SOCKETCALL): Do not define.
27780 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27781 (__ASSUME_FUTEX_LOCK_PI): Likewise.
27782 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27783 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27784 (__ASSUME_REQUEUE_PI): Define unconditionally.
27785 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27786 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27787 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27788 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27789 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27790 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27792 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27793 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27794 (__ASSUME_SOCKETCALL): Do not define.
27795 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27796 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27797 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27798 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27799 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27800 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27803 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27804 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27805 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27806 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27807 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27808 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27809 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27810 (__ASSUME_GETCPU_SYSCALL): Likewise.
27812 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27813 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
27814 cases for individual architectures.
27815 * sysdeps/gnu/configure: Regenerated.
27816 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27817 LIBC_SLIBDIR_RTLDDIR.
27818 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27819 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27820 LIBC_SLIBDIR_RTLDDIR.
27821 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27823 LIBC_SLIBDIR_RTLDDIR.
27824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27826 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27827 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27829 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27830 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27832 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27833 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27834 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27835 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27837 * sysdeps/aarch64/shlib-versions: Move to ...
27838 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27839 * sysdeps/alpha/shlib-versions: Move to ...
27840 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27841 * sysdeps/arm/shlib-versions: Move to ...
27842 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27843 * sysdeps/hppa/shlib-versions: Move all contents except for
27844 libgcc_s entry to ...
27845 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
27847 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
27848 * sysdeps/ia64/shlib-versions: Move to ...
27849 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
27851 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
27852 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27853 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27854 * sysdeps/microblaze/shlib-versions: Move to ...
27855 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27856 * sysdeps/mips/shlib-versions: Move to ...
27857 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
27859 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
27860 * sysdeps/tile/shlib-versions: Move to ...
27861 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27862 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27864 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
27865 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27867 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
27869 2014-07-17 Will Newton <will.newton@linaro.org>
27871 * sysdeps/arm/bits/atomic.h
27872 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27873 (__arch_compare_and_exchange_bool_16_int): Likewise.
27874 (__arch_compare_and_exchange_bool_64_int): Likewise.
27876 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27877 into an #else block.
27879 2014-07-16 Roland McGrath <roland@hack.frob.com>
27881 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27882 just Linux configurations. Test empirically that the compiler sets
27883 __ARM_EABI__, rather than using the tuple to decide.
27884 * sysdeps/arm/preconfigure: Regenerated.
27885 * sysdeps/unix/sysv/linux/arm/configure: File removed.
27886 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27887 contents appended ...
27888 * sysdeps/arm/configure.ac: ... here.
27889 * sysdeps/arm/configure: Regenerated.
27891 2014-07-15 Roland McGrath <roland@hack.frob.com>
27893 * nptl/pthread_kill.c: New file.
27894 * nptl/pthread_sigmask.c: New file.
27895 * nptl/pthread_sigqueue.c: New file.
27897 * sysdeps/nptl/lowlevellock.h: New file.
27898 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27899 * sysdeps/nptl/lowlevellock-futex.h: New file.
27901 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27902 Remove dead declarations.
27904 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
27906 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27907 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27908 config-cflags-avx2.
27909 * sysdeps/x86_64/configure.ac: Likewise.
27910 * sysdeps/i386/configure: Regenerated.
27911 * sysdeps/x86_64/configure: Likewise.
27912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27913 memset-avx2 only if config-cflags-avx2 is yes.
27914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27915 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27917 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27918 only if HAVE_AVX2_SUPPORT is defined.
27919 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27921 2014-07-14 Alan Modra <amodra@gmail.com>
27924 * elf/elf.h (DT_PPC64_NUM): Correct value.
27925 * NEWS: Add to fixed bug list.
27927 2014-07-13 Jim Meyering <meyering@fb.com>
27930 regex: don't deref NULL upon heap allocation failure
27931 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27932 failure in one more place.
27933 To trigger the segfault, configure grep -with-included-regex,
27934 build it, and run these commands:
27935 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27937 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
27939 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27941 2014-07-11 Richard Henderson <rth@redhat.com>
27943 * sysdeps/aarch64/libm-test-ulps: Update.
27945 2014-07-10 Florian Weimer <fweimer@redhat.com>
27948 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27949 * nptl/allocatestack.c (__nptl_setxid_error): New function.
27950 (__nptl_setxid): Initialize error member. Call
27951 __nptl_setxid_error.
27952 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27953 * nptl/descr.h (struct xid_command): Add error member.
27954 * nptl/tst-setuid3.c: New file.
27955 * nptl/Makefile (tests): Add it.
27957 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27959 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27961 (__lll_trylock): Use __lll_base_trylock.
27962 (__lll_cond_trylock): Likewise.
27964 2014-07-10 Roland McGrath <roland@hack.frob.com>
27966 * nptl/pthread_create.c (start_thread): Use atomic_or and
27967 lll_futex_wake directly rather than lll_robust_dead.
27968 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27969 (lll_robust_dead): Macro removed.
27970 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27971 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27972 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27973 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27974 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27975 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27976 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27977 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27978 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27979 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27980 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27981 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27982 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27983 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27984 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27986 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27987 Use atomic_compare_and_exchange_val_acq directly rather than
27988 lll_robust_trylock.
27989 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27990 (__lll_robust_trylock, lll_robust_trylock): Removed.
27991 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27992 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27993 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27994 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27995 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27996 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27997 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27998 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27999 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28000 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28001 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28002 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28003 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28006 2014-07-02 Florian Weimer <fweimer@redhat.com>
28008 * manual/locale.texi (Locale Names): New section documenting
28009 locale name syntax. Adjust menu and node chaining accordingly.
28010 (Choosing Locale): Reference Locale Names, Locale Categories.
28011 Mention setting LC_ALL=C. Reflect that name syntax is now
28013 (Locale Categories): New section title. Reference Locale Names.
28014 LC_ALL is an environment variable, but not a category.
28015 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28016 description, now in Locale Name. Reference that section. Locale
28017 name syntax is now documented.
28019 2014-07-02 Florian Weimer <fweimer@redhat.com>
28022 * locale/findlocale.c (name_present, valid_locale_name): New
28024 (_nl_find_locale): Use the loc_name variable to store name
28025 candidates. Call name_present and valid_locale_name to check and
28026 validate locale names. Return an error if the locale is invalid.
28028 2014-07-02 Florian Weimer <fweimer@redhat.com>
28030 * locale/setlocale.c (setlocale): Use strdup for allocating
28031 composite name copy.
28033 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28035 Sync up with gnulib.
28036 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28037 [!_LIBC && ENABLE_NLS]: Include gettext.h.
28038 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28039 and _GL_ARG_NONNULL.
28040 [USE_UNLOCKED_IO]: Include unlocked-io.h.
28041 [!_LIBC]: Include code for Windows and Cygwin.
28042 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28043 Include prototype for int strerror_r.
28044 [!_LIBC] (is_open): New function.
28045 (flush_stdout): New function.
28046 (print_errno_message): Use it.
28048 (error_at_line): Likewise.
28049 (error_tail) Add function attribute macros. Use
28052 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28054 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28056 * io/ftw.c: Include sys/param.h unconditionally.
28058 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28061 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28063 (freecache): New function to free CACHE on exit.
28065 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28068 2014-07-09 David S. Miller <davem@davemloft.net>
28070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28072 * sysdeps/sparc/nptl/internaltypes.h: Delete.
28073 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28074 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28075 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28076 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28077 * sysdeps/sparc/nptl/sem_init.c: Likewise.
28078 * sysdeps/sparc/nptl/sem_post.c: Likewise.
28079 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28080 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28081 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28082 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28083 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28084 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28086 2014-07-09 Andreas Schwab <schwab@suse.de>
28088 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28090 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28091 (do_test): Likewise.
28093 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28095 2014-07-09 Will Newton <will.newton@linaro.org>
28097 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28098 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28099 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28100 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28101 * sysdeps/hppa/start.S (_start): Likewise.
28103 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28105 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28107 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28110 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28112 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28113 after checking that it is non-NULL.
28115 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28117 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28119 * sysdeps/powerpc/memmove.c: Remove file.
28120 * sysdeps/powerpc/powerpc32/power4/memcopy.h
28121 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28122 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28123 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28124 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28125 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28126 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28127 string memmove instead of removed powerpc one.
28129 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28130 [weak_alias]: Fix compiler warning due trailing data.
28131 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28132 [weak_alias]: Likewise.
28133 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28134 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28137 (__libc_ifunc_impl_list): Add memmove functions.
28139 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28141 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28143 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28145 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28147 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28149 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28151 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28153 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28155 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28157 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28159 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28161 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28163 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28165 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28167 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28169 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28171 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28173 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28176 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28178 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28179 to avoid alignment traps in non-cacheable memory.
28180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28184 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28185 file: multiarch power7 memmove.
28186 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28187 multiarch default memmove.
28188 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28189 multiarch memove for powerpc32/power4.
28191 * string/bcopy.c: Use full path to include memmove.c.
28192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28194 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28195 bcopy for powerpc64.
28196 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28197 bcopy for powerpc64.
28198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28199 and memmove implementations.
28200 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28201 optimized multiarch memmove for POWER7/powerpc64.
28202 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28203 default multiarch memmove for powerpc64.
28204 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28205 multiarch for powerpc64.
28206 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28207 for POWER7/powerpc64.
28208 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28209 memmove for POWER7/powerpc64.
28211 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28214 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28215 __ELF_NATIVE_CLASS equal to 64.
28217 2014-07-07 Roland McGrath <roland@hack.frob.com>
28219 * sysdeps/nptl/lowlevellock.h: File removed.
28221 * NEWS: NPTL is no longer an add-on!
28222 * nptl/internaltypes.h: Moved ...
28223 * sysdeps/nptl/internaltypes.h: ... here.
28224 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28225 * sysdeps/nptl/fork.c: Likewise.
28226 * sysdeps/nptl/gai_misc.h: Likewise.
28227 * sysdeps/nptl/librt-cancellation.c: Likewise.
28228 * sysdeps/nptl/jmp-unwind.c: Likewise.
28229 * sysdeps/nptl/setxid.h: Likewise.
28230 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28231 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28232 * sysdeps/unix/sysv/linux/arm/Implies: New file.
28233 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28234 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28235 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28236 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28237 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28238 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28239 * sysdeps/unix/sysv/linux/mips/Implies: New file.
28240 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28241 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28242 * sysdeps/unix/sysv/linux/sh/Implies: New file.
28243 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28244 * sysdeps/unix/sysv/linux/tile/Implies: New file.
28245 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28246 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28247 * nptl/Makeconfig: Moved ...
28248 * sysdeps/nptl/Makeconfig: ... here.
28249 * nptl/configure: File removed.
28250 * nptl/ANNOUNCE: File removed.
28251 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28252 * sysdeps/unix/sysv/linux/configure: Regenerated.
28254 * nptl/Makefile (routines): Add libc_pthread_init,
28255 libc_multiple_threads, register-atfork and unregister-atfork.
28256 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28257 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28258 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28259 pthread-pi-defines.sym, structsem.sym.
28260 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28261 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28262 [$(subdir) = nptl] (tests): Add tst-setgetname.
28263 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28264 * sysdeps/unix/sysv/linux/sigaction.c: Just include
28265 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28266 [!LIBC_SIGACTION]: Remove aliases.
28267 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28268 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28269 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28270 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28271 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28272 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28276 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28277 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28278 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28279 __libc_allocate_rtsig_private.
28280 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28281 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28282 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28283 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28284 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28285 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28286 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28287 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28288 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28289 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28290 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28291 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28292 * nptl/internaltypes.h: ... here.
28293 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28294 * sysdeps/nptl/jmp-unwind.c: ... here.
28295 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28296 * nptl/libc-lowlevellock.c: ... here.
28297 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28298 * nptl/libc_multiple_threads.c: ... here.
28299 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28300 * nptl/libc_pthread_init.c: ... here.
28301 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28302 * nptl/lowlevelbarrier.sym: ... here.
28303 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28304 * nptl/lowlevelcond.sym: ... here.
28305 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28306 * nptl/lowlevellock.c: ... here.
28307 * nptl/lowlevellock.h: Moved ...
28308 * sysdeps/nptl/lowlevellock.h: ... here.
28309 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28310 * nptl/lowlevelrobustlock.c: ... here.
28311 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28312 * nptl/lowlevelrobustlock.sym: ... here.
28313 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28314 * nptl/lowlevelrwlock.sym: ... here.
28315 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28316 * nptl/pt-fork.c: ... here.
28317 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28318 * nptl/pthread-pi-defines.sym: ... here.
28319 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28320 * nptl/pthread_attr_getaffinity.c: ... here.
28321 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28322 * nptl/pthread_attr_setaffinity.c: ... here.
28323 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28324 * nptl/pthread_mutex_cond_lock.c: ... here.
28325 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28327 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28328 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28329 * nptl/pthread_once.c: ... here, replacing old file.
28330 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28331 * nptl/pthread_yield.c: ... here.
28332 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28333 * nptl/register-atfork.c: ... here.
28334 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28335 * nptl/sem_post.c: ... here.
28336 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28337 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28338 * nptl/sem_timedwait.c: ... here.
28339 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28340 * nptl/sem_trywait.c: ... here.
28341 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28342 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28343 * nptl/sem_wait.c: ... here.
28344 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28345 * nptl/structsem.sym: ... here.
28346 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28347 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28348 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28349 * nptl/unregister-atfork.c: ... here.
28350 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28351 * nptl/unwindbuf.sym: ... here.
28352 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28353 * sysdeps/nptl/fork.c: ... here.
28354 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28355 * sysdeps/nptl/fork.h: ... here.
28356 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28357 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28358 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28359 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28360 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28361 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28362 * sysdeps/unix/sysv/linux/getpid.c: ... here.
28363 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28364 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28365 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28366 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28367 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28368 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28369 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28370 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28371 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28372 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28373 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28374 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28375 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28376 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28377 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28378 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28379 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28380 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28381 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28382 * sysdeps/unix/sysv/linux/raise.c: ... here.
28383 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28384 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28385 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28386 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28387 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28388 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28389 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28390 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28391 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28392 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28393 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28394 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28395 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28396 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28397 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28399 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28401 * sysdeps/generic/memcopy.h: Add comment for
28402 MEMCPY_OK_FOR_FWD_MEMMOVE.
28404 2014-07-04 Will Newton <will.newton@linaro.org>
28406 * string/memchr.c: Merge from gnulib.
28407 [_LIBC]: Remove conditionals.
28408 (__ptr_t): Remove define.
28409 (LONG_MAX_32_BITS): Likewise.
28410 (LONG_MAX): Likewise.
28411 (MEMCHR): Use ANSI prototype and optimize algorithm.
28413 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28415 2014-07-03 Roland McGrath <roland@hack.frob.com>
28417 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28418 (lll_futex_timed_wait_bitset): Fix syscall argument count.
28420 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28421 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28422 in a bare environment with no <stdlib.h> installed.
28423 * sysdeps/nptl/configure: Regenerated.
28425 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28427 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28428 AC_EGREP_CPP for kernel header checks, so they only succeed if
28429 including <linux/version.h> actually works right.
28430 * sysdeps/unix/sysv/linux/configure: Regenerated.
28432 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28433 value so it's not diagnosed as unused.
28435 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28436 thing) with "ifeq ($(subdir),rt)".
28438 2014-07-03 Richard Henderson <rth@redhat.com>
28440 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28441 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28442 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28444 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28445 (math_force_eval): New.
28447 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28448 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28450 * sysdeps/alpha/fpu/s_round.c: Remove file.
28451 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28453 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28454 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28455 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28456 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28457 (_dl_start, print_statistics): Likewise.
28458 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28459 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28461 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28462 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28463 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28464 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28465 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28466 (HP_SMALL_TIMING_AVAIL): Define.
28467 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28468 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28469 (HP_SMALL_TIMING_AVAIL): Define.
28470 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28471 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28473 * sysdeps/aarch64/hp-timing.h: New file.
28475 * sysdeps/generic/hp-timing.h: Remove dead comment.
28476 * sysdeps/generic/hp-timing-common.h: New file.
28477 * sysdeps/alpha/hp-timing.h: Include it.
28478 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28479 * sysdeps/i386/i686/hp-timing.h: Likewise.
28480 * sysdeps/ia64/hp-timing.h: Likewise.
28481 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28482 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28484 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28485 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28486 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28487 (hp_timing_t): New.
28489 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28490 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28491 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28492 * elf/rtld.c (_dl_start_final): Likewise.
28493 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28494 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28495 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28496 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28497 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28499 (HP_TIMING_DIFF_INIT): Remove.
28500 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28502 (HP_TIMING_DIFF_INIT): Remove.
28503 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28504 * sysdeps/i386/i686/hp-timing.c: Remove file.
28505 * sysdeps/x86_64/hp-timing.c: Remove file.
28506 * sysdeps/ia64/hp-timing.c: Remove file.
28507 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28508 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28509 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28510 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28512 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28513 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28514 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28515 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28517 (HP_TIMING_ACCUM): Remove.
28518 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28519 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28520 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28522 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28523 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28524 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28525 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28526 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28527 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28528 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28529 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28531 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28533 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
28535 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28537 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28539 Sync up with gettext.
28540 * intl/loadmsgcat.c: Define O_BINARY if not defined.
28541 [_MSC_VER]: Include malloc.h
28542 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28543 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28544 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
28545 TEMP_FAILURE_RETRY. Cast return of alloca.
28546 [!_LIBC] Call gl_rwlock_init.
28547 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28549 2014-07-02 Roland McGrath <roland@hack.frob.com>
28551 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28552 before checking its value.
28554 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28556 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28558 * debug/memcpy_chk.c: Don't include pagecopy.h.
28559 * debug/mempcpy_chk.c: Likewise.
28560 * string/memcpy.c: Likewise.
28561 * string/memmove.c: Likewise.
28562 * sysdeps/powerpc/memmove.c: Likewise.
28563 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
28564 definition of PAGE_COPY_FWD_MAYBE here...
28565 * sysdeps/generic/pagecopy.h: ... from here.
28566 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28568 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
28569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28571 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28575 (__libc_ifunc_impl_list): Likewise.
28576 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28577 multiarch strcat for PPC64.
28578 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28579 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28581 2014-07-02 Roland McGrath <roland@hack.frob.com>
28583 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28585 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28587 * intl/loadmsgcat.c: Remove declaration of
28588 get_sysdep_segment_value.
28589 (get_sysdep_segment_value): Use ISO C style.
28590 (_nl_load_domain): Use ISO C style. Get rid of redundant
28591 semicolon. Fix typo and formatting in comment.
28592 (_nl_unload_domain): Use ISO C style.
28594 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28596 2014-07-02 Will Newton <will.newton@linaro.org>
28598 * malloc/obstack.c: Merge from gnulib master.
28599 [HAVE_CONFIG_H]: Remove conditional code.
28600 [!_LIBC]: Include config.h.
28601 [!ELIDE_CODE]: Don't include inttypes.h, include
28602 stdint.h unconditionally.
28603 (print_and_abort): Mark as _Noreturn.
28604 (_obstack_allocated_p): Mark as __attribute_pure__.
28605 (obstack_free): Rename to __obstack_free.
28606 [!__attribute__]: Remove conditional code.
28607 * malloc/obstack.h: Merge from gnulib master.
28608 [__cplusplus]: Move conditional down.
28609 [!__attribute_pure__]: Define __attribute_pure__ here
28610 if it is not already defined.
28611 (_obstack_memory_used): Mark as __attribute_pure__.
28612 [!__obstack_free]: Define as obstack_free.
28613 [__GNUC__]: Remove check for ancient NeXT gcc.
28615 2014-07-02 Will Newton <will.newton@linaro.org>
28616 Paul Eggert <eggert@cs.ucla.edu>
28618 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28620 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28622 * resolv/gethnamaddr.c: Add comment warning that the file is
28625 2014-07-01 Carlos O'Donell <carlos@redhat.com>
28627 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28630 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28631 entry for aio_cancel and aio_cancel64.
28632 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28633 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28634 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28635 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28636 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28637 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28638 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28639 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28640 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28641 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28642 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28643 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28644 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28646 2014-07-01 Roland McGrath <roland@hack.frob.com>
28648 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28649 * nptl/pthread_mutex_lock.c: Likewise.
28650 * nptl/pthread_mutex_timedlock.c: Likewise.
28651 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28653 2014-07-01 Richard henderson <rth@redhat.com>
28655 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28656 (__isnan, __isnanl): Remove.
28657 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28659 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28661 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28663 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28665 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28667 * resolv/nss_dns/dns-host.c (getanswer_r)
28668 [MULTI_PTRS_ARE_ALIASES]: Remove code.
28670 2014-07-01 Joseph Myers <joseph@codesourcery.com>
28672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28673 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28675 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28676 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28678 2014-07-01 Roland McGrath <roland@hack.frob.com>
28680 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28681 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28683 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28684 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28686 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28687 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28689 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28690 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28692 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28693 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28694 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28695 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28697 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28698 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28699 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28700 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28701 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28703 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28705 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28706 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28707 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28708 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28709 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28710 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28711 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28712 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28713 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28714 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28715 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28716 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28717 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28718 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28719 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28720 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28721 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28722 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28723 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28724 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28726 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28727 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28728 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28729 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28730 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28731 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28732 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28733 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28735 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
28737 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28738 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28739 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28742 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28746 2014-06-30 Joseph Myers <joseph@codesourcery.com>
28748 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28749 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28751 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28753 * sysdeps/arm/libm-test-ulps: Regenerated.
28755 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
28756 Roland McGrath <roland@hack.frob.com>
28758 * test-skeleton.c (signal_handler): Kill the whole process group
28759 before killing the child individually.
28760 (main): Report any failure on `setpgid'.
28762 2014-06-30 Roland McGrath <roland@hack.frob.com>
28764 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28765 from _TLS_H to _ARM_NPTL_TLS_H.
28766 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28767 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28769 2014-06-30 Joseph Myers <joseph@codesourcery.com>
28772 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28773 (__expm1l): Return argument unchanged when small but not
28776 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28777 include macro name.
28778 (_FP_UNPACK_RAW_1_P): Likewise.
28779 (_FP_PACK_RAW_1): Likewise.
28780 (_FP_PACK_RAW_1_P): Likewise.
28781 (_FP_MUL_MEAT_1_wide): Likewise.
28782 (_FP_MUL_MEAT_DW_1_hard): Likewise.
28783 (_FP_MUL_MEAT_1_hard): Likewise.
28784 (_FP_DIV_MEAT_1_imm): Likewise.
28785 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28786 (_FP_DIV_MEAT_1_udiv): Likewise.
28787 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28788 (_FP_UNPACK_RAW_2): Likewise.
28789 (_FP_UNPACK_RAW_2_P): Likewise.
28790 (_FP_PACK_RAW_2): Likewise.
28791 (_FP_PACK_RAW_2_P): Likewise.
28792 (_FP_MUL_MEAT_DW_2_wide): Likewise.
28793 (_FP_MUL_MEAT_2_wide): Likewise.
28794 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28795 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28796 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28797 (_FP_MUL_MEAT_2_gmp): Likewise.
28798 (_FP_DIV_MEAT_2_udiv): Likewise.
28799 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28800 (_FP_FRAC_SRL_4): Likewise.
28801 (_FP_FRAC_SRST_4): Likewise.
28802 (_FP_FRAC_SRS_4): Likewise.
28803 (_FP_UNPACK_RAW_4): Likewise.
28804 (_FP_UNPACK_RAW_4_P): Likewise.
28805 (_FP_PACK_RAW_4): Likewise.
28806 (_FP_PACK_RAW_4_P): Likewise.
28807 (_FP_MUL_MEAT_DW_4_wide): Likewise.
28808 (_FP_MUL_MEAT_4_wide): Likewise.
28809 (_FP_MUL_MEAT_4_gmp): Likewise.
28810 (umul_ppppmnnn): Likewise.
28811 (_FP_DIV_MEAT_4_udiv): Likewise.
28812 (__FP_FRAC_ADD_4): Likewise.
28813 (__FP_FRAC_SUB_3): Likewise.
28814 (__FP_FRAC_SUB_4): Likewise.
28815 (__FP_FRAC_DEC_3): Likewise.
28816 (__FP_FRAC_DEC_4): Likewise.
28817 (__FP_FRAC_ADDI_4): Likewise.
28818 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28819 (_FP_FRAC_SRL_8): Likewise.
28820 (_FP_FRAC_SRS_8): Likewise.
28822 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28823 include macro name.
28824 (FP_UNPACK_RAW_EP): Likewise.
28825 (FP_PACK_RAW_E): Likewise.
28826 (FP_PACK_RAW_EP): Likewise.
28827 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28828 (_FP_ISSIGNAN): Likewise.
28829 (_FP_ADD_INTERNAL): Likewise.
28830 (_FP_FMA): Likewise.
28831 (_FP_CMP): Likewise.
28832 (_FP_SQRT): Likewise.
28833 (_FP_TO_INT): Likewise.
28834 (_FP_FROM_INT): Likewise.
28835 (FP_EXTEND): Likewise.
28836 (_FP_DIV_MEAT_N_loop): Likewise.
28838 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
28840 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28843 2014-06-29 Joseph Myers <joseph@codesourcery.com>
28846 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28847 result with correct sign in case of exponents that produce
28848 overflow except for X very close to 1.
28850 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
28852 mktime: merge #if/#ifdef usage from glibc
28853 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28854 as that works with both Glibc's and Gnulib's style.
28855 See thread starting at Siddhesh Poyarekar's bug report at:
28856 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28858 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28860 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28861 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28862 * sysdeps/tile/tilegx/memmove.c: Remove file.
28864 2014-06-27 Joseph Myers <joseph@codesourcery.com>
28866 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28867 abi-name definition.
28868 * scripts/soversions.awk: Do not handle or generate ABI lines.
28869 * shlib-versions: Remove ABI entries.
28870 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28871 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28873 2014-06-27 Roland McGrath <roland@hack.frob.com>
28875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28876 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28877 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28878 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28880 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28883 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28885 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28886 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28887 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28888 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28890 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28891 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28892 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28894 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28896 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28899 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28901 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28903 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28909 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28911 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28912 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28916 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28918 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28920 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28923 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28925 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28926 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28928 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28929 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28931 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28933 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28934 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28936 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28939 Identical file removed.
28940 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28942 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28944 Identical file removed.
28945 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28949 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28951 Identical file removed.
28952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28953 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28955 Identical file removed.
28956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28957 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28959 Identical file removed.
28960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28961 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28963 Identical file removed.
28964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28966 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28967 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28968 Identical file removed.
28969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28971 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28972 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28973 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28975 Identical file removed.
28976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28978 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28981 Identical file removed.
28982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28984 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28986 Identical file removed.
28987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28989 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28990 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28991 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28993 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28996 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28997 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28998 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29000 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29001 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29002 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29003 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29004 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29006 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
29009 * nscd/nscd.c (monitor_child): Return exit status of child
29010 instead of return value from wait syscall.
29012 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29014 * configure.ac (libc_commonpagesize): Remove variable.
29015 (libc_relro_required): Likewise.
29016 (libc_cv_z_relro): Remove configure test.
29017 * configure: Regenerated.
29018 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29020 (libc_relro_required): Likewise.
29021 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29022 (libc_relro_required): Likewise.
29023 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29024 (libc_relro_required): Likewise.
29025 * sysdeps/arm/preconfigure: Regenerated.
29026 * sysdeps/ia64/preconfigure: Remove file.
29027 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29029 (libc_relro_required): Likewise.
29033 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29034 (__ieee754_yn): Set FE_TONEAREST mode internally and then
29035 recompute overflowing results in original rounding mode.
29036 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29037 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29038 recompute overflowing results in original rounding mode.
29039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29040 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29041 recompute overflowing results in original rounding mode.
29042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29043 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29044 recompute overflowing results in original rounding mode.
29045 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29046 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29047 recompute overflowing results in original rounding mode.
29048 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29049 (libc_feholdsetround_ctx): New macro.
29050 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29051 * sysdeps/i386/fpu/libm-test-ulps: Update.
29052 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29054 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29056 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29057 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29058 corresponding .cpsetup call.
29060 2014-06-26 Roland McGrath <roland@hack.frob.com>
29062 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29063 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29064 * sysdeps/arm/Makefile [$(subdir) = csu]
29065 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29066 (static-only-routines): Add aeabi_read_tp here.
29067 (shared-only-routines): Add libc-aeabi_read_tp here.
29068 (CFLAGS-libc-start.c): Add -fexceptions here.
29069 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29070 (sysdep_routines, static-only-routines, shared-only-routines):
29071 Don't add to these here.
29072 (CFLAGS-libc-start.c): Likewise.
29074 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29075 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29076 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29077 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29078 * sysdeps/arm/Makefile [$(subdir) = rt]
29079 (librt-sysdep_routines, librt-shared-only-routines):
29080 Append rt-aeabi_unwind_cpp_pr1 here.
29081 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29082 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29083 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29084 (libpthread-sysdep_routines, libpthread-shared-only-routines):
29085 Append nptl-aeabi_unwind_cpp_pr1 here.
29086 (tests): Filter out tst-cleanupx4 here.
29087 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29088 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29089 Don't do those here.
29091 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29093 * scripts/list-sources.sh: Do not handle ports specially.
29095 2014-06-26 Roland McGrath <roland@hack.frob.com>
29097 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29098 * sysdeps/arm/feupdateenv.c: Likewise.
29100 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29102 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29104 * manual/texinfo.tex: Update to version 2014-05-05.10 with
29105 trailing whitespace removed.
29106 * scripts/config.guess: Update to version 2014-03-23.
29107 * scripts/config.sub: Update to version 2014-05-01
29108 * scripts/install-sh: Update to version 2013-12-25.23.
29109 * scripts/move-if-change: Update from gnulib.
29111 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29113 * debug/memmove_chk.c: Remove pagecopy.h include.
29115 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
29117 * time/mktime.c (leapyear): Remove inline keyword. The code is now
29118 identical to gnulib mktime.
29120 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29122 * configure.ac: Do not test for machine being rs6000. Do not test
29123 for powerpc*-*soft.
29124 * configure: Regenerated.
29127 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29129 * configure: Regenerated.
29130 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29131 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29132 Remove configure test.
29133 * sysdeps/arm/configure: Regenerated.
29134 * sysdeps/nptl/configure.ac: Do not check
29135 libc_cv_asm_cfi_directives.
29136 * sysdeps/nptl/configure: Regenerated.
29137 * sysdeps/x86_64/nptl/configure.ac: Remove file.
29138 * sysdeps/x86_64/nptl/configure: Remove generated file.
29139 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29141 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29143 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29145 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29146 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29147 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29150 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29151 instead of whether it is defined.
29152 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29153 * sysdeps/hppa/dl-machine.h: Likewise.
29154 * sysdeps/ia64/dl-machine.h: Likewise.
29155 * sysdeps/m68k/dl-machine.h: Likewise.
29156 * sysdeps/microblaze/dl-machine.h: Likewise.
29157 * sysdeps/mips/dl-machine.: Likewise.
29158 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29159 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29160 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29161 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29162 * sysdeps/sh/dl-machine.h: Likewise.
29163 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29164 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29165 * sysdeps/tile/dl-machine.h: Likewise.
29166 * sysdeps/x86_64/dl-machine.h: Likewise.
29168 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29170 (verify_persistent_db): Likewise.
29172 2014-06-26 Roland McGrath <roland@hack.frob.com>
29174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29175 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29177 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29180 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29183 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29185 Identical file removed.
29186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29187 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29189 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29191 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29193 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29195 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29198 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29200 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29202 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29205 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29207 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29209 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29211 Identical file removed.
29212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29213 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29215 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29218 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29221 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29223 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29225 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29227 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29229 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29232 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29235 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29237 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29240 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29242 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29244 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29246 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29247 * sysdeps/unix/sysv/linux/s390/Versions
29248 (libpthread: GLIBC_2.19): New version set.
29249 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29250 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29251 (librt: GLIBC_2.3.3): New version set.
29252 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29253 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29254 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29255 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29256 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29257 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29258 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29259 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29260 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29261 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29262 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29263 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29264 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29265 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29266 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29267 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29268 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29269 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29271 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29272 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29273 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29274 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29276 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29277 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29278 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29279 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29280 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29282 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29283 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29288 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29290 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29292 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29293 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29294 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29296 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29298 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29299 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29300 (__libc_vfork): Define the function under this name.
29301 [!NOT_IN_libc] (__vfork): Make this an alias.
29302 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29304 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29305 (__libc_vfork): Define the function under this name.
29306 [!NOT_IN_libc] (__vfork): Make this an alias.
29307 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29308 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29309 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29311 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29312 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29314 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29315 code that was previously under [RESET_PID].
29316 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29317 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29320 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29321 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29322 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29323 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29324 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29325 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29326 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29327 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29328 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29329 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29330 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29332 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29333 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29334 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29335 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29336 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29337 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29338 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29339 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29340 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29341 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29342 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29343 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29344 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29345 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29346 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29347 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29348 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29349 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29350 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29351 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29352 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29353 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29354 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29355 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29356 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29357 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29358 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29360 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29362 2014-06-25 Roland McGrath <roland@hack.frob.com>
29364 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29365 that was previously under [RESET_PID].
29366 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29368 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29370 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29371 not undefine and redefine.
29372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29373 [O_CLOEXEC]: Make code unconditional.
29374 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29375 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29376 <kernel-features.h>.
29377 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29378 conditional variable definition.
29379 (shm_open) [O_CLOEXEC]: Make code unconditional.
29380 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29383 * configure.ac (USE_REGPARMS): Don't define here.
29384 * configure: Regenerated.
29385 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29386 * sysdeps/i386/configure: Regenerated.
29388 * nptl/createthread.c: Don't include kernel-features.h.
29389 * nptl/pthread_cancel.c: Likewise.
29390 * nptl/pthread_condattr_setclock.c: Likewise.
29391 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29392 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29393 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29394 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29395 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29396 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29397 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29400 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29401 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29402 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29403 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29404 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29405 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29406 * nscd/gai.c: Likewise.
29407 * nss/nss_db/db-open.c: Likewise.
29408 * sysdeps/generic/ldsodefs.h: Likewise.
29409 * sysdeps/sh/nptl/tls.h: Likewise.
29410 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29411 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29412 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29413 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29414 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29415 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29416 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29417 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29419 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29420 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29421 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29422 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29423 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29424 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29425 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29426 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29427 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29428 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29429 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29430 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29432 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29433 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29434 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29435 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29437 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29438 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29439 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29440 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29441 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29442 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29443 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29444 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29445 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29446 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29447 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29448 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29449 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29450 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29451 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29452 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29453 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29454 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29455 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29456 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29457 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29458 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29459 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29460 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29461 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29462 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29463 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29464 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29465 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29467 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29490 * sysdeps/unix/sysv/linux/pread.c: Likewise.
29491 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29492 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29493 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29494 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29495 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29496 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29497 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29498 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29499 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29500 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29501 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29502 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29503 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29504 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29505 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29506 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29507 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29508 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29509 * sysdeps/unix/sysv/linux/system.c: Likewise.
29510 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29511 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29512 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29513 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29514 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29515 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29516 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29518 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29519 * configure: Regenerated.
29520 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29522 * configure.ac (base_machine): Do not set specially for particular
29524 * configure: Regenerated.
29525 * sysdeps/powerpc/preconfigure: Move machine and base_machine
29526 settings from configure.ac.
29527 * sysdeps/i386/preconfigure: New file.
29528 * sysdeps/s390/preconfigure: Likewise.
29529 * sysdeps/sh/preconfigure: Likewise.
29530 * sysdeps/sparc/preconfigure: Likewise.
29532 2014-06-25 Roland McGrath <roland@hack.frob.com>
29534 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29535 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29536 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29537 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29538 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29539 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29540 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29541 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29542 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29543 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29544 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29545 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29546 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29547 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29548 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29549 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29551 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29552 * sysdeps/sparc/sparc64/Makefile: ... appended here.
29554 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29555 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29556 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29557 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29558 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29559 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29560 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29561 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29562 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29563 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29564 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29565 * sysdeps/sparc/sparc32/sem_post.c: ... here.
29566 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29567 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29568 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29569 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29570 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29571 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29572 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29573 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29574 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29575 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29576 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29577 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29578 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29579 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29580 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29581 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29582 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29583 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29585 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29586 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29587 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29588 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29589 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29590 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29591 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29594 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29596 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29599 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29602 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29604 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29607 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29609 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29613 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29616 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29619 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29621 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29624 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29626 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29628 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29630 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29632 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29635 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29638 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29640 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29643 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29645 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29647 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29649 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29652 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29655 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29657 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29660 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29662 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29664 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29666 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29668 * timezone/checktab.awk: Update from tzcode 2014e.
29669 * timezone/private.h: Likewise.
29670 * timezone/tzfile.h: Likewise.
29671 * timezone/zdump.c: Likewise.
29672 * timezone/zic.c: Likewise.
29674 * sysdeps/unix/sysv/linux/kernel-features.h
29675 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29676 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29677 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29678 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29679 Remove conditional code.
29681 2014-06-25 Will Newton <will.newton@linaro.org>
29683 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29684 (_dl_arm_cap_flags): Add HWCAP2 values.
29685 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29686 (_DL_HWCAP_COUNT): Increase to 37.
29687 (_DL_HWCAP_LAST): New define.
29688 (_DL_HWCAP2_LAST): New define.
29689 (_dl_procinfo): Add support for printing
29691 (_dl_string_hwcap): Use _dl_hwcap_string.
29693 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29697 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29699 * README: Do not mention ports directory.
29701 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29703 * sysdeps/unix/sysv/linux/futimes.c: Do not include
29704 <kernel-features.h>.
29705 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29706 conditional variable definition.
29707 (__futimes): Update comment.
29708 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29709 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29712 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29713 arguments close to 0.
29714 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29716 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29718 * math/auto-libm-test-in: Add more tests of exp10.
29719 * math/auto-libm-test-out: Regenerated.
29720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29722 * sysdeps/unix/sysv/linux/kernel-features.h
29723 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29724 * sysdeps/unix/sysv/linux/readv.c: Do not include
29725 <kernel-features.h>.
29726 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29727 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29728 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29730 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29732 * sysdeps/unix/sysv/linux/writev.c: Do not include
29733 <kernel-features.h>.
29734 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29735 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29736 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29738 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29741 2014-06-25 Will Newton <will.newton@linaro.org>
29743 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29744 comment changes throughout the file. Remove checks
29745 for HAVE_*_H definitions that are not required.
29746 (__gen_tempname): Call abort if an unknown kind value is
29749 2014-06-25 Andreas Schwab <schwab@suse.de>
29752 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29753 scalbln, scalblnf, scalblnl in libc.
29755 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29758 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29759 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29760 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29762 2014-06-24 Roland McGrath <roland@hack.frob.com>
29764 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29765 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29766 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29767 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29769 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29770 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29772 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29773 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29774 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29775 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29776 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29777 * sysdeps/x86/bits/pthreadtypes.h: ... here.
29778 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29779 * sysdeps/x86/bits/semaphore.h: ... here.
29780 * sysdeps/x86/nptl/elide.h: Moved ...
29781 * sysdeps/x86/elide.h: ... here.
29782 * sysdeps/x86_64/nptl/Implies: File removed.
29783 * sysdeps/i386/nptl/Implies: File removed.
29785 2014-06-24 Joseph Myers <joseph@codesourcery.com>
29788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29789 return the argument for normal arguments with exponent below -64.
29790 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29792 * math/auto-libm-test-in: Add another test of expm1.
29793 * math/auto-libm-test-out: Regenerated.
29796 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29797 calling __erfcl for arguments at least 16.
29798 * math/auto-libm-test-in: Add more tests of erf.
29799 * math/auto-libm-test-out: Regenerated.
29801 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29802 individual architectures.
29803 * sysdeps/unix/sysv/linux/configure: Regenerated.
29804 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29805 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29806 * sysdeps/unix/sysv/linux/powerpc/configure.ac
29807 (ldd_rewrite_script): Define variable.
29808 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29813 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29814 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29815 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29816 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29817 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29818 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29819 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29820 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29822 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29825 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29826 Rename member __data.d to __data.__elision_data.
29828 2014-06-24 Wilco <wdijkstr@arm.com>
29830 * NEWS: Add 16918 to fixed bug list.
29832 2014-06-24 Wilco <wdijkstr@arm.com>
29834 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29836 2014-06-24 Wilco <wdijkstr@arm.com>
29838 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29839 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29840 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29841 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29842 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29843 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29844 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29847 2014-06-24 Wilco <wdijkstr@arm.com>
29849 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29851 2014-06-24 Wilco <wdijkstr@arm.com>
29853 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29854 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29855 * sysdeps/arm/fesetround.c (fesetround): Remove space.
29856 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29858 2014-06-24 Wilco <wdijkstr@arm.com>
29861 * sysdeps/arm/feupdateenv.c (feupdateenv):
29862 Rewrite to reduce FPSCR accesses and fix return value.
29864 2014-06-24 Wilco <wdijkstr@arm.com>
29866 * sysdeps/arm/fclrexcpt.c (feclearexcept):
29867 Optimize to avoid unnecessary FPSCR writes.
29868 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29869 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29870 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29871 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29873 2014-06-24 Wilco <wdijkstr@arm.com>
29875 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29876 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29877 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29878 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29879 Call libc_fetestexcept_vfp.
29880 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29881 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29882 __SOFTFP__ ifdef so that they can be built for softfp.
29884 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29886 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29887 argument type signed char.
29889 * Makerules (check-abi): Dump diff of symlist if the test
29892 2014-06-23 Roland McGrath <roland@hack.frob.com>
29894 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29897 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29898 Remove unused variable ST.
29900 2014-06-23 Joseph Myers <joseph@codesourcery.com>
29904 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29905 small arguments before calling __expm1.
29906 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29907 small arguments before calling __expm1f.
29908 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29909 small arguments before calling __expm1l.
29910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29912 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29913 * math/auto-libm-test-in: Add more cosh tests. Do not allow
29914 spurious underflow for some cosh tests.
29915 * math/auto-libm-test-out: Regenerated.
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29919 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29920 (__ieee754_y1): Set errno if return value overflows.
29921 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29922 (__ieee754_y1f): Set errno if return value overflows.
29923 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29924 (__ieee754_y1l): Set errno if return value overflows.
29925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29926 (__ieee754_y1l): Set errno if return value overflows.
29927 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29928 * math/auto-libm-test-out: Regenerated.
29930 * math/gen-auto-libm-tests.c: Document use of
29931 ignore-zero-inf-sign.
29932 (input_flag_type): Add value flag_ignore_zero_inf_sign.
29933 (input_flags): Add ignore-zero-inf-sign.
29934 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29935 * math/gen-libm-test.pl (generate_testfile): Handle
29936 ignore-zero-inf-sign.
29937 * math/auto-libm-test-in: Mark some cpow tests with
29938 ignore-zero-inf-sign and some with xfail-rounding.
29939 * math/auto-libm-test-out: Regenerated.
29940 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29941 * sysdeps/i386/fpu/libm-test-ulps: Update.
29942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29945 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29946 overflowing or underflowing operations take place with sign of
29948 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29949 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29950 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29951 (__ieee754_pow): Recompute overflowing and underflowing results in
29952 original rounding mode.
29953 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29954 (__powl_helper): Allow negative argument X and scale negated value
29955 as needed. Avoid passing value outside [-1, 1] to f2xm1.
29956 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29957 overflowing or underflowing operations take place with sign of
29959 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29961 * math/auto-libm-test-in: Add more tests of pow.
29962 * math/auto-libm-test-out: Regenerated.
29963 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29964 (pow_tonearest_test_data): Remove.
29965 (pow_test_tonearest): Likewise.
29966 (pow_towardzero_test_data): Likewise.
29967 (pow_test_towardzero): Likewise.
29968 (pow_downward_test_data): Likewise.
29969 (pow_test_downward): Likewise.
29970 (pow_upward_test_data): Likewise.
29971 (pow_test_upward): Likewise.
29972 (main): Don't call removed functions.
29973 * sysdeps/i386/fpu/libm-test-ulps: Update.
29974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29976 2014-06-23 Roland McGrath <roland@hack.frob.com>
29978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30152 2014-06-23 Will Newton <will.newton@linaro.org>
30153 Wilco <wdijkstr@arm.com>
30155 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30156 implementation. Include get-rounding-mode.h.
30157 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30158 [!libc_feholdsetround_noex_ctx]: Define
30159 libc_feholdsetround_noex_ctx.
30160 [!libc_feholdsetround_noexf_ctx]: Define
30161 libc_feholdsetround_noexf_ctx.
30162 [!libc_feholdsetround_noexl_ctx]: Define
30163 libc_feholdsetround_noexl_ctx.
30164 (libc_feholdsetround_ctx): New function.
30165 (libc_feresetround_ctx): New function.
30166 (libc_feholdsetround_noex_ctx): New function.
30167 (libc_feresetround_noex_ctx): New function.
30169 2014-06-23 Roland McGrath <roland@hack.frob.com>
30171 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30172 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30173 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30174 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30175 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30176 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30178 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30179 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30180 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30181 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30182 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30183 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30185 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30187 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30190 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30192 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30193 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30194 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30195 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30196 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30198 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30200 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30201 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30202 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30203 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30204 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30207 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30210 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30212 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30213 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30215 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30217 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30218 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30219 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30220 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30221 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30223 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30226 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30229 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30230 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30231 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30232 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30233 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30235 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30236 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30237 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30238 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30239 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30240 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30242 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30244 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30246 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30249 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30251 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30252 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30253 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30255 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30256 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30258 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30260 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30261 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30262 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30264 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30265 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30266 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30267 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30268 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30269 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30270 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30271 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30272 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30273 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30274 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30275 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30276 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30277 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30278 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30279 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30280 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30281 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30282 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30284 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30286 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30287 (FALLOC_FL_COLLAPSE_RANGE): New macro.
30288 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30289 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30290 (IPV6_PMTUDISC_INTERFACE): Likewise.
30291 (IPV6_PMTUDISC_OMIT): Likewise.
30293 2014-06-23 Andreas Schwab <schwab@suse.de>
30295 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30296 Remove unused errout label.
30298 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30300 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30301 macro: hardware supports Vector Crypto instructions.
30303 2014-06-23 Will Newton <will.newton@linaro.org>
30305 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30306 rather than __builtin_expect.
30308 * elf/dl-lookup.c (undefined_msg): Remove variable.
30309 (_dl_lookup_symbol_x): Replace undefined_msg with string
30312 * elf/dl-lookup.c (do_lookup_unique): New function.
30313 (do_lookup_x): Move STB_GNU_UNIQUE handling code
30314 to a separate function.
30316 2014-06-23 Andreas Schwab <schwab@suse.de>
30319 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30320 before reading the next line.
30322 2014-06-23 Will Newton <will.newton@linaro.org>
30324 * test-skeleton.c (signal_handler): Use printf and %m
30325 rather than perror. Use printf rather than fprintf to
30326 stderr. Use puts rather than fputs to stderr.
30329 2014-06-22 Ludovic Courtès <ludo@gnu.org>
30331 * nscd/nscd.c (thread_info_t): Remove typedef.
30332 (thread_info): Remove variable.
30334 2014-06-21 Allan McRae <allan@archlinux.org>
30336 * NEWS: Mention CVE-2014-4043.
30338 2014-06-20 Roland McGrath <roland@hack.frob.com>
30340 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30341 * nptl/smp.h: ... here.
30343 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30345 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30346 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30347 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30348 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30350 * nptl/allocatestack.c: Include <stack-aliasing.h>.
30351 * nptl/stack-aliasing.h: New file.
30352 * sysdeps/i386/i686/stack-aliasing.h: New file.
30353 * sysdeps/i386/i686/nptl/Makefile: File removed.
30354 * sysdeps/x86_64/stack-aliasing.h: New file.
30355 * sysdeps/x86_64/nptl/Makefile
30356 (CFLAGS-pthread_create.c): Variable removed.
30358 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30359 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30361 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30362 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30365 2014-06-21 Joseph Myers <joseph@codesourcery.com>
30367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30368 (__ASSUME_SIGFRAME_V2): Remove macro.
30369 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30370 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30371 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30372 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30373 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30374 Declare as function. Remove conditional macro definitions.
30375 (__default_rt_sa_restorer): Likewise.
30376 (__default_sa_restorer_v1): Remove declaration.
30377 (__default_sa_restorer_v2): Likewise.
30378 (__default_rt_sa_restorer_v1): Likewise.
30379 (__default_rt_sa_restorer_v2): Likewise.
30380 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30381 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30382 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30384 2014-06-20 Roland McGrath <roland@hack.frob.com>
30386 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30387 (libpthread-routines): Add sysdep.
30388 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30389 * sysdeps/unix/sysv/linux/sparc/Versions
30390 (libpthread: GLIBC_2.3.3): New version set.
30391 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30392 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30393 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30394 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30395 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
30396 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30398 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30399 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30400 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30401 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30402 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30403 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30404 * sysdeps/sparc/nptl/sem_init.c: ... here.
30405 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30406 * sysdeps/sparc/nptl/sem_post.c: ... here.
30407 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30408 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30409 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30410 * sysdeps/sparc/nptl/sem_wait.c: ... here.
30411 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30412 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30413 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30414 (libpthread-routines): Add cpu_relax.
30415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30417 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30418 (librt: GLIBC_2.3.3): New version set.
30419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30420 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30421 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30422 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30425 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30428 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30430 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30432 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30434 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30436 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30439 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30443 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30447 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30451 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30455 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30459 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30462 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30468 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30470 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30473 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30475 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30477 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30479 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30481 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30482 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30483 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30484 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30485 * nscd/nscd.c: Likewise.
30486 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30487 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30488 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30489 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30491 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30492 <kernel-features.h>.
30493 (init_mq_netlink): Remove conditional have_sock_cloexec
30494 definitions. Remove code conditional on have_sock_cloexec < 0.
30495 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30496 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30497 * sysdeps/unix/sysv/linux/opensock.c: Do not include
30498 <kernel-features.h>.
30499 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30500 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30502 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
30504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30505 Add tests for memset_chk and memset.
30507 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30510 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
30513 * elf/tst-dl-iter-static.c: New file.
30514 * elf/Makefile (tests-static): Add tst-dl-iter-static.
30516 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30519 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30521 * sysdeps/unix/sysv/linux/kernel-features.h
30522 (__ASSUME_F_GETOWN_EX): Remove macro.
30523 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30524 <kernel-features.h>.
30525 (miss_F_GETOWN_EX): Remove variable or macro.
30526 (do_fcntl): Do not check miss_F_GETOWN_EX.
30527 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30532 [!__ASSUME_AT_RANDOM]: Remove conditional code.
30533 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30535 * sysdeps/unix/sysv/linux/kernel-features.h
30536 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30537 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30538 [ADJ_OFFSET_SS_READ]: Make code unconditional.
30539 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30541 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
30544 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30545 Fix calculation of the symbol's value.
30546 * sysdeps/arm/tst-armtlsdescloc.c: New file.
30547 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30548 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30549 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30550 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30551 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30552 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30553 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30554 (modules-names): Add `tst-armtlsdescmod',
30555 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30556 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30557 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30558 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30559 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30560 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30561 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30562 ($(objpfx)tst-armtlsdescloc): New dependency.
30563 ($(objpfx)tst-armtlsdescextnow): Likewise.
30564 ($(objpfx)tst-armtlsdescextlazy): Likewise.
30565 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30566 TLS scheme support.
30567 * sysdeps/arm/configure: Regenerate.
30569 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30571 * include/fcntl.h (__atfct_seterrno): Remove prototype.
30572 (__atfct_seterrno_2): Likewise.
30573 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30574 <kernel-features.h>.
30575 (__ASSUME_ATFCTS): Do not undefine and redefine.
30576 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30577 (__have_atfcts): Remove conditional definition.
30578 (__fxstatat([__NR_fstatat64]: Make code unconditional.
30579 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30580 unreachable if [__ASSUME_ATFCTS].
30581 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30582 not undefine and redefine.
30583 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30584 <kernel-features.h>.
30585 (faccessat) [__NR_faccessat]: Make code unconditional.
30586 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30587 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30588 <kernel-features.h>.
30589 (fchmodat) [__NR_fchmodat]: Make code unconditional.
30590 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30591 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30592 <kernel-features.h>.
30593 (fchownat) [__NR_fchownat]: Make code unconditional.
30594 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30595 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30596 <kernel-features.h>.
30597 (futimesat) [__NR_futimesat]: Make code unconditional.
30598 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30600 <kernel-features.h>.
30601 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30602 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30603 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30604 <kernel-features.h>.
30605 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30606 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30607 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30608 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30609 <kernel-features.h>.
30610 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30611 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30612 * sysdeps/unix/sysv/linux/linkat.c: Do not include
30613 <kernel-features.h>.
30614 (linkat) [__NR_linkat]: Make code unconditional.
30615 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30616 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30617 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30618 <kernel-features.h>.
30619 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30620 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30621 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30622 <kernel-features.h>.
30623 (mkdirat) [__NR_mkdirat]: Make code unconditional.
30624 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30625 * sysdeps/unix/sysv/linux/openat.c: Do not include
30626 <kernel-features.h>.
30627 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30628 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30629 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30630 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30631 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30632 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30633 <kernel-features.h>.
30634 (readlinkat) [__NR_readlinkat]: Make code unconditional.
30635 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
30636 result of INLINE_SYSCALL directly, not via int variable.
30637 * sysdeps/unix/sysv/linux/renameat.c: Do not include
30638 <kernel-features.h>.
30639 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30640 (renameat) [__NR_renameat]: Make code unconditional.
30641 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30642 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30643 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30644 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30645 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30646 (__ASSUME_ATFCTS): Do not undefine and redefine.
30647 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30648 <kernel-features.h>.
30649 (symlinkat) [__NR_symlinkat]: Make code unconditional.
30650 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30651 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30652 <kernel-features.h>.
30653 (unlinkat) [__NR_unlinkat]: Make code unconditional.
30654 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30655 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30656 (__ASSUME_ATFCTS): Do not undefine and redefine.
30657 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30658 <kernel-features.h>.
30659 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30660 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30661 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30662 <kernel-features.h>.
30663 (__xmknodat) [__NR_mknodat]: Make code unconditional.
30664 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30666 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
30668 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30670 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
30673 * posix/regcomp.c (parse_reg_exp): Deallocate partially
30674 constructed tree before returning error.
30675 * posix/bug-regexp36.c: Expand test case.
30677 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
30680 * math/libm-test.inc (scalbln_test_date):
30681 Add errno expectations.
30682 * math/w_scalblnf.c: New File.
30683 Add wrapper which checks for setting errno to ERANGE.
30684 Add weak_alias for corresponding scalbln function.
30685 * math/w_scalbln.c: Likewise.
30686 * math/w_scalblnl.c: Likewise.
30687 * math/Makefile (libm-calls): Add w_scalbln.
30688 * sysdeps/ieee754/flt-32/s_scalblnf.c:
30689 Remove weak_alias for corresponding scalbln function.
30690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30694 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30695 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30696 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30697 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30698 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30699 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30700 Remove long_double_symbol for scalblnl function in libm, libc.
30701 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30702 Add wrapper which checks for setting errno to ERANGE.
30703 Add long_double_symbol for scalblnl function in libm, libc.
30704 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30705 Remove long_double_symbol for scalblnl in libm.
30706 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30707 Add wrapper which checks for setting errno to ERANGE.
30708 Add long_double_symbol for scalblnl function in libm.
30709 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30710 Do not use wrapper because of own implementation.
30712 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
30714 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30715 3 bytes for __pad1 for x32.
30716 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30718 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
30719 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30722 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30725 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30727 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
30730 * posix/regcomp.c (parse_expression): Deallocate partially
30731 constructed tree before returning error.
30732 * posix/Makefile.c (tests): Add bug-regex36.
30733 (generated): Add bug-regex36.mtrace.
30734 (tests-special): Add $(objpfx)bug-regex36-mem.out
30735 (bug-regex36-ENV): New variable.
30736 ($(objpfx)bug-regex36-mem.out): New rule.
30737 * posix/bug-regex36.c: New file.
30739 2014-06-19 Will Newton <will.newton@linaro.org>
30741 * malloc/malloc.c (systrim): If extra is zero then return
30744 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30746 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30748 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
30750 * sysdeps/aarch64/strchr.S: New file.
30752 2014-06-18 Joseph Myers <joseph@codesourcery.com>
30755 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30756 from arguments -2 or below.
30757 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30758 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30760 2014-06-18 Andreas Schwab <schwab@suse.de>
30763 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30764 of a bracket expr not to run off the end of the string.
30765 * posix/Makefile (tests): Add tst-fnmatch3.
30766 * posix/tst-fnmatch3.c: New file.
30768 2014-06-18 Joseph Myers <joseph@codesourcery.com>
30770 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30771 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30772 [$(cross-compiling) = no]: Likewise.
30773 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30774 [$(cross-compiling) = no]: Likewise.
30776 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30779 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30780 double, adjusted for any remainder from the high double.
30781 * math/libm-test.inc (nearbyint): Add tests.
30784 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30786 * nptl/sysdeps/powerpc/Makefile: Moved ...
30787 * sysdeps/powerpc/nptl/Makefile: ... here.
30788 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30789 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30790 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30791 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30792 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30793 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30794 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30795 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30796 * nptl/sysdeps/powerpc/tls.h: Moved ...
30797 * sysdeps/powerpc/nptl/tls.h: ... here.
30799 2014-06-16 Joseph Myers <joseph@codesourcery.com>
30802 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30803 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30804 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30805 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30806 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30807 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30808 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30809 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30810 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30812 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
30814 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30816 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
30818 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30821 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30824 2014-06-16 Florian Weimer <fweimer@redhat.com>
30827 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30828 non-executed part of the test.
30830 2014-06-16 Andreas Schwab <schwab@suse.de>
30832 * string/bits/string2.h (strdup, strndup): Update feature guard.
30834 2014-06-14 David S. Miller <davem@davemloft.net>
30836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30838 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
30840 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30841 that was previously under [RESET_PID].
30842 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30844 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30845 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30846 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30847 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30848 (__libc_vfork): New strong alias.
30849 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30851 2014-06-14 Andi Kleen <ak@linux.intel.com>
30853 * sysdeps/generic/elide.h: New file.
30855 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30857 * Makefile (installed-headers): Adjust path of pthread.h header.
30859 2014-06-13 Roland McGrath <roland@hack.frob.com>
30861 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30862 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30863 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30864 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30866 * nptl/sysdeps/s390/Makefile: Moved ...
30867 * sysdeps/s390/nptl/Makefile: ... here.
30868 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30869 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30870 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30871 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30872 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30873 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30874 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30875 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30876 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30877 * sysdeps/s390/nptl/pthreaddef.h: ... here.
30878 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30879 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30880 * nptl/sysdeps/s390/tls.h: Moved ...
30881 * sysdeps/s390/nptl/tls.h: ... here.
30883 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30884 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30886 2014-06-13 David S. Miller <davem@davemloft.net>
30888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30891 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30895 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30896 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30897 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30898 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30899 Remove RESET_PID cpp guards.
30900 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30901 Remove RESET_PID cpp guards.
30902 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30904 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
30906 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30909 2014-06-13 Andi Kleen <ak@linux.intel.com>
30911 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30912 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30913 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30914 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30915 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30916 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30917 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30918 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30919 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30922 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30923 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30924 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30925 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30926 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30927 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30928 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30929 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30930 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30932 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30933 (pthread_rwlock_rdlock): Add elision.
30934 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30935 (pthread_rwlock_wrlock): Add elision.
30936 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30937 (pthread_rwlock_trywrlock): Add elision.
30938 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30939 (pthread_rwlock_tryrdlock): Add elision.
30940 * nptl/pthread_rwlock_unlock.c: Include elide.h.
30941 (pthread_rwlock_tryrdlock): Add elision unlock.
30942 * nptl/sysdeps/pthread/pthread.h:
30943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30944 (PTHREAD_RWLOCK_INITIALIZER,
30945 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30946 Handle new elision field.
30947 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30948 * sysdeps/arm/nptl/bits/pthreadtypes.h
30949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30950 * sysdeps/sh/nptl/bits/pthreadtypes.h
30951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30952 * sysdeps/tile/nptl/bits/pthreadtypes.h
30953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30954 * sysdeps/a/nptl/bits/pthreadtypes.h
30955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30956 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30958 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30960 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30961 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30962 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30964 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30965 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30966 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30968 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30970 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30972 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30973 (elision_init): Set try_xbegin to zero when no RTM.
30974 * sysdeps/x86/nptl/bits/pthreadtypes.h
30975 (pthread_rwlock_t): Change __pad1 to __rwelision.
30976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30978 2014-06-13 Andi Kleen <ak@linux.intel.com>
30980 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30981 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30982 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30983 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30985 2014-06-13 Meador Inge <meadori@codesourcery.com>
30988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30989 that the cached result has been set before returning it.
30991 2014-06-12 Roland McGrath <roland@hack.frob.com>
30993 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30994 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30995 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30996 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30997 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30998 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31000 * nptl/sysdeps/sparc/Makefile: Moved ...
31001 * sysdeps/sparc/nptl/Makefile: ... here.
31002 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31003 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31004 * nptl/sysdeps/sparc/tls.h: Moved ...
31005 * sysdeps/sparc/nptl/tls.h: ... here.
31006 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31007 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31008 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31009 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31010 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31011 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31012 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31013 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31014 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31015 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31016 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31017 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31018 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31019 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31020 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31021 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31022 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31025 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31028 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31029 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31031 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31032 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31035 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31037 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31038 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31040 * sysdeps/pthread/posix-timer.h: Include <list.h>.
31041 (struct list_links): Type removed.
31042 (struct thread_node, struct timer_node): Replace struct list_links
31043 with struct list_head.
31044 (list_unlink_ip): Likewise.
31045 * sysdeps/pthread/timer_routines.c
31046 (timer_free_list, thread_free_list, thread_active_list): Likewise.
31047 (list_append, list_insbefore): Likewise.
31048 (list_init): Function removed.
31049 (thread_init, init_module): Use INIT_LIST_HEAD instead.
31050 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31051 * sysdeps/pthread/Makefile: ... here, new file.
31053 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31054 * sysdeps/nptl/Implies: ... here.
31055 * sysdeps/unix/sysv/linux/Implies: Add nptl.
31056 * nptl/sysdeps/pthread/list.h: Moved ...
31057 * include/list.h: ... here.
31058 * nptl/sysdeps/pthread/createthread.c: Moved ...
31059 * nptl/createthread.c: ... here.
31060 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31061 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31062 * nptl/pt-longjmp.c: ... here.
31063 * nptl/sysdeps/pthread/Makefile: Moved ...
31064 * sysdeps/nptl/Makefile: ... here.
31065 * nptl/sysdeps/pthread/Subdirs: Moved ...
31066 * sysdeps/nptl/Subdirs: ... here.
31067 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31068 * sysdeps/nptl/aio_misc.h: ... here.
31069 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31070 * sysdeps/nptl/bits/libc-lock.h: ... here.
31071 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31072 * sysdeps/nptl/bits/libc-lockP.h: ... here.
31073 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31074 * sysdeps/nptl/bits/stdio-lock.h: ... here.
31075 * nptl/sysdeps/pthread/configure: Moved ...
31076 * sysdeps/nptl/configure: ... here.
31077 * nptl/sysdeps/pthread/configure.ac: Moved ...
31078 * sysdeps/nptl/configure.ac: ... here.
31079 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31080 * sysdeps/nptl/gai_misc.h: ... here.
31081 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31082 * sysdeps/nptl/librt-cancellation.c: ... here.
31083 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31084 * sysdeps/nptl/malloc-machine.h: ... here.
31085 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31086 * sysdeps/nptl/pthread-functions.h: ... here.
31087 * nptl/sysdeps/pthread/pthread.h: Moved ...
31088 * sysdeps/nptl/pthread.h: ... here.
31089 * nptl/sysdeps/pthread/setxid.h: Moved ...
31090 * sysdeps/nptl/setxid.h: ... here.
31091 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31092 * sysdeps/nptl/sigfillset.c: ... here.
31093 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31094 * sysdeps/nptl/tcb-offsets.h: ... here.
31095 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31096 * sysdeps/nptl/tst-mqueue8x.c: ... here.
31097 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31098 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31099 * nptl/sysdeps/pthread/allocalim.h: Moved ...
31100 * sysdeps/pthread/allocalim.h: ... here.
31101 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31102 * sysdeps/pthread/bits/sigthread.h: ... here.
31103 * nptl/sysdeps/pthread/flockfile.c: Moved ...
31104 * sysdeps/pthread/flockfile.c: ... here.
31105 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31106 * sysdeps/pthread/ftrylockfile.c: ... here.
31107 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31108 * sysdeps/pthread/funlockfile.c: ... here.
31109 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31110 * sysdeps/pthread/posix-timer.h: ... here.
31111 * nptl/sysdeps/pthread/timer_create.c: Moved ...
31112 * sysdeps/pthread/timer_create.c: ... here.
31113 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31114 * sysdeps/pthread/timer_delete.c: ... here.
31115 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31116 * sysdeps/pthread/timer_getoverr.c: ... here.
31117 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31118 * sysdeps/pthread/timer_gettime.c: ... here.
31119 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31120 * sysdeps/pthread/timer_routines.c: ... here.
31121 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31122 * sysdeps/pthread/timer_settime.c: ... here.
31123 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31124 * sysdeps/pthread/tst-timer.c: ... here.
31125 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31126 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31128 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31129 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31131 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31132 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31133 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31134 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31135 Update #include target.
31136 * nptl/sysdeps/i386/i686/Makefile: Moved ...
31137 * sysdeps/i386/i686/nptl/Makefile: ... here.
31138 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31139 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31140 Update #include target.
31141 * nptl/sysdeps/i386/i686/tls.h: Moved ...
31142 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
31143 * nptl/sysdeps/i386/Makefile: Moved ...
31144 * sysdeps/i386/nptl/Makefile: ... here.
31145 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31146 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31147 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31148 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31149 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31150 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31151 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31152 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31153 * sysdeps/i386/nptl/pthreaddef.h: ... here.
31154 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31155 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31156 * nptl/sysdeps/i386/tls.h: Moved ...
31157 * sysdeps/i386/nptl/tls.h: ... here.
31159 * sysdeps/sh/Makefile [$(subdir) = csu]
31160 (gen-as-const-headers): Add tcb-offsets.sym.
31161 * nptl/sysdeps/sh/Makefile: File removed.
31162 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31163 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31164 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31165 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31166 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31167 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31168 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31169 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31170 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31171 * sysdeps/sh/nptl/pthreaddef.h: ... here.
31172 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31173 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31174 * nptl/sysdeps/sh/tls.h: Moved ...
31175 * sysdeps/sh/nptl/tls.h: ... here.
31176 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31177 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31178 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31179 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31180 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31181 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31182 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31183 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31184 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31185 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31187 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31189 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31190 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31191 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31193 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31195 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31196 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31197 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31198 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31199 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31200 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31202 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31207 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31209 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31210 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31211 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31212 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31213 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31214 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31215 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31216 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31217 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31218 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31219 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31220 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31221 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31222 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31223 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31225 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31227 * posix/spawn_faction_addopen.c: Include string.h.
31229 2014-06-11 Roland McGrath <roland@hack.frob.com>
31231 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31232 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31233 * nptl/sysdeps/x86_64/Makefile: Moved ...
31234 * sysdeps/x86_64/nptl/Makefile: ... here.
31235 * nptl/sysdeps/x86_64/configure: Moved ...
31236 * sysdeps/x86_64/nptl/configure: ... here.
31237 * nptl/sysdeps/x86_64/configure.ac: Moved ...
31238 * sysdeps/x86_64/nptl/configure.ac: ... here.
31239 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31240 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31241 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31242 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31243 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31244 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31245 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31246 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31247 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31248 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31249 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31250 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31251 * nptl/sysdeps/x86_64/tls.h: Moved ...
31252 * sysdeps/x86_64/nptl/tls.h: ... here.
31253 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31254 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31255 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31256 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31258 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31260 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31264 2014-06-11 Joseph Myers <joseph@codesourcery.com>
31266 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31268 [POSIX] (off_t): Likewise.
31269 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31270 [POSIX] (S_ISBLK): Require macro.
31271 [POSIX] (S_ISCHR): Likewise.
31272 [POSIX] (S_ISDIR): Likewise.
31273 [POSIX] (S_ISFIFO): Likewise.
31274 [POSIX] (S_ISREG): Likewise.
31275 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31277 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31279 [POSIX] (time_t): Likewise.
31280 [POSIX] (timer_t): Likewise.
31282 2014-06-11 Florian Weimer <fweimer@redhat.com>
31285 * posix/spawn_int.h (struct __spawn_action): Make the path string
31286 non-const to support deallocation.
31287 * posix/spawn_faction_addopen.c
31288 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31289 * posix/spawn_faction_destroy.c
31290 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
31291 path in all spawn_do_open actions.
31292 * posix/tst-spawn.c (do_test): Exercise the copy operation in
31293 posix_spawn_file_actions_addopen.
31295 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
31297 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31298 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31299 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31300 conditional code always true.
31301 (__libc_vfork): New alias.
31303 2014-06-11 Roland McGrath <roland@hack.frob.com>
31305 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31306 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31308 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31310 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31311 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31313 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31314 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31316 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31317 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31319 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31321 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31322 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31323 multiarch strcmp for PPC64.
31324 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31327 multiarch optimizations.
31328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31329 (__libc_ifunc_impl_list): Likewise.
31331 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31333 * benchtests/scripts/validate_benchout.py: New script.
31334 * benchtests/Makefile (bench-func): Call it.
31335 * benchtests/scripts/benchout.schema.json: New file.
31337 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
31339 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31340 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31341 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31342 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31343 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31344 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31345 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31346 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31347 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31348 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31349 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31350 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31351 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31352 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31353 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31354 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31459 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31461 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31464 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31467 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31468 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31469 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31471 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31473 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31474 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31475 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31476 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31477 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31480 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31483 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31485 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31488 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31490 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31491 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31492 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31493 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31494 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31496 2014-06-10 Wilco <wdijkstr@arm.com>
31498 * math/test-fenv-return.c: New file.
31499 * math/Makefile: Add new test test-fenv-return.
31501 2014-06-10 Joseph Myers <joseph@codesourcery.com>
31504 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31505 when x - 1 is zero.
31506 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31507 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31508 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31509 0.0L for an argument of 1.0L.
31510 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31512 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31513 value when x - 1 is zero.
31514 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31515 * sysdeps/i386/fpu/libm-test-ulps: Update.
31516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31518 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
31521 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31523 2014-06-09 Roland McGrath <roland@hack.frob.com>
31525 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31526 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31528 2014-06-09 Roland McGrath <roland@hack.frob.com>
31530 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31531 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31533 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31534 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31536 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31537 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31539 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31540 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31542 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31543 if not already defined.
31544 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31545 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31546 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31547 (TLS_INIT_TP): Use it.
31548 (TLS_DEFINE_INIT_TP): New macro.
31549 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31551 2014-06-09 Joseph Myers <joseph@codesourcery.com>
31553 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31555 [POSIX] (IXANY): Likewise.
31556 [POSIX] (OLCUC): Likewise.
31557 [POSIX || POSIX2008] (CBAUD): Do not allow.
31558 [POSIX || POSIX2008] (DEFECHO): Likewise.
31559 [POSIX || POSIX2008] (ECHOCTL): Likewise.
31560 [POSIX || POSIX2008] (ECHOKE): Likewise.
31561 [POSIX || POSIX2008] (ECHOPRT): Likewise.
31562 [POSIX || POSIX2008] (EXTA): Likewise.
31563 [POSIX || POSIX2008] (EXTB): Likewise.
31564 [POSIX || POSIX2008] (FLUSHO): Likewise.
31565 [POSIX || POSIX2008] (LOBLK): Likewise.
31566 [POSIX || POSIX2008] (PENDIN): Likewise.
31567 [POSIX || POSIX2008] (SWTCH): Likewise.
31568 [POSIX || POSIX2008] (VDISCARD): Likewise.
31569 [POSIX || POSIX2008] (VDSUSP): Likewise.
31570 [POSIX || POSIX2008] (VLNEXT): Likewise.
31571 [POSIX || POSIX2008] (VREPRINT): Likewise.
31572 [POSIX || POSIX2008] (VSTATUS): Likewise.
31573 [POSIX || POSIX2008] (VWERASE): Likewise.
31574 (B*): Change to B[0123456789]*.
31575 * conform/data/time.h-data [POSIX || UNIX98]
31576 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31577 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31578 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31579 [POSIX] (tm_*): Do not allow.
31581 2014-06-07 Joseph Myers <joseph@codesourcery.com>
31583 * Makefile (install): Don't set LANGUAGE.
31584 * Makefile.in (install): Likewise.
31585 * assert/Makefile (test-assert-ENV): Remove variable.
31586 (test-assert-perr-ENV): Likewise.
31587 * elf/Makefile (neededtest4-ENV): Likewise.
31588 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31589 [$(cross-compiling) = no]: Don't set LANGUAGE.
31590 * io/ftwtest-sh (LANG): Remove variable.
31591 * libio/Makefile (tst-widetext-ENV): Likewise.
31592 * manual/install.texi (Running make install): Don't refer to
31593 environment settings for make install.
31594 * INSTALL: Regenerated.
31595 * nptl/tst-tls6.sh: Don't set LANG.
31596 * posix/globtest.sh (LANG): Remove variable.
31597 * string/Makefile (tester-ENV): Likewise.
31598 (inl-tester-ENV): Likewise.
31599 (noinl-tester-ENV): Likewise.
31600 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31601 [$(cross-compiling) = no]: Don't set LANGUAGE.
31602 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31603 without explicit environment settings.
31605 2014-06-06 Roland McGrath <roland@hack.frob.com>
31607 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31608 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31609 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31610 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31612 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
31614 * crypt/crypt-private.h [DOS]: Add some includes taken from the
31615 other files in the crypt directory.
31616 * crypt/crypt.c: Remove duplicate includes.
31617 * crypt/crypt-entry.c: Likewise.
31618 * crypt/crypt_util.c: Likewise.
31620 2014-06-06 Joseph Myers <joseph@codesourcery.com>
31622 * Makeconfig (run-program-env): New variable.
31623 (run-program-prefix-before-env): Likewise.
31624 (run-program-prefix-after-env): Likewise.
31625 (run-program-prefix): Define in terms of new variables.
31626 (built-program-cmd-before-env): New variable.
31627 (built-program-cmd-after-env): Likewise.
31628 (built-program-cmd): Define in terms of new variables.
31629 (test-program-prefix-before-env): New variable.
31630 (test-program-prefix-after-env): Likewise.
31631 (test-program-prefix): Define in terms of new variables.
31632 (test-program-cmd-before-env): New variable.
31633 (test-program-cmd-after-env): Likewise.
31634 (test-program-cmd): Define in terms of new variables.
31635 * Rules (make-test-out): Use $(run-program-env).
31636 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31637 (help): Do not mention environment variables. Mention
31638 --timeoutfactor option.
31639 (timeoutfactor): New variable.
31640 (blacklist_exports): Remove function.
31641 (exports): Remove variable.
31642 (command): Do not include ${exports}.
31643 * manual/install.texi (Configuring and compiling): Do not mention
31644 test wrappers preserving environment variables. Mention that last
31645 assignment to a variable must take precedence.
31646 * INSTALL: Regenerated.
31647 * benchtests/Makefile (run-bench): Use $(run-program-env).
31648 * catgets/Makefile ($(objpfx)test1.cat): Use
31649 $(built-program-cmd-before-env), $(run-program-env) and
31650 $(built-program-cmd-after-env).
31651 ($(objpfx)test2.cat): Do not specify environment variables
31653 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31654 $(run-program-env) and $(built-program-cmd-after-env).
31655 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31656 $(run-program-env) and $(test-program-cmd-after-env).
31657 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31659 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31660 run_program_env and test_program_cmd_after_env arguments.
31661 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31662 * elf/tst-pathopt.sh: Use run_program_env argument.
31663 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31664 $(test-wrapper-env) and $(run-program-env).
31665 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31666 run_program_env arguments.
31667 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31668 * intl/Makefile ($(objpfx)tst-gettext.out): Use
31669 $(test-program-prefix-before-env), $(run-program-env) and
31670 $(test-program-prefix-after-env).
31671 ($(objpfx)tst-gettext2.out): Likewise.
31672 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31673 run_program_env and test_program_prefix_after_env arguments.
31674 * intl/tst-gettext2.sh: Likewise.
31675 * intl/tst-gettext4.sh: Do not set environment variables
31677 * intl/tst-gettext6.sh: Likewise.
31678 * intl/tst-translit.sh: Likewise.
31679 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31680 $(test-program-prefix-before-env), $(run-program-env) and
31681 $(test-program-prefix-after-env).
31682 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31683 run_program_env and test_program_prefix_after_env arguments.
31684 * math/Makefile (run-regen-ulps): Use $(run-program-env).
31685 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31686 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
31687 explicitly with each use of ${test_wrapper_env}.
31688 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31689 $(test-program-prefix-before-env), $(run-program-env) and
31690 $(test-program-prefix-after-env).
31691 * posix/tst-getconf.sh: Do not set environment variables
31693 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31694 run_program_env and test_program_prefix_after_env arguments.
31695 * stdio-common/tst-printf.sh: Do not set environment variables
31697 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31698 $(test-program-prefix-before-env), $(run-program-env) and
31699 $(test-program-prefix-after-env).
31700 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31701 run_program_env and test_program_prefix_after_env arguments.
31702 Split $test calls into $test_pre and $test.
31703 * timezone/Makefile (build-testdata): Use
31704 $(built-program-cmd-before-env), $(run-program-env) and
31705 $(built-program-cmd-after-env).
31707 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31709 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31710 strlen for non SHARED builds.
31712 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31714 * nptl/allocatestack.c (check_list): Inlined function...
31715 (__reclaim_stacks): ... here.
31717 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
31720 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31723 2014-06-05 Joseph Myers <joseph@codesourcery.com>
31725 * Rules (make-test-out): Include
31726 LOCPATH=$(common-objpfx)localedata in default environment.
31727 * debug/Makefile (tst-chk1-ENV): Remove variable.
31728 (tst-chk2-ENV): Likewise.
31729 (tst-chk3-ENV): Likewise.
31730 (tst-chk4-ENV): Likewise.
31731 (tst-chk5-ENV): Likewise.
31732 (tst-chk6-ENV): Likewise.
31733 (tst-lfschk1-ENV): Likewise.
31734 (tst-lfschk2-ENV): Likewise.
31735 (tst-lfschk3-ENV): Likewise.
31736 (tst-lfschk4-ENV): Likewise.
31737 (tst-lfschk5-ENV): Likewise.
31738 (tst-lfschk6-ENV): Likewise.
31739 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31740 (tst-iconv7-ENV): Likewise.
31741 * intl/Makefile (LOCPATH-ENV): Likewise.
31742 (tst-codeset-ENV): Likewise.
31743 (tst-gettext3-ENV): Likewise.
31744 (tst-gettext5-ENV): Likewise.
31745 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31746 (tst-fopenloc-ENV): Likewise.
31747 (tst-fgetws-ENV): Remove variable.
31748 (tst-ungetwc1-ENV): Likewise.
31749 (tst-ungetwc2-ENV): Likewise.
31750 (bug-ungetwc2-ENV): Likewise.
31751 (tst-swscanf-ENV): Likewise.
31752 (bug-ftell-ENV): Likewise.
31753 (tst-fgetwc-ENV): Likewise.
31754 (tst-fseek-ENV): Likewise.
31755 (tst-ftell-partial-wide-ENV): Likewise.
31756 (tst-ftell-active-handler-ENV): Likewise.
31757 (tst-ftell-append-ENV): Likewise.
31758 * posix/Makefile (tst-fnmatch-ENV): Likewise.
31759 (tst-regexloc-ENV): Likewise.
31760 (bug-regex1-ENV): Likewise.
31761 (tst-regex-ENV): Likewise.
31762 (tst-regex2-ENV): Likewise.
31763 (bug-regex5-ENV): Likewise.
31764 (bug-regex6-ENV): Likewise.
31765 (bug-regex17-ENV): Likewise.
31766 (bug-regex18-ENV): Likewise.
31767 (bug-regex19-ENV): Likewise.
31768 (bug-regex20-ENV): Likewise.
31769 (bug-regex22-ENV): Likewise.
31770 (bug-regex23-ENV): Likewise.
31771 (bug-regex25-ENV): Likewise.
31772 (bug-regex26-ENV): Likewise.
31773 (bug-regex30-ENV): Likewise.
31774 (bug-regex32-ENV): Likewise.
31775 (bug-regex33-ENV): Likewise.
31776 (bug-regex34-ENV): Likewise.
31777 (bug-regex35-ENV): Likewise.
31778 (tst-rxspencer-ENV): Likewise.
31779 (tst-rxspencer-no-utf8-ENV): Likewise.
31780 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31781 (tst-sscanf-ENV): Likewise.
31782 (tst-swprintf-ENV): Likewise.
31783 (tst-swscanf-ENV): Likewise.
31784 (test-vfprintf-ENV): Likewise.
31785 (scanf13-ENV): Likewise.
31786 (bug14-ENV): Likewise.
31787 (tst-grouping-ENV): Likewise.
31788 * stdlib/Makefile (tst-strtod-ENV): Likewise.
31789 (tst-strtod3-ENV): Likewise.
31790 (tst-strtod4-ENV): Likewise.
31791 (tst-strtod5-ENV): Likewise.
31792 (testmb2-ENV): Likewise./
31793 * string/Makefile (tst-strxfrm-ENV): Likewise.
31794 (tst-strxfrm2-ENV): Likewise.
31795 (bug-strcoll1-ENV): Likewise.
31796 (test-strcasecmp-ENV): Likewise.
31797 (test-strncasecmp-ENV): Likewise.
31798 * time/Makefile (tst-strptime-ENV): Likewise.
31799 (tst-ftime_l-ENV): Likewise.
31800 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31801 (tst-mbrtowc-ENV): Likewise.
31802 (tst-wcrtomb-ENV): Likewise.
31803 (tst-mbrtowc2-ENV): Likewise.
31804 (tst-c16c32-1-ENV): Likewise.
31805 (tst-mbsnrtowcs-ENV): Likewise.
31807 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
31809 * manual/resource.texi (How to get information about the memory
31810 subsystem?): Fix typo.
31811 Reported by Peon de la Parra Ivan <peon@keba.com>
31813 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
31816 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31817 (pthread_spin_lock): Branch out of spin loop to proper location.
31818 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31819 (pthread_spin_lock): Likewise.
31821 * nptl/tst-spin4.c: New test.
31822 * nptl/Makefile (tests): Add tst-spin4.
31824 2014-06-03 Andreas Schwab <schwab@suse.de>
31827 * resolv/res_send.c (send_dg): Reload file descriptor after
31830 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
31832 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31834 2014-06-03 Richard Henderson <rth@redhat.com>
31836 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31837 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31838 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31839 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
31840 in the SAVE_PID block.
31841 (__libc_vfork): New alias.
31842 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31844 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31845 child in registers, not on the stack. Remove RESET_PID conditionals.
31846 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31848 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
31850 * sysdeps/aarch64/libm-test-ulps: Regenerate.
31852 2014-06-03 Wilco <wdijkstr@arm.com>
31854 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31855 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31856 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31857 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31858 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31861 2014-06-03 Wilco <wdijkstr@arm.com>
31863 * sysdeps/aarch64/fpu/math_private.h
31864 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31865 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31866 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31867 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31870 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
31872 * crypt/crypt-private.h: Include ufc-crypt.h.
31873 (__b64_from_24bit): Declare extern.
31874 * crypt/crypt_util.c(__b64_from_24bit): New function.
31875 (b64t): New static const variable.
31876 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31877 (b64t): Remove variable.
31878 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31879 * crypt/sha256-crypt.c: Include crypt-private.h.
31880 (b64t): Remove variable.
31881 (__sha256_crypt_r): Remove b64_from_24bit and replace
31882 with __b64_from_24bit.
31883 * crypt/sha512-crypt.c: Likewise.
31885 2014-06-02 Roland McGrath <roland@hack.frob.com>
31887 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31888 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31889 Label the code __libc_vfork rather than __vfork.
31890 [!NOT_IN_libc] (vfork): Define as weak alias.
31891 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31892 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31893 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31895 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31897 * malloc/malloc.c (malloc_info): Fix format specifier for
31900 2014-06-02 Wilco <wdijkstr@arm.com>
31902 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31905 2014-06-02 Wilco <wdijkstr@arm.com>
31908 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31909 Rewrite to reduce FPCR/FPSR accesses.
31911 2014-06-01 David S. Miller <davem@davemloft.net>
31913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31915 2014-05-31 David S. Miller <davem@davemloft.net>
31917 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31918 to occur in round to nearest mode when |x| >= 2.0
31920 2014-05-30 Richard Henderson <rth@twiddle.net>
31922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31923 (PSEUDO_RET_NOERRNO): Remove.
31924 (ret): Don't redefine.
31925 (ret_NOERRNO): Define in terms of ret.
31926 (ret_ERRVAL): Likewise.
31928 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31929 use of PSEUDO_RET; perform the error check directly.
31931 2014-05-30 Marko Myllynen <myllynen@redhat.com>
31933 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31936 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31938 * malloc/malloc (malloc_info): Fix formatting.
31940 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31941 Roland McGrath <roland@hack.frob.com>
31943 * malloc/malloc (malloc_info): Also print mmapped statistics.
31945 2014-05-30 Roland McGrath <roland@hack.frob.com>
31947 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31948 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31950 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
31952 * malloc/malloc.c (malloc_info): Inline mi_arena.
31954 2014-05-29 Richard Henderson <rth@twiddle.net>
31956 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31957 Remove comma before expanding ASM_ARGS_##nr.
31958 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31959 Make _x0 a strict output; make _x8 a strict input; adjust expansion
31961 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31962 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31963 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31964 (ASM_ARGS_1): Add leading comma.
31966 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31967 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31968 to __errno_location.
31969 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31970 Remove the expected plt for __errno_location.
31972 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31973 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31976 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31977 Always allocate 64 bytes of stack frame. Use ldp/stp to create
31978 it and break it down.
31979 (DOCARGS_0, DOCARGS_1): Do nothing.
31980 (DOCARGS_2): Update to store into the new stack frame.
31981 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31982 (UNDOCARGS_1): Update to restore from the new stack frame.
31983 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31984 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31986 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31987 (SINGLE_THREAD_P): New parameter for result regno.
31988 (PSEUDO): Update to match; use cbz instead of beq.
31990 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31991 Use ENTRY to define the _nocancel entry point. Share the syscall
31992 and syscall error check paths with the cancel path.
31995 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31996 whitespace; tabs before and after asm mnemonics.
31998 2014-05-29 Eric Wong <normalperson@yhbt.net>
32001 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32002 Call fstat64 or stat64 internally, depending on arguments passed.
32003 Replace stat buffer argument with file descriptor argument.
32004 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32005 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32006 Pass fd to __internal_statvfs instead of calling fstat64.
32007 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32008 Pass fd to __internal_statvfs64 instead of calling fstat64.
32009 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32010 Pass -1 to __internal_statvfs instead of calling stat64.
32011 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32012 Pass -1 to __internal_statvfs64 instead of calling stat64.
32014 2014-05-28 Roland McGrath <roland@hack.frob.com>
32016 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32017 that was previously under [RESET_PID].
32018 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32020 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32021 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32023 2014-05-27 Roland McGrath <roland@hack.frob.com>
32025 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32027 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32028 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32030 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
32032 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32034 2014-05-27 Andreas Schwab <schwab@suse.de>
32036 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32038 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32039 * elf/rtld.c (init_tls, dl_main): Likewise.
32040 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32041 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32042 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32043 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32044 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32045 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32046 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32047 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32048 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32049 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32050 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32051 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32052 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32053 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32054 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32055 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32056 * sysdeps/generic/tls.h: Update description.
32058 2014-05-27 Will Newton <will.newton@linaro.org>
32061 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32062 and restore r2 rather than just restoring.
32064 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32067 * libio/tst-ftell-append.c: New test case.
32068 * libio/Makefile (tests): Add test case.
32069 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32071 * libio/wfileops.c (do_ftell_wide): Likewise.
32073 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32077 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32081 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32082 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32083 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32084 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32085 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32086 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32093 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32094 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32095 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32096 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32097 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32099 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32102 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32104 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32106 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32107 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32108 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32110 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32111 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32112 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32113 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32136 conditional [RESET_PID].
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32145 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32146 (__libc_vfork): New strong alias.
32147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32154 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32155 (__libc_vfork): New strong alias.
32156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32161 2014-05-26 Carlos O'Donell <carlos@redhat.com>
32163 * malloc/malloc.c (mi_arena): New function.
32164 (malloc_info): Remove nested function mi_arena. Call non-nosted
32167 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32169 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32171 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32172 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32173 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32174 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32176 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32179 2014-05-26 Andreas Schwab <schwab@suse.de>
32182 * locale/programs/repertoire.c (repertoire_read): Add slash
32183 between I18NPATH element and file name.
32184 * locale/programs/locfile.c (locfile_read): Likewise.
32186 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32188 * nptl/pthread_mutexattr_settype.c
32189 (__pthread_mutexattr_settype):
32190 Disable lock elision for PTHREAD_MUTEX_NORMAL.
32192 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32194 * nptl/tst-mutex5 (do_test):
32195 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32197 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32199 * benchtests/README: Document 'init' directive.
32200 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32202 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32203 (parse_file): Recognize 'init' directive.
32205 2014-05-26 Kyle McMartin <kyle@redhat.com>
32208 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32209 alignment of struct pthread.
32211 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32214 * nscd/netgroupcache.c (addgetnetgrentX): Look for
32215 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32216 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32217 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32219 2014-05-25 Richard Henderson <rth@twiddle.net>
32221 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32222 (SINGLE_THREAD_P_PIC): Remove.
32223 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32224 (SINGLE_THREAD_P_PIC): Remove.
32226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32227 branch to syscall error ...
32228 (PSEUDO): ... here.
32229 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32230 from __local_syscall_error to .Lsyscall_error.
32231 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32232 (SYSCALL_ERROR): Update label name.
32234 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32235 Do not use DOARGS/UNDOARGS.
32236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32237 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32238 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32239 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32240 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32242 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32245 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32246 define if !NOT_IN_libc.
32247 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32248 define with non-default symbol versions.
32250 2014-05-23 Richard Henderson <rth@twiddle.net>
32252 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32253 (vfork, __vfork): Define via compat_symbol.
32255 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32256 [!HAVE_IFUNC] (vfork_compat): Remove.
32257 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32259 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32262 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32263 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32266 2014-05-23 Richard Henderson <rth@twiddle.net>
32268 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32269 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32270 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32271 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32273 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32274 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32275 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32276 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32277 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32278 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32279 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32280 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32281 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32282 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32283 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32284 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32285 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32286 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32287 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32288 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32289 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32290 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32291 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32292 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32293 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32294 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32295 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32296 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32297 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32298 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32299 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32300 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32301 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32302 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32303 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32304 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32305 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32306 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32307 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32308 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32309 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32310 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32311 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32312 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32313 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32314 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32315 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32316 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32317 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32318 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32319 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32320 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32321 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32322 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32323 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32324 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32325 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32326 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32327 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32328 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32330 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32331 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32332 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
32333 before exiting on error.
32334 (__libc_vfork): New strong alias.
32335 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32336 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32338 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32339 that was previously under [RESET_PID].
32340 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32342 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32344 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32347 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32348 value when x - 1 is zero.
32349 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32350 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32351 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32352 0.0L for an argument of 1.0L.
32353 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32355 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32356 value when x - 1 is zero.
32357 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32358 * sysdeps/i386/fpu/libm-test-ulps: Update.
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32361 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
32363 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32364 alphasort and versionsort.
32366 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32368 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32370 [copysignf]: Likewise.
32372 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32374 * crypt/md5-crypt.c: Fix formatting.
32376 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32378 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32379 (b64_from_24bit): New function.
32381 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32384 libc_hidden_builtin_def to ifunc.
32385 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32386 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32388 2014-05-21 Roland McGrath <roland@hack.frob.com>
32390 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32391 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32393 2014-05-21 Joseph Myers <joseph@codesourcery.com>
32395 * nscd/Depend (linuxthreads): Remove.
32397 * resolv/Depend (linuxthreads): Remove.
32398 * rt/Depend (linuxthreads): Remove.
32400 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32401 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32402 $(common-objpfx)elf/.
32403 (link-libc-before-gnulib): Likewise.
32404 (elfobjdir): Remove variable.
32405 * Makefile (install): Use $(elf-objpfx) instead of
32406 $(common-objpfx)elf/.
32407 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32409 (link-libc-deps): Likewise.
32410 ($(common-objpfx)libc.so): Likewise.
32411 ($(common-objpfx)linkobj/libc.so): Likewise.
32412 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32413 instead of $(common-objpfx)elf/.
32414 (symbolic-link-list): Likewise.
32415 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32416 [$(cross-compiling) = no]: Likewise.
32417 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32419 (static-gnulib-arch): Likewise.
32420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32421 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32422 $(common-objpfx)elf/.
32424 2014-05-21 Richard Henderson <rth@redhat.com>
32426 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32427 (SINGLE_THREAD_P): Use the correct width load. Fold
32428 into the ldr offset.
32430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32431 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32433 2014-05-20 Joseph Myers <joseph@codesourcery.com>
32435 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32436 (libgcc_s_resume): Use __attribute_used__.
32437 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32440 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32442 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32443 optimization when used with float constants.
32445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32447 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
32450 * locale/nl_langinfo_l.c: Make direct reference to every
32451 _nl_current_CATEGORY symbol.
32452 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32453 (tests-static): Add tst-langinfo-static.
32454 (tests-special): Add tst-langinfo-static.out.
32455 ($(objpfx)tst-langinfo.out): Redirect output.
32456 ($(objpfx)tst-langinfo-static.out): New.
32457 * localedata/tst-langinfo.sh: Send output to stdout.
32458 * localedata/tst-langinfo-static.c: New file.
32461 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32462 when the shift amount is modulo the limb size.
32464 2014-05-20 Richard Henderson <rth@redhat.com>
32467 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32468 Change type of sa_flags from unsigned int to int.
32471 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32473 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32475 2014-05-20 Will Newton <will.newton@linaro.org>
32477 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32478 Test the return value of the system call in the nocancel case.
32480 2014-05-20 Will Newton <will.newton@linaro.org>
32481 Yvan Roux <yvan.roux@linaro.org>
32483 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32484 #include of asm/ptrace.h.
32485 (PTRACE_GET_THREAD_AREA): Remove #undef.
32486 (PTRACE_GETHBPREGS): Likewise.
32487 (PTRACE_SETHBPREGS): Likewise.
32488 (struct user_regs_struct): New structure.
32489 (struct user_fpsimd_struct): New structure.
32490 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32491 #include of asm/ptrace.h and second #include of sys/user.h.
32492 (PTRACE_GET_THREAD_AREA): Remove #undef.
32493 (PTRACE_GETHBPREGS): Likewise.
32494 (PTRACE_SETHBPREGS): Likewise.
32495 (ELF_NGREG): Use new struct user_regs_struct.
32496 (elf_fpregset_t): Use new struct user_fpsimd_struct.
32498 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32503 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
32506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32507 membar to avoid block loads/stores to overlap previous stores.
32509 2014-05-17 Richard Henderson <rth@redhat.com>
32511 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32512 Create the __##syscall_name##_nocancel entry point.
32513 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32514 Remove; let the sysdep-cancel.h code create it.
32516 2014-05-17 David S. Miller <davem@davemloft.net>
32518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32519 Protect with __USE_GNU.
32520 (TIOCSET_TEMPT): Likewise.
32521 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32522 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32523 these are already provided in bits/ioctl-types.h
32525 2014-05-16 Roland McGrath <roland@hack.frob.com>
32527 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32528 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32530 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32531 Use wait4 regardless of [__NR_waitpid].
32533 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32536 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32537 (_FP_NANSIGN_Q): Set the quiet bit.
32539 2014-05-16 Joseph Myers <joseph@codesourcery.com>
32541 * benchtests/Makefile
32542 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32543 not $(common-objpfx)math/libm.so.
32544 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32545 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32546 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32547 $(common-objpfx)dlfcn/libdl.so.
32548 ($(objpfx)tst-audit8): Depend on $(libm), not
32549 $(common-objpfx)math/libm.so.
32550 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32551 not $(common-objpfx)dlfcn/libdl.so.
32553 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32554 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
32555 [$(build-shared) = yes].
32556 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32557 $(common-objpfx)nptl/libpthread.so.
32558 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32559 $(common-objpfx)math/libm.so$(libm.so-version) or
32560 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32561 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32562 $(common-objpfx)dlfcn/libdl.so.
32563 * setjmp/Makefile (link-libm): Remove variable.
32564 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32565 * stdio-common/Makefile (link-libm): Remove variable.
32566 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32567 * stdlib/Makefile (link-libm): Remove variable.
32568 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32569 ($(objpfx)tst-strtod-round): Likewise.
32570 ($(objpfx)tst-tininess): Likewise.
32571 ($(objpfx)tst-strtod-underflow): Likewise.
32572 ($(objpfx)tst-strtod6): Likewise.
32573 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32574 $(libdl), not $(common-objpfx)nptl/libpthread.so and
32575 $(common-objpfx)dlfcn/libdl.so.
32577 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32580 BSD terminal modes definitions.
32582 2014-05-16 Roland McGrath <roland@hack.frob.com>
32584 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32585 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32587 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32588 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32589 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32590 Don't do #include_next.
32591 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32592 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32593 Don't do #include_next.
32594 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32595 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32596 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32597 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32599 2014-05-16 Allan McRae <allan@archlinux.org>
32601 * po/sv.po: Update Swedish translation from translation project.
32603 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32606 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
32609 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32610 errno if the TIOCGPTN ioctl fails with an error different than
32612 * login/tst-ptsname.c: New file.
32613 * login/Makefile (tests): Add tst-ptsname.
32616 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32619 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32623 herrno to return EAI_AGAIN.
32625 2014-05-14 Roland McGrath <roland@hack.frob.com>
32627 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32628 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32629 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32630 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32631 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32632 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32633 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32634 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32636 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32637 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32638 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32639 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32640 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32641 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32642 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32643 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32644 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32645 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32646 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32647 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32648 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32649 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32650 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32651 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32652 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32653 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32654 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32655 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32656 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32658 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32660 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32663 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32665 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32667 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32669 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32671 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32673 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32675 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32677 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32679 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32681 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32683 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32685 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32687 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32689 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32692 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32694 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32698 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32700 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32702 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32704 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32706 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32708 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32710 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32713 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32715 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32717 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32718 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32719 (libpthread-sysdep_routines): Add elision-related stuff here instead.
32720 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32721 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32722 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32723 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32724 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32725 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32726 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32727 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32728 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32729 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32730 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32731 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32732 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32733 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32734 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32735 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32736 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32737 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32738 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32739 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32740 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32741 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32742 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32743 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32744 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32745 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32746 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32747 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32749 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32750 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32752 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32753 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32754 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32755 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32756 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32759 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32762 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32765 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32768 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32769 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32770 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32773 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32774 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32775 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32776 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32777 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32778 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32779 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32780 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32782 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32785 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32787 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32788 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32789 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32790 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32795 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32797 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32798 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32799 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32800 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32801 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32804 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32807 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32810 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32813 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32814 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32815 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32818 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32819 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32820 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32821 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32822 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32823 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32824 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32825 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32827 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32832 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32833 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32834 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32835 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32838 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32840 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32842 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32843 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32844 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32845 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32846 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32847 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32848 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32849 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32850 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32856 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32859 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32863 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32864 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32865 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32866 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32867 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32869 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32870 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32871 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32872 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32873 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32874 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32875 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32876 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32878 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32881 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32883 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32884 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32885 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32886 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32889 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32891 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32893 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32894 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32895 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32896 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32897 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32898 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32899 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32900 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32901 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32902 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32903 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32905 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32906 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32908 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32909 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32911 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32912 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32913 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32914 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32915 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32916 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32917 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32918 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32919 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32920 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32922 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32923 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32924 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32925 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32926 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32927 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32928 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32930 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32932 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32937 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32938 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32939 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32940 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32950 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32951 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32952 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32953 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32954 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32955 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32956 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32957 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32958 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32959 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32960 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32961 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32962 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32963 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32965 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32966 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32967 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32968 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32969 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32971 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32972 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32973 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32974 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32975 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32976 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32977 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32978 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32979 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32980 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32982 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32985 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32986 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32987 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32988 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32989 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32990 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32991 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32992 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32993 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32994 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32995 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32996 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32997 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32998 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32999 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33005 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33007 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33021 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33029 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33030 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33031 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33032 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
33033 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
33035 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33036 that was previously under [RESET_PID].
33037 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33038 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33039 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33041 * sysdeps/i386/nptl/Implies: New file.
33042 * sysdeps/x86_64/nptl/Implies: New file.
33043 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33044 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33045 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33046 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33048 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33050 (__libc_vfork): New strong alias.
33051 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33052 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33054 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33056 (__libc_vfork): New strong alias.
33057 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33058 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33060 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33061 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33062 (__libc_vfork): New strong alias.
33063 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33064 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33065 * nptl/pt-vfork.c: New file.
33066 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33067 (libpthread: GLIBC_2.20): New version set (empty).
33069 2014-05-14 Will Newton <will.newton@linaro.org>
33071 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33074 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33077 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33078 arguments with exponent 65 or above.
33079 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33080 arguments 0x1p113L or above.
33081 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33082 to arguments 0x1p107L or above.
33083 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33084 positive arguments with exponent 65 or above.
33085 * math/auto-libm-test-in: Add more tests of log1p.
33086 * math/auto-libm-test-out: Regenerated.
33089 * math/s_cacos.c (__cacos): Ensure zero real part of result from
33090 non-finite arguments is +0.
33091 * math/s_cacosf.c (__cacosf): Likewise.
33092 * math/s_cacosl.c (__cacosl): Likewise.
33093 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33094 * sysdeps/i386/fpu/libm-test-ulps: Update.
33095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33098 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33100 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33101 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33102 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33103 for explicit high bit of mantissa when testing for argument equal
33105 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33106 * sysdeps/i386/fpu/libm-test-ulps: Update.
33107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33110 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33111 (__erf): Scale by 16 instead of 8 in potentially underflowing
33112 case. Ensure exception if result actually underflows.
33113 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33114 (__erff): Scale by 16 instead of 8 in potentially underflowing
33115 case. Ensure exception if result actually underflows.
33116 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33117 (efx8): Remove variable.
33118 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33119 case. Ensure exception if result actually underflows.
33120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33121 (efx8): Remove variable.
33122 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33123 case. Ensure exception if result actually underflows.
33124 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33125 (efx8): Remove variable.
33126 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33127 case. Ensure exception if result actually underflows.
33128 * math/auto-libm-test-in: Add more tests of erf.
33129 * math/auto-libm-test-out: Regenerated.
33131 2014-05-14 Andreas Schwab <schwab@suse.de>
33133 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33134 Remove code conditionalized on USE___THREAD.
33136 * config.h.in (HAVE_PT_CHOWN): Define as 0.
33137 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33140 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33143 Define unconditionally.
33144 (__ASSUME_O_CLOEXEC): Likewise.
33145 (__ASSUME_SOCK_CLOEXEC): Likewise.
33146 (__ASSUME_IN_NONBLOCK): Likewise.
33147 (__ASSUME_PIPE2): Likewise.
33148 (__ASSUME_EVENTFD2): Likewise.
33149 (__ASSUME_SIGNALFD4): Likewise.
33150 (__ASSUME_DUP3): Likewise.
33151 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33152 (__ASSUME_DUP3): Do not define.
33153 (__ASSUME_EVENTFD2): Likewise.
33154 (__ASSUME_IN_NONBLOCK): Likewise.
33155 (__ASSUME_O_CLOEXEC): Likewise.
33156 (__ASSUME_PIPE2): Likewise.
33157 (__ASSUME_SIGNALFD4): Likewise.
33158 (__ASSUME_SOCK_CLOEXEC): Likewise.
33159 (__ASSUME_UTIMES): Undefine.
33160 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33161 (__ASSUME_UTIMES): Do not define.
33162 (__ASSUME_O_CLOEXEC): Likewise.
33163 (__ASSUME_SOCK_CLOEXEC): Likewise.
33164 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33165 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33167 (__ASSUME_PIPE2): Likewise.
33168 (__ASSUME_EVENTFD2): Likewise.
33169 (__ASSUME_SIGNALFD4): Likewise.
33170 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33171 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33173 (__ASSUME_EVENTFD2): Likewise.
33174 (__ASSUME_SIGNALFD4): Likewise.
33175 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33176 (__ASSUME_32BITUIDS): Likewise.
33177 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33178 (__ASSUME_IPC64): Likewise.
33179 (__ASSUME_ST_INO_64_BIT): Likewise.
33180 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33181 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33182 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33183 (__ASSUME_UTIMES): Do not define.
33184 (__ASSUME_PSELECT): Likewise.
33185 (__ASSUME_PPOLL): Likewise.
33186 (__ASSUME_O_CLOEXEC): Likewise.
33187 (__ASSUME_SOCK_CLOEXEC): Likewise.
33188 (__ASSUME_IN_NONBLOCK): Likewise.
33189 (__ASSUME_PIPE2): Likewise.
33190 (__ASSUME_EVENTFD2): Likewise.
33191 (__ASSUME_SIGNALFD4): Likewise.
33192 (__ASSUME_DUP3): Likewise.
33193 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33194 (__ASSUME_UTIMES): Likewise.
33195 (__ASSUME_O_CLOEXEC): Likewise.
33196 (__ASSUME_SOCK_CLOEXEC): Likewise.
33197 (__ASSUME_IN_NONBLOCK): Likewise.
33198 (__ASSUME_PIPE2): Likewise.
33199 (__ASSUME_EVENTFD2): Likewise.
33200 (__ASSUME_SIGNALFD4): Likewise.
33201 (__ASSUME_DUP3): Likewise.
33202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33203 (__ASSUME_UTIMES): Likewise.
33204 (__ASSUME_O_CLOEXEC): Likewise.
33205 (__ASSUME_SOCK_CLOEXEC): Likewise.
33206 (__ASSUME_IN_NONBLOCK): Likewise.
33207 (__ASSUME_PIPE2): Likewise.
33208 (__ASSUME_EVENTFD2): Likewise.
33209 (__ASSUME_SIGNALFD4): Likewise.
33210 (__ASSUME_DUP3): Likewise.
33211 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33213 (__ASSUME_UTIMES): Likewise.
33214 (__ASSUME_EVENTFD2): Likewise.
33215 (__ASSUME_SIGNALFD4): Likewise.
33216 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33217 (__ASSUME_O_CLOEXEC): Likewise.
33218 (__ASSUME_SOCK_CLOEXEC): Likewise.
33219 (__ASSUME_IN_NONBLOCK): Likewise.
33220 (__ASSUME_PIPE2): Likewise.
33221 (__ASSUME_EVENTFD2): Likewise.
33222 (__ASSUME_SIGNALFD4): Likewise.
33223 (__ASSUME_DUP3): Likewise.
33224 (__ASSUME_UTIMES): Undefine.
33226 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33227 feclearexcept. Remove symbol versioning code.
33228 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
33229 symbol versioning code.
33230 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
33231 symbol versioning code.
33232 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33233 feupdateenv. Remove symbol versioning code.
33234 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33235 fegetexceptflag. Remove symbol versioning code.
33236 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33237 fesetexceptflag. Remove symbol versioning code.
33238 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33239 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
33240 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33241 (__posix_fadvise64_l32): Remove prototype.
33242 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33245 2014-05-13 Roland McGrath <roland@hack.frob.com>
33247 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33248 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33249 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33250 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33252 2014-05-13 Sami Kerola <kerolasa@iki.fi>
33254 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33255 current working directory
33257 2014-05-13 Roland McGrath <roland@hack.frob.com>
33259 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33260 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33261 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33262 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33263 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33264 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33265 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33266 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33267 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33268 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33269 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33270 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33271 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33272 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33273 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33274 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33275 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33276 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33277 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33278 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33279 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33280 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33281 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33282 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33283 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33284 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33285 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33286 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33287 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33288 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33289 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33290 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33291 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33292 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33293 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33294 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33295 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33296 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33297 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33298 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33299 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33300 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33302 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33303 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33305 * sysdeps/unix/sysv/linux/arm/Makefile
33306 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33307 Add rt-aeabi_unwind_cpp_pr1.
33308 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33309 Add nptl-aeabi_unwind_cpp_pr1.
33310 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33311 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33312 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33313 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33314 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33315 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33317 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33318 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33319 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33320 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33322 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33323 Deconditionalize the code that was previously under [RESET_PID].
33324 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33326 * sysdeps/generic/exit-thread.h: New file.
33327 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33328 * include/unistd.h (__exit_thread): Remove declaration.
33329 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33330 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33331 * csu/libc-start.c: Include <exit-thread.h>.
33332 (LIBC_START_MAIN): Pass no argument to __exit_thread.
33333 * nptl/pthread_create.c: Include <exit-thread.h>.
33334 (start_thread): Call __exit_thread in place of __exit_thread_inline.
33335 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33336 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33337 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33338 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33339 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33340 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33341 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33342 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33343 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33344 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33345 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33346 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33347 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33348 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33349 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33350 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33352 2014-05-13 Andreas Schwab <schwab@suse.de>
33354 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33356 2014-05-12 Joseph Myers <joseph@codesourcery.com>
33358 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33359 (__ASSUME_UTIMES): Do not condition on kernel version.
33360 (__ASSUME_PSELECT): Define unconditionally.
33361 (__ASSUME_PPOLL): Likewise.
33362 (__ASSUME_ATFCTS): Likewise.
33363 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33364 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33365 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33366 (__ASSUME_UTIMENSAT): Define unconditionally.
33367 (__ASSUME_PRIVATE_FUTEX): Likewise.
33368 (__ASSUME_FALLOCATE): Likewise.
33369 (__ASSUME_O_CLOEXEC): Likewise.
33370 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33371 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33372 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33373 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33374 (__ASSUME_IN_NONBLOCK): Likewise.
33375 (__ASSUME_PIPE2): Likewise.
33376 (__ASSUME_EVENTFD2): Likewise.
33377 (__ASSUME_SIGNALFD4): Likewise.
33378 (__ASSUME_DUP3): Likewise.
33379 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33380 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33381 (__ASSUME_AT_RANDOM): Likewise.
33382 (__ASSUME_PREADV): Likewise.
33383 (__ASSUME_PWRITEV): Likewise.
33384 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33385 (__ASSUME_F_GETOWN_EX): Define unconditionally.
33386 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33387 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33388 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33390 (__ASSUME_O_CLOEXEC): Define unconditionally.
33391 (__ASSUME_PSELECT): Do not undefine conditionally.
33392 (__ASSUME_PPOLL): Likewise.
33393 (__ASSUME_ATFCTS): Likewise.
33394 (__ASSUME_SET_ROBUST_LIST): Likewise.
33395 (__ASSUME_UTIMENSAT): Likewise.
33396 (__ASSUME_FDATASYNC): Define unconditionally.
33397 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33398 (__ASSUME_SIGFRAME_V2): Likewise.
33399 )__ASSUME_EVENTFD2): Likewise.
33400 (__ASSUME_SIGNALFD4): Likewise.
33401 (__ASSUME_PSELECT): Do not undefine conditionally.
33402 (__ASSUME_PPOLL): Likewise.
33403 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33404 (__ASSUME_PSELECT): Define unconditionally.
33405 (__ASSUME_PPOLL): Likewise.
33406 (__ASSUME_O_CLOEXEC): Likewise.
33407 (__ASSUME_SOCK_CLOEXEC): Likewise.
33408 (__ASSUME_IN_NONBLOCK): Likewise.
33409 (__ASSUME_PIPE2): Likewise.
33410 (__ASSUME_EVENTFD2): Likewise.
33411 (__ASSUME_SIGNALFD4): Likewise.
33412 (__ASSUME_DUP3): Likewise.
33413 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33414 (__ASSUME_O_CLOEXEC): Likewise.
33415 (__ASSUME_SOCK_CLOEXEC): Likewise.
33416 (__ASSUME_IN_NONBLOCK): Likewise.
33417 (__ASSUME_PIPE2): Likewise.
33418 (__ASSUME_EVENTFD2): Likewise.
33419 (__ASSUME_SIGNALFD4): Likewise.
33420 (__ASSUME_DUP3): Likewise.
33421 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33422 (__ASSUME_EVENTFD2): Likewise.
33423 (__ASSUME_SIGNALFD4): Likewise.
33424 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33426 2014-05-12 Andreas Schwab <schwab@suse.de>
33429 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33430 (_nss_nis_gethostbyname4_r): Return error if item length is larger
33431 than maximum RPC packet size.
33432 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33433 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33434 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33435 (_nss_nis_getservbyport_r): Likewise.
33437 2014-05-12 Will Newton <will.newton@linaro.org>
33439 * malloc/Makefile (tests): Add tst-mallopt.
33440 * malloc/tst-mallopt.c: New file.
33442 2014-05-09 Roland McGrath <roland@hack.frob.com>
33444 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33445 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33447 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33449 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33450 (tst-tlsmod6.so): Likewise.
33452 2014-05-09 Roland McGrath <roland@hack.frob.com>
33454 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33456 2014-05-09 Joseph Myers <joseph@codesourcery.com>
33459 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33460 and <dl-procinfo.h>.
33461 (__fegetenv): Save SSE state in envp->__eip if supported.
33462 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33463 envp->__eip if supported.
33464 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33465 and <dl-procinfo.h>.
33466 (__fesetenv): Always set __eip, __cs_selector, __opcode,
33467 __data_offset and __data_selector in environment to 0. Set SSE
33468 state if supported.
33469 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33471 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33473 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33475 2014-05-09 Will Newton <will.newton@linaro.org>
33477 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33478 and libc_relro_required for ARM.
33479 * sysdeps/arm/preconfigure: Regenerate.
33481 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
33482 Stefan Liebler <stli@linux.vnet.ibm.com>
33484 * config.make.in (enable-lock-elision): New Makefile variable.
33485 * configure.ac: Likewise.
33486 * configure: Regenerate.
33487 * sysdeps/s390/configure.ac:
33488 Add check for gcc transactions support.
33489 * sysdeps/s390/configure: Regenerate.
33490 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33491 Build elision files if enabled.
33492 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33493 Add lock elision support for s390.
33494 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33495 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33496 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33497 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33498 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33499 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33500 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33502 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33504 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33506 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33508 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33509 (__lll_timedlock_elision, __lll_lock_elision)
33510 (__lll_unlock_elision, __lll_trylock_elision)
33511 (lll_timedlock_elision, lll_lock_elision)
33512 (lll_unlock_elision, lll_trylock_elision): Add.
33513 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33514 (pthread_mutex_t): Add lock elision support for s390.
33516 2014-05-14 Wilco <wdijkstr@arm.com>
33518 * sysdeps/arm/fclrexcpt.c: Cleanup.
33519 * sysdeps/arm/fedisblxcpt.c: Cleanup.
33520 * sysdeps/arm/feenablxcpt.c: Cleanup.
33521 * sysdeps/arm/fegetenv.c: Cleanup.
33522 * sysdeps/arm/fegetexcept.c: Cleanup.
33523 * sysdeps/arm/fegetround.c: Cleanup.
33524 * sysdeps/arm/feholdexcpt.c: Cleanup.
33525 * sysdeps/arm/fesetenv.c: Cleanup.
33526 * sysdeps/arm/fesetround.c: Cleanup.
33527 * sysdeps/arm/feupdateenv.c: Cleanup.
33528 * sysdeps/arm/fgetexcptflg.c: Cleanup.
33529 * sysdeps/arm/fraiseexcpt.c: Cleanup.
33530 * sysdeps/arm/fsetexcptflg.c: Cleanup.
33531 * sysdeps/arm/ftestexcept.c: Cleanup.
33532 * sysdeps/arm/get-rounding-mode.h: Cleanup.
33533 * sysdeps/arm/setfpucw.c: Cleanup.
33535 2014-05-09 Will Newton <will.newton@linaro.org>
33537 * sysdeps/arm/armv7/strcmp.S: New file.
33538 * NEWS: Mention addition of ARMv7 optimized strcmp.
33540 2014-05-08 Roland McGrath <roland@hack.frob.com>
33542 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33543 look for %.ac rather than %.in.
33545 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33546 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33547 * sysdeps/mach/hurd/configure: Regenerated.
33548 * sysdeps/unix/sysv/linux/configure: Regenerated.
33550 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33552 2014-05-07 Steve Ellcey <sellcey@mips.com>
33555 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33559 2014-05-07 Andreas Schwab <schwab@suse.de>
33561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33562 when skipping over non-matching result from nscd.
33564 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
33567 * nptl/sockperf.c (client): Check socket return value.
33570 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33571 nscd security class.
33573 2014-05-06 Roland McGrath <roland@hack.frob.com>
33575 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33576 * sysdeps/arm/unwind.h: ... here.
33578 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
33581 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33584 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
33586 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33587 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33588 multiarch strncpy for PPC64.
33589 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33590 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33592 multiarch optimizations.
33593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33594 (__libc_ifunc_impl_list): Likewise.
33595 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33596 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33597 multiarch stpncpy for PPC64.
33598 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33601 2014-05-06 Andreas Schwab <schwab@suse.de>
33604 * gmon/mcount.c (_MCOUNT_DECL): Use
33605 atomic_compare_and_exchange_bool_acq instead of
33606 catomic_compare_and_exchange_bool_acq.
33608 2014-05-05 Roland McGrath <roland@hack.frob.com>
33610 * elf/Makefile (others, install-bin): Remove pldd.
33611 (pldd-modules): Variable removed.
33612 ($(objpfx)pldd): Target removed.
33613 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33614 (others, install-bin): Append pldd here.
33615 ($(objpfx)pldd): New target.
33617 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33618 to 0, so the first #if test emitted later doesn't see it undefined.
33619 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33620 * sysdeps/gnu/errlist.c: Regenerated.
33622 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33624 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33625 [libc_hidden_builtin_def]: Define to empty value.
33626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33627 [libc_hidden_builtin_def]: Likewise.
33628 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33629 [libc_hidden_builtin_def]: Likewise.
33630 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33631 [libc_hidden_builtin_def]: Likewise.
33632 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33633 __redirect_memcpy and define ifunc as default hidden symbol.
33634 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33635 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33637 2014-05-04 Adam Conrad <adconrad@0c3.net>
33639 * locale/iso-4217.def: Reintroduce XDR currency.
33641 2014-05-04 Allan McRae <allan@archlinux.org>
33643 * po/eo.po: Update Esperanto translation from translation project.
33645 2014-05-02 Carlos O'Donell <carlos@redhat.com>
33647 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33648 and FEATURE_INDEX_MAX to 1.
33649 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33651 2014-05-01 Steve Ellcey <sellcey@mips.com>
33653 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33654 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33655 * iconvdata/big5.c (ONE_DIRECTION): Define.
33656 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33657 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33658 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33659 * iconvdata/cp932.c (ONE_DIRECTION): Define.
33660 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33661 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33662 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33663 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33664 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33665 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33666 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33667 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33668 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33669 * iconvdata/gbk.c (ONE_DIRECTION): Define.
33670 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33671 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33672 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33673 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33674 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33675 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33676 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33677 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33678 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33679 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33680 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33681 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33682 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33683 * iconvdata/iso646.c (ONE_DIRECTION): Define.
33684 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33685 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33686 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33687 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33688 * iconvdata/johab.c (ONE_DIRECTION): Define.
33689 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33690 * iconvdata/sjis.c (ONE_DIRECTION): Define.
33691 * iconvdata/t.61.c (ONE_DIRECTION): Define.
33692 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33693 * iconvdata/tscii.c (ONE_DIRECTION): Define.
33694 * iconvdata/uhc.c (ONE_DIRECTION): Define.
33695 * iconvdata/unicode.c (ONE_DIRECTION): Define.
33696 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33697 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33698 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33700 2014-05-01 Roland McGrath <roland@hack.frob.com>
33702 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33703 (_IO_JUMPS_OFFSET): Define to 0.
33705 * nptl/sysdeps/pthread/bits/libc-lock.h
33706 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33707 (__libc_lock_define_initialized_recursive): Always define using
33708 initializer. Modern compilers treat uninitialized (implicit zero) and
33709 explicit zero initializers the same (i.e. put the datum in bss).
33711 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
33713 * nscd/nscd-client.h: Include <string.h>.
33715 2014-05-01 David S. Miller <davem@davemloft.net>
33718 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33719 multiple zero bytes exist at the end of a string.
33720 Reported by Aurelien Jarno <aurelien@aurel32.net>
33722 * string/test-strcmp.c (check): Add explicit test for situations where
33723 there are multiple zero bytes after the first.
33725 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
33728 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33729 when compiling wprintf.
33730 * stdio-common/tstdiomisc.c (t3): New function.
33733 2014-05-01 Steve Ellcey <sellcey@mips.com>
33735 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33736 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33737 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33738 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33740 2014-05-01 Steve Ellcey <sellcey@mips.com>
33742 * stdlib/longlong.h: Updated from GCC.
33744 2014-05-01 Will Newton <will.newton@linaro.org>
33745 Bernard Ogden <bernie.ogden@linaro.org>
33747 * NEWS: Update fixed bug list.
33750 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33752 2014-04-30 David S. Miller <davem@davemloft.net>
33754 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33755 (libc_feholdexcept_setround_sparc_ctx): New function.
33756 (libc_fesetenv_sparc_ctx): Likewise.
33757 (libc_feupdateenv_sparc_ctx): Likewise.
33758 (libc_feholdsetround_sparc_ctx): Likewise.
33759 (libc_feholdexcept_setround_ctx): Define.
33760 (libc_feholdexcept_setroundf_ctx): Likewise.
33761 (libc_feholdexcept_setroundl_ctx): Likewise.
33762 (libc_fesetenv_ctx): Likewise.
33763 (libc_fesetenvf_ctx): Likewise.
33764 (libc_fesetenvl_ctx): Likewise.
33765 (libc_feupdateenv_ctx): Likewise.
33766 (libc_feupdateenvf_ctx): Likewise.
33767 (libc_feupdateenvl_ctx): Likewise.
33768 (libc_feresetround_ctx): Likewise.
33769 (libc_feresetroundf_ctx): Likewise.
33770 (libc_feresetroundl_ctx): Likewise.
33771 (libc_feholdsetround_ctx): Likewise.
33772 (libc_feholdsetroundf_ctx): Likewise.
33773 (libc_feholdsetroundl_ctx): Likewise.
33775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33776 with __USE_GNU instead of XOPEN cpp guards.
33778 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33781 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33782 with XOPEN cpp guards.
33784 2014-04-30 Julian Brown <julian@codesourcery.com>
33787 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33790 2014-04-30 Joseph Myers <joseph@codesourcery.com>
33793 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33795 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33796 * sysdeps/unix/sysv/linux/configure: Regenerated.
33797 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33798 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33799 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33800 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33801 * README: Update reference to required Linux kernel version.
33802 * manual/install.texi (Linux): Update reference to required Linux
33803 kernel headers version.
33804 * INSTALL: Regenerated.
33806 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33808 [POSIX] (limits.h): Likewise.
33809 [POSIX] (math.h): Likewise.
33810 [POSIX] (sys/wait.h): Likewise.
33811 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33813 [POSIX] (stddef.h): Do not allow header inclusion.
33815 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33817 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33819 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
33821 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33822 Return immediately after lll_futex_wake.
33824 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33827 * nscd/nscd-client.h (datahead_init_common): Initialize entire
33829 (datahead_init_pos): Call datahead_init_common early.
33830 (datahead_init_neg): Likewise.
33832 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33833 datahead_init_neg): New functions.
33834 * nscd/aicache.c (addhstaiX): Use them.
33835 * nscd/grpcache.c (cache_addgr): Likewise.
33836 * nscd/hstcache.c (cache_addhst): Likewise.
33837 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33838 * nscd/netgroupcache.c (do_notfound): Likewise.
33839 (addgetnetgrentX): Likewise.
33840 (addinnetgrX): Likewise.
33841 * nscd/pwdcache.c (cache_addpw): Likewise.
33842 * nscd/servicescache.c (cache_addserv): Likewise.
33844 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33845 Atsushi Onoe <atsushi@onoe.org>
33850 * resolv/res_query.c (__libc_res_nsearch): Return if at least
33851 one response is valid.
33852 * resolv/res_send.c (send_dg): Check for validity of other
33853 response if the current response is a referral.
33855 2014-04-29 Steve Ellcey <sellcey@mips.com>
33857 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33859 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
33862 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33863 Always divide by positive zero when computing -Inf result.
33864 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33865 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33867 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33869 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33870 FPSCR if value do not change.
33871 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33872 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33873 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33874 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33875 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33876 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33879 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
33881 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33882 * sysdeps/unix/sysv/linux/hppa: Move directory from
33883 ports/systeps/unix/sysv/linux/hppa.
33884 * README: Update listing for hppa-*-linux-gnu.
33886 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
33889 * manual/stdio.texi (Hook functions): Fix types of stream hook
33892 * socket/sys/socket.h: Fix typo in comment.
33894 2014-04-28 Wilco <wdijkstr@arm.com>
33896 * sysdeps/arm/fenv_private.h: New file.
33897 * sysdeps/arm/math_private.h: New file.
33898 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33900 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
33902 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33904 (La_x86_64_retval): Likewise.
33906 2014-04-24 Ian Bolton <ian.bolton@arm.com>
33908 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33909 fpsr if value didn't change.
33910 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33911 to fpcr if value didn't change.
33912 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33913 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33914 fpsr or fpcr if value didn't change.
33915 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33916 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33917 fpcr if value didn't change.
33918 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33919 to fpsr if value didn't change.
33921 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33923 * nptl/tst-sem3.c: Use test-skeleton.c
33924 (main): Rename to do_test. Use return instead of
33926 * nptl/tst-sem4.c: Use test-skeleton.c
33927 (main): Rename to do_test.
33929 2014-04-22 David S. Miller <davem@davemloft.net>
33931 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33932 (struct sigaction): New struct member __glibc_reserved0, change
33933 type of sa_flags to int.
33935 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
33937 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33938 (COUNT_LEADING_ZEROS_0): Define for AArch64.
33940 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33942 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33943 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33945 2014-04-22 Will Newton <will.newton@linaro.org>
33946 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
33948 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33949 (__longjmp): Add longjmp and longjmp_target SystemTap
33951 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33952 (__sigsetjmp): Add setjmp SystemTap probe.
33954 2014-04-17 Carlos O'Donell <carlos@redhat.com>
33956 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33957 match manual order.
33959 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33961 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33963 * sysdeps/powerpc/fpu/fenv_private.h
33964 (libc_feholdexcept_setroundl_ctx): Define to
33965 libc_feholdexcept_setround_ppc_ctx.
33966 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33967 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33968 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33969 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33971 2014-04-17 Ian Bolton <ian.bolton@arm.com>
33973 * sysdeps/aarch64/math-tests.h: New file.
33975 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
33977 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33980 Check and set bit_AVX2_Usable.
33981 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33983 (bit_AVX2): Likewise.
33984 (index_AVX2_Usable): Likewise.
33985 (CPUID_AVX2): Likewise.
33986 (HAS_AVX2): Likewise.
33988 2014-04-17 Will Newton <will.newton@linaro.org>
33990 * manual/setjmp.texi (System V contexts): Add note that
33991 calling setcontext on a context created by a call to a
33992 signal handler is undefined. Update text to note that
33993 setcontext from a signal handler is possible but not
33997 * stdlib/tst-setcontext.c: Include signal.h.
33998 (main): Check that the signal stack before and
33999 after swapcontext is the same.
34001 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34002 Re-implement to restore registers in user code and avoid
34003 rt_sigreturn system call.
34005 2014-04-17 Wilco <wdijkstr@arm.com>
34007 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34008 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34009 * math/test-fenv.c: Skip exception trap tests on targets which only
34010 support non-stop mode.
34012 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34013 Wilco Dijkstra <wilco.dijkstra@arm.com>
34015 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34016 (libc_feholdsetround_aarch64_ctx)
34017 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34018 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34019 (libc_feresetround_ctx, libc_feresetroundf_ctx)
34020 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34021 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34022 (libc_feresetround_noexl_ctx): Define.
34024 2014-04-16 Richard Henderson <rth@redhat.com>
34026 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34028 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34031 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34032 const from the non-libc, non-ldso copy.
34034 * sysdeps/alpha/libm-test-ulps: Regenerate.
34036 2014-04-16 Ian Bolton <ian.bolton@arm.com>
34037 Wilco Dijkstra <wilco.dijkstra@arm.com>
34039 * sysdeps/aarch64/fpu/math_private.h: New file.
34041 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
34043 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34045 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
34048 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34049 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34051 Intel MPX bound registers before _dl_profile_fixup.
34052 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34053 registers after _dl_profile_fixup. Save and restore bound
34054 registers bnd0/bnd1 when calling _dl_call_pltexit.
34055 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34056 (LR_BND_OFFSET): Likewise.
34057 (LRV_BND0_OFFSET): Likewise.
34058 (LRV_BND1_OFFSET): Likewise.
34060 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34062 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34064 * sysdeps/mach/hurd/i386/tls.h: ... here.
34065 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34066 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34069 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34071 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34073 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34075 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34077 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34080 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34081 * sysdeps/s390/configure: Regenerate.
34084 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34085 Set round-to-nearest internally to reduce error accumulation.
34087 2014-04-16 Alan Modra <amodra@gmail.com>
34091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34092 * math/libm-test.inc (frexp_test_data): Add tests.
34093 * NEWS: Update fixed bug list.
34095 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34097 * benchtests/Makefile: Depend on libraries in build directory.
34098 (bench-math): Separate out math tests.
34099 (bench-pthread): Separate out pthread tests.
34100 (bench): Include math and pthread tests.
34102 2014-04-14 Carlos O'Donell <carlos@redhat.com>
34105 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34106 _dl_debug_initialize.
34108 * configure.ac: Remove SELinux header check.
34109 * configure: Regenerate.
34110 * nscd/selinux.c (perms): Array of const char* to permission names.
34111 (nscd_request_avc_has_perm): Call security_deny_unknown to find
34112 default policy. Call string_to_security_class and string_to_av_perm to
34113 translate strings. Enforce default policy and call avs_has_perm with
34114 results of translated strings.
34116 2014-04-13 David S. Miller <davem@davemloft.net>
34118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34120 2014-04-12 Allan McRae <allan@archlinux.org>
34123 * manual/string.texi (Collation Functions): Fix qsort argument
34125 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34127 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
34129 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34130 Make the test a no-op if there are no exceptions defined.
34132 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
34134 * elf/Makefile (tests): make tst-dlopen-aout conditional on
34135 enable-hardcoded-path-in-tests
34137 2014-04-11 Will Newton <will.newton@linaro.org>
34139 * benchtests/Makefile (extra-objs): Add json-lib.o.
34140 (bench-func): Tidy up JSON output.
34141 * benchtests/bench-skeleton.c: Include json-lib.h.
34142 (main): Use JSON library functions to do output of
34144 * benchtests/bench-timing-type.c (main): Output the
34145 timing type simply, leaving formatting to the user.
34146 * benchtests/json-lib.c: New file.
34147 * benchtests/json-lib.h: Likewise.
34149 2014-04-11 Torvald Riegel <triegel@redhat.com>
34152 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34153 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
34154 memory barriers. Add comments.
34155 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34156 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34157 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34158 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34159 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34160 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34162 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34164 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34165 * sysdeps/s390/s390-64/configure.ac: ... this ...
34166 * sysdeps/s390/configure.ac: ... to here.
34167 * sysdeps/s390/s390-32/configure: Delete file.
34168 * sysdeps/s390/s390-64/configure: Delete file.
34169 * sysdeps/s390/configure: Regenerate.
34171 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
34173 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34175 2014-04-11 Will Newton <will.newton@linaro.org>
34177 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34178 to zero if it is not defined elsewhere. (mtrim): Test
34179 the value of MALLOC_DEBUG with #if rather than #ifdef.
34181 2014-04-10 Torvald Riegel <triegel@redhat.com>
34183 * benchtests/pthread_once-inputs: New file.
34184 * benchtests/pthread_once-source.c: New file.
34185 * benchtests/README: Update documentation.
34187 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
34188 H.J. Lu <hongjiu.lu@intel.com>
34191 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34192 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34193 * sysdeps/x86_64/configure: Regenerated.
34194 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34196 (REGISTER_SAVE_RAX): Likewise.
34197 (REGISTER_SAVE_RCX): Likewise.
34198 (REGISTER_SAVE_RDX): Likewise.
34199 (REGISTER_SAVE_RSI): Likewise.
34200 (REGISTER_SAVE_RDI): Likewise.
34201 (REGISTER_SAVE_R8): Likewise.
34202 (REGISTER_SAVE_R9): Likewise.
34203 (REGISTER_SAVE_BND0): Likewise.
34204 (REGISTER_SAVE_BND1): Likewise.
34205 (REGISTER_SAVE_BND2): Likewise.
34206 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
34207 bound registers when calling _dl_fixup.
34209 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34211 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34212 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34214 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34215 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34216 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34217 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34218 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34219 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34220 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34222 2014-04-09 Peter Brett <peter@peter-b.co.uk>
34225 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34226 pathconf(_PC_NAME_MAX).
34228 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34230 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34231 Remove macro usage.
34232 (__PTHREAD_SPINS): Move definition to ...
34233 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34234 (__PTHREAD_SPINS): ... here.
34235 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34236 (__PTHREAD_SPIN): Likewise.
34237 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34238 (__PTHREAD_SPIN): Likewise.
34239 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34240 (__PTHREAD_SPIN): Likewise.
34241 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34242 (__PTHREAD_SPIN): Likewise.
34243 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34244 (__PTHREAD_SPIN): Likewise.
34245 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34246 (__PTHREAD_SPIN): Likewise.
34247 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34248 (__PTHREAD_SPIN): Likewise.
34249 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34250 (__PTHREAD_SPIN): Likewise.
34251 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34252 (__PTHREAD_SPIN): Likewise.
34253 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34254 (__PTHREAD_SPIN): Likewise.
34255 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34256 (__PTHREAD_SPIN): Likewise.
34257 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34258 (__PTHREAD_SPIN): Likewise.
34260 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34261 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34262 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34263 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34265 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34266 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34267 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34268 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34269 correct imply path.
34270 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34271 strlen symbol for non multi-arch builds.
34272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34273 missing hidden_def and weak_alias.
34275 2014-04-08 Carlos O'Donell <carlos@redhat.com>
34277 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34279 2014-04-07 Will Newton <will.newton@linaro.org>
34281 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34282 and contents. [!_LIBC] Remove #ifndef and contents.
34283 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
34284 * string/memccpy.c (__memccpy): Use ANSI prototype.
34285 * string/memfrob.c (memfrob): Likewise.
34286 * string/strcoll.c (STRCOLL): Likewise.
34287 * string/strlen.c (strlen): Likewise.
34288 * string/strtok.c (STRTOK): Likewise.
34289 * string/strcat.c: Remove unused #include of memcopy.h.
34290 (strcat): Use ANSI prototype.
34291 * string/strchr.c: Remove unused #include of memcopy.h.
34292 (strchr): Use ANSI prototype.
34293 * string/strcmp.c: Remove unused #include of memcopy.h.
34294 (strcmp): Use ANSI prototype.
34295 * string/strcpy.c: Remove unused #include of memcopy.h.
34296 (strcpy): Use ANSI prototype.
34298 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34300 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34301 * config.make.in (config-extra-cppflags): Set it from
34302 libc_extra_cppflags.
34303 * configure.ac (libc_extra_cflags): Make it accumulate over
34304 configure fragments.
34305 (libc_extra_cppflags): New flag.
34306 * configure. Regenerate.
34307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34308 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34309 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34314 result for FE_DOWNWARD rounding mode.
34315 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34319 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
34321 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34322 in function argument name.
34324 2014-04-03 David Svoboda <svoboda@cert.org>
34327 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34330 2014-04-03 Roland McGrath <roland@hack.frob.com>
34332 * elf/dl-unmap-segments.h: New file.
34333 * sysdeps/generic/ldsodefs.h
34334 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34335 * elf/dl-close.c: Include <dl-unmap-segments.h>.
34336 * elf/dl-fptr.c: Likewise.
34337 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34338 * sysdeps/aarch64/tlsdesc.c: Likewise.
34339 * sysdeps/arm/tlsdesc.c: Likewise.
34340 * sysdeps/i386/tlsdesc.c: Likewise.
34341 * sysdeps/tile/dl-runtime.c: Likewise.
34342 * sysdeps/x86_64/tlsdesc.c: Likewise.
34343 * elf/dl-load.h: New file.
34344 * elf/dl-load.c: Include it.
34345 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34346 Macros moved to dl-load.h.
34347 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34348 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34349 Use _dl_unmap_segments in place of __munmap.
34350 Break out segment-mapping loop into ...
34351 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34353 2014-04-03 Will Newton <will.newton@linaro.org>
34355 * elf/dl-lookup.c (do_lookup_x): Remove comment
34356 referring to nested function and move variable
34357 declarations down to before first use.
34359 2014-04-02 Joseph Myers <joseph@codesourcery.com>
34363 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34365 * math/s_catanf.c (__catanf): Likewise.
34366 * math/s_catanh.c (__catanh): Likewise.
34367 * math/s_catanhf.c (__catanhf): Likewise.
34368 * math/s_catanhl.c (__catanhl): Likewise.
34369 * math/s_catanl.c (__catanl): Likewise.
34370 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34371 by positive zero when computing -Inf result.
34372 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34373 (catanh_test): Likewise.
34374 * sysdeps/i386/fpu/libm-test-ulps: Update.
34375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34378 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34379 instead of using underflowing value in computing result.
34380 * math/s_clog10.c (__clog10): Likewise.
34381 * math/s_clog10f.c (__clog10f): Likewise.
34382 * math/s_clog10l.c (__clog10l): Likewise.
34383 * math/s_clogf.c (__clogf): Likewise.
34384 * math/s_clogl.c (__clogl): Likewise.
34385 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34386 (clog10_test): Likewise.
34387 * sysdeps/i386/fpu/libm-test-ulps: Update.
34388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34390 2014-04-02 Alan Modra <amodra@gmail.com>
34393 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34394 output when value is near a power of two. Use int64_t for lx and
34395 remove casts. Use decimal rather than hex exponent constants.
34396 Don't use long double multiplication when double will suffice.
34397 * math/libm-test.inc (nextafter_test_data): Add tests.
34398 * NEWS: Add 16739 and 16786 to bug list.
34400 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34402 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34404 2014-04-01 Will Newton <will.newton@linaro.org>
34406 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34407 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
34409 2014-04-01 Florian Weimer <fweimer@redhat.com>
34412 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34413 * nptl/tst-setuid2.c: New file.
34414 * nptl/Makefile (xtests): Add tst-setuid2.
34416 2014-04-01 Alan Modra <amodra@gmail.com>
34419 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34421 2014-03-31 Joseph Myers <joseph@codesourcery.com>
34425 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34426 set errno as appropriate.
34427 * math/w_scalbf.c (__scalbf): Likewise.
34428 * math/w_scalbl.c (__scalbl): Likewise.
34429 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34430 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34431 * math/libm-test.inc (scalb_test_data): Add errno expectations.
34432 Add more NaN tests.
34435 * math/w_atan2.c: Include <errno.h>.
34436 (__atan2): Set errno for result underflowing to zero.
34437 * math/w_atan2f.c: Include <errno.h>.
34438 (__atan2f): Set errno for result underflowing to zero.
34439 * math/w_atan2l.c: Include <errno.h>.
34440 (__atan2l): Set errno for result underflowing to zero.
34441 * math/auto-libm-test-in: Don't allow missing errno for some atan2
34443 * math/auto-libm-test-out: Regenerated.
34445 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34447 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34448 Encode instruction correctly in little endian.
34449 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34451 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34453 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34458 2014-03-31 Joseph Myers <joseph@codesourcery.com>
34461 * sysdeps/unix/sysv/linux/kernel-features.h
34462 [__sparc__ && !__arch64__ && !__sparc_v9__]
34463 (__ASSUME_SET_ROBUST_LIST): Do not define.
34464 [__sparc__ && !__arch64__ && !__sparc_v9__]
34465 (__ASSUME_FUTEX_LOCK_PI): Likewise.
34466 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34468 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34469 (__ASSUME_FUTEX_LOCK_PI): Undefine.
34470 (__ASSUME_REQUEUE_PI): Likewise.
34471 (__ASSUME_SET_ROBUST_LIST): Likewise.
34472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34473 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34475 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34476 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34478 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34480 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34483 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34485 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34491 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34492 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34494 2014-03-31 Will Newton <will.newton@linaro.org>
34496 * benchtests/Makefile (bench): Add ffs and ffsll to list
34498 * benchtests/ffs-inputs: New file.
34499 * benchtests/ffsll-inputs: Likewise.
34501 2014-03-29 Joseph Myers <joseph@codesourcery.com>
34504 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34505 too large before casting to int.
34506 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34507 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34508 * math/libm-test.inc (scalb_test_data): Add more tests.
34510 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34512 * benchtests/Makefile (DETAILED_OPT): New make option.
34513 (bench-func): Run benchmark program with -d if DETAILED_OPT is
34515 * benchtests/bench-skeleton.c: Include stdbool.h.
34516 (main): Store and print timings per input.
34517 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34518 member to each argument value.
34519 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34520 (_print_arg_data): Initialize per-input timing to 0.
34522 * benchtests/Makefile (timing-type): New binary.
34523 (bench-clean): Also remove bench-timing-type.
34524 (bench): New target for timing-type.
34525 (bench-func): Print output in JSON format.
34526 * benchtests/bench-skeleton.c (main): Print output in JSON
34528 * benchtests/bench-timing-type.c: New file.
34529 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34530 (TIMING_PRINT_STATS): Remove.
34531 * benchtests/scripts/bench.py (_print_arg_data): Store variant
34534 * benchtests/bench-modf.c: Remove.
34535 * benchtests/modf-inputs: New inputs file.
34537 2014-03-28 Joseph Myers <joseph@codesourcery.com>
34540 * math/s_clog10.c (M_PI_LOG10E): New macro.
34541 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34542 imaginary parts are 0.
34543 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34544 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34545 imaginary parts are 0.
34546 * math/s_clog10l.c (M_PI_LOG10El): New macro.
34547 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34548 imaginary parts are 0.
34549 * math/libm-test.inc (clog10_test_data): Update expected results
34550 for when real and imaginary parts are 0.
34552 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34554 * elf/dl-load.c: Finish conversion of __builtin_expect into
34555 __glibc_{un}likely.
34557 2014-03-27 Joseph Myers <joseph@codesourcery.com>
34560 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34561 1+x for argument with exponent below -67.
34562 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34564 * math/auto-libm-test-in: Add more tests of exp.
34565 * math/auto-libm-test-out: Regenerated.
34567 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34570 * inet/getnetgrent_r.c (get_nonempty_val): New function.
34571 (nscd_getnetgrent): Use it.
34574 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34577 2014-03-27 Andi Kleen <ak@linux.intel.com>
34579 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34580 (lll_robust_lock, lll_cond_lock, lll_timedlock)
34581 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34582 (lll_robust_unlock): Remove out of line section. Use cfi
34584 (LLL_STUB_UNWIND_INFO*): Remove.
34585 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34586 (lll_robust_lock, lll_cond_lock, lll_timedlock)
34587 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34588 (lll_robust_unlock): Remove out of line section. Use cfi
34590 (LLL_STUB_UNWIND_INFO*): Remove.
34592 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34595 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34598 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
34600 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34602 2014-03-26 Joseph Myers <joseph@codesourcery.com>
34605 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34607 * math/test-fenv-preserve.c: New file.
34608 * math/Makefile (tests): Add test-fenv-preserve.
34610 2014-03-26 Will Newton <will.newton@linaro.org>
34612 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34614 2014-03-25 Roland McGrath <roland@hack.frob.com>
34616 * scripts/versionlist.awk: Partition the version sets and emit all
34617 GLIBC_* (sorted) before all others (sorted).
34619 2014-03-25 Joseph Myers <joseph@codesourcery.com>
34621 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34622 GLIBC_2.2.5 version.
34624 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34626 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34629 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34634 2014-03-25 Andreas Schwab <schwab@suse.de>
34636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34637 label to be used after in6ailist is initialized.
34639 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34641 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34642 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34644 2014-03-25 Joseph Myers <joseph@codesourcery.com>
34648 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34650 (fp_formats): Update initializers.
34651 (init_fp_formats): Initialize new field.
34652 (output_for_one_input_case): Allow underflow for results up to
34654 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34655 * math/auto-libm-test-in: Don't mark some underflows from asin and
34657 * math/auto-libm-test-out: Regenerated.
34658 * sysdeps/i386/fpu/libm-test-ulps: Update.
34659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34661 2014-03-25 Andreas Schwab <schwab@suse.de>
34663 * libio/Makefile (tst-ftell-partial-wide-ENV)
34664 (tst-ftell-active-handler-ENV): Define.
34666 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
34668 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34670 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
34672 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34674 2014-03-24 Joseph Myers <joseph@codesourcery.com>
34676 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34677 * sysdeps/x86_64/fpu/multiarch/e_exp.c
34678 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34680 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
34683 * elf/dl-load.c (open_verify): Add mode parameter.
34684 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34685 (open_path): Change from boolean 'secure' to complete flag 'mode'
34686 (_dl_map_object): Adjust.
34687 * elf/Makefile (tests): Add tst-dlopen-aout.
34688 * elf/tst-dlopen-aout.c: New test.
34690 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34693 * sysdeps/unix/sysv/linux/s390/bits/stat.h
34694 (struct stat): Rename member pad0 to __glibc_reserved0.
34697 * sysdeps/s390/s390-32/bits/wordsize.h
34698 (__WORDSIZE32_SIZE_ULONG): New define.
34699 * sysdeps/s390/s390-64/bits/wordsize.h
34700 (__WORDSIZE32_SIZE_ULONG): Likewise.
34701 * sysdeps/generic/stdint.h (SIZE_MAX):
34702 Define as UL if __WORDSIZE32_SIZE_ULONG.
34705 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34706 (__glibc_reserved0): New variable.
34707 (sa_flags): Change type to int.
34709 * posix/Makefile (before-compile): Use += before-compile instead
34712 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34713 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34715 2014-03-20 Andreas Schwab <schwab@suse.de>
34718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34719 non-matching result from nscd.
34721 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34723 * scripts/bench.py: Moved to ...
34724 * benchtests/scripts/bench.py: ... here.
34725 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34727 2014-03-24 Andreas Schwab <schwab@suse.de>
34730 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34731 alloca_account and account alloca use for struct in6ailist.
34733 2014-03-24 Joseph Myers <joseph@codesourcery.com>
34736 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34737 rounding mode to recompute results that overflow to infinity or
34739 * math/auto-libm-test-in: Don't mark tests as expected to fail for
34741 * math/auto-libm-test-out: Regenerated.
34742 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34743 (ccosh_test): Likewise.
34744 (csin_test_data): Use plus_oflow.
34745 (csin_test): Use ALL_RM_TEST.
34746 (csinh_test_data): Use plus_oflow.
34747 (csinh_test): Use ALL_RM_TEST.
34748 * sysdeps/i386/fpu/libm-test-ulps: Update.
34749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34751 2014-03-21 Joseph Myers <joseph@codesourcery.com>
34753 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34754 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34755 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34758 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34759 when x - 1 is zero.
34760 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34761 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34762 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34765 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34766 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34768 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34769 * sysdeps/i386/fpu/libm-test-ulps: Update.
34770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34772 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34774 * scripts/bench.pl: Remove file.
34775 * scripts/bench.py: New benchmark script.
34776 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34777 * benchtests/README: Mention python dependency.
34778 * scripts/pylintrc: New file.
34779 * scripts/pylint: New file.
34781 * bits/mathdef.h: Use #ifdef instead of #if.
34782 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34783 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34784 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34785 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34786 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34787 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34789 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34790 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34792 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34794 and strpbrk-ppc64 objects.
34795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34796 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34797 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34798 multiarch strpbrk for POWER7.
34799 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34800 multiarch strpbrk for PPC64.
34801 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34803 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34804 strpbrk for POWER7.
34806 2014-03-20 Joseph Myers <joseph@codesourcery.com>
34808 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34809 (atan_test): Likewise.
34810 (atanh_test_data): Use NO_TEST_INLINE for two tests.
34811 (atanh_test): Use ALL_RM_TEST.
34812 (atan2_test_data): Likewise.
34813 (cabs_test): Likewise.
34814 (cacosh_test): Likewise.
34815 (carg_test): Likewise.
34816 (casin_test): Likewise.
34817 (casinh_test): Likewise.
34818 (cbrt_test): Likewise.
34819 (csqrt_test): Likewise.
34820 (erf_test): Likewise.
34821 (erfc_test): Likewise.
34822 (pow10_test): Likewise.
34823 (exp2_test): Likewise.
34824 (hypot_test): Likewise.
34825 (j0_test): Likewise.
34826 (j1_test): Likewise.
34827 (lgamma_test): Likewise.
34828 (gamma_test): Likewise.
34829 (sincos_test): Likewise.
34830 (tanh_test): Likewise.
34831 (y0_test): Likewise.
34832 (y1_test): Likewise.
34833 * sysdeps/i386/fpu/libm-test-ulps: Update.
34834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34836 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34838 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34840 and strcspn-ppc64 objects.
34841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34842 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34843 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34844 multiarch strcspn for POWER7.
34845 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34846 multiarch strcspn for PPC64.
34847 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34849 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34850 strcspn for POWER7.
34852 2014-03-20 Joseph Myers <joseph@codesourcery.com>
34854 * math/gen-libm-test.pl (generate_testfile): Expect only function
34855 name as argument to AUTO_TESTS_* and pass results for all rounding
34856 modes to parse_args.
34857 (parse_auto_input): Separate inputs of automatic tests from
34858 outputs before storing in %auto_tests.
34859 * math/libm-test.inc (acos_test_data): Update call to
34861 (acos_test): Use ALL_RM_TEST.
34862 (acos_tonearest_test_data): Remove.
34863 (acos_test_tonearest): Likewise.
34864 (acos_towardzero_test_data): Likewise.
34865 (acos_test_towardzero): Likewise.
34866 (acos_downward_test_data): Likewise.
34867 (acos_test_downward): Likewise.
34868 (acos_upward_test_data): Likewise.
34869 (acos_test_upward): Likewise.
34870 (acosh_test_data): Update call to AUTO_TESTS_f_f.
34871 (asin_test_data): Likewise.
34872 (asin_test): Use ALL_RM_TEST.
34873 (asin_tonearest_test_data): Remove.
34874 (asin_test_tonearest): Likewise.
34875 (asin_towardzero_test_data): Likewise.
34876 (asin_test_towardzero): Likewise.
34877 (asin_downward_test_data): Likewise.
34878 (asin_test_downward): Likewise.
34879 (asin_upward_test_data): Likewise.
34880 (asin_test_upward): Likewise.
34881 (asinh_test_data): Update call to AUTO_TESTS_f_f.
34882 (atan_test_data): Likewise.
34883 (atanh_test_data): Likewise.
34884 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34885 (cabs_test_data): Update call to AUTO_TESTS_c_f.
34886 (carg_test_data): Likewise.
34887 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34888 (ccos_test_data): Update call to AUTO_TESTS_c_c.
34889 (ccosh_test_data): Likewise.
34890 (cexp_test_data): Likewise.
34891 (clog_test_data): Likewise.
34892 (clog10_test_data): Likewise.
34893 (cos_test_data): Update call to AUTO_TESTS_f_f.
34894 (cos_test): Use ALL_RM_TEST.
34895 (cos_tonearest_test_data): Remove.
34896 (cos_test_tonearest): Likewise.
34897 (cos_towardzero_test_data): Likewise.
34898 (cos_test_towardzero): Likewise.
34899 (cos_downward_test_data): Likewise.
34900 (cos_test_downward): Likewise.
34901 (cos_upward_test_data): Likewise.
34902 (cos_test_upward): Likewise.
34903 (cosh_test_data): Update call to AUTO_TESTS_f_f.
34904 (cosh_test): Use ALL_RM_TEST.
34905 (cosh_tonearest_test_data): Remove.
34906 (cosh_test_tonearest): Likewise.
34907 (cosh_towardzero_test_data): Likewise.
34908 (cosh_test_towardzero): Likewise.
34909 (cosh_downward_test_data): Likewise.
34910 (cosh_test_downward): Likewise.
34911 (cosh_upward_test_data): Likewise.
34912 (cosh_test_upward): Likewise.
34913 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34914 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34915 (ctan_test_data): Likewise.
34916 (ctan_test): Use ALL_RM_TEST.
34917 (ctan_tonearest_test_data): Remove.
34918 (ctan_test_tonearest): Likewise.
34919 (ctan_towardzero_test_data): Likewise.
34920 (ctan_test_towardzero): Likewise.
34921 (ctan_downward_test_data): Likewise.
34922 (ctan_test_downward): Likewise.
34923 (ctan_upward_test_data): Likewise.
34924 (ctan_test_upward): Likewise.
34925 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34926 (ctanh_test): Use ALL_RM_TEST.
34927 (ctanh_tonearest_test_data): Remove.
34928 (ctanh_test_tonearest): Likewise.
34929 (ctanh_towardzero_test_data): Likewise.
34930 (ctanh_test_towardzero): Likewise.
34931 (ctanh_downward_test_data): Likewise.
34932 (ctanh_test_downward): Likewise.
34933 (ctanh_upward_test_data): Likewise.
34934 (ctanh_test_upward): Likewise.
34935 (erf_test_data): Update call to AUTO_TESTS_f_f.
34936 (erfc_test_data): Likewise.
34937 (exp_test_data): Likewise.
34938 (exp_test): Use ALL_RM_TEST.
34939 (exp_tonearest_test_data): Remove.
34940 (exp_test_tonearest): Likewise.
34941 (exp_towardzero_test_data): Likewise.
34942 (exp_test_towardzero): Likewise.
34943 (exp_downward_test_data): Likewise.
34944 (exp_test_downward): Likewise.
34945 (exp_upward_test_data): Likewise.
34946 (exp_test_upward): Likewise.
34947 (exp10_test_data): Update call to AUTO_TESTS_f_f.
34948 (exp10_test): Use ALL_RM_TEST.
34949 (exp10_tonearest_test_data): Remove.
34950 (exp10_test_tonearest): Likewise.
34951 (exp10_towardzero_test_data): Likewise.
34952 (exp10_test_towardzero): Likewise.
34953 (exp10_downward_test_data): Likewise.
34954 (exp10_test_downward): Likewise.
34955 (exp10_upward_test_data): Likewise.
34956 (exp10_test_upward): Likewise.
34957 (exp2_test_data): Update call to AUTO_TESTS_f_f.
34958 (expm1_test_data): Likewise.
34959 (expm1_test): Use ALL_RM_TEST.
34960 (expm1_tonearest_test_data): Remove.
34961 (expm1_test_tonearest): Likewise.
34962 (expm1_towardzero_test_data): Likewise.
34963 (expm1_test_towardzero): Likewise.
34964 (expm1_downward_test_data): Likewise.
34965 (expm1_test_downward): Likewise.
34966 (expm1_upward_test_data): Likewise.
34967 (expm1_test_upward): Likewise.
34968 (fma_test_data): Update call to AUTO_TESTS_fff_f.
34969 (fma_test): Use ALL_RM_TEST.
34970 (fma_towardzero_test_data): Remove.
34971 (fma_test_towardzero): Likewise.
34972 (fma_downward_test_data): Likewise.
34973 (fma_test_downward): Likewise.
34974 (fma_upward_test_data): Likewise.
34975 (fma_test_upward): Likewise.
34976 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34977 (j0_test_data): Update call to AUTO_TESTS_f_f.
34978 (j1_test_data): Likewise.
34979 (jn_test_data): Update call to AUTO_TESTS_if_f.
34980 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34981 (log_test_data): Update call to AUTO_TESTS_f_f.
34982 (log10_test_data): Likewise.
34983 (log1p_test_data): Likewise.
34984 (log2_test_data): Likewise.
34985 (pow_test_data): Update call to AUTO_TESTS_ff_f.
34986 (pow_tonearest_test_data): Likewise.
34987 (sin_test_data): Update call to AUTO_TESTS_f_f.
34988 (sin_test): Use ALL_RM_TEST.
34989 (sin_tonearest_test_data): Remove.
34990 (sin_test_tonearest): Likewise.
34991 (sin_towardzero_test_data): Likewise.
34992 (sin_test_towardzero): Likewise.
34993 (sin_downward_test_data): Likewise.
34994 (sin_test_downward): Likewise.
34995 (sin_upward_test_data): Likewise.
34996 (sin_test_upward): Likewise.
34997 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34998 (sinh_test_data): Update call to AUTO_TESTS_f_f.
34999 (sinh_test): Use ALL_RM_TEST.
35000 (sinh_tonearest_test_data): Remove.
35001 (sinh_test_tonearest): Likewise.
35002 (sinh_towardzero_test_data): Likewise.
35003 (sinh_test_towardzero): Likewise.
35004 (sinh_downward_test_data): Likewise.
35005 (sinh_test_downward): Likewise.
35006 (sinh_upward_test_data): Likewise.
35007 (sinh_test_upward): Likewise.
35008 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35009 (sqrt_test): Use ALL_RM_TEST.
35010 (sqrt_tonearest_test_data): Remove.
35011 (sqrt_test_tonearest): Likewise.
35012 (sqrt_towardzero_test_data): Likewise.
35013 (sqrt_test_towardzero): Likewise.
35014 (sqrt_downward_test_data): Likewise.
35015 (sqrt_test_downward): Likewise.
35016 (sqrt_upward_test_data): Likewise.
35017 (sqrt_test_upward): Likewise.
35018 (tan_test_data): Update call to AUTO_TESTS_f_f.
35019 (tan_test): Use ALL_RM_TEST.
35020 (tan_tonearest_test_data): Remove.
35021 (tan_test_tonearest): Likewise.
35022 (tan_towardzero_test_data): Likewise.
35023 (tan_test_towardzero): Likewise.
35024 (tan_downward_test_data): Likewise.
35025 (tan_test_downward): Likewise.
35026 (tan_upward_test_data): Likewise.
35027 (tan_test_upward): Likewise.
35028 (tanh_test_data): Update call to AUTO_TESTS_f_f.
35029 (tgamma_test_data): Likewise.
35030 (y0_test_data): Likewise.
35031 (y1_test_data): Likewise.
35032 (yn_test_data): Update call to AUTO_TESTS_if_f.
35033 (main): Do not call removed functions.
35035 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35037 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35038 (ldexp_test_data): Remove.
35039 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
35041 (scalb_test): Use ALL_RM_TEST.
35043 2014-03-19 Andreas Schwab <schwab@suse.de>
35045 * nscd/nscd.service: Also invalidate netgroup cache on reload.
35047 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35050 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35051 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35053 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35054 (__ASSUME_PREADV): Undefine.
35055 (__ASSUME_PWRITEV): Likewise.
35057 2014-03-18 Roland McGrath <roland@hack.frob.com>
35059 * bits/mman-linux.h: Add comment about non-Linux use.
35060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35061 bits/mman-linux.h resting place.
35063 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35064 * bits/mman-linux.h: ... here.
35066 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35068 * conform/conformtest.pl: Add standard definition when calling C
35069 preprocessor on data files.
35070 (checknamespace): Remove unused variable.
35072 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35074 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35075 minus_oflow, plus_uflow and minus_uflow in expected results.
35076 * math/libm-test.inc (scalbn_test_data): Add more tests of
35077 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
35079 (scalbn_test): Use ALL_RM_TEST.
35080 (scalbln_test_data): Add more tests of negative arguments. Use
35081 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35082 (scalbln_test): Use ALL_RM_TEST.
35084 2014-03-18 Roland McGrath <roland@hack.frob.com>
35086 * scripts/abilist.awk: Ignore symbols marked with .hidden.
35088 2014-03-18 Will Newton <will.newton@linaro.org>
35090 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35091 inaccurate comment.
35093 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35095 * Makerules [!subdir] (check-abi): Exit with error status if a
35098 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35100 * math/libm-test.inc (nearbyint_test_data): Include all tests used
35101 for rint. Include results for all rounding modes.
35102 (nearbyint_test): Use ALL_RM_TEST.
35103 (rint_test_data): Include all tests used for nearbyint.
35105 2014-03-17 Will Newton <will.newton@linaro.org>
35107 * nptl/sysdeps/pthread/pthread.h: Revert previous
35110 * sysdeps/generic/ldsodefs.h: Revert previous
35113 * libio/genops.c: Revert previous change.
35114 * libio/libioP.h: Likewise.
35115 * stdio-common/vfprintf.c: Likewise.
35117 * sysdeps/generic/math_private.h: Revert previous
35120 * sysdeps/generic/math_private.h: Check whether
35121 HAVE_RM_CTX is defined with #ifdef rather
35124 * argp/argp-fmtstream.h: Check whether
35125 __STRICT_ANSI__ is defined with #ifdef rather
35127 * argp/argp.h: Likewise.
35129 * libio/genops.c: Check whether
35130 _IO_JUMPS_OFFSET is defined with #ifdef rather
35132 * libio/libioP.h: Likewise.
35133 * stdio-common/vfprintf.c: Likewise.
35135 * sysdeps/generic/ldsodefs.h: Check whether
35136 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35139 * nptl/sysdeps/pthread/pthread.h: Check
35140 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35143 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35145 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35147 * libio/tst-ftell-active-handler.c (do_append_test): Add a
35151 * libio/fileops.c (_IO_file_open): Seek to end of file but
35152 don't cache the offset.
35153 (get_file_offset): Remove function.
35154 (do_ftell): Use cached offset when available.
35155 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35156 don't cache the offset.
35157 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35159 (do_one_test): Call it.
35160 (do_ftell_test): Fix up expected old offset for a+ mode.
35161 * libio/wfileops.c (do_ftell_wide): Used cached offset when
35164 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35165 up test status with function return status.
35166 (do_write_test): Likewise.
35167 (do_append_test): Likewise.
35169 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35170 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35173 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35175 * math/gen-libm-test.pl (parse_args): Handle results specified for
35176 each rounding mode separately.
35177 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35178 tests and results from lrint_tonearest_test_data,
35179 lrint_towardzero_test_data, lrint_downward_test_data and
35180 lrint_upward_test_data.
35181 (lrint_test): Use ALL_RM_TEST.
35182 (lrint_tonearest_test_data): Remove.
35183 (lrint_test_tonearest): Likewise.
35184 (lrint_towardzero_test_data): Likewise.
35185 (lrint_test_towardzero): Likewise.
35186 (lrint_downward_test_data): Likewise.
35187 (lrint_test_downward): Likewise.
35188 (lrint_upward_test_data): Likewise.
35189 (lrint_test_upward): Likewise.
35190 (llrint_test_data): Merge in per-rounding-mode tests and results
35191 from llrint_tonearest_test_data, llrint_towardzero_test_data,
35192 llrint_downward_test_data and llrint_upward_test_data.
35193 (llrint_test): Use ALL_RM_TEST.
35194 (llrint_tonearest_test_data): Remove.
35195 (llrint_test_tonearest): Likewise.
35196 (llrint_towardzero_test_data): Likewise.
35197 (llrint_test_towardzero): Likewise.
35198 (llrint_downward_test_data): Likewise.
35199 (llrint_test_downward): Likewise.
35200 (llrint_upward_test_data): Likewise.
35201 (llrint_test_upward): Likewise.
35202 (rint_test_data): Merge in per-rounding-mode tests and results
35203 from rint_tonearest_test_data, rint_towardzero_test_data,
35204 rint_downward_test_data and rint_upward_test_data. Add
35205 per-rounding-mode results for tests not in those arrays.
35206 (rint_test): Use ALL_RM_TEST.
35207 (rint_tonearest_test_data): Remove.
35208 (rint_test_tonearest): Likewise.
35209 (rint_towardzero_test_data): Likewise.
35210 (rint_test_towardzero): Likewise.
35211 (rint_downward_test_data): Likewise.
35212 (rint_test_downward): Likewise.
35213 (rint_upward_test_data): Likewise.
35214 (rint_test_upward): Likewise.
35215 (main): Don't call removed functions.
35217 2014-03-14 Roland McGrath <roland@hack.frob.com>
35219 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35220 "Compiled on ..." crapola. It is anti-useful.
35222 2014-03-14 Joseph Myers <joseph@codesourcery.com>
35224 * scripts/evaluate-test.sh: Handle fourth argument to determine
35225 whether test run should stop on failure.
35226 * Makeconfig (stop-on-test-failure): New variable.
35227 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35228 $(stop-on-test-failure).
35229 * Makefile (tests): Give a summary of results from testing and
35230 exit with failure status if they include an ERROR or FAIL.
35231 (xtests): Likewise.
35232 * manual/install.texi (Configuring and compiling): Mention
35233 stop-on-test-failure=y.
35234 * INSTALL: Regenerated.
35236 2014-03-14 Roland McGrath <roland@hack.frob.com>
35238 * scripts/versionlist.awk: New file.
35239 * Makerules [$(build-shared) = yes]
35240 (postclean-generated): Add Versions.def, not Versions.def.v and
35242 ($(common-objpfx)Versions.def.v.i): Target removed.
35243 ($(common-objpfx)Versions.def): New target.
35244 ($(common-objpfx)Versions.all): Depend on that rather that
35245 $(common-objpfx)Versions.def.v.
35246 * Versions.def: File removed.
35248 * Makeconfig (+gccwarn): Add -Wundef.
35249 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35250 a dl-sysdep.h breaking its contract.
35251 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35252 * include/stackinfo.h: New file.
35253 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35254 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35255 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35256 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35257 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35258 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35259 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35260 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35261 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35262 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35263 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35264 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35265 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35266 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35267 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35269 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35272 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35274 * math/libm-test.inc (round_test_data): Add more tests.
35277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35279 * math/libm-test.inc (nearbyint_test_data): Add more tests.
35282 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35284 * math/libm-test.inc (ceil_test_data): Add more tests.
35286 * math/libm-test.inc (trunc_test_data): Add more tests related to
35289 2014-03-14 Roland McGrath <roland@hack.frob.com>
35291 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35292 with #if rather than #ifdef.
35293 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35295 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35298 first. Disable AVX-512 GCC support if assembler doesn't support
35300 * sysdeps/x86_64/configure: Regenerated.
35302 2014-03-13 Carlos O'Donell <carlos@redhat.com>
35304 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35305 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35306 (__old_pthread_attr_setstack): Likewise.
35307 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35308 [!_STACK_GROWS_DOWN]: Likewise.
35310 2014-03-13 Mike Frysinger <vapier@gentoo.org>
35312 * config.make.in (have-bash2): Delete.
35313 * configure.ac (libc_cv_have_bash2): Delete.
35314 * configure: Regenerate.
35315 * elf/Makefile (common-ldd-rewrite): Rename to ...
35316 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
35317 (sh-ldd-rewrite): Delete.
35318 (bash-ldd-rewrite): Delete.
35319 (have-bash2): Delete checks.
35320 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35323 * config.make.in (have-ksh): Delete.
35325 * configure.ac (libc_cv_have_ksh): Delete.
35326 * configure: Regenerate.
35328 * elf/Makefile: Delete $(have-ksh) check.
35329 ($(objpfx)sotruss): Change KSH to BASH.
35330 * elf/sotruss.ksh: Rename to ...
35331 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
35332 function style to match POSIX. Drop ksh vim mode setting.
35334 * manual/time.texi (Specifying the Time Zone with TZ): Change
35335 Tuesday to Thursday.
35337 * debug/tst-longjmp_chk2.c: Update header comment.
35338 (stackoverflow_handler): Add comment. Call assert on pass value.
35340 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
35343 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35344 (HAVE_AVX512_ASM_SUPPORT): Likewise.
35345 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35346 (La_x86_64_vector): Add zmm.
35347 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35348 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35349 ($(objpfx)tst-audit10): New target.
35350 ($(objpfx)tst-audit10.out): Likewise.
35351 (tst-audit10-ENV): New.
35352 (AVX512-CFLAGS): Likewise.
35353 (CFLAGS-tst-audit10.c): Likewise.
35354 (CFLAGS-tst-auditmod10a.c): Likewise.
35355 (CFLAGS-tst-auditmod10b.c): Likewise.
35356 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35357 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35358 * sysdeps/x86_64/configure: Regenerated.
35359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35360 AVX-512 zmm register support.
35361 (_dl_x86_64_save_sse): Likewise.
35362 (_dl_x86_64_restore_sse): Likewise.
35363 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35364 size vector registers.
35365 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35366 (ZMM_SIZE): Likewise.
35367 * sysdeps/x86_64/tst-audit10.c: New file.
35368 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35369 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35371 2014-03-13 Roland McGrath <roland@hack.frob.com>
35373 * configure.ac (HAVE_EHDR_START): New check.
35374 * configure: Regenerated.
35375 * config.h.in (HAVE_EHDR_START): New #undef.
35376 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35377 assuming the lowest-addressed segment maps the start of the file.
35379 2014-03-13 Joseph Myers <joseph@codesourcery.com>
35381 * INSTALL: Regenerated.
35383 2014-03-13 Will Newton <will.newton@linaro.org>
35385 * manual/setjmp.texi (System V contexts): Improve
35386 clarity and grammar of documentation.
35388 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
35391 * elf/Makefile (tests): Add tst-pie2.
35392 (tests-pie): Add tst-pie2.
35393 * elf/tst-pie2.c: New file.
35394 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35396 * elf/rtld.c (map_doit): Load executable as lt_executable.
35397 (dl_main): Likewise.
35399 2014-03-12 Joseph Myers <joseph@codesourcery.com>
35402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35403 (__ASSUME_PSELECT): Undefine.
35405 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35409 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35412 selector for static builds.
35414 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35417 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35420 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35422 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35423 IFUNC selector for static builds.
35425 2014-03-11 Joseph Myers <joseph@codesourcery.com>
35427 * sysdeps/mips/math_private.h [__mips_hard_float]
35428 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35429 libc_feresetround_mips_ctx.
35430 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35431 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35432 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35435 * math/s_nextafter.c (__nextafter): Do not return value from
35436 overflowing computation.
35437 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35438 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35444 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35446 2014-03-11 Roland McGrath <roland@hack.frob.com>
35448 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35449 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35450 Move sfi_sp use from the load-multiple (that no longer sets sp) to
35451 the new mov targetting sp.
35453 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35457 Define it for static builds as well.
35458 (NO_BZERO_IMPL): Likewise.
35460 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35462 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35463 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35464 multiarch strspn for PPC64.
35465 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35466 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35468 (__libc_ifunc_impl_list): Likewise.
35469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35470 multiarch optimizations
35471 * string/strspn.c (strspn): Using macro to redefine symbol name.
35473 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35476 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35477 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35478 multiarch strncat for PPC64.
35479 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35480 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35482 (__libc_ifunc_impl_list): Likewise.
35483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35484 multiarch optimizations
35486 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35489 * nscd/nscd.service: Make service type forking.
35491 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35494 sign in non default rounding modes.
35495 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35497 2014-03-08 Joseph Myers <joseph@codesourcery.com>
35499 * math/libm-test.inc (ALL_RM_TEST): New macro.
35500 (ceil_test): Use ALL_RM_TEST.
35501 (cimag_test): Likewise.
35502 (conj_test): Likewise.
35503 (copysign_test): Likewise.
35504 (cproj_test): Likewise.
35505 (creal_test): Likewise.
35506 (fabs_test): Likewise.
35507 (floor_test): Likewise.
35508 (fmax_test): Likewise.
35509 (fmin_test): Likewise.
35510 (fmod_test): Likewise.
35511 (fpclassify_test): Likewise.
35512 (frexp_test): Likewise.
35513 (ilogb_test): Likewise.
35514 (isfinite_test): Likewise.
35515 (finite_test): Likewise.
35516 (isgreater_test): Likewise.
35517 (isgreaterequal_test): Likewise.
35518 (isinf_test): Likewise.
35519 (isless_test): Likewise.
35520 (islessequal_test): Likewise.
35521 (islessgreater_test): Likewise.
35522 (isnan_test): Likewise.
35523 (isnormal_test): Likewise.
35524 (issignaling_test): Likewise.
35525 (isunordered_test): Likewise.
35526 (logb_test): Likewise.
35527 (logb_downward_test_data): Remove.
35528 (logb_test_downward): Likewise.
35529 (lround_test): Use ALL_RM_TEST.
35530 (llround_test): Likewise.
35531 (modf_test): Likewise.
35532 (nexttoward_test): Likewise.
35533 (remainder_test): Likewise.
35534 (drem_test): Likewise.
35535 (remainder_tonearest_test_data): Likewise.
35536 (remainder_test_tonearest): Likewise.
35537 (drem_test_tonearest): Likewise.
35538 (remainder_towardzero_test_data): Likewise.
35539 (remainder_test_towardzero): Likewise.
35540 (drem_test_towardzero): Likewise.
35541 (remainder_downward_test_data): Likewise.
35542 (remainder_test_downward): Likewise.
35543 (drem_test_downward): Likewise.
35544 (remainder_upward_test_data): Likewise.
35545 (remainder_test_upward): Likewise.
35546 (drem_test_upward): Likewise.
35547 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
35548 (round_test): Use ALL_RM_TEST.
35549 (signbit_test): Likewise.
35550 (trunc_test): Likewise.
35551 (significand_test): Likewise.
35552 (main): Don't call removed functions.
35554 2014-03-07 Joseph Myers <joseph@codesourcery.com>
35557 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35558 || __USE_XOPEN2K8].
35559 (ILL_ILLOPN): Likewise.
35560 (ILL_ILLADR): Likewise.
35561 (ILL_ILLTRP): Likewise.
35562 (ILL_PRVOPC): Likewise.
35563 (ILL_PRVREG): Likewise.
35564 (ILL_COPROC): Likewise.
35565 (ILL_BADSTK): Likewise.
35566 (FPE_INTDIV): Likewise.
35567 (FPE_INTOVF): Likewise.
35568 (FPE_FLTDIV): Likewise.
35569 (FPE_FLTOVF): Likewise.
35570 (FPE_FLTUND): Likewise.
35571 (FPE_FLTRES): Likewise.
35572 (FPE_FLTINV): Likewise.
35573 (FPE_FLTSUB): Likewise.
35574 (SEGV_MAPERR): Likewise.
35575 (SEGV_ACCERR): Likewise.
35576 (BUS_ADRALN): Likewise.
35577 (BUS_ADRERR): Likewise.
35578 (BUS_OBJERR): Likewise.
35579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35580 (TRAP_TRACE): Likewise.
35581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35583 (CLD_KILLED): Likewise.
35584 (CLD_DUMPED): Likewise.
35585 (CLD_TRAPPED): Likewise.
35586 (CLD_STOPPED): Likewise.
35587 (CLD_CONTINUED): Likewise.
35588 (POLL_IN): Likewise.
35589 (POLL_OUT): Likewise.
35590 (POLL_MSG): Likewise.
35591 (POLL_ERR): Likewise.
35592 (POLL_PRI): Likewise.
35593 (POLL_HUP): Likewise.
35594 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35596 (ILL_ILLOPN): Likewise.
35597 (ILL_ILLADR): Likewise.
35598 (ILL_ILLTRP): Likewise.
35599 (ILL_PRVOPC): Likewise.
35600 (ILL_PRVREG): Likewise.
35601 (ILL_COPROC): Likewise.
35602 (ILL_BADSTK): Likewise.
35603 (FPE_INTDIV): Likewise.
35604 (FPE_INTOVF): Likewise.
35605 (FPE_FLTDIV): Likewise.
35606 (FPE_FLTOVF): Likewise.
35607 (FPE_FLTUND): Likewise.
35608 (FPE_FLTRES): Likewise.
35609 (FPE_FLTINV): Likewise.
35610 (FPE_FLTSUB): Likewise.
35611 (SEGV_MAPERR): Likewise.
35612 (SEGV_ACCERR): Likewise.
35613 (BUS_ADRALN): Likewise.
35614 (BUS_ADRERR): Likewise.
35615 (BUS_OBJERR): Likewise.
35616 (BUS_MCEERR_AR): Likewise.
35617 (BUS_MCEERR_AO): Likewise.
35618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35619 (TRAP_TRACE): Likewise.
35620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35622 (CLD_KILLED): Likewise.
35623 (CLD_DUMPED): Likewise.
35624 (CLD_TRAPPED): Likewise.
35625 (CLD_STOPPED): Likewise.
35626 (CLD_CONTINUED): Likewise.
35627 (POLL_IN): Likewise.
35628 (POLL_OUT): Likewise.
35629 (POLL_MSG): Likewise.
35630 (POLL_ERR): Likewise.
35631 (POLL_PRI): Likewise.
35632 (POLL_HUP): Likewise.
35633 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35634 (ILL_ILLOPN): Likewise.
35635 (ILL_ILLADR): Likewise.
35636 (ILL_ILLTRP): Likewise.
35637 (ILL_PRVOPC): Likewise.
35638 (ILL_PRVREG): Likewise.
35639 (ILL_COPROC): Likewise.
35640 (ILL_BADSTK): Likewise.
35641 (FPE_INTDIV): Likewise.
35642 (FPE_INTOVF): Likewise.
35643 (FPE_FLTDIV): Likewise.
35644 (FPE_FLTOVF): Likewise.
35645 (FPE_FLTUND): Likewise.
35646 (FPE_FLTRES): Likewise.
35647 (FPE_FLTINV): Likewise.
35648 (FPE_FLTSUB): Likewise.
35649 (SEGV_MAPERR): Likewise.
35650 (SEGV_ACCERR): Likewise.
35651 (BUS_ADRALN): Likewise.
35652 (BUS_ADRERR): Likewise.
35653 (BUS_OBJERR): Likewise.
35654 (BUS_MCEERR_AR): Likewise.
35655 (BUS_MCEERR_AO): Likewise.
35656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35657 (TRAP_TRACE): Likewise.
35658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35660 (CLD_KILLED): Likewise.
35661 (CLD_DUMPED): Likewise.
35662 (CLD_TRAPPED): Likewise.
35663 (CLD_STOPPED): Likewise.
35664 (CLD_CONTINUED): Likewise.
35665 (POLL_IN): Likewise.
35666 (POLL_OUT): Likewise.
35667 (POLL_MSG): Likewise.
35668 (POLL_ERR): Likewise.
35669 (POLL_PRI): Likewise.
35670 (POLL_HUP): Likewise.
35671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35673 (ILL_ILLOPN): Likewise.
35674 (ILL_ILLADR): Likewise.
35675 (ILL_ILLTRP): Likewise.
35676 (ILL_PRVOPC): Likewise.
35677 (ILL_PRVREG): Likewise.
35678 (ILL_COPROC): Likewise.
35679 (ILL_BADSTK): Likewise.
35680 (ILL_BADIADDR): Likewise.
35681 (ILL_BREAK): Likewise.
35682 (FPE_INTDIV): Likewise.
35683 (FPE_INTOVF): Likewise.
35684 (FPE_FLTDIV): Likewise.
35685 (FPE_FLTOVF): Likewise.
35686 (FPE_FLTUND): Likewise.
35687 (FPE_FLTRES): Likewise.
35688 (FPE_FLTINV): Likewise.
35689 (FPE_FLTSUB): Likewise.
35690 (FPE_DECOVF): Likewise.
35691 (FPE_DECDIV): Likewise.
35692 (FPE_DECERR): Likewise.
35693 (FPE_INVASC): Likewise.
35694 (FPE_INVDEC): Likewise.
35695 (SEGV_MAPERR): Likewise.
35696 (SEGV_ACCERR): Likewise.
35697 (SEGV_PSTKOVF): Likewise.
35698 (BUS_ADRALN): Likewise.
35699 (BUS_ADRERR): Likewise.
35700 (BUS_OBJERR): Likewise.
35701 (BUS_MCEERR_AR): Likewise.
35702 (BUS_MCEERR_AO): Likewise.
35703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35704 (TRAP_TRACE): Likewise.
35705 (TRAP_BRANCH): Likewise.
35706 (TRAP_HWBKPT): Likewise.
35707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35709 (CLD_KILLED): Likewise.
35710 (CLD_DUMPED): Likewise.
35711 (CLD_TRAPPED): Likewise.
35712 (CLD_STOPPED): Likewise.
35713 (CLD_CONTINUED): Likewise.
35714 (POLL_IN): Likewise.
35715 (POLL_OUT): Likewise.
35716 (POLL_MSG): Likewise.
35717 (POLL_ERR): Likewise.
35718 (POLL_PRI): Likewise.
35719 (POLL_HUP): Likewise.
35720 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35721 (ILL_ILLOPN): Likewise.
35722 (ILL_ILLADR): Likewise.
35723 (ILL_ILLTRP): Likewise.
35724 (ILL_PRVOPC): Likewise.
35725 (ILL_PRVREG): Likewise.
35726 (ILL_COPROC): Likewise.
35727 (ILL_BADSTK): Likewise.
35728 (FPE_INTDIV): Likewise.
35729 (FPE_INTOVF): Likewise.
35730 (FPE_FLTDIV): Likewise.
35731 (FPE_FLTOVF): Likewise.
35732 (FPE_FLTUND): Likewise.
35733 (FPE_FLTRES): Likewise.
35734 (FPE_FLTINV): Likewise.
35735 (FPE_FLTSUB): Likewise.
35736 (SEGV_MAPERR): Likewise.
35737 (SEGV_ACCERR): Likewise.
35738 (BUS_ADRALN): Likewise.
35739 (BUS_ADRERR): Likewise.
35740 (BUS_OBJERR): Likewise.
35741 (BUS_MCEERR_AR): Likewise.
35742 (BUS_MCEERR_AO): Likewise.
35743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35744 (TRAP_TRACE): Likewise.
35745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35747 (CLD_KILLED): Likewise.
35748 (CLD_DUMPED): Likewise.
35749 (CLD_TRAPPED): Likewise.
35750 (CLD_STOPPED): Likewise.
35751 (CLD_CONTINUED): Likewise.
35752 (POLL_IN): Likewise.
35753 (POLL_OUT): Likewise.
35754 (POLL_MSG): Likewise.
35755 (POLL_ERR): Likewise.
35756 (POLL_PRI): Likewise.
35757 (POLL_HUP): Likewise.
35758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35759 (ILL_ILLOPN): Likewise.
35760 (ILL_ILLADR): Likewise.
35761 (ILL_ILLTRP): Likewise.
35762 (ILL_PRVOPC): Likewise.
35763 (ILL_PRVREG): Likewise.
35764 (ILL_COPROC): Likewise.
35765 (ILL_BADSTK): Likewise.
35766 (FPE_INTDIV): Likewise.
35767 (FPE_INTOVF): Likewise.
35768 (FPE_FLTDIV): Likewise.
35769 (FPE_FLTOVF): Likewise.
35770 (FPE_FLTUND): Likewise.
35771 (FPE_FLTRES): Likewise.
35772 (FPE_FLTINV): Likewise.
35773 (FPE_FLTSUB): Likewise.
35774 (SEGV_MAPERR): Likewise.
35775 (SEGV_ACCERR): Likewise.
35776 (BUS_ADRALN): Likewise.
35777 (BUS_ADRERR): Likewise.
35778 (BUS_OBJERR): Likewise.
35779 (BUS_MCEERR_AR): Likewise.
35780 (BUS_MCEERR_AO): Likewise.
35781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35782 (TRAP_TRACE): Likewise.
35783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35785 (CLD_KILLED): Likewise.
35786 (CLD_DUMPED): Likewise.
35787 (CLD_TRAPPED): Likewise.
35788 (CLD_STOPPED): Likewise.
35789 (CLD_CONTINUED): Likewise.
35790 (POLL_IN): Likewise.
35791 (POLL_OUT): Likewise.
35792 (POLL_MSG): Likewise.
35793 (POLL_ERR): Likewise.
35794 (POLL_PRI): Likewise.
35795 (POLL_HUP): Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35797 (ILL_ILLOPN): Likewise.
35798 (ILL_ILLADR): Likewise.
35799 (ILL_ILLTRP): Likewise.
35800 (ILL_PRVOPC): Likewise.
35801 (ILL_PRVREG): Likewise.
35802 (ILL_COPROC): Likewise.
35803 (ILL_BADSTK): Likewise.
35804 (FPE_INTDIV): Likewise.
35805 (FPE_INTOVF): Likewise.
35806 (FPE_FLTDIV): Likewise.
35807 (FPE_FLTOVF): Likewise.
35808 (FPE_FLTUND): Likewise.
35809 (FPE_FLTRES): Likewise.
35810 (FPE_FLTINV): Likewise.
35811 (FPE_FLTSUB): Likewise.
35812 (SEGV_MAPERR): Likewise.
35813 (SEGV_ACCERR): Likewise.
35814 (BUS_ADRALN): Likewise.
35815 (BUS_ADRERR): Likewise.
35816 (BUS_OBJERR): Likewise.
35817 (BUS_MCEERR_AR): Likewise.
35818 (BUS_MCEERR_AO): Likewise.
35819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35820 (TRAP_TRACE): Likewise.
35821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35823 (CLD_KILLED): Likewise.
35824 (CLD_DUMPED): Likewise.
35825 (CLD_TRAPPED): Likewise.
35826 (CLD_STOPPED): Likewise.
35827 (CLD_CONTINUED): Likewise.
35828 (POLL_IN): Likewise.
35829 (POLL_OUT): Likewise.
35830 (POLL_MSG): Likewise.
35831 (POLL_ERR): Likewise.
35832 (POLL_PRI): Likewise.
35833 (POLL_HUP): Likewise.
35834 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35835 (ILL_ILLOPN): Likewise.
35836 (ILL_ILLADR): Likewise.
35837 (ILL_ILLTRP): Likewise.
35838 (ILL_PRVOPC): Likewise.
35839 (ILL_PRVREG): Likewise.
35840 (ILL_COPROC): Likewise.
35841 (ILL_BADSTK): Likewise.
35842 (ILL_DBLFLT): Likewise.
35843 (ILL_HARDWALL): Likewise.
35844 (FPE_INTDIV): Likewise.
35845 (FPE_INTOVF): Likewise.
35846 (FPE_FLTDIV): Likewise.
35847 (FPE_FLTOVF): Likewise.
35848 (FPE_FLTUND): Likewise.
35849 (FPE_FLTRES): Likewise.
35850 (FPE_FLTINV): Likewise.
35851 (FPE_FLTSUB): Likewise.
35852 (SEGV_MAPERR): Likewise.
35853 (SEGV_ACCERR): Likewise.
35854 (BUS_ADRALN): Likewise.
35855 (BUS_ADRERR): Likewise.
35856 (BUS_OBJERR): Likewise.
35857 (BUS_MCEERR_AR): Likewise.
35858 (BUS_MCEERR_AO): Likewise.
35859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35860 (TRAP_TRACE): Likewise.
35861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35863 (CLD_KILLED): Likewise.
35864 (CLD_DUMPED): Likewise.
35865 (CLD_TRAPPED): Likewise.
35866 (CLD_STOPPED): Likewise.
35867 (CLD_CONTINUED): Likewise.
35868 (POLL_IN): Likewise.
35869 (POLL_OUT): Likewise.
35870 (POLL_MSG): Likewise.
35871 (POLL_ERR): Likewise.
35872 (POLL_PRI): Likewise.
35873 (POLL_HUP): Likewise.
35874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35875 (ILL_ILLOPN): Likewise.
35876 (ILL_ILLADR): Likewise.
35877 (ILL_ILLTRP): Likewise.
35878 (ILL_PRVOPC): Likewise.
35879 (ILL_PRVREG): Likewise.
35880 (ILL_COPROC): Likewise.
35881 (ILL_BADSTK): Likewise.
35882 (FPE_INTDIV): Likewise.
35883 (FPE_INTOVF): Likewise.
35884 (FPE_FLTDIV): Likewise.
35885 (FPE_FLTOVF): Likewise.
35886 (FPE_FLTUND): Likewise.
35887 (FPE_FLTRES): Likewise.
35888 (FPE_FLTINV): Likewise.
35889 (FPE_FLTSUB): Likewise.
35890 (SEGV_MAPERR): Likewise.
35891 (SEGV_ACCERR): Likewise.
35892 (BUS_ADRALN): Likewise.
35893 (BUS_ADRERR): Likewise.
35894 (BUS_OBJERR): Likewise.
35895 (BUS_MCEERR_AR): Likewise.
35896 (BUS_MCEERR_AO): Likewise.
35897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35898 (TRAP_TRACE): Likewise.
35899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35901 (CLD_KILLED): Likewise.
35902 (CLD_DUMPED): Likewise.
35903 (CLD_TRAPPED): Likewise.
35904 (CLD_STOPPED): Likewise.
35905 (CLD_CONTINUED): Likewise.
35906 (POLL_IN): Likewise.
35907 (POLL_OUT): Likewise.
35908 (POLL_MSG): Likewise.
35909 (POLL_ERR): Likewise.
35910 (POLL_PRI): Likewise.
35911 (POLL_HUP): Likewise.
35912 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35916 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35917 before #include of <time.h>.
35918 [!__USE_XOPEN2K] (__need_timespec): Likewise.
35919 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35920 (test-xfail-UNIX98/sched.h/conform): Likewise.
35922 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
35924 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35925 error absence of trapping exception support.
35926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35928 2014-03-07 Joseph Myers <joseph@codesourcery.com>
35930 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35931 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35932 * timezone/Makefile (testdata): Move definition above include of
35934 (test-zones): New variable.
35935 (tests-special): Add zone files.
35936 (build-testdata): Use $(evaluate-test).
35938 * elf/Makefile (tests-special): Rename tests to end with .out.
35939 ($(objpfx)noload-mem): Likewise.
35940 ($(objpfx)tst-leaks1-mem): Likewise.
35941 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35942 * iconv/Makefile (xtests-special): Change test-iconvconfig to
35943 $(objpfx)test-iconvconfig.out.
35944 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
35945 set -e inside subshell and redirect output to file.
35946 * iconvdata/Makefile (generated): Rename tests to end with .out.
35948 (tests-special): Rename tests to end with .out.
35949 ($(objpfx)mtrace-tst-loading): Likewise.
35950 * intl/Makefile (generated): Likewise.
35951 (tests-special): Likewise.
35952 ($(objpfx)mtrace-tst-gettext): Likewise.
35953 * misc/Makefile (generated): Likewise.
35954 (tests-special): Likewise.
35955 ($(objpfx)tst-error1-mem): Likewise.
35956 * nptl/Makefile (tests-special): Likewise.
35957 ($(objpfx)tst-stack3-mem): Likewise.
35958 (generated): Likewise.
35959 * posix/Makefile (generated): Likewise.
35960 (tests-special): Likewise.
35961 (xtests-special): Likewise.
35962 ($(objpfx)tst-fnmatch-mem): Likewise.
35963 ($(objpfx)bug-regex2-mem): Likewise.
35964 ($(objpfx)bug-regex14-mem): Likewise.
35965 ($(objpfx)bug-regex21-mem): Likewise.
35966 ($(objpfx)bug-regex31-mem): Likewise.
35967 ($(objpfx)tst-vfork3-mem): Likewise.
35968 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35969 ($(objpfx)tst-pcre-mem): Likewise.
35970 ($(objpfx)tst-boost-mem): Likewise.
35971 ($(objpfx)bug-ga2-mem): Likewise.
35972 ($(objpfx)bug-glob2-mem): Likewise.
35973 * resolv/Makefile (generate): Likewise.
35974 (tests-special): Likewise.
35975 (xtests-special): Likewise.
35976 (generated): Likewise.
35977 ($(objpfx)mtrace-tst-leaks): Likewise.
35978 ($(objpfx)mtrace-tst-leaks2): Likewise.
35980 * scripts/merge-test-results.sh: New file.
35981 * Makefile (tests-special-notdir): New variable.
35982 (tests): Run merge-test-results.sh.
35983 (xtests): Likewise.
35984 * Rules (tests-special-notdir): New variable.
35985 (xtests-special-notdir): Likewise.
35986 (tests): Run merge-test-results.sh
35987 (xtests): Likewise.
35989 * Makeconfig (test-xfail-name): New variable.
35990 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35991 compute variable name for expected failures.
35992 * conform/Makefile (conformtest-headers-data): New variable.
35993 (conformtest-standards): Likewise.
35994 (conformtest-headers-ISO): Likewise.
35995 (conformtest-headers-ISO99): Likewise.
35996 (conformtest-headers-ISO11): Likewise.
35997 (conformtest-headers-POSIX): Likewise.
35998 (conformtest-headers-XPG3): Likewise.
35999 (conformtest-headers-XPG4): Likewise.
36000 (conformtest-headers-UNIX98): Likewise.
36001 (conformtest-headers-XOPEN2K): Likewise.
36002 (conformtest-headers-POSIX2008): Likewise.
36003 (conformtest-headers-XOPEN2K8): Likewise.
36004 (conformtest-header-list-base): Likewise.
36005 (conformtest-header-list-tests): Likewise.
36006 (conformtest-header-base): Likewise.
36007 (conformtest-header-tests): Likewise.
36008 (tests-special): Add $(conformtest-header-list-tests). If
36009 [$(fast-check) && !$(cross-compiling)], add
36010 $(conformtest-header-tests) instead of
36011 $(objpfx)run-conformtest.out.
36012 (generated): Add $(conformtest-header-list-base). If
36013 [$(fast-check) && !$(cross-compiling)], add
36014 $(conformtest-header-base). Remove previous setting.
36015 ($(conformtest-header-list-tests)): New target.
36016 (test-xfail-run-conformtest): Remove variable.
36017 ($(objpfx)run-conformtest.out): Remove target.
36018 (test-xfail-ISO11/complex.h/conform): New variable.
36019 (test-xfail-ISO11/stdalign.h/conform): Likewise.
36020 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36021 (test-xfail-XPG3/varargs.h/conform): Likewise.
36022 (test-xfail-XPG4/varargs.h/conform): Likewise.
36023 (test-xfail-UNIX98/varargs.h/conform): Likewise.
36024 (test-xfail-XPG4/ndbm.h/conform): Likewise.
36025 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36026 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36027 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36028 (test-xfail-XPG3/fcntl.h/conform): Likewise.
36029 (test-xfail-XPG3/ftw.h/conform): Likewise.
36030 (test-xfail-XPG3/grp.h/conform): Likewise.
36031 (test-xfail-XPG3/langinfo.h/conform): Likewise.
36032 (test-xfail-XPG3/limits.h/conform): Likewise.
36033 (test-xfail-XPG3/pwd.h/conform): Likewise.
36034 (test-xfail-XPG3/search.h/conform): Likewise.
36035 (test-xfail-XPG3/signal.h/conform): Likewise.
36036 (test-xfail-XPG3/stdio.h/conform): Likewise.
36037 (test-xfail-XPG3/stdlib.h/conform): Likewise.
36038 (test-xfail-XPG3/string.h/conform): Likewise.
36039 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36040 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36041 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36042 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36043 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36044 (test-xfail-XPG3/sys/types.h/conform): Likewise.
36045 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36046 (test-xfail-XPG3/termios.h/conform): Likewise.
36047 (test-xfail-XPG3/time.h/conform): Likewise.
36048 (test-xfail-XPG3/unistd.h/conform): Likewise.
36049 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36050 (test-xfail-XPG4/fcntl.h/conform): Likewise.
36051 (test-xfail-XPG4/langinfo.h/conform): Likewise.
36052 (test-xfail-XPG4/netdb.h/conform): Likewise.
36053 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36054 (test-xfail-XPG4/signal.h/conform): Likewise.
36055 (test-xfail-XPG4/stdio.h/conform): Likewise.
36056 (test-xfail-XPG4/stdlib.h/conform): Likewise.
36057 (test-xfail-XPG4/stropts.h/conform): Likewise.
36058 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36059 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36060 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36062 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36063 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36064 (test-xfail-XPG4/sys/time.h/conform): Likewise.
36065 (test-xfail-XPG4/sys/types.h/conform): Likewise.
36066 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36067 (test-xfail-XPG4/termios.h/conform): Likewise.
36068 (test-xfail-XPG4/ucontext.h/conform): Likewise.
36069 (test-xfail-XPG4/unistd.h/conform): Likewise.
36070 (test-xfail-XPG4/utmpx.h/conform): Likewise.
36071 (test-xfail-POSIX/sched.h/conform): Likewise.
36072 (test-xfail-POSIX/signal.h/conform): Likewise.
36073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36074 (test-xfail-POSIX/tar.h/conform): Likewise.
36075 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36076 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36077 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36078 (test-xfail-UNIX98/netdb.h/conform): Likewise.
36079 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36080 (test-xfail-UNIX98/sched.h/conform): Likewise.
36081 (test-xfail-UNIX98/signal.h/conform): Likewise.
36082 (test-xfail-UNIX98/stdio.h/conform): Likewise.
36083 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36084 (test-xfail-UNIX98/stropts.h/conform): Likewise.
36085 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36086 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36087 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36088 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36090 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36093 (test-xfail-UNIX98/unistd.h/conform): Likewise.
36094 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36095 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36097 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36098 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36099 (test-xfail-XOPEN2K/math.h/conform): Likewise.
36100 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36101 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36102 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36103 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36105 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36106 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36107 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36108 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36109 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36111 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36112 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36113 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36114 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36116 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36117 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36118 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36119 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36120 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36121 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36124 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36125 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36126 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36127 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36128 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36129 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36130 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36131 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36132 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36133 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36134 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36135 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36136 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36137 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36138 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36139 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36141 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36142 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36143 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36144 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36145 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36146 (conformtest-cc-flags): Likewise.
36147 ($(conformtest-header-tests): New target.
36148 * conform/check-header-lists.sh: New file.
36149 * conform/run-conformtest.sh: Remove.
36151 * conform/conformtest.pl: Allow ' and \ in values given for
36153 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36155 [POSIX] (sys/types.h): Likewise.
36156 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36158 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36160 * conform/data/signal.h-data (SIGIO): Remove expectation.
36161 [XPG3] (SIGBUS): Do not expect.
36162 [POSIX || XPG3] (SIGPOLL): Likewise.
36163 [POSIX || XPG3] (SIGPROF): Likewise.
36164 [POSIX || XPG3] (SIGSYS): Likewise.
36165 [XPG3] (SIGTRAP): Likewise.
36166 [POSIX || XPG3] (SIGURG): Likewise.
36167 [POSIX || XPG3] (SIGVTALRM): Likewise.
36168 [POSIX || XPG3] (SIGXCPU): Likewise.
36169 [POSIX || XPG3] (SIGXFSZ): Likewise.
36170 [POSIX] (SA_SIGINFO): Expect.
36171 [XPG3] (siginfo_t): Do not expect type or contents.
36172 [POSIX] (si_pid): Do not expect element.
36173 [POSIX] (si_uid): Likewise.
36174 [POSIX] (si_addr): Likewise.
36175 [POSIX] (si_status): Likewise.
36176 [POSIX] (si_band): Likewise.
36177 [XPG4] (si_value): Likewise.
36178 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36179 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36180 [POSIX || XPG3] (ILL_ILLADR): Likewise.
36181 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36182 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36183 [POSIX || XPG3] (ILL_PRVREG): Likewise.
36184 [POSIX || XPG3] (ILL_COPROC): Likewise.
36185 [POSIX || XPG3] (ILL_BADSTK): Likewise.
36186 [POSIX || XPG3] (FPE_INTDIV): Likewise.
36187 [POSIX || XPG3] (FPE_INTOVF): Likewise.
36188 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36189 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36190 [POSIX || XPG3] (FPE_FLTUND): Likewise.
36191 [POSIX || XPG3] (FPE_FLTRES): Likewise.
36192 [POSIX || XPG3] (FPE_FLTINV): Likewise.
36193 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36194 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36195 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36196 [POSIX || XPG3] (BUS_ADRALN): Likewise.
36197 [POSIX || XPG3] (BUS_ADRERR): Likewise.
36198 [POSIX || XPG3] (BUS_OBJERR): Likewise.
36199 [POSIX || XPG3] (CLD_EXITED): Likewise.
36200 [POSIX || XPG3] (CLD_KILLED): Likewise.
36201 [POSIX || XPG3] (CLD_DUMPED): Likewise.
36202 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36203 [POSIX || XPG3] (CLD_STOPPED): Likewise.
36204 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36205 [POSIX || XPG3] (POLL_IN): Likewise.
36206 [POSIX || XPG3] (POLL_OUT): Likewise.
36207 [POSIX || XPG3] (POLL_MSG): Likewise.
36208 [POSIX || XPG3] (POLL_ERR): Likewise.
36209 [POSIX || XPG3] (POLL_PRI): Likewise.
36210 [POSIX || XPG3] (POLL_HUP): Likewise.
36211 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36212 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36213 (SIG*): Do not allow.
36214 [XPG3] (si_*): Likewise.
36215 [XPG3] (SI_*): Likewise.
36216 [XPG3 || XPG4] (sigev_*): Likewise.
36217 [XPG3 || XPG4] (SIGEV_*): Likewise.
36218 [XPG3 || XPG4] (sival_*): Likewise.
36219 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36220 [POSIX || XPG3] (BUS_*): Likewise.
36221 [POSIX || XPG3] (CLD_*): Likewise.
36222 [POSIX || XPG3] (FPE_*): Likewise.
36223 [POSIX || XPG3] (ILL_*): Likewise.
36224 [POSIX || XPG3] (POLL_*): Likewise.
36225 [POSIX || XPG3] (SEGV_*): Likewise.
36226 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36227 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36228 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36229 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36230 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36231 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36232 Specify type and value.
36233 (TVERSLEN): Likewise.
36234 (REGTYPE): Likewise.
36235 (AREGTYPE): Likewise.
36236 (LNKTYPE): Likewise.
36237 (SYMTYPE): Likewise.
36238 (CHRTYPE): Likewise.
36239 (BLKTYPE): Likewise.
36240 (DIRTYPE): Likewise.
36241 (FIFOTYPE): Likewise.
36242 (CONTTYPE): Likewise.
36246 (TUREAD): Likewise.
36247 (TUWRITE): Likewise.
36248 (TUEXEC): Likewise.
36249 (TGREAD): Likewise.
36250 (TGWRITE): Likewise.
36251 (TGEXEC): Likewise.
36252 (TOREAD): Likewise.
36253 (TOWRITE): Likewise.
36254 (TOEXEC): Likewise.
36255 [POSIX] (TSVTX): Expect constant.
36257 2014-03-06 Joseph Myers <joseph@codesourcery.com>
36259 * Makefile (tests): Change dependencies to ....
36260 (tests-special): ... additions to this variable.
36261 (tests): Depend on $(tests-special).
36262 * Makerules (check-abi-list): New variable.
36263 (check-abi): Depend on $(check-abi-list).
36264 [$(subdir) = elf] (tests-special): Add
36265 $(objpfx)check-abi-libc.out.
36266 [$(build-shared) = yes && subdir] (tests-special): Add
36268 [$(build-shared) = yes && subdir] (tests): Do not depend on
36270 * Rules (tests): Depend on $(tests-special).
36271 (xtests): Depend on $(xtests-special).
36272 * catgets/Makefile (tests): Change dependencies to ....
36273 (tests-special): ... additions to this variable.
36274 * conform/Makefile (tests): Change dependencies to ....
36275 (tests-special): ... additions to this variable.
36276 * elf/Makefile (tests): Change dependencies to ....
36277 (tests-special): ... additions to this variable.
36278 * grp/Makefile (tests): Change dependencies to ....
36279 (tests-special): ... additions to this variable.
36280 * iconv/Makefile (xtests): Change dependencies to ....
36281 (xtests-special): ... additions to this variable.
36282 * iconvdata/Makefile (tests): Change dependencies to ....
36283 (tests-special): ... additions to this variable.
36284 * intl/Makefile (tests): Change dependencies to ....
36285 (tests-special): ... additions to this variable. Also add
36286 $(objpfx)tst-gettext.out.
36287 * io/Makefile (tests): Change dependencies to ....
36288 (tests-special): ... additions to this variable.
36289 * libio/Makefile (tests): Change dependencies to ....
36290 (tests-special): ... additions to this variable.
36291 * malloc/Makefile (tests): Change dependencies to ....
36292 (tests-special): ... additions to this variable.
36293 * misc/Makefile (tests): Change dependencies to ....
36294 (tests-special): ... additions to this variable.
36295 * nptl/Makefile (tests): Change dependencies to ....
36296 (tests-special): ... additions to this variable.
36297 * nptl_db/Makefile (tests): Change dependencies to ....
36298 (tests-special): ... additions to this variable.
36299 * posix/Makefile (tests): Change dependencies to ....
36300 (tests-special): ... additions to this variable.
36301 (xtests): Change dependencies to ....
36302 (xtests-special): ... additions to this variable.
36303 * resolv/Makefile (tests): Change dependencies to ....
36304 (tests-special): ... additions to this variable.
36305 (xtests): Change dependencies to ....
36306 (xtests-special): ... additions to this variable.
36307 * stdio-common/Makefile (tests): Change dependencies to ....
36308 (tests-special): ... additions to this variable.
36309 (do-tst-unbputc): Remove target.
36310 (do-tst-printf): Likewise.
36311 * stdlib/Makefile (tests): Change dependencies to ....
36312 (tests-special): ... additions to this variable.
36313 * string/Makefile (tests): Change dependencies to ....
36314 (tests-special): ... additions to this variable.
36315 * sysdeps/x86/Makefile (tests): Change dependencies to ....
36316 (tests-special): ... additions to this variable.
36318 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36320 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36322 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36323 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36325 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36326 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36327 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36328 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36329 * conform/data/libgen.h-data [XPG3]: Likewise.
36330 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36331 * conform/data/ndbm.h-data [XPG3]: Likewise.
36332 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36333 * conform/data/netdb.h-data [XPG3]: Likewise.
36334 * conform/data/netinet/in.h-data [XPG3]: Likewise.
36335 * conform/data/poll.h-data [XPG3]: Likewise.
36336 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36337 * conform/data/strings.h-data [XPG3]: Likewise.
36338 * conform/data/stropts.h-data [XPG3]: Likewise.
36339 * conform/data/sys/mman.h-data [XPG3]: Likewise.
36340 * conform/data/sys/resource.h-data [XPG3]: Likewise.
36341 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36343 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36344 * conform/data/sys/time.h-data [XPG3]: Likewise.
36345 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36346 * conform/data/sys/uio.h-data [XPG3]: Likewise.
36347 * conform/data/sys/un.h-data [XPG3]: Likewise.
36348 * conform/data/syslog.h-data [XPG3]: Likewise.
36349 * conform/data/ucontext.h-data [XPG3]: Likewise.
36350 * conform/data/utmpx.h-data [XPG3]: Likewise.
36351 * conform/data/varargs.h-data [UNIX98]: Enable file.
36353 * manual/Makefile (INSTALL_INFO): Remove variable setting.
36355 * math/libm-test.inc (struct test_f_f_data): Move expected results
36356 into structure for each rounding mode.
36357 (struct test_ff_f_data): Likewise.
36358 (struct test_ff_f_data_nexttoward): Likewise.
36359 (struct test_fi_f_data): Likewise.
36360 (struct test_fl_f_data): Likewise.
36361 (struct test_if_f_data): Likewise.
36362 (struct test_fff_f_data): Likewise.
36363 (struct test_c_f_data): Likewise.
36364 (struct test_f_f1_data): Likewise.
36365 (struct test_fF_f1_data): Likewise.
36366 (struct test_ffI_f1_data): Likewise.
36367 (struct test_c_c_data): Likewise.
36368 (struct test_cc_c_data): Likewise.
36369 (struct test_f_i_data): Likewise.
36370 (struct test_ff_i_data): Likewise.
36371 (struct test_f_l_data): Likewise.
36372 (struct test_f_L_data): Likewise.
36373 (struct test_fFF_11_data): Likewise.
36375 (RM_FE_DOWNWARD): Likewise.
36376 (RM_FE_TONEAREST): Likewise.
36377 (RM_FE_TOWARDZERO): Likewise.
36378 (RM_FE_UPWARD): Likewise.
36379 (RUN_TEST_LOOP_f_f): Update references to expected results.
36380 (RUN_TEST_LOOP_2_f): Likewise.
36381 (RUN_TEST_LOOP_fff_f): Likewise.
36382 (RUN_TEST_LOOP_c_f): Likewise.
36383 (RUN_TEST_LOOP_f_f1): Likewise.
36384 (RUN_TEST_LOOP_fF_f1): Likewise.
36385 (RUN_TEST_LOOP_fI_f1): Likewise.
36386 (RUN_TEST_LOOP_ffI_f1): Likewise.
36387 (RUN_TEST_LOOP_c_c): Likewise.
36388 (RUN_TEST_LOOP_cc_c): Likewise.
36389 (RUN_TEST_LOOP_f_i): Likewise.
36390 (RUN_TEST_LOOP_f_i_tg): Likewise.
36391 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36392 (RUN_TEST_LOOP_f_b): Likewise.
36393 (RUN_TEST_LOOP_f_b_tg): Likewise.
36394 (RUN_TEST_LOOP_f_l): Likewise.
36395 (RUN_TEST_LOOP_f_L): Likewise.
36396 (RUN_TEST_LOOP_fFF_11): Likewise.
36397 * math/gen-libm-test.pl (parse_args): Output four copies of
36398 expected results for each test.
36400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36401 (__ASSUME_UTIMES): Remove.
36402 * sysdeps/unix/sysv/linux/tile/kernel-features.h
36403 (__ASSUME_UTIMES): Likewise.
36405 * math/gen-auto-libm-tests.c: Update comment on output format.
36406 (output_for_one_input_case): Generate before-rounding and
36407 after-rounding information as conditions on output flags not
36408 floating-point format.
36409 * math/auto-libm-test-out: Regenerated.
36410 * math/gen-libm-test.pl (cond_value): New function.
36411 (or_cond_value): Use cond_value.
36412 (generate_testfile): Handle conditional exceptions.
36414 2014-03-05 Joseph Myers <joseph@codesourcery.com>
36416 * math/libm-test.inc (max_valid_error): New variable.
36417 (init_max_error): Take new argument specifying whether function
36418 results are exactly determined. Set max_valid_error and bound
36419 other variables for errors based on this argument.
36420 (set_max_error): Do not record results above max_valid_error.
36421 (check_float_internal): Only accept errors of up to 0.5ulps if
36422 also at most max_valid_error.
36423 (START): Take new argument EXACT and pass it to init_max_error.
36424 (acos_test): Update call to START.
36425 (acos_test_tonearest): Likewise.
36426 (acos_test_towardzero): Likewise.
36427 (acos_test_downward): Likewise.
36428 (acos_test_upward): Likewise.
36429 (acosh_test): Likewise.
36430 (asin_test): Likewise.
36431 (asin_test_tonearest): Likewise.
36432 (asin_test_towardzero): Likewise.
36433 (asin_test_downward): Likewise.
36434 (asin_test_upward): Likewise.
36435 (asinh_test): Likewise.
36436 (atan_test): Likewise.
36437 (atanh_test): Likewise.
36438 (atan2_test): Likewise.
36439 (cabs_test): Likewise.
36440 (cacos_test): Likewise.
36441 (cacosh_test): Likewise.
36442 (carg_test): Likewise.
36443 (casin_test): Likewise.
36444 (casinh_test): Likewise.
36445 (catan_test): Likewise.
36446 (catanh_test): Likewise.
36447 (cbrt_test): Likewise.
36448 (ccos_test): Likewise.
36449 (ccosh_test): Likewise.
36450 (ceil_test): Likewise.
36451 (cexp_test): Likewise.
36452 (cimag_test): Likewise.
36453 (clog_test): Likewise.
36454 (clog10_test): Likewise.
36455 (conj_test): Likewise.
36456 (copysign_test): Likewise.
36457 (cos_test): Likewise.
36458 (cos_test_tonearest): Likewise.
36459 (cos_test_towardzero): Likewise.
36460 (cos_test_downward): Likewise.
36461 (cos_test_upward): Likewise.
36462 (cosh_test): Likewise.
36463 (cosh_test_tonearest): Likewise.
36464 (cosh_test_towardzero): Likewise.
36465 (cosh_test_downward): Likewise.
36466 (cosh_test_upward): Likewise.
36467 (cpow_test): Likewise.
36468 (cproj_test): Likewise.
36469 (creal_test): Likewise.
36470 (csin_test): Likewise.
36471 (csinh_test): Likewise.
36472 (csqrt_test): Likewise.
36473 (ctan_test): Likewise.
36474 (ctan_test_tonearest): Likewise.
36475 (ctan_test_towardzero): Likewise.
36476 (ctan_test_downward): Likewise.
36477 (ctan_test_upward): Likewise.
36478 (ctanh_test): Likewise.
36479 (ctanh_test_tonearest): Likewise.
36480 (ctanh_test_towardzero): Likewise.
36481 (ctanh_test_downward): Likewise.
36482 (ctanh_test_upward): Likewise.
36483 (erf_test): Likewise.
36484 (erfc_test): Likewise.
36485 (exp_test): Likewise.
36486 (exp_test_tonearest): Likewise.
36487 (exp_test_towardzero): Likewise.
36488 (exp_test_downward): Likewise.
36489 (exp_test_upward): Likewise.
36490 (exp10_test): Likewise.
36491 (exp10_test_tonearest): Likewise.
36492 (exp10_test_towardzero): Likewise.
36493 (exp10_test_downward): Likewise.
36494 (exp10_test_upward): Likewise.
36495 (pow10_test): Likewise.
36496 (exp2_test): Likewise.
36497 (expm1_test): Likewise.
36498 (expm1_test_tonearest): Likewise.
36499 (expm1_test_towardzero): Likewise.
36500 (expm1_test_downward): Likewise.
36501 (expm1_test_upward): Likewise.
36502 (fabs_test): Likewise.
36503 (fdim_test): Likewise.
36504 (floor_test): Likewise.
36505 (fma_test): Likewise.
36506 (fma_test_towardzero): Likewise.
36507 (fma_test_downward): Likewise.
36508 (fma_test_upward): Likewise.
36509 (fmax_test): Likewise.
36510 (fmin_test): Likewise.
36511 (fmod_test): Likewise.
36512 (fpclassify_test): Likewise.
36513 (frexp_test): Likewise.
36514 (hypot_test): Likewise.
36515 (ilogb_test): Likewise.
36516 (isfinite_test): Likewise.
36517 (finite_test): Likewise.
36518 (isgreater_test): Likewise.
36519 (isgreaterequal_test): Likewise.
36520 (isinf_test): Likewise.
36521 (isless_test): Likewise.
36522 (islessequal_test): Likewise.
36523 (islessgreater_test): Likewise.
36524 (isnan_test): Likewise.
36525 (isnormal_test): Likewise.
36526 (issignaling_test): Likewise.
36527 (isunordered_test): Likewise.
36528 (j0_test): Likewise.
36529 (j1_test): Likewise.
36530 (jn_test): Likewise.
36531 (ldexp_test): Likewise.
36532 (lgamma_test): Likewise.
36533 (gamma_test): Likewise.
36534 (lrint_test): Likewise.
36535 (lrint_test_tonearest): Likewise.
36536 (lrint_test_towardzero): Likewise.
36537 (lrint_test_downward): Likewise.
36538 (lrint_test_upward): Likewise.
36539 (llrint_test): Likewise.
36540 (llrint_test_tonearest): Likewise.
36541 (llrint_test_towardzero): Likewise.
36542 (llrint_test_downward): Likewise.
36543 (llrint_test_upward): Likewise.
36544 (log_test): Likewise.
36545 (log10_test): Likewise.
36546 (log1p_test): Likewise.
36547 (log2_test): Likewise.
36548 (logb_test): Likewise.
36549 (logb_test_downward): Likewise.
36550 (lround_test): Likewise.
36551 (llround_test): Likewise.
36552 (modf_test): Likewise.
36553 (nearbyint_test): Likewise.
36554 (nextafter_test): Likewise.
36555 (nexttoward_test): Likewise.
36556 (pow_test): Likewise.
36557 (pow_test_tonearest): Likewise.
36558 (pow_test_towardzero): Likewise.
36559 (pow_test_downward): Likewise.
36560 (pow_test_upward): Likewise.
36561 (remainder_test): Likewise.
36562 (drem_test): Likewise.
36563 (remainder_test_tonearest): Likewise.
36564 (drem_test_tonearest): Likewise.
36565 (remainder_test_towardzero): Likewise.
36566 (drem_test_towardzero): Likewise.
36567 (remainder_test_downward): Likewise.
36568 (drem_test_downward): Likewise.
36569 (remainder_test_upward): Likewise.
36570 (drem_test_upward): Likewise.
36571 (remquo_test): Likewise.
36572 (rint_test): Likewise.
36573 (rint_test_tonearest): Likewise.
36574 (rint_test_towardzero): Likewise.
36575 (rint_test_downward): Likewise.
36576 (rint_test_upward): Likewise.
36577 (round_test): Likewise.
36578 (scalb_test): Likewise.
36579 (scalbn_test): Likewise.
36580 (scalbln_test): Likewise.
36581 (signbit_test): Likewise.
36582 (sin_test): Likewise.
36583 (sin_test_tonearest): Likewise.
36584 (sin_test_towardzero): Likewise.
36585 (sin_test_downward): Likewise.
36586 (sin_test_upward): Likewise.
36587 (sincos_test): Likewise.
36588 (sinh_test): Likewise.
36589 (sinh_test_tonearest): Likewise.
36590 (sinh_test_towardzero): Likewise.
36591 (sinh_test_downward): Likewise.
36592 (sinh_test_upward): Likewise.
36593 (sqrt_test): Likewise.
36594 (sqrt_test_tonearest): Likewise.
36595 (sqrt_test_towardzero): Likewise.
36596 (sqrt_test_downward): Likewise.
36597 (sqrt_test_upward): Likewise.
36598 (tan_test): Likewise.
36599 (tan_test_tonearest): Likewise.
36600 (tan_test_towardzero): Likewise.
36601 (tan_test_downward): Likewise.
36602 (tan_test_upward): Likewise.
36603 (tanh_test): Likewise.
36604 (tgamma_test): Likewise.
36605 (trunc_test): Likewise.
36606 (y0_test): Likewise.
36607 (y1_test): Likewise.
36608 (yn_test): Likewise.
36609 (significand_test): Likewise.
36611 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36612 individual tests in comment.
36613 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36614 (prev_max_error): New variable.
36615 (prev_real_max_error): Likewise.
36616 (prev_imag_max_error): Likewise.
36617 (compare_ulp_data): Don't refer to test names in comment.
36618 (find_test_ulps): Remove function.
36619 (find_function_ulps): Likewise.
36620 (find_complex_function_ulps): Likewise.
36621 (init_max_error): Take function name as argument. Look up ulps
36623 (print_ulps): Remove function.
36624 (print_max_error): Use prev_max_error instead of calling
36625 find_function_ulps.
36626 (print_complex_max_error): Use prev_real_max_error and
36627 prev_imag_max_error instead of calling find_complex_function_ulps.
36628 (check_float_internal): Take max_ulp parameter instead of calling
36629 find_test_ulps. Don't call print_ulps.
36630 (check_float): Update call to check_float_internal.
36631 (check_complex): Update calls to check_float_internal.
36632 (START): Pass argument to init_max_error.
36633 * math/gen-libm-test.pl (%results): Don't include "kind"
36635 (parse_ulps): Don't handle ulps of individual tests.
36636 (print_ulps_file): Likewise.
36637 (output_ulps): Likewise.
36638 * math/README.libm-test: Update.
36639 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36641 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36642 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36643 * sysdeps/arm/libm-test-ulps: Likewise.
36644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36645 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36646 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36647 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36648 * sysdeps/microblaze/libm-test-ulps: Likewise.
36649 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36652 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36654 * sysdeps/sh/libm-test-ulps: Likewise.
36655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36656 * sysdeps/tile/libm-test-ulps: Likewise.
36657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36659 2014-03-04 Joseph Myers <joseph@codesourcery.com>
36661 * math/libm-test.inc (print_complex_max_error): Check separately
36662 whether real and imaginary errors are within allowed range and
36663 pass 0 to print_complex_function_ulps instead of value within
36666 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36668 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36670 (get_handles_fopen): Likewise.
36671 (do_write_test): Likewise.
36673 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36675 * libio/fileops.c (do_ftell): Use cached offset when
36677 * libio/iofwide.c (do_ftell_wide): Likewise.
36678 * libio/iofdopen.c (_IO_new_fdopen): Don't use
36680 * libio/wfileops.c (_IO_fwide): Don't cache offset.
36683 * libio/libioP.h (get_file_offset): New function.
36684 * libio/fileops.c (get_file_offset): Likewise.
36685 (do_ftell): Likewise.
36686 (_IO_new_file_seekoff): Split out ftell logic.
36687 * libio/wfileops.c (do_ftell_wide): Likewise.
36688 (_IO_wfile_seekoff): Split out ftell logic.
36689 * libio/tst-ftell-active-handler.c: New test case.
36690 * libio/Makefile (tests): Add it.
36692 2014-03-03 Roland McGrath <roland@hack.frob.com>
36694 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36695 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36697 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36700 * nscd/connections.c (nscd_init): Call do_exit.
36701 (start_threads): Call do_exit and notify_parent.
36702 (begin_drop_privileges): Call do_exit.
36703 (finish_drop_privileges): Likewise.
36704 * nscd/selinux.c (preserve_capabilities): Likewise.
36705 (install_real_capabilities): Likewise.
36706 (nscd_selinux_enabled): Likewise.
36707 (avc_create_thread): Likewise.
36708 (avc_alloc_lock): Likewise.
36709 (nscd_avc_init): Likewise.
36710 * nscd/nscd.c (parent_fd): New static variable.
36711 (main): Create a pipe between parent and child processes.
36712 Skip closing parent_fd.
36713 (monitor_child): New function.
36714 (do_exit): Likewise.
36715 (notify_parent): Likewise.
36716 * nscd/nscd.h (notify_parent): Likewise.
36717 (do_exit): Likewise.
36719 2014-03-03 Carlos O'Donell <carlos@redhat.com>
36721 * malloc/malloc.c (__libc_calloc): Revert last change.
36723 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36727 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36729 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36733 (__libc_ifunc_impl_list): Likewise.
36734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36735 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36737 * string/strrchr.c: Define STRRCHR.
36739 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
36741 * benchtest/bench-strtok.c (simple_strtok): Delete.
36742 (strtok_string): Use as benchmark.
36743 * string/strtok (STRTOK): New macro.
36745 2014-02-28 Carlos O'Donell <carlos@redhat.com>
36747 * manual/threads.texi: Add header and standard comments to all
36750 * elf/dl-lookup.c (check_match): New function.
36751 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36752 (do_lookup_x): Remove nested function check_match. Use non-nested
36753 function check_match.
36755 2014-02-28 Roland McGrath <roland@hack.frob.com>
36757 * csu/Makefile (generated, before-compile): Use += rather than =.
36758 * catgets/Makefile (generated, generated-dirs): Likewise.
36759 * debug/Makefile (generated): Likewise.
36760 * dlfcn/Makefile (generated): Likewise.
36761 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36762 * iconvdata/Makefile (before-compile, generated): Likewise.
36763 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36764 * libio/Makefile (generated): Likewise.
36765 * malloc/Makefile (generated): Likewise.
36766 * manual/Makefile (generated, generated-dirs): Likewise.
36767 * misc/Makefile (generated): Likewise.
36768 * posix/Makefile (generated): Likewise.
36769 * resolv/Makefile (generated): Likewise.
36770 * sunrpc/Makefile (generated, generated-dirs): Likewise.
36771 * timezone/Makefile (generated, generated-dirs): Likewise.
36773 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36775 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36778 power8 implementation.
36779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36780 file: POWER8 llround ifunc implementation.
36781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36782 (__lllround): Add POWER8 implementation.
36783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36784 POWER8 llround implementation.
36786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36787 power8 implementation.
36788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36789 file: POWER8 llrint ifunc implementation.
36790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36791 Add POWER8 implementation.
36792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36793 POWER8 llrint implementation.
36795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36796 power8 implementation.
36797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36798 file: POWER8 finite ifunc implementation.
36799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36800 Add POWER8 implementation.
36801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36804 POWER8 finite implementation.
36805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36808 power8 implementation.
36809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36810 file: POWER8 isinf ifunc implementation.
36811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36812 POWER8 implementation.
36813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36816 isinf implementation.
36817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36820 (INIT_ARCH): Add hwcap2 initialization.
36821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36822 power8 implementation.
36823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36824 file: POWER8 isnan ifunc implementation.
36825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36826 POWER8 implementation.
36827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36830 isnan implementation.
36831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36833 2014-02-27 Joey Ye <joey.ye@arm.com>
36835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36836 (_FP_NANFRAC_Q): Set to zero.
36838 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36841 * math/auto-libm-test-in: New test inputs.
36842 * math/auto-libm-test-out: Regenerate.
36843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36848 2014-02-27 Joseph Myers <joseph@codesourcery.com>
36850 * scripts/evaluate-test.sh: Take new argument indicating whether
36851 failure is expected.
36852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36853 indicating whether failure is expected.
36854 * conform/Makefile (test-xfail-run-conformtest): New variable.
36855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36857 * posix/Makefile (test-xfail-annexc): New variable.
36858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36860 2014-02-26 Joseph Myers <joseph@codesourcery.com>
36862 * argp/Makefile: Include Makeconfig immediately after defining
36864 * assert/Makefile: Likewise.
36865 * benchtests/Makefile: Likewise.
36866 * catgets/Makefile: Likewise.
36867 * conform/Makefile: Likewise.
36868 * crypt/Makefile: Likewise.
36869 * csu/Makefile: Likewise.
36870 (all): Remove target.
36871 * ctype/Makefile: Include Makeconfig immediately after defining
36873 * debug/Makefile: Likewise.
36874 * dirent/Makefile: Likewise.
36875 * dlfcn/Makefile: Likewise.
36876 * gmon/Makefile: Likewise.
36877 * gnulib/Makefile: Likewise.
36878 * grp/Makefile: Likewise.
36879 * gshadow/Makefile: Likewise.
36880 * hesiod/Makefile: Likewise.
36881 * hurd/Makefile: Likewise.
36882 (all): Remove target.
36883 * iconvdata/Makefile: Include Makeconfig immediately after
36885 * inet/Makefile: Likewise.
36886 * intl/Makefile: Likewise.
36887 * io/Makefile: Likewise.
36888 * libio/Makefile: Likewise.
36889 (all): Remove target.
36890 * locale/Makefile: Include Makeconfig immediately after defining
36892 * login/Makefile: Likewise.
36893 * mach/Makefile: Likewise.
36894 (all): Remove target.
36895 * malloc/Makefile: Include Makeconfig immediately after defining
36897 (all): Remove target.
36898 * manual/Makefile: Include Makeconfig immediately after defining
36900 * math/Makefile: Likewise.
36901 * misc/Makefile: Likewise.
36902 * nis/Makefile: Likewise.
36903 * nss/Makefile: Likewise.
36904 * po/Makefile: Likewise.
36905 (all): Remove target.
36906 * posix/Makefile: Include Makeconfig immediately after defining
36908 * pwd/Makefile: Likewise.
36909 * resolv/Makefile: Likewise.
36910 * resource/Makefile: Likewise.
36911 * rt/Makefile: Likewise.
36912 * setjmp/Makefile: Likewise.
36913 * shadow/Makefile: Likewise.
36914 * signal/Makefile: Likewise.
36915 * socket/Makefile: Likewise.
36916 * soft-fp/Makefile: Likewise.
36917 * stdio-common/Makefile: Likewise.
36918 * stdlib/Makefile: Likewise.
36919 * streams/Makefile: Likewise.
36920 * string/Makefile: Likewise.
36921 * sunrpc/Makefile: Likewise.
36922 (all): Remove target.
36923 * sysvipc/Makefile: Include Makeconfig immediately after defining
36925 * termios/Makefile: Likewise.
36926 * time/Makefile: Likewise.
36927 * timezone/Makefile: Likewise.
36928 (all): Remove target.
36929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
36931 * wctype/Makefile: Likewise.
36933 2014-02-26 Steve Ellcey <sellcey@mips.com>
36935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36937 (libc_feholdexcept_setround_mips): Ditto.
36938 (libc_feholdsetround): New.
36939 (libc_feholdsetroundf): New.
36940 (libc_feholdsetroundl): New.
36941 (libc_feupdateenv_test_mips): New.
36942 (libc_feupdateenv_test): New.
36943 (libc_feupdateenv_testf): New.
36944 (libc_feupdateenv_testl): New.
36945 (libc_feresetround): New.
36946 (libc_feresetroundf): New.
36947 (libc_feresetroundl): New.
36948 (libc_fetestexcept_mips): New.
36949 (libc_fetestexcept): New.
36950 (libc_fetestexceptf): New.
36951 (libc_fetestexceptl): New.
36952 (HAVE_RM_CTX): New.
36953 (libc_feholdexcept_setround_mips_ctx): New.
36954 (libc_feholdexcept_setround_ctx): New.
36955 (libc_feholdexcept_setroundf_ctx): New.
36956 (libc_feholdexcept_setroundl_ctx): New.
36957 (libc_fesetenv_mips_ctx): New.
36958 (libc_fesetenv_ctx): New.
36959 (libc_fesetenv_ctxf): New.
36960 (libc_fesetenv_ctxl): New.
36961 (libc_feupdateenv_mips_ctx): New.
36962 (libc_feupdateenv_ctx): New.
36963 (libc_feupdateenvf_ctx): New.
36964 (libc_feupdateenvl_ctx): New.
36965 (libc_feholdsetround_mips_ctx): New.
36966 (libc_feholdsetround_ctx): New.
36967 (libc_feholdsetroundf_ctx): New.
36968 (libc_feholdsetroundl_ctx): New.
36969 (libc_feresetround_mips_ctx): New.
36970 (libc_feresetround_ctx): New.
36971 (libc_feresetroundf_ctx): New.
36972 (libc_feresetroundl_ctx): New.
36974 2014-02-26 Carlos O'Donell <carlos@redhat.com>
36976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36978 * manual/ipc.texi: New file.
36979 * manual/Makefile (chapters): Add ipc.
36980 * manual/job.texi: Add "Inter-Process Communication" to next.
36981 * manual/process.texi: Add "Inter-Process Communication" to prev.
36983 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36987 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
36989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
36991 * manual/arith.texi: Fix spaces after sentences.
36992 * manual/charset.texi: Likewise.
36993 * manual/errno.texi: Likewise.
36994 * manual/install.texi: Likewise.
36995 * manual/llio.texi: Likewise.
36996 * manual/locale.texi: Likewise.
36997 * manual/maint.texi: Likewise.
36998 * manual/math.texi: Likewise.
36999 * manual/memory.texi: Likewise.
37000 * manual/message.texi: Likewise.
37001 * manual/probes.texi: Likewise.
37002 * manual/resource.texi: Likewise.
37003 * manual/signal.texi: Likewise.
37004 * manual/socket.texi: Likewise.
37005 * manual/stdio.texi: Likewise.
37006 * manual/string.texi: Likewise.
37007 * manual/time.texi: Likewise.
37008 * manual/users.texi: Likewise.
37010 2014-02-25 Carlos O'Donell <carlos@redhat.com>
37013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37014 _DEFAULT_SOURCE is defined.
37016 2014-02-25 Ulrich Drepper <drepper@gmail.com>
37017 Carlos O'Donell <carlos@redhat.com>
37020 * elf/dl-tls.c (_dl_count_modids): New function.
37021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37023 audit library and increment generation counter.
37024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37025 * elf/tst-audit9.c: New file.
37026 * elf/tst-auditmod9a.c: New file.
37027 * elf/tst-auditmod9b.c: New file.
37028 * elf/Makefile: Add rules to build and run tst-audit9.
37030 2014-02-25 Florian Weimer <fweimer@redhat.com>
37033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37035 2014-02-25 Will Newton <will.newton@linaro.org>
37037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37038 (__longjmp): Restore sp and lr before restoring callee
37039 saved registers. Add longjmp and longjmp_target
37040 SystemTap probe point.
37041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37043 Define to zero to match jmpbuf layout.
37044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
37045 (__sigsetjmp): Save sp and lr before saving callee
37046 saved registers. Add setjmp SystemTap probe point.
37048 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37052 2014-02-24 Andreas Schwab <schwab@suse.de>
37055 * elf/pldd.c (wait_for_ptrace_stop): New function.
37056 (main): Call it after attaching.
37058 2014-02-22 Roland McGrath <roland@hack.frob.com>
37060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37062 Versions files is now verboten.
37063 * hurd/Versions (libc: GLIBC_2.0):
37064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37067 * mach/Versions: Likewise.
37069 * csu/Versions: Remove unused %include.
37070 * resolv/Versions: Likewise.
37072 2014-02-21 Joseph Myers <joseph@codesourcery.com>
37074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37075 ($(objpfx)check-local-headers.out): Likewise.
37076 ($(objpfx)begin-end-check.out): Likewise.
37077 * Makerules (check-abi-%.out): Likewise.
37078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37079 ($(objpfx)test2.cat): Likewise.
37080 ($(objpfx)de/libc.cat): Likewise.
37081 ($(objpfx)test-gencat.out): Likewise.
37082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37084 ($(objpfx)noload-mem): Likewise.
37085 ($(objpfx)tst-pathopt.out): Likewise.
37086 ($(objpfx)tst-rtld-load-self.out): Likewise.
37087 ($(objpfx)tst-array1-cmp.out): Likewise.
37088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
37089 ($(objpfx)tst-array2-cmp.out): Likewise.
37090 ($(objpfx)tst-array3-cmp.out): Likewise.
37091 ($(objpfx)tst-array4-cmp.out): Likewise.
37092 ($(objpfx)tst-array5-cmp.out): Likewise.
37093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
37094 ($(objpfx)check-textrel.out): Likewise.
37095 ($(objpfx)check-execstack.out): Likewise.
37096 ($(objpfx)check-localplt.out): Likewise.
37097 ($(objpfx)order2-cmp.out): Likewise.
37098 ($(objpfx)tst-leaks1-mem): Likewise.
37099 ($(objpfx)tst-leaks1-static-mem): Likewise.
37100 ($(objpfx)tst-initorder-cmp.out): Likewise.
37101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
37102 ($(objpfx)tst-unused-dep.out): Likewise.
37103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37105 * iconv/Makefile (test-iconvconfig): Likewise.
37106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37107 ($(objpfx)iconv-test.out): Likewise.
37108 ($(objpfx)tst-tables.out): Likewise.
37109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37110 ($(objpfx)tst-gettext.out): Likewise.
37111 ($(objpfx)tst-translit.out): Likewise.
37112 ($(objpfx)tst-gettext2.out): Likewise.
37113 ($(objpfx)tst-gettext4.out): Likewise.
37114 ($(objpfx)tst-gettext6.out): Likewise.
37115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
37119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
37122 ($(objpfx)wordexp-tst.out): Likewise.
37123 ($(objpfx)annexc.out): Likewise.
37124 ($(objpfx)tst-fnmatch-mem): Likewise.
37125 ($(objpfx)bug-regex2-mem): Likewise.
37126 ($(objpfx)bug-regex14-mem): Likewise.
37127 ($(objpfx)bug-regex21-mem): Likewise.
37128 ($(objpfx)bug-regex31-mem): Likewise.
37129 ($(objpfx)tst-vfork3-mem): Likewise.
37130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37131 ($(objpfx)tst-pcre-mem): Likewise.
37132 ($(objpfx)tst-boost-mem): Likewise.
37133 ($(objpfx)tst-getconf.out): Likewise.
37134 ($(objpfx)bug-ga2-mem): Likewise.
37135 ($(objpfx)bug-glob2-mem): Likewise.
37136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37137 ($(objpfx)mtrace-tst-leaks2): Likewise.
37138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37139 ($(objpfx)tst-printf.out): Likewise.
37140 ($(objpfx)tst-setvbuf1.out): Likewise.
37141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37143 ($(objpfx)tst-fmtmsg.out): Likewise.
37144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37148 * bits/sigaction.h [__USE_MISC]: Likewise.
37149 * bits/waitstatus.h: Update #endif comments.
37150 * ctype/ctype.h: Likewise.
37151 * dirent/dirent.h: Likewise.
37152 [__USE_MISC]: Remove redundant conditionals.
37153 * grp/grp.h: Update #endif comments.
37154 [__USE_GNU]: Remove redundant conditionals.
37155 [__USE_MISC]: Likewise.
37156 * inet/netinet/in.h [__USE_GNU]: Likewise.
37157 * io/sys/stat.h [__USE_MISC]: Likewise.
37158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37159 * libio/bits/stdio.h: Update #endif comments.
37160 [__USE_MISC]: Remove redundant conditionals.
37161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37162 * libio/stdio.h: Update #endif comments.
37163 [__USE_MISC]: Remove redundant conditionals.
37164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
37165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37166 * math/math.h: Update #else and #endif comments.
37167 [__USE_MISC]: Remove redundant conditionals.
37168 * misc/sys/uio.h: Update #endif comments.
37169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37170 * posix/glob.h [__USE_MISC]: Likewise.
37171 * posix/sys/types.h: Update #endif comments.
37172 [__USE_MISC]: Remove redundant conditionals.
37173 * posix/sys/wait.h: Update #endif comments.
37174 [__USE_MISC]: Remove redundant conditionals.
37175 * posix/unistd.h: Update #endif comments.
37176 [__USE_MISC]: Remove redundant conditionals.
37177 * pwd/pwd.h [__USE_GNU]: Likewise.
37178 [__USE_MISC]: Likewise.
37179 * resolv/netdb.h [__USE_GNU]: Likewise.
37180 * signal/signal.h: Update #endif comments.
37181 [__USE_MISC]: Remove redundant conditionals.
37182 * stdlib/stdlib.h: Update #else and #endif comments.
37183 [__USE_MISC]: Remove redundant conditionals.
37184 [__USE_GNU]: Likewise.
37185 * string/bits/string2.h [__USE_MISC]: Likewise.
37186 * string/string.h: Update #endif comments.
37187 [__USE_MISC]: Remove redundant conditionals.
37188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37198 [__USE_MISC]: Remove redundant conditionals.
37199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37219 * sysdeps/x86/bits/string.h: Update #endif comments.
37220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37222 * time/sys/time.h: Update #endif comments.
37223 * time/time.h: Likewise.
37224 [__USE_MISC]: Remove redundant conditionals.
37226 2014-02-21 Yury Gribov <y.gribov@samsung.com>
37229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37231 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
37233 * Versions.def (librt): Add GLIBC_2.17.
37235 2014-02-21 Adam Conrad <adconrad@0c3.net>
37237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37238 synonym for _SYS_AUXV_H to allow direct inclusion.
37239 * sysdeps/sparc/bits/hwcap.h: Likewise.
37240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37242 * sysdeps/sparc/sysdep.h: Likewise.
37244 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37248 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37250 * benchtests/bench-strrchr.c: Print length instead of position.
37252 2014-02-20 Joseph Myers <joseph@codesourcery.com>
37255 * sysdeps/unix/sysv/linux/kernel-features.h
37256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
37262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37264 (__ASSUME_SENDMMSG): Define instead of using previous
37265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37267 (__ASSUME_SENDMMSG_SYSCALL): Define.
37268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37280 [__ASSUME_SENDMMSG]: Change conditionals to
37281 [__ASSUME_SENDMMSG_SOCKETCALL].
37282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37291 [!__ASSUME_SENDMMSG]: Change conditional to
37292 [!__ASSUME_SENDMMSG_SOCKETCALL].
37293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37298 * sysdeps/unix/sysv/linux/kernel-features.h
37299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37304 [__i386__ || __sparc__]
37305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37307 (__ASSUME_RECVMMSG): Define instead of using previous
37308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37310 (__ASSUME_RECVMMSG_SYSCALL): Define.
37311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37323 [__ASSUME_RECVMMSG]: Change condition to
37324 [__ASSUME_RECVMMSG_SOCKETCALL].
37325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37335 [!__ASSUME_RECVMMSG]: Change condition to
37336 [!__ASSUME_RECVMMSG_SOCKETCALL].
37337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37338 (__ASSUME_RECVMMSG_SYSCALL): Define.
37341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37342 __powerpc__ || __s390__ || __sh__ || __sparc__]
37343 (__ASSUME_SOCKETCALL): Define.
37344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37351 (__ASSUME_ACCEPT4): Define instead of using previous
37352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37353 __powerpc__ || __sparc__ || __s390__)] condition.
37354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37359 [!__ASSUME_ACCEPT4]: Change condition to
37360 [!__ASSUME_ACCEPT4_SOCKETCALL].
37361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
37363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37366 __ASSUME_ACCEPT4_SYSCALL.
37367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37371 __ASSUME_ACCEPT4_SYSCALL.
37372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37375 [__ASSUME_ACCEPT4]: Change condition to
37376 [__ASSUME_ACCEPT4_SOCKETCALL].
37377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37378 (__ASSUME_SOCKETCALL): Define.
37379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37381 (__ASSUME_SOCKETCALL): Define.
37382 (__ASSUME_ACCEPT4): Remove.
37383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37393 (HWCAP_ARM_LPAE): Likewise.
37394 (HWCAP_ARM_EVTSTRM): Likewise.
37395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37396 Add vpfd32, lpae and evtstrm.
37397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37400 2014-02-19 Joseph Myers <joseph@codesourcery.com>
37402 * math/auto-libm-test-in: Add tests of clog10.
37403 * math/auto-libm-test-out: Regenerated.
37404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37405 * sysdeps/i386/fpu/libm-test-ulps: Update.
37406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408 2014-02-18 Andreas Schwab <schwab@suse.de>
37411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37412 Store non-zero if the second buffer was newly allocated.
37413 (send_dg): Likewise.
37414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37415 to send_vc and send_dg.
37416 (res_nsend): Pass NULL for ansp2_malloced.
37417 * resolv/res_query.c (__libc_res_nquery): Add parameter
37418 answerp2_malloced and pass it down to __libc_res_nsend.
37419 (res_nquery): Pass additional NULL to __libc_res_nquery.
37420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
37422 second answer buffer if answerp2_malloced was set.
37423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37424 (__libc_res_nquerydomain): Add parameter
37425 answerp2_malloced and pass it down to __libc_res_nquery.
37426 (res_nquerydomain): Pass additional NULL to
37427 __libc_res_nquerydomain.
37428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37429 additional NULL to __libc_res_nsend and __libc_res_nquery.
37430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37431 additional NULL to __libc_res_nsearch.
37432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
37433 parameter of __libc_res_nsearch to check for separately allocated
37435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37438 additional NULL to __libc_res_nquery.
37439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37440 __libc_res_nsearch.
37441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37442 * include/resolv.h: Update prototypes of __libc_res_nquery,
37443 __libc_res_nsearch, __libc_res_nsend.
37445 2014-02-18 Joseph Myers <joseph@codesourcery.com>
37447 * math/auto-libm-test-in: Add tests of fma.
37448 * math/auto-libm-test-out: Regenerated.
37449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37450 (fma_towardzero_test_data): Likewise.
37451 (fma_downward_test_data): Likewise.
37452 (fma_upward_test_data): Likewise.
37453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37455 (rounding_modes): Add values for new field.
37456 (func_calc_method): Add value mpfr_fff_f.
37457 (func_calc_desc): Add mpfr_fff_f union field.
37458 (test_function): Add field exact_args.
37459 (FUNC): Add macro argument EXACT_ARGS.
37460 (FUNC_mpfr_f_f): Update call to FUNC.
37461 (FUNC_mpfr_f_f): Likewise.
37462 (FUNC_mpfr_ff_f): Likewise.
37463 (FUNC_mpfr_if_f): Likewise.
37464 (FUNC_mpc_c_f): Likewise.
37465 (FUNC_mpc_c_c): Likewise.
37466 (test_functions): Add fma. Update calls to FUNC.
37467 (handle_input_arg): Add argument exact_args.
37468 (add_test): Update call to handle_input_arg.
37469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
37470 (output_for_one_input_case): Update call to calc_generic_results.
37471 Recalculate exact zero results in each rounding mode.
37473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37474 non-negative before setting low bit.
37475 * math/auto-libm-test-in: Mark one asin test possibly having
37476 spurious underflow.
37477 * math/auto-libm-test-out: Regenerated.
37478 * sysdeps/i386/fpu/libm-test-ulps: Update.
37479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37481 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
37483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
37485 ports/sysdeps/unix/sysv/linux/microblaze.
37486 * README: Add missing listing for microblaze*-*-linux-gnu.
37488 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
37490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37493 2014-02-16 Mike Frysinger <vapier@gentoo.org>
37495 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37496 * sysdeps/unix/sysv/linux/ia64: Move directory from
37497 ports/sysdeps/unix/sysv/linux/ia64.
37498 * README: Update listing for ia64-*-linux-gnu.
37500 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
37501 Joseph Myers <joseph@codesourcery.com>
37503 * Makeconfig (test-name): New variable.
37504 (evaluate-test): Likewise.
37505 * Makerules (do-test-clean): Remove .test-result files.
37506 (common-mostlyclean): Likewise.
37507 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37508 * scripts/evaluate-test.sh: New file.
37510 2014-02-14 Joseph Myers <joseph@codesourcery.com>
37512 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37513 separate $(objpfx)tst-fopenloc-cmp.out and
37514 $(objpfx)tst-fopenloc-mem.out targets.
37515 (tests): Update dependencies.
37516 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37517 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37518 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37519 (tst-rxspencer-no-utf8-ARGS): New variable.
37520 (tst-rxspencer-no-utf8-ENV): Likewise.
37521 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37522 instead of $(objpfx)tst-rxspencer-mem.
37523 ($(objpfx)tst-rxspencer-mem): Change target to
37524 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
37525 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37526 * posix/tst-rxspencer-no-utf8.c: New file.
37528 * elf/Makefile ($(objpfx)order.out): Remove rule.
37529 [$(run-built-tests) = yes] (tests): Depend on
37530 $(objpfx)order-cmp.out.
37531 ($(objpfx)order-cmp.out): New rule.
37532 [$(run-built-tests) = yes] (tests): Depend on
37533 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37534 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37535 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37536 $(objpfx)tst-array5-static-cmp.out.
37537 ($(objpfx)tst-array1.out): Remove rule.
37538 ($(objpfx)tst-array1-cmp.out): New rule.
37539 ($(objpfx)tst-array1-static.out): Remove rule.
37540 ($(objpfx)tst-array1-static-cmp.out): New rule.
37541 ($(objpfx)tst-array2.out): Remove rule.
37542 ($(objpfx)tst-array2-cmp.out): New rule.
37543 ($(objpfx)tst-array3.out): Remove rule.
37544 ($(objpfx)tst-array3-cmp.out): New rule.
37545 ($(objpfx)tst-array4.out): Remove rule.
37546 ($(objpfx)tst-array4-cmp.out): New rule.
37547 ($(objpfx)tst-array5.out): Remove rule.
37548 ($(objpfx)tst-array5-cmp.out): New rule.
37549 ($(objpfx)tst-array5-static.out): Remove rule.
37550 ($(objpfx)tst-array5-static-cmp.out): New rule.
37551 [$(run-built-tests) = yes] (tests): Depend on
37552 $(objpfx)order2-cmp.out.
37553 ($(objpfx)order2.out): Remove rule.
37554 ($(objpfx)order2-cmp.out): New rule.
37555 ($(objpfx)tst-initorder.out): Remove rule.
37556 [$(run-built-tests) = yes] (tests): Depend on
37557 $(objpfx)tst-initorder-cmp.out.
37558 ($(objpfx)tst-initorder-cmp.out): New rule.
37559 ($(objpfx)tst-initorder2.out): Remove rule.
37560 [$(run-built-tests) = yes] (tests): Depend on
37561 $(objpfx)tst-initorder2-cmp.out.
37562 ($(objpfx)tst-initorder2-cmp.out): New rule.
37563 [$(run-built-tests) = yes] (tests): Depend on
37564 $(objpfx)tst-unused-dep-cmp.out.
37565 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37566 ($(objpfx)tst-unused-dep-cmp.out): New rule.
37567 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37568 on $(objpfx)tst-setvbuf1-cmp.out.
37569 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37570 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37571 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37572 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37573 ($(objpfx)tst-svc.out): Remove rule.
37574 ($(objpfx)tst-svc-cmp.out): New rule.
37576 2014-02-13 Joseph Myers <joseph@codesourcery.com>
37578 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37579 * ctype/ctype.h [__USE_MISC]: Likewise.
37580 * dirent/dirent.h [__USE_MISC]: Likewise.
37581 * grp/grp.h [__USE_MISC]: Likewise.
37582 * io/fcntl.h [__USE_MISC]: Likewise.
37583 * io/sys/stat.h [__USE_MISC]: Likewise.
37584 * libio/stdio.h [__USE_MISC]: Likewise.
37585 * posix/unistd.h [__USE_MISC]: Likewise.
37586 * pwd/pwd.h [__USE_MISC]: Likewise.
37587 * stdlib.h [__USE_MISC]: Likewise.
37588 * string/bits/string2.h [__USE_MISC]: Likewise.
37589 * string/string.h [__USE_MISC]: Likewise.
37590 * time/time.h [__USE_MISC]: Likewise.
37592 2014-02-13 Andreas Schwab <schwab@suse.de>
37595 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37596 second answer buffer if it was separately allocated.
37598 2014-02-12 Joseph Myers <joseph@codesourcery.com>
37600 * sysdeps/mips/math-tests.h: Include <features.h>.
37601 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37602 (ROUNDING_TESTS_long_double): Do not define.
37603 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37604 (EXCEPTION_TESTS_long_double): Likewise.
37605 * sysdeps/mips/mips64/libm-test-ulps: Update.
37607 * include/features.h (__USE_BSD): Remove macro definitions.
37608 (__USE_SVID): Likewise.
37609 (_BSD_SOURCE): Likewise.
37610 (_SVID_SOURCE): Likewise.
37611 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37612 from definition of _DEFAULT_SOURCE.
37613 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37615 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37616 * bits/mman.h [__USE_BSD]: Likewise.
37617 * bits/termios.h [__USE_BSD]: Likewise.
37618 * bits/waitstatus.h [__USE_BSD]: Likewise.
37619 * ctype/ctype.h [__USE_SVID]: Likewise.
37620 * dirent/dirent.h [__USE_BSD]: Likewise.
37621 * grp/grp.h [__USE_SVID]: Likewise.
37622 [__USE_BSD]: Likewise.
37623 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37624 * io/fcntl.h [__USE_BSD]: Likewise.
37625 * io/ftw.h [__USE_BSD]: Likewise.
37626 * io/sys/stat.h [__USE_BSD]: Likewise.
37627 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37628 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37629 * libio/stdio.h [__USE_SVID]: Likewise.
37630 [__USE_BSD]: Likewise.
37631 * math/math.h [__USE_SVID]: Likewise.
37632 [__USE_BSD]: Likewise.
37633 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37634 * misc/bits/syslog.h [__USE_BSD]: Likewise.
37635 * misc/search.h [__USE_SVID]: Likewise.
37636 * misc/sys/mman.h [__USE_BSD]: Likewise.
37637 * misc/sys/syslog.h [__USE_BSD]: Likewise.
37638 * misc/sys/uio.h [__USE_BSD]: Likewise.
37639 * posix/bits/unistd.h [__USE_BSD]: Likewise.
37640 * posix/glob.h [__USE_BSD]: Likewise.
37641 * posix/regex.h [__USE_BSD]: Likewise.
37642 * posix/sys/types.h [__USE_BSD]: Likewise.
37643 [__USE_SVID]: Likewise.
37644 * posix/sys/utsname.h [__USE_SVID]: Likewise.
37645 * posix/sys/wait.h [__USE_BSD]: Likewise.
37646 [__USE_SVID]: Likewise.
37647 * posix/unistd.h [__USE_BSD]: Likewise.
37648 [__USE_SVID]: Likewise.
37649 * pwd/pwd.h [__USE_SVID]: Likewise.
37650 * resolv/netdb.h [__USE_BSD]: Likewise.
37651 * setjmp/setjmp.h [__USE_BSD]: Likewise.
37652 * signal/signal.h [__USE_BSD]: Likewise.
37653 [__USE_SVID]: Likewise.
37654 * socket/sys/socket.h [__USE_BSD]: Likewise.
37655 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37656 * stdlib/stdlib.h [__USE_BSD]: Likewise.
37657 [__USE_SVID]: Likewise.
37658 * string/bits/string2.h [__USE_BSD]: Likewise.
37659 [__USE_SVID]: Likewise.
37660 * string/bits/string3.h [__USE_BSD]: Likewise.
37661 * string/endian.h [__USE_BSD]: Likewise.
37662 * string/string.h [__USE_SVID]: Likewise.
37663 [__USE_BSD]: Likewise.
37664 * string/strings.h [__USE_BSD]: Likewise.
37665 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37666 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37667 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37668 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37669 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37670 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37674 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37677 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37678 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37680 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37682 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37683 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37684 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37688 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37689 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37690 * termios/termios.h [__USE_BSD]: Likewise.
37691 * time/sys/time.h [__USE_BSD]: Likewise.
37692 * time/time.h [__USE_BSD]: Likewise.
37693 [__USE_SVID]: Likewise.
37695 * Makefile (subdir_targets): Remove subdir_lint.out.
37697 * stdio-common/Makefile (do-tst-unbputc): Remove target.
37698 (do-tst-printf): Likewise.
37699 (tests): Depend directly on $(objpfx)tst-unbputc.out and
37700 $(objpfx)tst-printf.out.
37702 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37704 * Makerules (check-abi-%): Change target to
37705 $(objpfx)check-abi-%.out.
37706 (check-abi target): Update dependencies.
37707 (check-abi-pattern variable): Redirect output of diff to $@.
37708 (check-abi variable): Likewise.
37709 * elf/Makefile (check-abi): Update dependencies.
37711 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37713 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37714 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37716 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37717 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37718 value has largest subnormal exponent.
37719 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37720 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37721 * sysdeps/aarch64/soft-fp/sfp-machine.h
37722 (_FP_TININESS_AFTER_ROUNDING): New macro.
37723 * sysdeps/alpha/soft-fp/sfp-machine.h
37724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37725 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37727 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37728 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37729 * sysdeps/mips/soft-fp/sfp-machine.h
37730 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37731 * sysdeps/powerpc/soft-fp/sfp-machine.h
37732 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37733 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37736 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37738 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37739 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37742 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
37745 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37748 2014-02-12 Richard Henderson <rth@redhat.com>
37750 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37751 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37752 * sysdeps/unix/sysv/linux/alpha: Move directory from
37753 ports/sysdeps/unix/sysv/linux/alpha.
37754 * README: Update listing for alpha-*-linux-gnu.
37756 2014-02-11 Joseph Myers <joseph@codesourcery.com>
37758 * include/features.h: Update comment documenting feature test
37760 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
37762 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37763 (_SVID_SOURCE): Likewise.
37764 (_DEFAULT_SOURCE): Update description of default features.
37765 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37767 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37768 (S_ISVTX): Likewise.
37769 * manual/math.texi (Mathematical Constants): Likewise.
37770 * manual/signal.texi (Interrupted Primitives): Likewise.
37771 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37772 * math/test-matherr.c (_SVID_SOURCE): Do not define.
37773 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37774 Don't refer to _SVID_SOURCE in warning text.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37778 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37780 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37781 * sysdeps/mips/dl-lookup.c: Remove.
37782 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37784 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37787 * math/auto-libm-test-in: Add testcase for expl.
37788 * math/auto-libm-test-out: Regenerate.
37789 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37790 calculation of unsafe.
37791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37793 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
37795 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37796 * sysdeps/unix/sysv/linux/aarch64: Move directory from
37797 ports/sysdeps/unix/sysv/linux/aarch64.
37798 * README: Update listing for aarch64*-*-linux-gnu.
37800 2014-02-11 Will Newton <will.newton@linaro.org>
37802 * manual/probes.texi (Mathematical Function Probes): Use
37803 "triggered" instead of "hit".
37805 * manual/probes.texi (Internal Probes): Add documentation
37806 of setjmp, longjmp and longjmp_target probes.
37808 * include/stap-probe.h: Add comment about probe argument
37811 * malloc/mtrace.c (attribute_hidden): Remove unused macro
37812 definition. (tr_where, tr_freehook, tr_mallochook,
37813 tr_reallochook, tr_memalignhook): Use ANSI protoype.
37815 2014-02-11 David S. Miller <davem@davemloft.net>
37817 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37818 processing int_tests.
37820 2014-02-10 Joseph Myers <joseph@codesourcery.com>
37822 * sysdeps/mips: Move directory from ports/sysdeps/mips.
37823 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37824 * sysdeps/unix/sysv/linux/mips: Move directory from
37825 ports/sysdeps/unix/sysv/linux/mips.
37826 * README: Update listing for mips-*-linux-gnu and
37827 mips64-*-linux-gnu.
37829 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
37831 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37832 * sysdeps/unix/sysv/linux/m68k: Move directory from
37833 ports/sysdeps/unix/sysv/linux/m68k.
37834 * README: Update listing for m68k-*-linux-gnu.
37836 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
37838 * sysdeps/tile: Move directory from ports/sysdeps/tile.
37839 * sysdeps/unix/sysv/linux/generic: Move directory from
37840 ports/sysdeps/unix/sysv/linux/generic.
37841 * sysdeps/unix/sysv/linux/tile: Move directory from
37842 ports/sysdeps/unix/sysv/linux/tile.
37843 * README: Update listing for tile*-*-linux-gnu.
37845 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
37847 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37849 * benchtests/bench-memmem.c (simple_memmem): Likewise.
37850 * catgets/open_catalog.c (__open_catalog): Likewise.
37851 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37852 * debug/confstr_chk.c: Likewise.
37853 * debug/fread_chk.c (__fread_chk): Likewise.
37854 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37855 * debug/getgroups_chk.c: Likewise.
37856 * debug/mbsnrtowcs_chk.c: Likewise.
37857 * debug/mbsrtowcs_chk.c: Likewise.
37858 * debug/mbstowcs_chk.c: Likewise.
37859 * debug/memcpy_chk.c: Likewise.
37860 * debug/memmove_chk.c: Likewise.
37861 * debug/mempcpy_chk.c: Likewise.
37862 * debug/memset_chk.c: Likewise.
37863 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37864 * debug/strcat_chk.c (__strcat_chk): Likewise.
37865 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37866 * debug/strncat_chk.c (__strncat_chk): Likewise.
37867 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37868 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37869 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37870 * debug/wcpncpy_chk.c: Likewise.
37871 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37872 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37873 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37874 * debug/wcsncpy_chk.c: Likewise.
37875 * debug/wcsnrtombs_chk.c: Likewise.
37876 * debug/wcsrtombs_chk.c: Likewise.
37877 * debug/wcstombs_chk.c: Likewise.
37878 * debug/wmemcpy_chk.c: Likewise.
37879 * debug/wmemmove_chk.c: Likewise.
37880 * debug/wmempcpy_chk.c: Likewise.
37881 * debug/wmemset_chk.c: Likewise.
37882 * dirent/scandirat.c (SCANDIRAT): Likewise.
37883 * dlfcn/dladdr1.c (dladdr1): Likewise.
37884 * dlfcn/dladdr.c (dladdr): Likewise.
37885 * dlfcn/dlclose.c (dlclose_doit): Likewise.
37886 * dlfcn/dlerror.c (__dlerror): Likewise.
37887 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37888 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37889 * dlfcn/dlopen.c (dlopen_doit): Likewise.
37890 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37891 * dlfcn/dlsym.c (dlsym_doit): Likewise.
37892 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37893 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37894 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37896 * elf/dl-conflict.c: Likewise.
37897 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37898 * elf/dl-dst.h: Likewise.
37899 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37900 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37901 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37902 * elf/dl-init.c (call_init, _dl_init): Likewise.
37903 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37904 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37905 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37907 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37909 * elf/dl-minimal.c (__libc_memalign): Likewise.
37910 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37911 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37912 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37913 * elf/dl-sym.c (do_sym): Likewise.
37914 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37915 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37916 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37917 * elf/dl-writev.h (_dl_writev): Likewise.
37918 * elf/ldconfig.c (search_dir): Likewise.
37919 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37920 (dl_main): Likewise.
37921 * elf/setup-vdso.h (setup_vdso): Likewise.
37922 * grp/compat-initgroups.c (compat_call): Likewise.
37923 * grp/fgetgrent.c (fgetgrent): Likewise.
37924 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37925 * grp/putgrent.c (putgrent): Likewise.
37926 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37928 * hurd/hurdinit.c: Likewise.
37929 * iconvdata/8bit-gap.c (struct): Likewise.
37930 * iconvdata/ansi_x3.110.c : Likewise.
37931 * iconvdata/big5.c : Likewise.
37932 * iconvdata/big5hkscs.c : Likewise.
37933 * iconvdata/cp1255.c: Likewise.
37934 * iconvdata/cp1258.c : Likewise.
37935 * iconvdata/cp932.c : Likewise.
37936 * iconvdata/euc-cn.c: Likewise.
37937 * iconvdata/euc-jisx0213.c : Likewise.
37938 * iconvdata/euc-jp.c: Likewise.
37939 * iconvdata/euc-jp-ms.c : Likewise.
37940 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37941 * iconvdata/gb18030.c : Likewise.
37942 * iconvdata/gbbig5.c (const): Likewise.
37943 * iconvdata/gbgbk.c: Likewise.
37944 * iconvdata/gbk.c : Likewise.
37945 * iconvdata/ibm1364.c : Likewise.
37946 * iconvdata/ibm930.c : Likewise.
37947 * iconvdata/ibm932.c: Likewise.
37948 * iconvdata/ibm933.c : Likewise.
37949 * iconvdata/ibm935.c : Likewise.
37950 * iconvdata/ibm937.c : Likewise.
37951 * iconvdata/ibm939.c : Likewise.
37952 * iconvdata/ibm943.c: Likewise.
37953 * iconvdata/iso_11548-1.c: Likewise.
37954 * iconvdata/iso-2022-cn.c : Likewise.
37955 * iconvdata/iso-2022-cn-ext.c : Likewise.
37956 * iconvdata/iso-2022-jp-3.c: Likewise.
37957 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37958 * iconvdata/iso-2022-kr.c : Likewise.
37959 * iconvdata/iso646.c (gconv_end): Likewise.
37960 * iconvdata/iso_6937-2.c : Likewise.
37961 * iconvdata/iso_6937.c : Likewise.
37962 * iconvdata/iso8859-1.c: Likewise.
37963 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37964 * iconvdata/shift_jisx0213.c : Likewise.
37965 * iconvdata/sjis.c : Likewise.
37966 * iconvdata/t.61.c : Likewise.
37967 * iconvdata/tcvn5712-1.c : Likewise.
37968 * iconvdata/tscii.c: Likewise.
37969 * iconvdata/uhc.c : Likewise.
37970 * iconvdata/unicode.c (gconv_end): Likewise.
37971 * iconvdata/utf-16.c (gconv_end): Likewise.
37972 * iconvdata/utf-32.c (gconv_end): Likewise.
37973 * iconvdata/utf-7.c (base64): Likewise.
37974 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37975 * iconv/gconv_close.c (__gconv_close): Likewise.
37976 * iconv/gconv_open.c (__gconv_open): Likewise.
37977 * iconv/gconv_simple.c (internal_ucs4_loop_single)
37978 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37979 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37980 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37981 (ucs4le_internal_loop_single): Likewise.
37982 * iconv/iconv.c (iconv): Likewise.
37983 * iconv/iconv_close.c: Likewise.
37984 * iconv/loop.c (SINGLE): Likewise.
37985 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37986 * include/atomic.h: Likewise.
37987 * inet/inet6_option.c (option_alloc): Likewise.
37988 * intl/bindtextdom.c (set_binding_values): Likewise.
37989 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37990 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37991 * intl/localealias.c (read_alias_file): Likewise.
37992 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37993 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37994 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37995 * libio/fmemopen.c (fmemopen): Likewise.
37996 * libio/iofgets.c (_IO_fgets): Likewise.
37997 * libio/iofgets_u.c (fgets_unlocked): Likewise.
37998 * libio/iofgetws.c (fgetws): Likewise.
37999 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38000 * libio/iogetdelim.c (_IO_getdelim): Likewise.
38001 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38002 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38003 * locale/findlocale.c (_nl_find_locale): Likewise.
38004 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38005 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38007 * locale/setlocale.c (setlocale): Likewise.
38008 * login/programs/pt_chown.c (main): Likewise.
38009 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38010 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38011 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38012 (mmap, mmap64, mremap, munmap): Likewise.
38013 * math/e_exp2l.c: Likewise.
38014 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38015 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38016 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38017 * math/s_catan.c (__catan): Likewise.
38018 * math/s_catanf.c (__catanf): Likewise.
38019 * math/s_catanh.c (__catanh): Likewise.
38020 * math/s_catanhf.c (__catanhf): Likewise.
38021 * math/s_catanhl.c (__catanhl): Likewise.
38022 * math/s_catanl.c (__catanl): Likewise.
38023 * math/s_ccosh.c (__ccosh): Likewise.
38024 * math/s_ccoshf.c (__ccoshf): Likewise.
38025 * math/s_ccoshl.c (__ccoshl): Likewise.
38026 * math/s_cexp.c (__cexp): Likewise.
38027 * math/s_cexpf.c (__cexpf): Likewise.
38028 * math/s_cexpl.c (__cexpl): Likewise.
38029 * math/s_clog10.c (__clog10): Likewise.
38030 * math/s_clog10f.c (__clog10f): Likewise.
38031 * math/s_clog10l.c (__clog10l): Likewise.
38032 * math/s_clog.c (__clog): Likewise.
38033 * math/s_clogf.c (__clogf): Likewise.
38034 * math/s_clogl.c (__clogl): Likewise.
38035 * math/s_csin.c (__csin): Likewise.
38036 * math/s_csinf.c (__csinf): Likewise.
38037 * math/s_csinh.c (__csinh): Likewise.
38038 * math/s_csinhf.c (__csinhf): Likewise.
38039 * math/s_csinhl.c (__csinhl): Likewise.
38040 * math/s_csinl.c (__csinl): Likewise.
38041 * math/s_csqrt.c (__csqrt): Likewise.
38042 * math/s_csqrtf.c (__csqrtf): Likewise.
38043 * math/s_csqrtl.c (__csqrtl): Likewise.
38044 * math/s_ctan.c (__ctan): Likewise.
38045 * math/s_ctanf.c (__ctanf): Likewise.
38046 * math/s_ctanh.c (__ctanh): Likewise.
38047 * math/s_ctanhf.c (__ctanhf): Likewise.
38048 * math/s_ctanhl.c (__ctanhl): Likewise.
38049 * math/s_ctanl.c (__ctanl): Likewise.
38050 * math/w_pow.c: Likewise.
38051 * math/w_powf.c: Likewise.
38052 * math/w_powl.c: Likewise.
38053 * math/w_scalb.c (sysv_scalb): Likewise.
38054 * math/w_scalbf.c (sysv_scalbf): Likewise.
38055 * math/w_scalbl.c (sysv_scalbl): Likewise.
38056 * misc/error.c (error_tail): Likewise.
38057 * misc/pselect.c (__pselect): Likewise.
38058 * nis/nis_callback.c (__nis_create_callback): Likewise.
38059 * nis/nis_call.c (__nisfind_server): Likewise.
38060 * nis/nis_creategroup.c (nis_creategroup): Likewise.
38061 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38063 * nis/nis_getservlist.c (nis_getservlist): Likewise.
38064 * nis/nis_lookup.c (nis_lookup): Likewise.
38065 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38066 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38067 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38068 * nis/nis_xdr.c (xdr_endpoint): Likewise.
38069 * nis/nss_compat/compat-grp.c (getgrent_next_file)
38070 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38071 * nis/nss_compat/compat-initgroups.c (add_group)
38072 (internal_getgrent_r): Likewise.
38073 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38074 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38075 * nis/nss_compat/compat-spwd.c (getspent_next_file)
38076 (internal_getspnam_r): Likewise.
38077 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38078 (_nss_nis_getaliasbyname_r): Likewise.
38079 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38080 (_nss_nis_getntohost_r): Likewise.
38081 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38082 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38083 (_nss_nis_getgrgid_r): Likewise.
38084 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38085 (internal_nis_gethostent_r, internal_gethostbyname2_r)
38086 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38087 (_nss_nis_gethostbyname4_r): Likewise.
38088 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38089 (initgroups_netid): Likewise.
38090 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38091 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38092 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38093 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38094 (_nss_nis_getprotobynumber_r): Likewise.
38095 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38096 (_nss_nis_getsecretkey): Likewise.
38097 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38098 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38099 (_nss_nis_getpwuid_r): Likewise.
38100 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38101 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38102 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38103 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38104 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38105 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38106 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38108 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38109 (_nss_nisplus_getntohost_r): Likewise.
38110 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38111 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38112 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38113 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38115 * nis/nss_nisplus/nisplus-initgroups.c
38116 (_nss_nisplus_initgroups_dyn): Likewise.
38117 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38118 (_nss_nisplus_getnetbyaddr_r): Likewise.
38119 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38120 (_nss_nisplus_getprotobynumber_r): Likewise.
38121 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38122 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38123 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38125 * nis/nss_nisplus/nisplus-service.c
38126 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38127 (_nss_nisplus_getservbyport_r): Likewise.
38128 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38129 (_nss_nisplus_getspnam_r): Likewise.
38130 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38132 * nscd/aicache.c (addhstaiX): Likewise.
38133 * nscd/cache.c (cache_search, prune_cache): Likewise.
38134 * nscd/connections.c (register_traced_file, send_ro_fd)
38135 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38136 (main_loop_epoll): Likewise.
38137 * nscd/grpcache.c (addgrbyX): Likewise.
38138 * nscd/hstcache.c (addhstbyX): Likewise.
38139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38140 * nscd/mem.c (gc, mempool_alloc): Likewise.
38141 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38142 (addinnetgrX): Likewise.
38143 * nscd/nscd-client.h (__nscd_acquire_maplock)
38144 (__nscd_drop_map_ref): Likewise.
38145 * nscd/nscd_getai.c (__nscd_getai): Likewise.
38146 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38147 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38149 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38151 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38152 (__nscd_get_map_ref): Likewise.
38153 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38154 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38156 * nscd/pwdcache.c (addpwbyX): Likewise.
38157 * nscd/selinux.c (preserve_capabilities): Likewise.
38158 * nscd/servicescache.c (addservbyX): Likewise.
38159 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38160 * posix/fnmatch.c (fnmatch): Likewise.
38161 * posix/getopt.c (_getopt_internal_r): Likewise.
38162 * posix/glob.c (glob, glob_in_dir): Likewise.
38163 * posix/wordexp.c (exec_comm_child): Likewise.
38164 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38165 (getanswer_r, gaih_getanswer_slice): Likewise.
38166 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38167 * resolv/res_init.c: Likewise.
38168 * resolv/res_mkquery.c (res_nmkquery): Likewise.
38169 * resolv/res_query.c (__libc_res_nquery): Likewise.
38170 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38172 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38173 * stdio-common/perror.c (perror): Likewise.
38174 * stdio-common/printf_fp.c (___printf_fp): Likewise.
38175 * stdio-common/tmpnam.c (tmpnam): Likewise.
38176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38177 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38178 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38180 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38181 * stdlib/putenv.c (putenv): Likewise.
38182 * stdlib/setenv.c (__add_to_environ): Likewise.
38183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38184 * stdlib/strtol_l.c (INTERNAL): Likewise.
38185 * string/memmem.c (memmem): Likewise.
38186 * string/strerror.c (strerror): Likewise.
38187 * string/strnlen.c (__strnlen): Likewise.
38188 * string/test-memmem.c (simple_memmem): Likewise.
38189 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38190 * sunrpc/pm_getport.c (__get_socket): Likewise.
38191 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38192 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38193 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38194 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38196 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38198 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38199 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38200 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38201 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38205 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38206 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38207 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38208 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38209 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38211 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38212 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38213 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38214 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38215 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38216 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38218 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38222 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38224 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38226 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38227 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38228 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38231 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38232 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38234 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38235 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38237 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38239 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38241 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38245 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38247 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38249 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38250 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38251 * sysdeps/posix/opendir.c (__opendirat): Likewise.
38252 * sysdeps/posix/sleep.c: Likewise.
38253 * sysdeps/posix/tempname.c: Likewise.
38254 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38255 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38257 * sysdeps/powerpc/powerpc32/dl-machine.h
38258 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38259 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38261 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38262 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38264 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38266 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38268 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38269 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38270 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38271 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38275 (elf_machine_lazy_rel): Likewise.
38276 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38278 (elf_machine_lazy_rel): Likewise.
38279 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38280 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38281 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38282 * sysdeps/unix/grantpt.c (grantpt): Likewise.
38283 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38284 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38285 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38288 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38289 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38290 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38291 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38292 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38294 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38295 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38296 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38297 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38298 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38300 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38301 (__posix_fallocate64_l64): Likewise.
38302 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38303 (posix_fallocate): Likewise.
38304 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38307 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38308 (getifaddrs_internal): Likewise.
38309 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38310 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38311 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38313 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38314 (__posix_fallocate64_l64): Likewise.
38315 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38317 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38318 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38319 (__get_clockfreq): Likewise.
38320 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38321 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38322 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38325 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38326 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38329 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38330 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38331 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38332 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38334 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38335 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38337 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38338 (posix_fallocate): Likewise.
38339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38340 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38341 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38342 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38343 (elf_machine_rela, elf_machine_rela_relative)
38344 (elf_machine_lazy_rel): Likewise.
38345 * time/asctime.c (asctime_internal): Likewise.
38346 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38347 * time/tzset.c (__tzset_parse_tz): Likewise.
38348 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38349 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38350 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38351 * wcsmbs/wcsmbsload.h: Likewise.
38354 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38356 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38357 (arena_get2): Remove THREAD_STATS conditionals.
38358 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38359 (__malloc_stats, int): Likewise.
38361 2014-02-08 Mike Frysinger <vapier@gentoo.org>
38363 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38364 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
38366 * manual/setjmp.texi: Fix typos/grammar errors.
38368 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38369 Only return early when n is <= 0. Delete unused return statement.
38371 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38372 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38373 * debug/tst-longjmp_chk3.c: New file.
38375 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38376 (test_main): Replace code with set_fortify_handler call.
38377 * debug/test-strcpy_chk.c: Likewise.
38378 * debug/tst-chk1.c: Likewise.
38379 * debug/tst-longjmp_chk.c: Likewise.
38380 * test-skeleton.c: Include fcntl.h & paths.h
38381 (set_fortify_handler): Define.
38383 * debug/tst-longjmp_chk.c: Add header comment and include
38384 ../test-skeleton.c.
38385 (do_test): Mark static.
38386 (TEST_FUNCTION): Define.
38388 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38389 (IP_PMTUDISC_INTERFACE): Likewise.
38390 (IP_MULTICAST_IF): Likewise.
38391 (IP_MULTICAST_TTL): Likewise.
38392 (IP_MULTICAST_LOOP): Likewise.
38393 (IP_ADD_MEMBERSHIP): Likewise.
38394 (IP_DROP_MEMBERSHIP): Likewise.
38395 (IP_UNBLOCK_SOURCE): Likewise.
38396 (IP_BLOCK_SOURCE): Likewise.
38397 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38398 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38399 (IP_MSFILTER): Likewise.
38400 (MCAST_JOIN_GROUP): Likewise.
38401 (MCAST_BLOCK_SOURCE): Likewise.
38402 (MCAST_UNBLOCK_SOURCE): Likewise.
38403 (MCAST_LEAVE_GROUP): Likewise.
38404 (MCAST_JOIN_SOURCE_GROUP): Likewise.
38405 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38406 (MCAST_MSFILTER): Likewise.
38407 (IP_MULTICAST_ALL): Likewise.
38408 (IP_UNICAST_IF): Likewise.
38410 * timezone/Makefile: Delete $(have-ksh) check.
38411 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38412 * timezone/tzselect.ksh: Add +x mode bits.
38414 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38415 (ANON_INODE_FS_MAGIC): Likewise.
38416 (BDEVFS_MAGIC): Likewise.
38417 (BINFMTFS_MAGIC): Likewise.
38418 (BTRFS_TEST_MAGIC): Likewise.
38419 (CRAMFS_MAGIC_WEND): Likewise.
38420 (DEBUGFS_MAGIC): Likewise.
38421 (ECRYPTFS_SUPER_MAGIC): Likewise.
38422 (EXT3_SUPER_MAGIC): Likewise.
38423 (EXT4_SUPER_MAGIC): Likewise.
38424 (FUTEXFS_SUPER_MAGIC): Likewise.
38425 (HOSTFS_SUPER_MAGIC): Likewise.
38426 (HUGETLBFS_MAGIC): Likewise.
38427 (MINIX3_SUPER_MAGIC): Likewise.
38428 (MTD_INODE_FS_MAGIC): Likewise.
38429 (NILFS_SUPER_MAGIC): Likewise.
38430 (OPENPROM_SUPER_MAGIC): Likewise.
38431 (PIPEFS_MAGIC): Likewise.
38432 (PSTOREFS_MAGIC): Likewise.
38433 (QNX6_SUPER_MAGIC): Likewise.
38434 (RAMFS_MAGIC): Likewise.
38435 (REISERFS_SUPER_MAGIC_STRING): Likewise.
38436 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38437 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38438 (SECURITYFS_MAGIC): Likewise.
38439 (SELINUX_MAGIC): Likewise.
38440 (SMACK_MAGIC): Likewise.
38441 (SOCKFS_MAGIC): Likewise.
38442 (SQUASHFS_MAGIC): Likewise.
38443 (STACK_END_MAGIC): Likewise.
38444 (TMPFS_MAGIC): Likewise.
38445 (USBDEVICE_SUPER_MAGIC): Likewise.
38446 (V9FS_MAGIC): Likewise.
38447 (XENFS_SUPER_MAGIC): Likewise.
38448 (CRAMFS_MAGIC): Fix typo in comment.
38449 (EXT2_SUPER_MAGIC): Update comment.
38450 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38452 2014-02-08 Joseph Myers <joseph@codesourcery.com>
38454 * sysdeps/arm: Move directory from ports/sysdeps/arm.
38455 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38456 * sysdeps/unix/sysv/linux/arm: Move directory from
38457 ports/sysdeps/unix/sysv/linux/arm.
38458 * README: Update listing for arm-*-linux-gnueabi.
38460 * README: Remove mention of am33.
38462 2014-02-07 Roland McGrath <roland@hack.frob.com>
38464 * bits/sigset.h (__sigemptyset): Use a statement expression rather
38465 than the comma operator, to avoid "rhs of comma has no effect"
38467 (__sigfillset, __sigandset, __sigorset): Likewise.
38468 * include/signal.h (__sigemptyset): Likewise.
38469 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38471 2014-02-07 Allan McRae <allan@archlinux.org>
38473 * version.h (RELEASE): Set to "development".
38474 (VERSION): Set to "2.19.90"
38475 * NEWS: Add 2.20 section.
38477 2014-02-06 Carlos O'Donell <carlos@redhat.com>
38480 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38482 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38484 * manual/contrib.texi: Update entry for Carlos O'Donell,
38485 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38487 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
38489 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38491 * sysdeps/unix/sysv/linux/kernel-features.h
38492 [__LINUX_KERNEL_VERSION >= 0x020621]
38493 (__ASSUME_PROC_PID_TASK_COMM): Define.
38495 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38498 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38499 conversion when destination buffer does not have enough space.
38500 * libio/tst-ftell-partial-wide.c: New test case.
38501 * libio/Makefile (tests): Add tst-ftell-partial-wide.
38503 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38504 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
38505 Leonard and Allan McRae.
38507 2014-02-04 David S. Miller <davem@davemloft.net>
38509 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38512 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38541 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38543 * nptl/shlib-versions: Change powerpc*le start to 2.17.
38544 * shlib-versions: Likewise.
38546 2014-02-04 Roland McGrath <roland@hack.frob.com>
38547 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38549 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38550 (abilist-pattern): New variable, set to %-le.abilist.
38552 * Makerules (abilist-pattern): New variable.
38553 (vpath): Use $(abilist-pattern) in place of %.abilist.
38554 (check-abi-% pattern rule): Likewise.
38555 (check-abi, update-abi): Likewise.
38557 2014-02-04 Eric Wong <normalperson@yhbt.net>
38559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38561 2014-02-03 Carlos O'Donell <carlos@redhat.com>
38563 * manual/startup.texi: Add next, previous, and top entries for
38564 the `Program Arguments' and `Environment Variables' nodes.
38566 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
38568 * manual/macros.texi: Add comments before MTASC-safety macros.
38570 * manual/users.texi: Document MTASC-safety properties.
38572 * manual/threads.texi (pthread_key_create, pthread_key_delete)
38573 (pthread_getspecific, pthread_setspecific): Format with
38574 @deftypefun, and add @safety note.
38575 * manual/signal.texi: Move comments that analyze the above
38576 functions to their home place.
38578 2014-02-03 Allan McRae <allan@archlinux.org>
38580 * po/sl.po: Update Slovenian translation from translation project.
38582 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
38584 * manual/time.texi (timegm): Add missing blank after @c.
38585 Reported by Joseph Myers <joseph@codesourcery.com>.
38587 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
38589 * manual/check-safety.sh: New.
38590 * manual/Makefile ($(objpfx)stamp-summary): Run it.
38592 * manual/terminal.texi: Document MTASC-safety properties.
38594 * manual/filesys.texi: Document MTASC-safety properties.
38596 * manual/errno.texi: Document MTASC-safety properties.
38598 * manual/intro.texi: Document safety identifiers and
38601 * manual/string.texi (wcstok): Fix prototype.
38602 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38604 * manual/time.texi: Document MTASC-safety properties.
38606 * manual/string.texi: Document MTASC-safety properties.
38608 * manual/threads.texi: Document MTASC-safety properties.
38610 * manual/stdio.texi: Document MTASC-safety properties.
38612 * manual/syslog.texi: Document MTASC-safety properties.
38614 * manual/sysinfo.texi: Document MTASC-safety properties.
38616 * manual/startup.texi: Document MTASC-safety properties.
38618 * manual/socket.texi: Document MTASC-safety properties.
38620 * manual/signal.texi: Document MTASC-safety properties.
38622 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
38624 * manual/setjmp.texi: Document MTASC-safety properties.
38626 * manual/search.texi: Document MTASC-safety properties.
38628 * manual/resource.texi: Document MTASC-safety properties.
38630 * manual/process.texi: Document MTASC-safety properties.
38632 * manual/platform.texi: Document MTASC-safety properties.
38634 * manual/pipe.texi: Document MTASC-safety properties.
38636 * manual/pattern.texi: Document MTASC-safety properties.
38638 * manual/message.texi: Document MTASC-safety properties.
38641 * manual/memory.texi: Document MTASC-safety properties.
38643 * manual/math.texi: Document MTASC-safety properties.
38645 * manual/locale.texi: Document MTASC-safety properties.
38647 * manual/llio.texi: Document MTASC-safety properties.
38649 * manual/libdl.texi: New.
38651 * manual/lang.texi: Document MTASC-safety properties.
38653 * manual/job.texi: Document MTASC-safety properties.
38655 * manual/getopt.texi: Document MTASC-safety properties.
38657 * manual/ctype.texi: Document MTASC-safety properties.
38659 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
38662 * csu/libc-tls.c (static_map): Remove variable.
38663 (__libc_setup_tls): Use main executable's link map for TLS data.
38664 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38665 casing for LM_ID_BASE and GL(dl_nns).
38666 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38667 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
38668 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38669 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38670 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38672 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38675 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
38677 * manual/debug.texi: Document MTASC-safety properties.
38679 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
38682 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38683 of __x86_64__ when disabling x87 inline functions.
38685 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
38687 * manual/charset.texi: Document MTASC-safety properties.
38689 * manual/crypt.texi: Document MTASC-safety properties.
38691 * manual/conf.texi: Document MTASC-safety properties.
38693 * manual/arith.texi: Document MTASC-safety properties.
38695 * manual/argp.texi: Document MTASC-safety properties.
38697 * manual/macros.texi: Introduce macros to document multi
38698 thread, asynchronous signal and asynchronous cancellation
38700 * manual/intro.texi: Introduce the properties themselves.
38702 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38704 * sysdeps/sh/sh4/Makefile: New file.
38706 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
38708 * math/gen-libm-test.pl ($srcdir): New variable.
38709 ($auto_input): Use it.
38711 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38714 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38715 access beyond array bounds when parsing netgroups file.
38717 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38718 the old buffer before realloc.
38720 2014-01-27 Allan McRae <allan@archlinux.org>
38722 * po/fr.po: Update French translation from translation project.
38724 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38726 * sysdeps/sh/libm-test-ulps: Regenerate.
38728 2014-01-24 David S. Miller <davem@davemloft.net>
38730 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38732 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38734 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38735 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38737 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38740 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38741 string pointers after reallocation.
38743 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38745 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38746 __SH4A__ instead of __SH_FPU_ANY__.
38748 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38750 * sysdeps/sh/fpu_control.h: New file.
38751 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38752 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38753 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38754 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38755 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38756 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38757 * sysdeps/sh/sys/ucontext.h: Remove.
38758 * sysdeps/sh/sys: Remove directory.
38760 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38762 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38763 s390/sys/ucontext.h.
38764 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38765 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38767 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
38770 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38772 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38775 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38776 Adjust the vDSO correctly for internal calls.
38777 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38779 2014-01-20 Allan McRae <allan@archlinux.org>
38781 * po/ca.po: Update Catalan translation from translation project.
38783 2014-01-16 Mike Frysinger <vapier@gentoo.org>
38785 * sysdeps/s390/sotruss-lib.c: New file.
38787 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38791 (__GI___gettimeofday): Alias for a different internal symbol to avoid
38792 local calls issues by not having a PLT stub required for IFUNC calls.
38793 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38795 2014-01-16 Joseph Myers <joseph@codesourcery.com>
38797 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38798 * math/test-fpucw-static.c: Likewise.
38800 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38803 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38805 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38807 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38808 implementation for powerpc.
38810 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
38813 * sysdeps/posix/system.c (__libc_system): Do not enable
38814 asynchronous cancellation.
38816 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38819 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38820 handling only for numbers special also in the IEEE case.
38822 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38824 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38826 2014-01-11 Allan McRae <allan@archlinux.org>
38828 * po/bg.po: Update Bulgarian translation from translation project.
38830 * po/de.po: Update German translation from translation project.
38832 2014-01-10 Roland McGrath <roland@hack.frob.com>
38834 * sysdeps/generic/gcc-compat.h: New file.
38836 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38838 * benchtests/asin-inputs: Correct slow inputs.
38839 * benchtests/acos-inputs: Likewise.
38841 2014-01-10 Allan McRae <allan@archlinux.org>
38843 * po:sv.po: Update Swedish translation from translation project.
38845 * po/vi.po: Update Vietnamese translation from translation project.
38847 * po/eo.po: Update Esperanto translation from translation project.
38849 * po/cs.po: Update Czech translation from translation project.
38851 * po/nl.po: Update Dutch translation from translation project.
38853 * po/pl.po: Update Polish translation from translation project.
38855 * po/ru.po: Update Russian translation from translation project.
38857 * po/uk.po: Update Ukrainian translation from translation project.
38859 2014-01-08 Brooks Moses <bmoses@google.com>
38861 * elf/dl-load.c: Fix comment typo.
38863 2014-01-08 Carlos O'Donell <carlos@redhat.com>
38865 * po/header.pot: Rename to...
38866 * po/pot.header: ... this.
38867 * po/Makefile: Use pot.header.
38869 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
38870 Maxim Kuvyrkov <maxim@kugelworks.com>
38873 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38874 SRC and DEST against LEN.
38876 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38879 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38881 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38883 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38887 2014-01-08 Joseph Myers <joseph@codesourcery.com>
38890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38891 for large positive arguments.
38893 2014-01-07 Joseph Myers <joseph@codesourcery.com>
38895 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38897 * math/auto-libm-test-in: Mark various tests with
38898 xfail-rounding:ldbl-128ibm.
38899 * math/auto-libm-test-out: Regenerated.
38902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38903 Increase overflow threshold.
38905 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
38908 * stdio-common/vfprintf.c: Check for integer overflow.
38910 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38912 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38913 the first argument and return value of __tls_get_addr_internal.
38915 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38917 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38918 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38920 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38922 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38923 * sysdeps/s390/rtld-global-offsets.sym: New file.
38924 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38926 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38927 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38928 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38930 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38931 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38937 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38938 halfs of GPRs for high_gprs contexts.
38939 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38940 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
38942 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38944 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38946 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38947 for high GPRs (uc_high_gprs) and for future extensions
38949 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38950 for future extensions (__reserved).
38951 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38953 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38954 SC_HIGHGPRS offset definition.
38955 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38956 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38958 * Versions.def: Add GLIBC_2.19 for libpthread.
38959 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38960 siglongjmp for libpthread with GLIBC_2.19 symver.
38961 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38962 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38963 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38964 * sysdeps/s390/__longjmp.c: New file.
38965 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38966 * sysdeps/s390/longjmp.c: New file.
38967 * sysdeps/s390/setjmp.S: New file.
38968 * sysdeps/s390/sigjmp.S: New file.
38969 * sysdeps/s390/v1-longjmp.c: New file.
38970 * sysdeps/s390/v1-setjmp.h: New file.
38971 * sysdeps/s390/v1-sigjmp.c: New file.
38972 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38973 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38974 GLIBC_2.19 version.
38975 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38976 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38977 versioned symbols for ____longjmp_chk.
38978 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38988 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38989 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38990 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38991 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38992 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38993 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38994 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38995 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38996 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38997 * sysdeps/s390/rtld-__longjmp.c: New file.
38998 * sysdeps/s390/rtld-setjmp.S: New file.
39000 2014-01-06 Joseph Myers <joseph@codesourcery.com>
39003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39004 Return -__logl (x) for small positive arguments without evaluating
39007 2014-01-06 Mike Frysinger <vapier@gentoo.org>
39009 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39011 (__ptrace_peeksiginfo_args): ... this.
39012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39016 2014-01-06 Allan McRae <allan@archlinux.org>
39018 * inet/netinet/in.h: Fix typo in comment.
39020 2014-01-05 Andreas Jaeger <aj@suse.de>
39022 * sysdeps/i386/fpu/libm-test-ulps: Update.
39024 2014-01-05 Allan McRae <allan@archlinux.org>
39026 * po/libc.pot: Regenerated.
39028 * malloc/memusagestat.c: Fix gettext call formatting.
39030 2014-01-04 Sami Kerola <kerolasa@iki.fi>
39032 * nscd/nscd.c: Improve usage() output.
39034 2014-01-04 Mike Frysinger <vapier@gentoo.org>
39036 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39037 * sysdeps/unix/sysv/linux/configure: Regenerated.
39038 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39039 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39041 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39044 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39045 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39047 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39050 extra tokens at end of #undef directive.
39051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39052 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39055 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39057 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39059 * math/auto-libm-test-in: Mark various tests with
39060 xfail-rounding:ldbl-128ibm.
39061 * math/auto-libm-test-out: Regenerated.
39063 2014-01-02 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39067 numbers with subnormal high part when calculating exponent.
39070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39076 (__ieee754_acoshl): Use __log1pl not __log1p.
39078 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
39080 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39081 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39082 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39083 (grow_heap, heap_trim, _int_new_arena, get_free_list)
39084 (reused_arena, arena_get2): Convert to GNU style.
39085 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39086 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39087 (memalign_check, __malloc_set_state): Likewise.
39088 * malloc/mallocbug.c (main): Likewise.
39089 * malloc/malloc.c (__malloc_assert, malloc_init_state)
39090 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39091 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39092 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39093 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39094 (__posix_memalign, malloc_info): Likewise.
39095 * malloc/malloc.h: Likewise.
39096 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39097 (mallochook, memalignhook, reallochook, mabort): Likewise.
39098 * malloc/mcheck.h: Likewise.
39099 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39100 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39101 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39102 * malloc/morecore.c (__default_morecore): Likewise.
39103 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39104 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39105 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39106 (print_and_abort): Likewise.
39107 * malloc/obstack.h: Likewise.
39108 * malloc/set-freeres.c (__libc_freeres): Likewise.
39109 * malloc/tst-mallocstate.c (main): Likewise.
39110 * malloc/tst-mtrace.c (main): Likewise.
39111 * malloc/tst-realloc.c (do_test): Likewise.
39113 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39116 * nscd/netgroupcache.c (do_notfound): New function.
39117 (addgetnetgrentX): Use it.
39120 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39121 NSS_STATUS_NOTFOUND.
39123 2014-01-01 Joseph Myers <joseph@codesourcery.com>
39125 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39128 2014-01-01 Allan McRae <allan@archlinux.org>
39130 * scripts/update-copyrights: Update configure input file suffix.
39132 * NEWS: Update copyright year.
39133 * catgets/gencat.c: Likewise.
39134 * csu/version.c: Likewise.
39135 * debug/catchsegv.sh: Likewise.
39136 * debug/pcprofiledump.c: Likewise.
39137 * debug/xtrace.sh: Likewise.
39138 * elf/ldconfig.c: Likewise.
39139 * elf/ldd.bash.in: Likewise.
39140 * elf/pldd.c: Likewise.
39141 * elf/sotruss.ksh: Likewise.
39142 * elf/sprof.c: Likewise.
39143 * iconv/iconv_prog.c: Likewise.
39144 * iconv/iconvconfig.c: Likewise.
39145 * locale/programs/locale.c: Likewise.
39146 * locale/programs/localedef.c: Likewise.
39147 * login/programs/pt_chown.c: Likewise.
39148 * malloc/memusage.sh: Likewise.
39149 * malloc/memusagestat.c: Likewise.
39150 * malloc/mtrace.pl: Likewise.
39151 * manual/libc.texinfo: Likewise.
39152 * nscd/nscd.c: Likewise.
39153 * nss/getent.c: Likewise.
39154 * nss/makedb.c: Likewise.
39155 * posix/getconf.c: Likewise.
39156 * scripts/test-installation.pl: Likewise.
39158 * All files with FSF copyright notices: Update copyright dates
39159 using scripts/update-copyrights.
39160 * intl/plural.c: Regenerated.
39161 * locale/programs/charmap-kw.h: Likewise.
39162 * locale/programs/locfile-kw.h: Likewise.
39164 2013-12-31 Mike Frysinger <vapier@gentoo.org>
39166 * sysdeps/unix/sysv/linux/configure: Regenerated.
39167 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39168 the linux/fanotify.h header.
39169 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39170 HAVE_LINUX_FANOTIFY_H is defined.
39172 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39174 * benchtests/cos-inputs: New inputs.
39175 * benchtests/sin-inputs: Likewise.
39177 * benchtests/atan-inputs: New inputs. Fix name of multiple
39178 precision fallback inputs.
39180 * benchtests/atanh-inputs: New inputs.
39181 * benchtests/tanh-inputs: Likewise.
39183 * benchtests/acosh-inputs: New inputs.
39184 * benchtests/asinh-inputs: Likewise.
39186 * benchtests/cosh-inputs: New inputs.
39187 * benchtests/sinh-inputs: Likewise.
39189 * benchtests/acos-inputs: Add more inputs.
39190 * benchtests/asin-inputs: Likewise.
39192 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
39195 * manual/arith.texi: Fix spelling.
39196 * manual/charset.texi: Likewise.
39197 * manual/errno.texi: Likewise.
39198 * manual/filesys.texi: Likewise.
39199 * manual/lang.texi: Likewise.
39200 * manual/llio.texi: Likewise.
39201 * manual/locale.texi: Likewise.
39202 * manual/message.texi: Likewise.
39203 * manual/resource.texi: Likewise.
39204 * manual/search.texi: Likewise.
39205 * manual/setjmp.texi: Likewise.
39206 * manual/stdio.texi: Likewise.
39207 * manual/string.texi: Likewise.
39208 * manual/sysinfo.texi: Likewise.
39209 * manual/time.texi: Likewise.
39211 2013-12-27 Carlos O'Donell <carlos@redhat.com>
39213 * po/sl.po: New file.
39215 2013-12-27 Mike Frysinger <vapier@gentoo.org>
39217 * .gitignore: Add core/.gdbinit/.gdb_history.
39219 2013-12-27 Allan McRae <allan@archlinux.org>
39222 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39223 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39225 2013-12-24 Brooks Moses <bmoses@google.com>
39227 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39228 all compilers that claim C++98 compliance, not just GCC.
39229 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39232 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39234 * NEWS: Restore accidentally deleted bug-fix entries.
39236 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39237 Ondřej Bílka <neleai@seznam.cz>
39240 * malloc/malloc.c (_int_free): Perform sanity check only if we
39243 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
39246 * manual/stdio.texi (String Input Conversions): Clarify that character
39247 classes are not supported.
39249 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39253 2013-12-22 Joseph Myers <joseph@codesourcery.com>
39256 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39257 Calculate results for small negative arguments directly rather
39258 than using reflection formula with special underflow handling.
39260 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39261 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39262 sysdeps/unix/bsd/bsd4.4/syscalls.list.
39263 (fchflags): Likewise.
39264 (revoke): Likewise.
39265 (setlogin): Likewise.
39266 (sigaltstack): Likewise.
39268 (sigblock): Remove.
39269 (sigsetmask): Likewise.
39271 (waitpid): Likewise.
39272 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39273 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39275 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39276 * sysdeps/unix/bsd/Makefile: ... here.
39277 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39278 * sysdeps/unix/bsd/Versions: ... here.
39279 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39280 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39281 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39282 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39283 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39284 * sysdeps/unix/bsd/sigblock.c: ... here.
39285 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39286 * sysdeps/unix/bsd/sigsetmask.c: ... here.
39287 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39288 * sysdeps/unix/bsd/sigvec.c: ... here.
39289 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39290 * sysdeps/unix/bsd/tcdrain.c: ... here.
39291 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39292 * sysdeps/unix/bsd/tcgetattr.c: ... here.
39293 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39294 * sysdeps/unix/bsd/tcsetattr.c: ... here.
39295 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39296 * sysdeps/unix/bsd/wait.c: ... here.
39297 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39298 * sysdeps/unix/bsd/wait3.c: ... here.
39299 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39300 * sysdeps/unix/bsd/waitpid.c: ... here.
39302 2013-12-21 Joseph Myers <joseph@codesourcery.com>
39305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39306 round-to-nearest for [!USE_AS_EXPM1L].
39307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39308 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
39309 more tests of exp and exp10. Expect some exp10 tests to miss
39310 exceptions or fail in directed rounding modes.
39311 * math/auto-libm-test-out: Regenerated.
39312 * math/libm-test.inc (exp10_tonearest_test_data): New array.
39313 (exp10_test_tonearest): New function.
39314 (exp10_towardzero_test_data): New array.
39315 (exp10_test_towardzero): New function.
39316 (exp10_downward_test_data): New array.
39317 (exp10_test_downward): New function.
39318 (exp10_upward_test_data): New array.
39319 (exp10_test_upward): New function.
39320 (main): Call the new functions.
39321 * sysdeps/i386/fpu/libm-test-ulps: Update.
39322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39324 2013-12-20 Joseph Myers <joseph@codesourcery.com>
39326 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39327 asinh, atan, atan2, atanh, cbrt, cos and cosh.
39328 * math/auto-libm-test-out: Regenerated.
39329 * math/libm-test.inc (acosh_test_data): Add more tests.
39330 (atanh_test_data): Likewise.
39331 (ceil_test_data): Likewise.
39332 (copysign_test_data): Likewise.
39333 * sysdeps/i386/fpu/libm-test-ulps: Update.
39334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39336 * timezone/checktab.awk: Update from tzcode 2013i.
39337 * timezone/private.h: Likewise.
39338 * timezone/scheck.c: Likewise.
39339 * timezone/tzfile.h: Likewise.
39340 * timezone/tzselect.ksh: Likewise.
39341 * timezone/zdump.c: Likewise.
39342 * timezone/zic.c: Likewise.
39344 * math/auto-libm-test-in: Add tests of cpow.
39345 * math/auto-libm-test-out: Regenerated.
39346 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39347 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39349 (func_calc_desc): Add mpc_cc_c union field.
39350 (test_functions): Add cpow.
39351 (special_fill_2pi): New function.
39352 (special_real_inputs): Add 2pi.
39353 (calc_generic_results): Handle mpc_cc_c.
39354 * sysdeps/i386/fpu/libm-test-ulps: Update.
39355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39357 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39358 csqrt, ctan and ctanh.
39359 * math/auto-libm-test-out: Regenerated.
39360 * math/libm-test.inc (TEST_COND_x86_64): New macro.
39361 (TEST_COND_x86): Likewise.
39362 (ccos_test_data): Use AUTO_TESTS_c_c.
39363 (ccosh_test_data): Likewise.
39364 (cexp_test_data): Likewise.
39365 (clog_test_data): Likewise.
39366 (csqrt_test_data): Likewise.
39367 (ctan_test_data): Likewise.
39368 (ctan_tonearest_test_data): Likewise.
39369 (ctan_towardzero_test_data): Likewise.
39370 (ctan_downward_test_data): Likewise.
39371 (ctan_upward_test_data): Likewise.
39372 (ctanh_test_data): Likewise.
39373 (ctanh_tonearest_test_data): Likewise.
39374 (ctanh_towardzero_test_data): Likewise.
39375 (ctanh_downward_test_data): Likewise.
39376 (ctanh_upward_test_data): Likewise.
39377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39379 (func_calc_desc): Add mpc_c_c union field.
39380 (FUNC_mpc_c_c): New macro.
39381 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39382 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39384 (special_fill_min_subnorm_p120): New function.
39385 (special_real_inputs): Add min_subnorm_p120.
39386 (calc_generic_results): Handle mpc_c_c.
39387 * sysdeps/i386/fpu/libm-test-ulps: Update.
39388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39390 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39392 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39393 (do_sin_slow): New functions.
39394 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39395 (cslow2, csloww1, csloww2): Use the new functions.
39397 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39398 Use M to change sign of result instead of X. Assume X is
39400 (csloww1): Likewise.
39404 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39405 arguments A and DA.
39409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39411 (sloww1): Don't adjust sign of DX.
39412 (csloww1): Likewise.
39413 (sloww2): Use X directly and don't adjust sign of DX.
39414 (csloww2): Likewise.
39416 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39418 * math/auto-libm-test-in: Add tests of cabs and carg.
39419 * math/auto-libm-test-out: Regenerated.
39420 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39421 (carg_test_data): Likewise.
39422 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39424 (func_calc_desc): Add mpc_c_f union field.
39425 (test_functions): Add cabs and carg.
39426 (calc_generic_results): Handle mpc_c_f.
39428 * sysdeps/powerpc/powerpc32/libgcc-compat.S
39429 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39430 as a macro and a compat symbol.
39431 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39432 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39433 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39434 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39435 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39436 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39438 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39440 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39442 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39444 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39446 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39448 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39449 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39452 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39456 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39458 * manual/texinfo.tex: Update to version 2013-11-26.10 with
39459 trailing whitespace removed.
39460 * scripts/config.guess: Update to version 2013-11-29.
39461 * scripts/config.sub: Update to version 2013-10-01.
39463 * math/auto-libm-test-in: Add tests of sincos.
39464 * math/auto-libm-test-out: Regenerated.
39465 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39466 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39468 (func_calc_desc): Add mpfr_f_11 union field.
39469 (test_functions): Add sincos.
39470 (calc_generic_results): Handle mpfr_f_11.
39471 * sysdeps/i386/fpu/libm-test-ulps: Update.
39472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39474 2013-12-19 Andreas Schwab <schwab@suse.de>
39476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39478 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39480 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39482 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39484 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39485 * sysdeps/i386/fpu/libm-test-ulps: Update.
39486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39490 round-to-nearest mode when using frndint.
39491 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39492 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39495 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
39497 * math/auto-libm-test-out: Regenerated.
39498 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39499 (TEST_COND_x86): Likewise.
39500 (expm1_tonearest_test_data): New array.
39501 (expm1_test_tonearest): New function.
39502 (expm1_towardzero_test_data): New array.
39503 (expm1_test_towardzero): New function.
39504 (expm1_downward_test_data): New array.
39505 (expm1_test_downward): New function.
39506 (expm1_upward_test_data): New array.
39507 (expm1_test_upward): New function.
39508 (main): Run the new test functions.
39509 * sysdeps/i386/fpu/libm-test-ulps: Update.
39510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512 * include/features.h: Update comment documenting feature test
39513 macros. Mention _DEFAULT_SOURCE in comment.
39514 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39515 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39516 _BSD_SOURCE and _SVID_SOURCE.
39517 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39518 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39519 !_SVID_SOURCE]: Likewise.
39520 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39521 (__USE_POSIX_IMPLICITLY): Define.
39522 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39523 (_POSIX_SOURCE): Undefine and redefine.
39524 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39525 (_POSIX_C_SOURCE): Likewise.
39526 * manual/creature.texi (_DEFAULT_SOURCE): Document.
39527 (Feature Test Macros): Update documentation of default features.
39529 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39531 * benchtests/Makefile: Add bench-strtok.
39532 * benchtests/bench-strtok.c: New file: strtok benchtest.
39534 2013-12-19 Allan McRae <allan@archlinux.org>
39536 * manual/install.texi: Suppress menu for plain text output.
39537 * INSTALL: Regenerated.
39539 2013-12-18 Brooks Moses <bmoses@google.com>
39542 * misc/getauxval.c: Include errno.h.
39543 (__getauxval): Set errno to ENOENT if the requested type is not
39545 * misc/sys/auxv.h (getauxval): Document that it may set errno;
39546 don't declare with __attribute_const__.
39547 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39548 * manual/startup.texi: Document that getauxval sets errno.
39550 2013-12-18 Joseph Myers <joseph@codesourcery.com>
39552 * math/auto-libm-test-in: Add tests of jn and yn.
39553 * math/auto-libm-test-out: Regenerated.
39554 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39555 (yn_test_data): Likewise.
39556 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39558 (func_calc_desc): Add mpfr_if_f union field.
39559 (FUNC_mpfr_if_f): New macro.
39560 (test_functions): Add jn and yn.
39561 (calc_generic_results): Assert type of second input for
39562 mpfr_ff_f. Handle mpfr_if_f.
39563 (output_for_one_input_case): Disable all checking for arguments
39564 fitting floating-point types in case of an integer argument.
39565 * sysdeps/i386/fpu/libm-test-ulps: Update.
39566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39569 Don't expect fegetround reference in libm.so.
39571 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39573 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39574 $(config-cflags-nofma).
39576 2013-12-18 Joseph Myers <joseph@codesourcery.com>
39578 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39579 * math/auto-libm-test-out: Regenerated.
39582 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39583 to determine exponent and adjust argument to have exponent of -1.
39584 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39586 * math/auto-libm-test-out: Regenerated.
39587 * sysdeps/i386/fpu/libm-test-ulps: Update.
39588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
39592 * manual/probes.texi: Remove cases when per-thread arenas are
39595 2013-12-18 Andreas Schwab <schwab@suse.de>
39597 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39598 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39599 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39600 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39601 * sysdeps/i386/i686/multiarch/Makefile: Update.
39602 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39604 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39606 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39607 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39609 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
39612 Support TZ transition times < 00:00:00.
39613 This is needed for version-3 tz-format files; it supports time
39614 stamps past 2037 for America/Godthab (the only entry in the tz
39615 database for which this change is relevant).
39616 * manual/time.texi (TZ Variable): Document transition times
39617 from -167:59:59 through -00:00:01.
39618 * time/tzset.c (tz_rule): Time of day is now signed.
39619 (__tzset_parse_tz): Parse negative time of day.
39621 Document TZ transition times >= 25:00:00.
39622 * manual/time.texi (TZ Variable): Document transition times from
39623 25:00:00 through 167:59:59. These are already supported, and this
39624 support will help with version-3 tz-format files.
39626 * manual/time.texi (TZ Variable): Modernize North America example
39627 to reflect current (i.e., 2007-and-later) daylight saving rules.
39629 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39631 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39633 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39634 * sysdeps/unix/bsd/bits/stat.h: Likewise.
39635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39637 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39638 * sysdeps/unix/bsd/bsdstat.h: Likewise.
39639 * sysdeps/unix/bsd/clock.c: Likewise.
39640 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39641 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39642 * sysdeps/unix/bsd/init-posix.c: Likewise.
39643 * sysdeps/unix/bsd/poll.c: Likewise.
39644 * sysdeps/unix/bsd/ptsname.c: Likewise.
39645 * sysdeps/unix/bsd/seekdir.c: Likewise.
39646 * sysdeps/unix/bsd/setegid.c: Likewise.
39647 * sysdeps/unix/bsd/seteuid.c: Likewise.
39648 * sysdeps/unix/bsd/setgid.c: Likewise.
39649 * sysdeps/unix/bsd/setrgid.c: Likewise.
39650 * sysdeps/unix/bsd/setruid.c: Likewise.
39651 * sysdeps/unix/bsd/setsid.c: Likewise.
39652 * sysdeps/unix/bsd/setuid.c: Likewise.
39653 * sysdeps/unix/bsd/sigaction.c: Likewise.
39654 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39655 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39656 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39657 * sysdeps/unix/bsd/telldir.c: Likewise.
39658 * sysdeps/unix/bsd/times.c: Likewise.
39659 * sysdeps/unix/bsd/usleep.c: Likewise.
39661 * misc/Makefile (install-lib): Remove libbsd-compat.a.
39662 ($(objpfx)libbsd-compat.a): Remove rule.
39664 * include/features.h (__FAVOR_BSD): Do not define.
39665 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39666 features conflicting with POSIX.
39667 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39668 (_BSD_SOURCE): Remove description of not being a subset of other
39669 feature test macros.
39670 * manual/job.texi (getpgrp): Do not document BSD version.
39671 (getpgid): Do not document by reference to BSD getpgrp.
39672 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39673 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39674 * signal/signal.h [__FAVOR_BSD]: Likewise.
39675 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39676 instead of making contents conditional on [__FAVOR_BSD].
39677 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39679 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39683 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39686 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39687 values below 2**-450, not 2**-500.
39688 * math/auto-libm-test-in: Don't allow spurious underflow from
39690 * math/auto-libm-test-out: Regenerated.
39694 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39695 values of ha and hb and sort them after adjusting subnormal
39697 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39699 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39700 values of ea and eb and sort them after adjusting subnormal
39702 * math/auto-libm-test-in: Do not expect some hypot tests of
39703 subnormals to fail. Add more hypot tests.
39704 * math/auto-libm-test-out: Regenerated.
39706 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39709 * sysdeps/sh/s_fma.c: New file.
39710 * sysdeps/sh/s_fmaf.c: New file.
39711 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
39713 * sysdeps/sh/Implies: Add sh/soft-fp.
39715 2013-12-16 Roland McGrath <roland@hack.frob.com>
39717 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
39718 level of indirection to members `objname', `errstring', `malloced'.
39719 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39720 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
39721 it as the __longjmp argument (just pass 1 instead).
39722 (_dl_catch_error): Initialize C with argument pointers and address of
39723 volatile local ERRCODE rather than copying values out of C at return.
39725 2013-12-16 Joseph Myers <joseph@codesourcery.com>
39727 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39728 * math/auto-libm-test-out: Regenerated.
39729 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39730 (hypot_test_data): Likewise.
39731 (pow_test_data): Likewise.
39732 (pow_tonearest_test_data): Likewise.
39733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39735 (func_calc_desc): Add mpfr_ff_f union field.
39736 (FUNC_mpfr_ff_f): New macro.
39737 (test_functions): Add atan2, hypot and pow.
39738 (special_fill_min): New function.
39739 (special_fill_minus_min): Likewise.
39740 (special_fill_min_subnorm): Likewise.
39741 (special_fill_minus_min_subnorm): Likewise.
39742 (special_real_inputs): Add min, -min, min_subnorm and
39744 (calc_generic_results): Handle mpfr_ff_f.
39745 * sysdeps/i386/fpu/libm-test-ulps: Update.
39746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39748 2013-12-16 Will Newton <will.newton@linaro.org>
39750 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39751 (Aligned Memory Blocks): Add documentation for aligned_alloc
39752 and suggest it as an alternative to posix_memalign.
39753 (Hooks for Malloc): Document __memalign_hook is also called
39754 for aligned_alloc. (Summary of Malloc): Add summary for
39755 aligned alloc. Document __memalign_hook is also called
39758 2013-12-16 Will Newton <will.newton@linaro.org>
39760 * manual/memory.texi (Malloc Examples): Clarify default
39761 alignment documentation. Suggest posix_memalign rather
39762 than memalign or valloc.
39763 (Aligned Memory Blocks): Remove suggestion to use memalign
39764 or valloc. Remove obsolete comment about BSD.
39765 Document memalign errno values and mark the function obsolete.
39766 Document posix_memalign returned error codes. Mark valloc
39767 as obsolete. (Hooks for Malloc): __memalign_hook is also
39768 called for posix_memalign and valloc.
39769 (Summary of Malloc): Add posix_memalign to function summary.
39770 __memalign_hook is also called for posix_memalign and valloc.
39772 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39774 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39778 (sloww): Use mynumber union. Expand ternary operator into
39779 if-else statements.
39780 (cslow): use mynumber union.
39782 2013-12-16 Allan McRae <allan@archlinux.org>
39784 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39785 * configure: Regenerated.
39787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39790 * configure.ac: Added --enable-maintainer-mode. Check for
39791 autoconf when enabled.
39792 * configure: Regenerated.
39794 * nscd/nscd.service: New file.
39795 * nscd/nscd.tmpfiles: New file.
39797 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
39800 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39801 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39802 * sysdeps/x86_64/multiarch/strstr.c: ... here.
39803 (strstr): Add __strstr_sse2_unaligned ifunc.
39804 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39805 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39806 (strcasestr): Remove __strcasestr_sse42 ifunc.
39807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39811 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39813 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39814 * sysdeps/sh/bits/fenv.h: ... here.
39815 * sysdeps/sh/sh4/fpu/bits: Remove directory.
39817 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39819 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39822 hypotf multiarch implementations.
39823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39826 multiarch hypot for PPC64.
39827 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39830 multiarch hypotf for PPC64.
39832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39833 modff multiarch implementations.
39834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39837 multiarch modf for PPC64.
39838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39841 multiarch modff for PPC64.
39843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39844 and logl multiarch implementations.
39845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39848 multiarch logb for PPC64.
39849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39852 multiarch logb for PPC64.
39853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39856 multiarch logb for PPC64.
39858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39859 isinff multiarch implementation.
39860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39864 multiarch isinf for PPC64.
39865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39868 multiarch isinff for PPC64.
39870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39871 finitef multiarch implementation.
39872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39876 multiarch finite for PPC64.
39877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39880 multiarch finitef for PPC64.
39882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39883 lrint multiarch implementation.
39884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39888 multiarch llrint for PPC64.
39889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39890 multiarch lrint for PPC64.
39892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39893 copysignf multiarch implementation.
39894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39899 multiarch copysign for PPC64.
39900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39901 multiarch copysignf for PPC64.
39903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39904 multiarch implementation.
39905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39913 multiarch llround for PPC64.
39914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39915 multiarch trunc for PPC64.
39916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39917 multiarch truncf for PPC64.
39919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39920 multiarch implementation.
39921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39929 multiarch llround for PPC64.
39930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39931 multiarch round for PPC64.
39932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39933 multiarch roundf for PPC64.
39935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39936 multiarch implementation.
39937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39945 multiarch llround for PPC64.
39946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39947 multiarch floor for PPC64.
39948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39949 multiarch floorf for PPC64.
39951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39952 multiarch implementation.
39953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39961 multiarch llround for PPC64.
39962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39963 multiarch ceil for PPC64.
39964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39965 multiarch ceilf for PPC64.
39967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39968 multiarch implementation.
39969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39976 multiarch llround for PPC64.
39977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39978 multiarch lround for PPC64.
39980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39981 multiarch implementation.
39982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39989 multiarch isnan for PPC64.
39990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39991 multiarch isnanf for PPC64.
39993 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39994 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39995 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39996 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39997 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40000 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40001 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40006 multiarch implementations.
40007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40008 (__libc_ifunc_impl_list): Likewise.
40009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40012 multiarch stpcpy for PPC64.
40014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40015 multiarch implementations.
40016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40017 (__libc_ifunc_impl_list): Likewise.
40018 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40020 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40021 multiarch strcpy for PPC64.
40023 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40024 redefine function name.
40025 (_wordcopy_fwd_dest_aligned): Likewise.
40026 (_wordcopy_bwd_aligned): Likewise.
40027 (_wordcopy_bwd_dest_aligned): Likewise.
40028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40029 multiarch implementations.
40030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40031 (__libc_ifunc_impl_list): Likewise.
40032 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40033 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40034 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40036 multiarch wcscpy for PPC64.
40038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40039 multiarch implementations.
40040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40041 (__libc_ifunc_impl_list): Likewise.
40042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40043 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40044 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40045 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40046 multiarch wcscpy for PPC64.
40048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40049 multiarch implementations.
40050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40051 (__libc_ifunc_impl_list): Likewise.
40052 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40053 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40054 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40055 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40056 multiarch wcsrchr for PPC64.
40058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40059 multiarch implementations.
40060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40061 (__libc_ifunc_impl_list): Likewise.
40062 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40063 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40064 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40065 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40066 multiarch wcschr for PPC64.
40068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40069 multiarch implementations.
40070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40071 (__libc_ifunc_impl_list): Likewise.
40072 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40073 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40074 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40075 multiarch strchrnul for PPC64.
40077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40080 (__libc_ifunc_impl_list): Likewise.
40081 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40082 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40083 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40084 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40090 (__libc_ifunc_impl_list): Likewise.
40091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40098 multiarch implementations.
40099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40100 (__libc_ifunc_impl_list): Likewise.
40101 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40102 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40103 strncasecmp for PPC64.
40104 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40106 multiarch strncasecmp_l for PPC64.
40108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40109 multiarch implementations.
40110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40111 (__libc_ifunc_impl_list): Likewise.
40112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40113 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40114 multiarch strcasecmp for PPC64.
40115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40118 multiarch strcasecmp_l for PPC64.
40120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40123 (__libc_ifunc_impl_list): Likewise.
40124 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40125 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40126 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40132 (__libc_ifunc_impl_list): Likewise.
40133 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40134 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40135 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40141 (__libc_ifunc_impl_list): Likewise.
40142 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40143 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40144 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40145 rawmemrchr for PPC64.
40147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40150 (__libc_ifunc_impl_list): Likewise.
40151 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40152 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40153 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40159 (__libc_ifunc_impl_list): Likewise.
40160 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40161 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40162 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40168 (__libc_ifunc_impl_list): Likewise.
40169 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40174 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40175 avoid cretion of __bzero symbol.
40176 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40178 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40180 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40183 multiarch implementations.
40184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40185 (__libc_ifunc_impl_list): Likewise.
40186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40187 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40189 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40191 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40192 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40193 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40194 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40195 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40197 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40199 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40203 (__libc_ifunc_impl_list): Likewise.
40204 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40205 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40206 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40207 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40211 multiarch for POWER/PPC64.
40212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40213 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40220 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40223 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40224 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40225 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40226 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40227 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40228 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40230 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40231 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40232 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40233 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40234 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40235 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40236 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40237 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40246 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40250 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40252 * benchtests/Makefile (bench): Add exp2 and log2.
40253 (LDLIBS-bench-exp2): Add -lm.
40254 (LDLIBS-bench-log2): Likewise.
40255 * benchtests/exp2-inputs: New inputs file.
40256 * benchtests/log2-inputs: New inputs file.
40257 * benchtests/log-inputs: Add new inputs.
40258 * benchtests/tan-inputs: Likewise.
40260 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40262 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40264 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40265 (csloww2): ... from here.
40267 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40268 instead of structures.
40269 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40270 (POLYNOMIAL): Likewise.
40271 (TAYLOR_SLOW): Likewise.
40277 (sloww1); Likewise.
40278 (sloww2): Likewise.
40279 (bsloww1): Likewise.
40280 (bsloww2): Likewise.
40281 (cslow2): Likewise.
40282 (csloww): Likewise.
40283 (csloww1): Likewise.
40284 (csloww2): Likewise.
40286 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
40288 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40289 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40290 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40291 * malloc/hooks.c (realloc_check): Likewise.
40293 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40294 * malloc/arena.c: Remove PER_THREAD conditional.
40295 [!PER_THREAD]: Remove code.
40296 (ptmalloc_unlock_all2): Likewise.
40297 (ptmalloc_init): Likewise.
40298 (_int_new_arena): Likewise.
40299 (arena_get2): Likewise.
40300 * malloc/hooks.c (__malloc_get_state): Likewise.
40301 (__malloc_set_state): Likewise.
40302 * malloc/malloc.c: Likewise.
40303 (struct malloc_state): Likewise.
40304 (struct malloc_par): Likewise.
40305 (__libc_realloc): Likewise.
40306 (__libc_mallopt): Likewise.
40308 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40310 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40312 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
40314 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40315 macro to a function. Check for zero perturb_byte.
40316 (_int_malloc, _int_free): Remove zero perturb_byte checks.
40318 * malloc/malloc.c: (force_reg): Remove.
40319 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40320 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40321 force_reg by atomic_forced_read.
40322 * malloc/arena.c (ptmalloc_init): Likewise.
40323 * malloc/hooks.c (top_check): Likewise.
40325 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40329 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
40331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40333 2013-12-08 Joseph Myers <joseph@codesourcery.com>
40335 * math/auto-libm-test-in: Add tests of lgamma.
40336 * math/auto-libm-test-out: Regenerated.
40337 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40338 (M_LOG_2_SQRT_PIl): Likewise.
40339 (lgamma_test_data): Use AUTO_TESTS_f_f1.
40340 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40342 (func_calc_desc): Add mpfr_f_f1 union field.
40343 (ARGS1): New macro.
40351 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40352 (test_functions): Add lgamma.
40353 (calc_generic_results): Handle mpfr_f_f1.
40354 * sysdeps/i386/fpu/libm-test-ulps: Update.
40355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40357 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40359 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40360 __mpn_add_n for PowerPC64/POWER7.
40361 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40362 __mpn_sub_n for PowerPC64/POWER7.
40364 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40365 __mpn_addmul_1 for PowerPC64.
40366 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40367 __mpn_submul_1 for PowerPC64.
40368 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40370 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40373 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
40376 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40378 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40380 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40382 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40383 add multiarch folders.
40384 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40385 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40386 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40387 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40388 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40389 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40390 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40391 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40392 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40393 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40394 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40403 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40409 multiarch __ieee754_hypot for PowerPC32.
40410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40415 multiarch __ieee754_hypotf for PowerPC32.
40417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40418 long_double_symbol only if __logbl is defined.
40419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40420 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40422 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40424 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40426 path for implementation.
40427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40430 logb, and logbl multiarch implementations for PowerPC32.
40431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40436 multiarch logb for PowerPC32.
40437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40442 multiarch logbf for PowerPC32.
40443 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40447 multiarch logbl implementation for PowerPC32.
40449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40450 and modff multiarch implementations.
40451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40456 multiarch modf for PowerPC32.
40457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40462 multiarch modff for PowerPC32.
40464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40465 and lrintf multiarch implementations.
40466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40471 multiarch lrint for PowerPC32.
40472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40473 file: multiarch lrintf for PowerPC32.
40475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40476 and lroundf multiarch implementations.
40477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40484 multiarch lround for PowerPC32.
40485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40486 file: multiarch lroundf for PowerPC32.
40488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40489 copysign and copysignf multiarch implementations.
40490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40495 file: multiarch copysign for PowerPC32.
40496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40497 file: multiarch copysignf for PowerPC32.
40499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40500 and truncf multiarch implementations.
40501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40506 multiarch trunc for PowerPC32.
40507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40512 multiarch truncf for PowerPC32.
40514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40515 and roundf multiarch implementations.
40516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40521 multiarch round for PowerPC32.
40522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40527 multiarch roundf for PowerPC32.
40529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40530 and floorf multiarch implementations.
40531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40536 multiarch floor for PowerPC32.
40537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40542 multiarch floorf for PowerPC32.
40544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40545 and ceilf multiarch implementations.
40546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40551 multiarch ceil for PowerPC32.
40552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40557 multiarch ceilf for PowerPC32.
40559 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40561 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40562 FINITEF is defined.
40563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40564 and finitef multiarch implementations.
40565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40570 multiarch finite for PowerPC32.
40571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40574 file: multiarch finitef for PowerPC32.
40576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40577 and isinff multiarch implementations.
40578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40583 multiarch isinf for PowerPC32.
40584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40587 multiarch isinff for PowerPC32.
40589 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40590 alias when __isnan is defined.
40591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40592 and isnanf multiarch implementations.
40593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40602 multiarch isnan for PowerPC32.
40603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40608 multiarch isnanf for PowerPC32.
40610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40611 and sqrtf multiarch implementations.
40612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40617 multiarch sqrt for PowerPC32.
40618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40623 multiarch sqrtf for PowerPC32.
40625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40626 and llroundf multiarch implementations.
40627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40634 file: multiarch llround for PowerPC32.
40635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40636 file: multiarch llroundf for PowerPC32.
40638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40639 multiarch PowerPC32 fpu implementations.
40640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40645 multiarch llrint for PowerPC32.
40646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40655 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40657 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40659 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40661 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40662 multiarch wordcopy for PPC32.
40663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40666 (__libc_ifunc_impl_list): Likewise.
40667 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40668 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40670 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40672 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40674 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40682 multiarch wcscpy for PPC32.
40683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40686 (__libc_ifunc_impl_list): Likewise.
40687 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40688 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40689 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40690 sysdeps/powerpc/power6/wcscpy.c.
40692 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40693 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40700 multiarch wcsrchr for PPC32.
40701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40704 (__libc_ifunc_impl_list): Likewise.
40705 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40706 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40707 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40708 sysdeps/powerpc/power6/wcsrchr.c.
40710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40716 multiarch wcschr for PPc32.
40717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40720 (__libc_ifunc_impl_list): Likewise.
40721 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40722 * sysdeps/powerpc/power6/wcschr.c: ... to here.
40723 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40724 sysdeps/powerpc/power6/wcschr.c.
40726 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40730 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40731 file: multiarch strchr for PPC32.
40732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40735 (__libc_ifunc_impl_list): Likewise.
40737 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40739 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40741 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40743 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40744 multiarch strchrnul for PPC32.
40745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40748 (__libc_ifunc_impl_list): Likewise.
40750 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40752 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40753 multiarch strncasecmp for PPC32.
40754 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40757 multiarch strncasecmp_l for PPC32.
40758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40759 strncasecmp multiarch objects.
40760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40761 (__libc_ifunc_impl_list): Likewise.
40763 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40766 multiarch strncasecmp for PPC32.
40767 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40769 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40770 multiarch strcasecmp_l for PPC32.
40771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40774 (__libc_ifunc_impl_list): Likewise.
40776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40780 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40781 multiarch strncmp for PPC32.
40782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40785 (__libc_ifunc_impl_list): Likewise.
40787 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40788 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40790 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40791 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40795 (__libc_ifunc_impl_list): Likewise.
40797 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40799 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40801 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40805 (__libc_ifunc_impl_list): Likewise.
40807 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40809 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40811 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40812 multiarch rawmemchr for PPC32.
40813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40816 (__libc_ifunc_impl_list): Likewise.
40818 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40820 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40822 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40823 file: memrchr multiarch for PPC32.
40824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40827 (__libc_ifunc_impl_list): Likewise.
40829 * string/memchr.c (__memchr): Using macro to redefine symbol name.
40830 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40834 multiarch memchr for PPC32.
40835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40838 (__libc_ifunc_impl_list): Likewise.
40840 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40841 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40843 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40845 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40846 file: multiarch mempcpy for PPC32.
40847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40850 (__libc_ifunc_impl_list): Likewise.
40852 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40853 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40856 multiarch bzero for PPC32.
40857 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40859 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40861 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40862 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40863 file: multiarch memset for PPC32.
40864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40866 memset multiarch objects.
40867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40868 (__libc_ifunc_impl_list): Likewise.
40870 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40872 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40875 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40879 (__libc_ifunc_impl_list): Likewise.
40881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40890 multiarch memcpy for PPC32.
40891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40894 (__libc_ifunc_impl_list): Likewise.
40896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40897 support multiarch for POWER/PPC32.
40898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40900 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40902 Implies file to make multiarch folder appers before the fpu and
40903 default folder for power4 configuration.
40905 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40907 * scripts/bench.pl: Append volatile keyword to type.
40909 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40911 * sysdeps/sh/sotruss-lib.c: New file.
40912 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40914 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40918 2013-12-05 Joseph Myers <joseph@codesourcery.com>
40921 * math/w_tgamma.c: Include <errno.h>.
40922 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
40923 * math/w_tgammaf.c: Include <errno.h>.
40924 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
40925 * math/w_tgammal.c: Include <errno.h>.
40926 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
40927 * math/auto-libm-test-in: Do not allow missing errno on tgamma
40928 underflow. Add more tgamma tests.
40929 * math/auto-libm-test-out: Regenerated.
40930 * sysdeps/i386/fpu/libm-test-ulps: Update.
40931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40933 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40934 sin, sinh, tan, tanh, tgamma, y0 and y1.
40935 * math/auto-libm-test-out: Regenerated.
40936 * math/libm-test.inc (TEST_COND_x86_64): New macro.
40937 (TEST_COND_x86): Likewise.
40938 (M_E2l): Remove macro.
40940 (M_2_SQRT_PIl): Likewise.
40941 (M_SQRT_PIl): Likewise.
40942 (M_1_DIV_El): Likewise.
40943 (log_test_data): Use AUTO_TESTS_f_f.
40944 (log10_test_data): Likewise.
40945 (log1p_test_data): Likewise.
40946 (log2_test_data): Likewise.
40947 (sin_test_data): Likewise.
40948 (sin_tonearest_test_data): Likewise.
40949 (sin_towardzero_test_data): Likewise.
40950 (sin_downward_test_data): Likewise.
40951 (sin_upward_test_data): Likewise.
40952 (sinh_test_data): Likewise.
40953 (sinh_tonearest_test_data): Likewise.
40954 (sinh_towardzero_test_data): Likewise.
40955 (sinh_downward_test_data): Likewise.
40956 (sinh_upward_test_data): Likewise.
40957 (tan_test_data): Likewise.
40958 (tan_tonearest_test_data): Likewise.
40959 (tan_towardzero_test_data): Likewise.
40960 (tan_downward_test_data): Likewise.
40961 (tan_upward_test_data): Likewise.
40962 (tanh_test_data): Likewise.
40963 (tgamma_test_data): Likewise.
40964 (y0_test_data): Likewise.
40965 (y1_test_data): Likewise.
40966 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40967 (special_real_inputs): Add pi/4.
40968 * sysdeps/i386/fpu/libm-test-ulps: Update.
40969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40971 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40973 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40974 "longjmp_target" static probes.
40975 (__longjmp): Rename to __longjmp_symbol.
40976 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40977 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40978 on which longjmp to generate.
40979 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40980 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40982 (__sigsetjmp): Rename to __sigsetjmp_symbol.
40983 (__sigjmp_save): Rename to __sigjmp_save_symbol.
40984 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40986 and __sigjmp_save_symbol based on which sigsetjmp to generated.
40987 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40989 __longjmp_symbol based on which __longjmp to generate.
40990 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40992 (setjmp): Rename to setjmp_symbol.
40993 (__sigsetjmp): Rename to __sigsetjmp_symbol.
40994 (_setjmp): Rename to _setjmp_symbol.
40995 (__sigsetjmp): Rename to __sigsetjmp_symbol.
40996 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40997 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40998 which setjmp to generate.
40999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41000 "longjmp_target" static probes.
41002 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41004 * benchtests/README: Add note about output arguments.
41005 * benchtests/bench-sincos.c: Remove file.
41006 * benchtests/sincos-inputs: New file.
41007 * scripts/bench.pl: Identify output arguments and define
41008 static variables for them.
41010 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41013 * Makefile (INSTALL): Add install-plain.texi as the primary
41015 * manual/install-plain.texi: New file.
41016 * manual/install.texi: Include node directive only for
41017 non-plaintext output.
41019 2013-12-04 Joseph Myers <joseph@codesourcery.com>
41021 * stdlib/longlong.h: Update from GCC.
41025 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41026 * math/w_j0f.c (y0f): Likewise.
41027 * math/w_j0l.c (__y0l): Likewise.
41028 * math/w_j1.c (y1): Likewise.
41029 * math/w_j1f.c (y1f): Likewise.
41030 * math/w_j1l.c (__y1l): Likewise.
41031 * math/w_jn.c (yn): Likewise.
41032 * math/w_jnf.c (ynf): Likewise.
41033 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41034 Bessel function pole errors in _POSIX_ mode. Use NAN as return
41035 value for Bessel function domain errors outside _SVID_ mode.
41036 Adjust sign of return value for yn (negative integer, 0).
41037 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41038 by zero in return for negative x and set sign appropriately for
41040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41042 * math/libm-test.inc (y0_test_data): Add more tests and adjust
41043 expectations in error cases.
41044 (y1_test_data): Likewise.
41045 (yn_test_data): Likewise.
41046 * sysdeps/i386/fpu/libm-test-ulps: Update.
41047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41049 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41051 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41052 "64" to "64-v1". Add "64-v2".
41053 (abi-64-options): Rename to ...
41054 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
41055 (abi-64-condition): Rename to ...
41056 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
41057 (abi-64-ld-soname): Rename to ...
41058 (abi-64-v1-ld-soname): ... this.
41059 (abi-64-v2-options): Define.
41060 (abi-64-v2-condition): Likewise.
41061 (abi-64-v2-ld-soname): Likewise.
41062 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41063 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41068 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41069 Alan Modra <amodra@gmail.com>
41071 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41072 New versions for use with the ELFv2 ABI.
41073 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41074 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41076 (struct La_ppc64v2_retval): Likewise.
41077 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41078 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41079 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41080 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41081 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41082 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41083 Do not save or restore CR.
41084 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41085 (_dl_profile_resolve): Do no save or restore CR. Support extended
41086 return values for ELFv2 ABI. Fix location of FPR return registers.
41087 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41088 updated values for _CALL_ELF == 2.
41089 (La_regs, La_retval, int_retval): Likewise.
41091 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41093 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41094 (FRAME_MIN_SIZE_PARM): Likewise.
41095 (FRAME_BACKCHAIN): Likewise.
41096 (FRAME_CR_SAVE): Likewise.
41097 (FRAME_LR_SAVE): 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 (call_mcount_parm_offset): New macro.
41104 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41105 (PROF): Use symbolic stack frame offsets.
41106 (TAIL_CALL_SYSCALL_ERROR): Likewise.
41107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41108 Redefine in terms of FRAME_MIN_SIZE.
41109 (_dl_runtime_resolve): Use symbolic stack frame offsets.
41110 (_dl_profile_resolve): Likewise. Update comment.
41111 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41112 symbols stack frame offsets.
41113 (__sigsetjmp): Likewise.
41114 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41115 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41116 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41117 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41120 (FRAME_BACKCHAIN): Remove.
41121 (FRAME_CR_SAVE): Likewise.
41122 (FRAME_LR_SAVE): Likewise.
41123 (FRAME_COMPILER_DW): Likewise.
41124 (FRAME_LINKER_DW): Likewise.
41125 (FRAME_TOC_SAVE): Likewise.
41126 (FRAME_PARM_SAVE): Likewise.
41127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41128 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41129 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41131 (CHECK_SP): Use symbolic stack frame offsets.
41132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41133 zone" instead of caller's parameter save area for temp storage.
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41135 Likewise. Also, use symbolic stack frame offsets.
41136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41137 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41138 our own stack frame instead of the caller's.
41139 (__socket): Use symbolic stack frame offsets.
41141 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41142 Alan Modra <amodra@gmail.com>
41144 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41146 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41147 (PPC64_LOCAL_ENTRY_OFFSET): Define.
41148 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41150 (elf_machine_fixup_plt): Call it.
41151 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
41153 (elf_machine_rela): Update call to elf_machine_plt_conflict.
41154 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41155 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41156 r2 before calling target.
41158 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41159 Alan Modra <amodra@gmail.com>
41161 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41162 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41163 versions of macros to support ELFv2 ABI.
41164 (LOCALENTRY): New macro.
41165 (ENTRY, EALIGN): Use it.
41166 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41167 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41168 fall through into ENTRY entry point.
41169 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41170 Only define if _CALL_ELF != 2.
41172 (elf_machine_matches_host): Verify ABI version matches.
41173 (RTLD_START): Use LOCALENTRY.
41174 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41175 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41176 (PLT_ENTRY_WORDS): New macro.
41177 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41178 (elf_machine_runtime_setup): Support ELFv2 ABI.
41179 (elf_machine_fixup_plt): Likewise.
41180 (elf_machine_plt_conflict): Likewise.
41181 (resolve_ifunc): Likewise.
41182 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41186 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41188 (makecontext): Support ELFv2 ABI.
41189 * elf/elf.h (EF_PPC64_ABI): Define.
41191 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41193 * sysdeps/powerpc/powerpc64/sysdep.h
41194 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41195 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41196 (ENTRY) [ASSEMBLER]: ... but instead here ...
41197 (EALIGN) [ASSEMBLER]: ... and here.
41198 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41199 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41200 (ENTRY_2) [!ASSEMBLER]: Use it.
41201 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41202 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
41203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41204 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41207 Use PPC64_LOAD_FUNCPTR.
41209 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41211 2013-12-04 Alan Modra <amodra@gmail.com>
41213 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41214 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41215 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41216 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41219 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41220 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41221 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41222 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41223 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41225 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41228 (__makecontext): Fix incorrect CFI when backtracing out of
41229 context created via makecontext.
41230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41231 (__setcontext): Fix incorrect CFI during switch to new context.
41232 (__novec_setcontext): Likewise.
41234 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41237 * time/strptime_l.c (__strptime_internal): Allow modifiers
41239 * time/tst-strptime.c (day_tests): Add testcase.
41241 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41243 * scripts/bench.pl: Skip over blank lines.
41245 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
41248 * manual/time.texi (Calendar Time): Clarify what timezone functions
41251 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41255 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41257 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41259 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41260 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41261 * debug/memset_chk.c (__memset_chk): Likewise.
41262 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41263 * debug/strncpy_chk.c: Likewise.
41265 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41270 (__ieee754_exp): For possibly underflowing results, check size of
41271 result and force underflow exception if required.
41272 * math/auto-libm-test-in: Add more tests of exp.
41273 * math/auto-libm-test-out: Regenerated.
41274 * sysdeps/i386/fpu/libm-test-ulps: Update.
41275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41278 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41279 * math/w_exp2f.c (__exp2f): Likewise.
41280 * math/w_exp2l.c (__exp2l): Likewise.
41281 * math/auto-libm-test-in: Do not allow missing errno on exp2
41283 * math/auto-libm-test-out: Regenerated.
41285 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
41288 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41289 handle filename validation.
41290 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41293 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41296 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41297 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41298 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41300 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41302 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41304 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41306 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41307 * math/auto-libm-test-in: Don't allow missing errno from erfc.
41308 Add more erfc tests.
41309 * math/auto-libm-test-out: Regenerated.
41310 * sysdeps/i386/fpu/libm-test-ulps: Update.
41311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41313 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41314 exp2, expm1, j0 and j1.
41315 * math/auto-libm-test-out: Regenerated.
41316 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41317 (erfc_test_data): Likewise.
41318 (exp_test_data): Likewise.
41319 (exp_tonearest_test_data): Likewise.
41320 (exp_towardzero_test_data): Likewise.
41321 (exp_downward_test_data): Likewise.
41322 (exp_upward_test_data): Likewise.
41323 (exp10_test_data): Likewise.
41324 (exp2_test_data): Likewise.
41325 (expm1_test_data): Likewise.
41326 (j0_test_data): Likewise.
41327 (j1_test_data): Likewise.
41328 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41329 (input_flag_type): Add flag_xfail_rounding.
41330 (input_flags): Add xfail-rounding.
41331 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41332 (output_for_one_input_case): Handle flag_xfail_rounding.
41333 * sysdeps/i386/fpu/libm-test-ulps: Update.
41334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41336 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
41339 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41342 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
41345 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41346 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41347 (STAP_PROBE0): New macro.
41348 (STAP_PROBE1): Likewise.
41349 (STAP_PROBE2): Likewise.
41350 (STAP_PROBE3): Likewise.
41351 (STAP_PROBE4): Likewise.
41353 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
41355 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41357 2013-12-02 Steve Ellcey <sellcey@mips.com>
41359 * benchtests/Makefile (bench): Add sqrt.
41360 (LDLIBS-bench-sqrt): New.
41361 * benchtests/sqrt-input: New.
41363 2013-12-02 Pavel Simerda <psimerda@redhat.com>
41365 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41366 (GAIH_EAI): Likewise.
41367 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41368 (gaih_inet): Likewise.
41369 (getaddrinfo): Don't use GAIH_EAI.
41371 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41372 (struct gaih): Remove definition.
41374 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41376 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41377 Use HERRNOP directly.
41379 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41383 2013-11-30 Joseph Myers <joseph@codesourcery.com>
41385 * math/gen-auto-libm-tests.c (test_functions): Add more
41386 single-argument functions.
41387 (special_fill_pi_2): New function.
41388 (special_fill_minus_pi_2): Likewise.
41389 (special_fill_pi_6): Likewise.
41390 (special_fill_minus_pi_6): Likewise.
41391 (special_fill_pi_3): Likewise.
41392 (special_fill_2pi_3): Likewise.
41393 (special_fill_e): Likewise.
41394 (special_fill_1_e): Likewise.
41395 (special_fill_e_minus_1): Likewise.
41396 (special_real_inputs): Add more special inputs.
41397 (output_for_one_input_case): Do not require ERANGE on underflow to
41398 zero if round-to-nearest result does not underflow to zero, unless
41399 exact results required.
41400 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41401 atan, atanh, cbrt, cos and cosh.
41402 * math/auto-libm-test-out: Regenerated.
41403 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41404 (acos_tonearest_test_data): Likewise.
41405 (acos_towardzero_test_data): Likewise.
41406 (acos_downward_test_data): Likewise.
41407 (acos_upward_test_data): Likewise.
41408 (acosh_test_data): Likewise.
41409 (asin_test_data): Likewise.
41410 (asin_tonearest_test_data): Likewise.
41411 (asin_towardzero_test_data): Likewise.
41412 (asin_upward_test_data): Likewise.
41413 (asinh_test_data): Likewise.
41414 (atan_test_data): Likewise.
41415 (atanh_test_data): Likewise.
41416 (cbrt_test_data): Likewise.
41417 (cos_test_data): Likewise.
41418 (cos_tonearest_test_data): Likewise.
41419 (cos_towardzero_test_data): Likewise.
41420 (cos_downward_test_data): Likewise.
41421 (cos_upward_test_data): Likewise.
41422 (cosh_test_data): Likewise.
41423 (cosh_tonearest_test_data): Likewise.
41424 (cosh_towardzero_test_data): Likewise.
41425 (cosh_downward_test_data): Likewise.
41426 (cosh_upward_test_data): Likewise.
41427 * sysdeps/i386/fpu/libm-test-ulps: Update.
41428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41430 2013-11-29 Joseph Myers <joseph@codesourcery.com>
41433 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41434 * math/w_exp10f.c (__exp10f): Likewise.
41435 * math/w_exp10l.c (__exp10l): Likewise.
41436 * math/libm-test.inc (exp10_test_data): Add more tests and expect
41437 errno settings in existing tests.
41440 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41441 precision control set to double precision.
41442 * sysdeps/i386/fpu/w_sqrt.c: New file.
41443 * math/auto-libm-test-in: Add more tests.
41444 * math/auto-libm-test-out: Update.
41446 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41447 (sqrt_test_tonearest): New function.
41448 (sqrt_towardzero_test_data): New variable.
41449 (sqrt_test_towardzero): New function.
41450 (sqrt_downward_test_data): New variable.
41451 (sqrt_test_downward): New function.
41452 (sqrt_upward_test_data): New variable.
41453 (sqrt_test_upward): New function.
41454 (main): Call the new functions.
41456 * math/gen-auto-libm-tests.c: New file.
41457 * math/auto-libm-test-in: Likewise.
41458 * math/auto-libm-test-out: New generated file.
41459 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41461 (%beautify): Add generated representations of zero.
41462 (top level): Set $auto_input and call parse_auto_input.
41463 (beautify): Remove trailing "f" from hex float constants.
41464 (parse_args): Handle XFAIL_TEST.
41465 (convert_condition): New function.
41466 (or_value): Likewise.
41467 (or_cond_value): Likewise.
41468 (generate_testfile): Handle AUTO_TESTS_* lines.
41469 (parse_auto_input): New function.
41470 * math/libm-test.inc (XFAIL_TEST): New macro.
41471 (ERRNO_UNCHANGED): Update value.
41472 (ERRNO_EDOM): Likewise.
41473 (ERRNO_ERANGE): Likewise.
41474 (IGNORE_RESULT): Likewise.
41475 (TEST_COND_flt_32): New macro.
41476 (TEST_COND_dbl_64): Likewise.
41477 (TEST_COND_ldbl_96_intel): Likewise.
41478 (TEST_COND_ldbl_96_m68k): Likewise.
41479 (TEST_COND_ldbl_128): Likewise.
41480 (TEST_COND_ldbl_128ibm): Likewise.
41481 (TEST_COND_long32): Likewise.
41482 (TEST_COND_long64): Likewise.
41483 (TEST_COND_before_rounding): Likewise.
41484 (TEST_COND_after_rounding): Likewise.
41485 (enable_test): Handle XFAIL_TEST flag.
41486 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41487 with finite results.
41488 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41489 auto-libm-test-out.
41491 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41492 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41495 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41496 __tls_get_addr_internal instead of __tls_get_offset in order to
41497 avoid GOT pointer dependency. Make rtld export
41498 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41499 __tls_get_addr since we are a __tls_get_offset platform.
41500 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41501 GOT pointer being set up before.
41502 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41504 2013-11-28 Joseph Myers <joseph@codesourcery.com>
41506 * manual/math.texi (Errors in Math Functions): Document accuracy
41510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41511 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41513 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41517 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41523 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41527 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41528 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41529 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41530 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41531 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41533 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41535 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41537 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41538 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41539 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41540 atomic-feupdateenv and flt-rounds.
41541 * sysdeps/powerpc/nofpu/Versions (libc): Add
41542 __atomic_feholdexcept, __atomic_feclearexcept,
41543 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41545 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41546 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41547 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41552 * manual/arith.texi (FP Exceptions): Document that exceptions may
41553 not be raised when matherr is used.
41554 (Math Error Reporting): Document overflow in directed rounding
41555 modes. Document that errno may not be set when finite values are
41556 returned on overflow. Document intent to set errno on underflow
41557 only for underflow to zero.
41560 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41561 round-to-nearest then adjust result for other rounding modes.
41562 * include/fenv.h (fegetround): Use libm_hidden_proto.
41563 * math/fegetround.c (fegetround): Use libm_hidden_def.
41564 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41565 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41566 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41569 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41570 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41571 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41572 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41574 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41577 * nss/Versions (libnss_files): Add
41578 _nss_files_gethostbyname3_r.
41579 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41581 (HOST_DB_LOOKUP): Remove macro.
41582 (_nss_files_gethostbyname_r): Implement function without the
41583 HOST_DB_LOOKUP macro.
41584 (_nss_files_gethostbyname2_r): Likewise.
41586 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
41588 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41590 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
41592 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41593 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41596 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41598 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41599 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41601 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41602 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41603 __fe_nomask_env_priv and attribute_hidden.
41604 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41605 (libc_feupdateenv_test_ppc): Likewise.
41606 (libc_feresetround_ppc): Likewise.
41607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41608 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41609 compat_symbol macro.
41610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41611 (__fe_nomask_env): Likewise.
41612 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41614 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41616 * string/Makefile: Remove ifunc tests.
41617 * string/test-string.h: Define TEST_IFUNC.
41618 * string/test-bcopy-ifunc.c: Remove.
41619 * string/test-bzero-ifunc.c: Likewise.
41620 * string/test-memccpy-ifunc.c: Likewise.
41621 * string/test-memchr-ifunc.c: Likewise.
41622 * string/test-memcmp-ifunc.c: Likewise.
41623 * string/test-memcpy-ifunc.c: Likewise.
41624 * string/test-memmem-ifunc.c: Likewise.
41625 * string/test-memmove-ifunc.c: Likewise.
41626 * string/test-mempcpy-ifunc.c: Likewise.
41627 * string/test-memrchr-ifunc.c: Likewise.
41628 * string/test-memset-ifunc.c: Likewise.
41629 * string/test-rawmemchr-ifunc.c: Likewise.
41630 * string/test-stpcpy-ifunc.c: Likewise.
41631 * string/test-stpncpy-ifunc.c: Likewise.
41632 * string/test-strcasecmp-ifunc.c: Likewise.
41633 * string/test-strcasestr-ifunc.c: Likewise.
41634 * string/test-strcat-ifunc.c: Likewise.
41635 * string/test-strchr-ifunc.c: Likewise.
41636 * string/test-strchrnul-ifunc.c: Likewise.
41637 * string/test-strcmp-ifunc.c: Likewise.
41638 * string/test-strcpy-ifunc.c: Likewise.
41639 * string/test-strcspn-ifunc.c: Likewise.
41640 * string/test-strlen-ifunc.c: Likewise.
41641 * string/test-strncasecmp-ifunc.c: Likewise.
41642 * string/test-strncat-ifunc.c: Likewise.
41643 * string/test-strncmp-ifunc.c: Likewise.
41644 * string/test-strncpy-ifunc.c: Likewise.
41645 * string/test-strnlen-ifunc.c: Likewise.
41646 * string/test-strpbrk-ifunc.c: Likewise.
41647 * string/test-strrchr-ifunc.c: Likewise.
41648 * string/test-strspn-ifunc.c: Likewise.
41649 * string/test-strstr-ifunc.c: Likewise.
41651 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41653 * benchtests/Makefile: Remove ifunc tests.
41654 * benchtests/bench-string.h: Define TEST_IFUNC.
41655 * benchtests/bench-bcopy-ifunc.c: Remove.
41656 * benchtests/bench-bzero-ifunc.c: Likewise.
41657 * benchtests/bench-memccpy-ifunc.c: Likewise.
41658 * benchtests/bench-memchr-ifunc.c: Likewise.
41659 * benchtests/bench-memcmp-ifunc.c: Likewise.
41660 * benchtests/bench-memcpy-ifunc.c: Likewise.
41661 * benchtests/bench-memmem-ifunc.c: Likewise.
41662 * benchtests/bench-memmove-ifunc.c: Likewise.
41663 * benchtests/bench-mempcpy-ifunc.c: Likewise.
41664 * benchtests/bench-memrchr-ifunc.c: Likewise.
41665 * benchtests/bench-memset-ifunc.c: Likewise.
41666 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41667 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41668 * benchtests/bench-stpcpy-ifunc.c: Likewise.
41669 * benchtests/bench-stpncpy-ifunc.c: Likewise.
41670 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41671 * benchtests/bench-strcasestr-ifunc.c: Likewise.
41672 * benchtests/bench-strcat-ifunc.c: Likewise.
41673 * benchtests/bench-strchr-ifunc.c: Likewise.
41674 * benchtests/bench-strchrnul-ifunc.c: Likewise.
41675 * benchtests/bench-strcmp-ifunc.c: Likewise.
41676 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41677 * benchtests/bench-strcpy-ifunc.c: Likewise.
41678 * benchtests/bench-strcspn-ifunc.c: Likewise.
41679 * benchtests/bench-strlen-ifunc.c: Likewise.
41680 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41681 * benchtests/bench-strncat-ifunc.c: Likewise.
41682 * benchtests/bench-strncmp-ifunc.c: Likewise.
41683 * benchtests/bench-strncpy-ifunc.c: Likewise.
41684 * benchtests/bench-strnlen-ifunc.c: Likewise.
41685 * benchtests/bench-strpbrk-ifunc.c: Likewise.
41686 * benchtests/bench-strrchr-ifunc.c: Likewise.
41687 * benchtests/bench-strsep-ifunc.c: Likewise.
41688 * benchtests/bench-strspn-ifunc.c: Likewise.
41689 * benchtests/bench-strstr-ifunc.c: Likewise.
41691 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41693 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41695 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41697 * resolv/netdb.h: Use __glibc_reserved instead __unused.
41698 * rt/aio.h: Likewise.
41699 * sysdeps/gnu/bits/utmp.h: Likewise.
41700 * sysdeps/gnu/bits/utmpx.h: Likewise.
41701 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41702 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41703 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41704 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41705 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41706 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41707 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41708 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41709 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41710 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41711 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41712 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41713 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41715 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41716 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41717 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41718 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41719 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41720 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41721 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41722 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41723 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41724 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41725 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41727 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41728 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41729 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41731 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41732 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41733 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41734 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41735 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41736 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41737 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41738 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41740 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41741 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41742 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41744 2013-11-25 Carlos O'Donell <carlos@redhat.com>
41747 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41748 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41750 2013-11-25 Joseph Myers <joseph@codesourcery.com>
41752 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41753 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41756 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41759 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41760 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41761 (__fesetround): Remove define.
41762 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41763 rounding and exceptions handling.
41764 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41765 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41766 (__fe_nomask_env): Likewise.
41767 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41768 __fegetround instead of fegetround.
41769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41772 2013-11-21 Roland McGrath <roland@hack.frob.com>
41774 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41777 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41779 2013-11-21 Meador Inge <meadori@codesourcery.com>
41782 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41783 (encrypt_r): Likewise.
41784 * malloc/obstack.h (obstack_free): Likewise.
41785 * posix/unistd.h (encrypt): Likewise.
41787 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
41789 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41790 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41791 DL_CALL_DT_FINI() that call the functions directly.
41792 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41793 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41794 * elf/dl-fini.c: Likewise.
41796 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
41798 * malloc/hooks.c (memalign_check): Add alignment rounding.
41799 * malloc/malloc.c (_mid_memalign): New function.
41800 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41801 Implement by calling _mid_memalign.
41802 * manual/probes.texi (Memory Allocation Probes): Remove
41803 memory_valloc_retry and memory_pvalloc_retry.
41805 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41807 * locale/programs/locarchive.c (open_archive): Add const
41808 qualifier to ARCHIVEFNAME and copy default fname to
41812 * libio/tst-widetext.input: Rename Oriya to Odia.
41813 * locale/iso-639.def: Likewise.
41815 * manual/probes.texi (Mathematical Function Probes): Add
41816 documentation for sin, cos, asin and acos probes.
41817 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41818 (__sin32): Add slowasin probe.
41819 (__cos32): Add slowacos probe.
41820 (__mpsin): Add slowsin probe.
41821 (__mpcos): Add slowcos probe.
41823 2013-11-19 Joseph Myers <joseph@codesourcery.com>
41826 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41827 thread-local __sim_exceptions_thread and global
41828 __sim_exceptions_global.
41829 (__sim_disabled_exceptions): Change to thread-local
41830 __sim_disabled_exceptions_thread and global
41831 __sim_disabled_exceptions_global.
41832 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41833 and global __sim_round_mode_global.
41834 (__simulate_exceptions): Use thread-local floating-point state and
41835 set global state from it as needed.
41836 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41837 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41838 __sim_round_mode_thread.
41839 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41840 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41841 and global __sim_exceptions_global.
41842 (__sim_disabled_exceptions): Change to thread-local
41843 __sim_disabled_exceptions_thread and global
41844 __sim_disabled_exceptions_global.
41845 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41846 and global __sim_round_mode_global.
41847 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41848 (SIM_SET_GLOBAL): Likewise.
41849 * sysdeps/powerpc/soft-fp/sfp-machine.h
41850 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41851 __sim_round_mode_thread.
41852 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41853 __sim_disabled_exceptions_thread.
41854 (__sim_exceptions): Change to __sim_exceptions_thread.
41855 (__sim_disabled_exceptions): Change to
41856 __sim_disabled_exceptions_thread.
41857 (__sim_round_mode): Change to __sim_round_mode_thread.
41858 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41859 thread-local floating-point state and set global state from it as
41861 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41862 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41863 (__sim_disabled_exceptions): Remove extern declaration.
41864 (feenableexcept): Use thread-local floating-point state and set
41865 global state from it as needed.
41866 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41867 extern declaration.
41868 (__sim_disabled_exceptions): Likewise.
41869 (__sim_round_mode): Likewise.
41870 (__fegetenv): Use thread-local floating-point state.
41871 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41872 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41873 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41874 floating-point state and set global state from it as needed.
41875 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41876 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41877 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41879 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41880 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41882 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41883 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41884 Use __sim_round_mode_thread.
41885 * math/test-fenv-tls.c: New file.
41886 * math/Makefile (tests): Add test-fenv-tls.
41887 ($(objpfx)test-fenv-tls): Depend on
41888 $(common-objpfx)nptl/libpthread.so.
41890 2013-11-19 Andreas Schwab <schwab@suse.de>
41892 * locale/programs/locale.c (show_info): Decode wordarray elements.
41893 * locale/categories.def (LC_MONETARY): Add element for
41894 _NL_MONETARY_CRNCYSTR.
41895 * locale/C-monetary.c (conversion_rate): New variable.
41896 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41899 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
41901 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41902 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41904 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41906 * elf/Makefile (tst-auxv): New test.
41907 * elf/tst-auxv.c: New
41908 * elf/rtld.c (dl_main): Adjust AT_EXECFN
41910 2013-11-18 Joseph Myers <joseph@codesourcery.com>
41912 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41913 (hidden_proto): Caller changed.
41914 (hidden_tls_proto): New macro.
41915 (libc_hidden_tls_proto): Likewise.
41916 (rtld_hidden_tls_proto): Likewise.
41917 (libm_hidden_tls_proto): Likewise.
41918 (libresolv_hidden_tls_proto): Likewise.
41919 (librt_hidden_tls_proto): Likewise.
41920 (libdl_hidden_tls_proto): Likewise.
41921 (libnss_files_hidden_tls_proto): Likewise.
41922 (libnsl_hidden_tls_proto): Likewise.
41923 (libnss_nisplus_hidden_tls_proto): Likewise.
41924 (libutil_hidden_tls_proto): Likewise.
41926 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
41929 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41930 (decompose_rpath): Defer expansion to fillin_rpath.
41931 (_dl_init_paths): Pass linkmap to fillin_rpath.
41933 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41935 * benchtests/Makefile: Add strsep.
41936 * benchtests/bench-strsep.c: New file: strsep benchtest.
41937 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41939 2013-11-18 Andreas Schwab <schwab@suse.de>
41941 * locale/programs/locale.c (show_info) [case byte]: Check for
41942 '\377' instead of '\177'.
41943 * locale/C-monetary.c (not_available): Always use "\377".
41944 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41945 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
41946 detect unavailable sign_posn locale elements.
41947 * locale/localeconv.c (__localeconv): For grouping and
41948 mon_grouping handle "\177" and "\377" like no grouping.
41949 (INT_ELEM): New macro. Use it to set all numeric members.
41950 * locale/programs/ld-monetary.c (monetary_read)
41951 <tok_mon_grouping>: Normalize single -1 to the empty string.
41952 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41955 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
41958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41959 when we match (nil).
41960 * stdio-common/tst-sscanf.c (struct test): Add testcase.
41962 2013-11-16 Joseph Myers <joseph@codesourcery.com>
41964 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41965 (NO_TEST_INLINE): Update value.
41966 (ERRNO_UNCHANGED): Likewise.
41967 (ERRNO_EDOM): Likewise.
41968 (ERRNO_ERANGE): Likewise.
41969 (IGNORE_RESULT): Likewise.
41970 (check_float_internal): Check signs of NaN results if
41971 TEST_NAN_SIGN used.
41972 (check_complex): Pass TEST_NAN_SIGN flag through to second
41973 check_float_internal call.
41974 (copysign_test_data): Add tests with quiet NaNs as second
41975 argument. Use TEST_NAN_SIGN.
41976 (fabs_test_data): Add test of negative quiet NaN argument. Use
41978 (signbit_test_data): Add tests of quiet NaN argument.
41979 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41981 * math/gen-libm-test.pl (show_exceptions): Take extra argument
41983 (parse_args): Handle function results specified as IGNORE.
41984 * math/libm-test.inc (IGNORE_RESULT): New macro.
41985 (check_float_internal): Do not check numerical result if flag
41987 (check_complex): Pass through IGNORE_RESULT to second
41988 check_float_internal call.
41989 (check_int): Do not check numerical result if flag IGNORE_RESULT
41991 (check_long): Likewise.
41992 (check_bool): Likewise.
41993 (check_longlong): Likewise.
41994 (lrint_test_data): Add tests of infinite and NaN arguments.
41995 (lrint_tonearest_test_data): Likewise.
41996 (lrint_towardzero_test_data): Likewise.
41997 (lrint_downward_test_data): Likewise.
41998 (lrint_upward_test_data): Likewise.
41999 (llrint_test_data): Likewise.
42000 (llrint_tonearest_test_data): Likewise.
42001 (llrint_towardzero_test_data): Likewise.
42002 (llrint_downward_test_data): Likewise.
42003 (llrint_upward_test_data): Likewise.
42004 (lround_test_data): Likewise.
42005 (llround_test_data): Likewise.
42007 * math/libm-test.inc (NO_TEST_INLINE): New macro.
42008 (ERRNO_UNCHANGED): Update value.
42009 (ERRNO_EDOM): Likewise.
42010 (ERRNO_ERANGE): Likewise.
42011 (NO_TEST_INLINE_FLOAT): New macro.
42012 (NO_TEST_INLINE_DOUBLE): Likewise.
42013 (enable_test): New function.
42014 (RUN_TEST_f_f): Check enable_test before running test.
42015 (RUN_TEST_2_f): Likewise.
42016 (RUN_TEST_fff_f): Likewise.
42017 (RUN_TEST_c_f): Likewise.
42018 (RUN_TEST_f_f1): Likewise.
42019 (RUN_TEST_fF_f1): Likewise.
42020 (RUN_TEST_fI_f1): Likewise.
42021 (RUN_TEST_ffI_f1): Likewise.
42022 (RUN_TEST_c_c): Likewise.
42023 (RUN_TEST_cc_c): Likewise.
42024 (RUN_TEST_f_i): Likewise.
42025 (RUN_TEST_f_i_tg): Likewise.
42026 (RUN_TEST_ff_i_tg): Likewise.
42027 (RUN_TEST_f_b): Likewise.
42028 (RUN_TEST_f_b_tg): Likewise.
42029 (RUN_TEST_f_l): Likewise.
42030 (RUN_TEST_f_L): Likewise.
42031 (RUN_TEST_fFF_11): Likewise.
42032 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42034 (cosh_test_data): Likewise.
42035 (exp_test_data): Likewise.
42036 (expm1_test_data): Likewise.
42037 (hypot_test_data): Likewise.
42038 (pow_test_data): Likewise.
42039 (sinh_test_data): Likewise.
42040 (tanh_test_data): Likewise.
42041 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42044 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42045 tests with quiet NaN input and output.
42046 (acosh_test_data): Likewise.
42047 (asin_test_data): Likewise.
42048 (asinh_test_data): Likewise.
42049 (atan_test_data): Likewise.
42050 (atanh_test_data): Likewise.
42051 (atan2_test_data): Likewise.
42052 (cbrt_test_data): Likewise.
42053 (cos_test_data): Likewise.
42054 (cosh_test_data): Likewise.
42055 (erf_test_data): Likewise.
42056 (erfc_test_data): Likewise.
42057 (exp_test_data): Likewise.
42058 (exp10_test_data): Likewise.
42059 (exp2_test_data): Likewise.
42060 (expm1_test_data): Likewise.
42061 (hypot_test_data): Likewise.
42062 (j0_test_data): Likewise.
42063 (j1_test_data): Likewise.
42064 (jn_test_data): Likewise.
42065 (lgamma_test_data): Likewise.
42066 (log_test_data): Likewise.
42067 (log10_test_data): Likewise.
42068 (log1p_test_data): Likewise.
42069 (log2_test_data): Likewise.
42070 (pow_test_data): Likewise.
42071 (scalb_test_data): Likewise.
42072 (sin_test_data): Likewise.
42073 (sincos_test_data): Likewise.
42074 (sinh_test_data): Likewise.
42075 (tan_test_data): Likewise.
42076 (tanh_test_data): Likewise.
42077 (tgamma_test_data): Likewise.
42078 (y0_test_data): Likewise.
42079 (y1_test_data): Likewise.
42080 (yn_test_data): Likewise.
42083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42084 argument being NaN and avoid computations with second argument in
42086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42088 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42090 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
42092 * locale/iso-639.def: Add Chitwani Tharu (the).
42094 2013-11-14 Andreas Schwab <schwab@suse.de>
42096 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42097 word instead of empty string.
42099 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42102 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42104 (__fe_nomask_env): Likewise.
42106 2013-11-13 Steve Ellcey <sellcey@mips.com>
42108 * benchtests/bench-timing.h: Include time.h.
42110 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
42113 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42115 * sysdeps/unix/sysv/linux/configure: Regenerated.
42117 2013-11-13 Joseph Myers <joseph@codesourcery.com>
42120 * stdlib/strtod_l.c (round_and_return): Do not consider
42121 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42122 exponent one less than half the least subnormal exponent.
42123 * stdlib/test-strtod-round-data: Add more tests.
42124 * stdlib/tst-strtod-round.c (tests): Regenerated.
42126 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42129 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42130 (__fe_mask_env): Likewise.
42131 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42132 libm_hidden_proto and add function prototype.
42133 (__fe_mask_env): Add function prototype.
42134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42135 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42137 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42139 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42141 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42143 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42144 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42146 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42148 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42149 of htab_find_slot().
42151 2013-11-11 David S. Miller <davem@davemloft.net>
42154 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42155 symbol in the non-vis3 case in static builds.
42156 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42157 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42158 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42159 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42161 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
42164 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42167 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42169 * benchtests/Makefile: Add bench-strtod.
42170 * benchtests/bench-strtod.c: New file: strtod benchtest
42172 2013-11-11 Andreas Schwab <schwab@suse.de>
42175 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42176 terminating NUL in key length.
42178 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42181 Add artificial ODP entry for vDSO symbol for PPC64.
42182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42183 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42185 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42188 * nss/getent.c (services_keys): Recognize services starting with digit.
42190 2013-11-06 David S. Miller <davem@davemloft.net>
42193 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42194 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42196 2013-11-06 Will Newton <will.newton@linaro.org>
42198 * manual/memory.texi (Malloc Examples): Remove register
42199 keyword from examples.
42201 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
42203 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42205 2013-11-04 Joseph Myers <joseph@codesourcery.com>
42208 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42209 depending on [__GCC_IEC_559 > 0].
42210 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42211 depending on [__GCC_IEC_559_COMPLEX > 0].
42213 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
42215 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42218 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
42220 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42222 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
42225 * malloc/malloc (malloc_info): Do not handle first bin as
42228 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
42230 * locale/iso-639.def: Add Central Nahuatl (nhn).
42232 2013-11-01 Bruno Haible <bruno@clisp.org>
42235 * manual/math.texi (BSD Random): Specify range upper bound as
42238 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
42240 * locale/iso-639.def: Add Meadow Mari (mhr).
42242 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
42244 [BZ #14752], [BZ #15763]
42245 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42247 * rt/tst_shm.c: Add test for escaping directory.
42249 2013-10-31 Andreas Schwab <schwab@suse.de>
42252 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42253 followed by 'x' as part of digit sequence.
42254 * stdio-common/tst-sscanf.c (double_tests2): New tests.
42256 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42259 * configure.ac: allow GNU Make 4.0 and greater.
42260 * configure: Regenerated.
42262 2013-10-30 Will Newton <will.newton@linaro.org>
42265 * malloc/hooks.c (memalign_check): Limit alignment to the
42266 maximum representable power of two.
42267 * malloc/malloc.c (__libc_memalign): Likewise.
42268 * malloc/tst-memalign.c (do_test): Add test for very
42269 large alignment values.
42270 * malloc/tst-posix_memalign.c (do_test): Likewise.
42272 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42275 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42276 (munmap_chunk): Likewise.
42277 (mremap_chunk): Likewise.
42279 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42282 * stdlib/div.c (div): Remove obsolete code.
42283 * stdlib/ldiv.c (ldiv): Likewise.
42284 * stdlib/lldiv.c (lldiv): Likewise.
42286 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42289 * nss/nss_files/files-XXX.c (get_contents_ret): New
42291 (get_contents): New function.
42292 (internal_getent): Use it. Expand size of LINEBUFLEN.
42294 2013-10-30 Mike Frysinger <vapier@gentoo.org>
42296 * configure.in: Moved to ...
42297 * configure.ac: ... here. Change reference to configure.in
42299 * sysdeps/arm/preconfigure.ac: ... here.
42300 configure.in to configure.ac.
42301 * sysdeps/gnu/configure.in: Moved to ...
42302 * sysdeps/gnu/configure.ac: ... here.
42303 * sysdeps/i386/configure.in: Moved to ...
42304 * sysdeps/i386/configure.ac: ... here.
42305 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42306 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42307 * sysdeps/mach/configure.in: Moved to ...
42308 * sysdeps/mach/configure.ac: ... here.
42309 * sysdeps/mach/hurd/configure.in: Moved to ...
42310 * sysdeps/mach/hurd/configure.ac: ... here.
42311 * sysdeps/powerpc/configure.in: Moved to ...
42312 * sysdeps/powerpc/configure.ac: ... here.
42313 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42314 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42315 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42316 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42317 * sysdeps/s390/s390-32/configure.in: Moved to ...
42318 * sysdeps/s390/s390-32/configure.ac: ... here.
42319 * sysdeps/s390/s390-64/configure.in: Moved to ...
42320 * sysdeps/s390/s390-64/configure.ac: ... here.
42321 * sysdeps/sh/configure.in: Moved to ...
42322 * sysdeps/sh/configure.ac: ... here.
42323 * sysdeps/sparc/configure.in: Moved to ...
42324 * sysdeps/sparc/configure.ac: ... here.
42325 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42326 * sysdeps/unix/sysv/linux/configure.ac: ... here.
42327 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42328 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42329 * sysdeps/x86_64/configure.in: Moved to ...
42330 * sysdeps/x86_64/configure.ac: ... here.
42331 * sysdeps/x86_64/preconfigure.in: Moved to ...
42332 * sysdeps/x86_64/preconfigure.ac: ... here.
42333 * aclocal.m4: Change reference to configure.in to configure.ac.
42334 * config.h.in: Likewise.
42335 * manual/install.texi: Likewise.
42336 * manual/maint.texi: Likewise.
42337 * Makefile: Likewise.
42338 * malloc/Makefile: Likewise.
42339 * nscd/Makefile: Likewise.
42340 * Makeconfig: Change reference to configure.in and
42341 preconfigure.in to configure.ac and preconfigure.ac
42343 * INSTALL: Regenerated.
42344 * configure: Likewise.
42345 * sysdeps/gnu/configure: Likewise.
42346 * sysdeps/i386/configure: Likewise.
42347 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42348 * sysdeps/mach/configure: Likewise.
42349 * sysdeps/mach/hurd/configure: Likewise.
42350 * sysdeps/powerpc/configure: Likewise.
42351 * sysdeps/powerpc/powerpc32/configure: Likewise.
42352 * sysdeps/powerpc/powerpc64/configure: Likewise.
42353 * sysdeps/s390/s390-32/configure: Likewise.
42354 * sysdeps/s390/s390-64/configure: Likewise.
42355 * sysdeps/sh/configure: Likewise.
42356 * sysdeps/sparc/configure: Likewise.
42357 * sysdeps/unix/sysv/linux/configure: Likewise.
42358 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42359 * sysdeps/x86_64/configure: Likewise.
42360 * sysdeps/x86_64/preconfigure: Likewise.
42362 2013-10-29 Andreas Schwab <schwab@suse.de>
42364 * stdio-common/Makefile (tst-swscanf-ENV): Define.
42366 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42368 * benchtests/pow-inputs: Add new inputs.
42370 * benchtests/exp-inputs: Add new inputs.
42372 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42373 conditional check for return value.
42374 (__cos32): Likewise.
42376 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42378 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42379 to provide a boost for large inputs with word alignment.
42380 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42381 implementation based on optimized PPC64 strcpy.
42382 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42383 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42384 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42385 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42387 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42390 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42392 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42395 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42396 * time/tst-strptime.c (day_tests): Add testcase.
42398 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42401 * manual/pattern.texi: Acknowledge that fnmatch can fail.
42403 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
42406 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42407 MAP_FAILED on error.
42409 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42412 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42413 heap for large requests.
42415 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
42418 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42419 result if the result has no associated interface.
42420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42421 interface for all 127.X.Y.Z addresses.
42423 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
42425 * locale/iso-639.def: Add Ligurian (lij)
42427 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
42430 * sunrpc/rpc_main.c: Document rpcgen -5.
42432 2013-10-19 Michael Stahl <mstahl@redhat.com>
42434 * elf/rtld.c (do_preload): Print the reason why preloading failed.
42436 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
42439 * posix/glob.c: Match only directories when trailing slash is present.
42440 * posix/tst-gnuglob.c (my_opendir): Do not open files.
42441 (main): Add testcase.
42443 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
42446 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42448 2013-10-18 Carlos O'Donell <carlos@redhat.com>
42450 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42451 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42452 AUTH_DES and cindex for FIPS 140-2.
42453 (DES Encryption): Add cindex FIPS 46-3.
42455 * locale/locarchive.h (struct locarhandle): Add fname.
42456 * locale/programs/localedef.c (main): Pass ARGV[remaining]
42457 if an optional argument was specified to --list-archive,
42459 * locale/programs/locarchive.c (show_archive_content): Take new
42460 argument fname and pass it via ah.fname to open_archive.
42461 * locale/programs/localedef.h: Update decl.
42462 (open_archive): If AH->fname is non-null, open that file
42463 rather than the default file name, and don't ignore ENOENT.
42464 (create_archive): Set AH.fname to NULL.
42465 (delete_locales_from_archive): Likewise.
42466 (add_locales_to_archive): Likewise.
42467 * locale/programs/locfile.c (write_all_categories): Likewise.
42469 2013-10-18 Joseph Myers <joseph@codesourcery.com>
42470 Aldy Hernandez <aldyh@redhat.com>
42472 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42473 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42474 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42475 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42476 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42477 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42478 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42479 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42480 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42481 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42482 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42483 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42484 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42485 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42486 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42488 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42490 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42492 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42494 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42495 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42497 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42498 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42499 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42500 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42502 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42503 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42504 * sysdeps/powerpc/preconfigure: Likewise.
42505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42507 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42508 Replace contents of file by #include of <fenv_libc.h>.
42509 * sysdeps/powerpc/soft-fp/sfp-machine.h
42510 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42512 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42525 Allow copysignl PLT reference to be missing.
42527 2013-10-18 Richard Sandiford <richard@codesourcery.com>
42528 Joseph Myers <joseph@codesourcery.com
42531 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42533 (add_to_tablewc): Assert sequence of wide characters is nonempty.
42535 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42537 * elf/tst-tls-dlinfo.c: Don't include tls.h.
42538 * elf/tst-tls1.c: Likewise.
42539 * elf/tst-tls10.h: Likewise.
42540 * elf/tst-tls14.c: Likewise.
42541 * elf/tst-tls2.c: Likewise.
42542 * elf/tst-tls3.c: Likewise.
42543 * elf/tst-tls4.c: Likewise.
42544 * elf/tst-tls5.c: Likewise.
42545 * elf/tst-tls6.c: Likewise.
42546 * elf/tst-tls7.c: Likewise.
42547 * elf/tst-tls8.c: Likewise.
42548 * elf/tst-tls9.c: Likewise.
42549 * elf/tst-tlsmod1.c: Likewise.
42550 * elf/tst-tlsmod13.c: Likewise.
42551 * elf/tst-tlsmod13a.c: Likewise.
42552 * elf/tst-tlsmod14a.c: Likewise.
42553 * elf/tst-tlsmod16a.c: Likewise.
42554 * elf/tst-tlsmod16b.c: Likewise.
42555 * elf/tst-tlsmod2.c: Likewise.
42556 * elf/tst-tlsmod3.c: Likewise.
42557 * elf/tst-tlsmod4.c: Likewise.
42558 * elf/tst-tlsmod5.c: Likewise.
42559 * elf/tst-tlsmod6.c: Likewise.
42561 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
42564 * malloc/malloc.c: remove checks for statistics.
42566 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
42569 * inet/inet_net.c (inet_network): Detect additional invalid strings.
42570 * inet/tst-network.c: Add testcase.
42572 2013-10-17 Andreas Schwab <schwab@suse.de>
42575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42576 to determine canonical name.
42578 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
42580 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42581 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42588 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42604 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42624 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42627 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42634 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42635 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42639 2013-10-17 Joseph Myers <joseph@codesourcery.com>
42642 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42643 make result into a quiet NaN.
42645 2013-10-16 Joseph Myers <joseph@codesourcery.com>
42647 * soft-fp/adddf3.c: Fix horizontal whitespace.
42648 * soft-fp/addsf3.c: Likewise.
42649 * soft-fp/addtf3.c: Likewise.
42650 * soft-fp/divdf3.c: Likewise.
42651 * soft-fp/divsf3.c: Likewise.
42652 * soft-fp/divtf3.c: Likewise.
42653 * soft-fp/double.h: Likewise.
42654 * soft-fp/eqdf2.c: Likewise.
42655 * soft-fp/eqsf2.c: Likewise.
42656 * soft-fp/eqtf2.c: Likewise.
42657 * soft-fp/extenddftf2.c: Likewise.
42658 * soft-fp/extended.h: Likewise.
42659 * soft-fp/extendsfdf2.c: Likewise.
42660 * soft-fp/extendsftf2.c: Likewise.
42661 * soft-fp/extendxftf2.c: Likewise.
42662 * soft-fp/fixdfdi.c: Likewise.
42663 * soft-fp/fixdfsi.c: Likewise.
42664 * soft-fp/fixdfti.c: Likewise.
42665 * soft-fp/fixsfdi.c: Likewise.
42666 * soft-fp/fixsfsi.c: Likewise.
42667 * soft-fp/fixsfti.c: Likewise.
42668 * soft-fp/fixtfdi.c: Likewise.
42669 * soft-fp/fixtfsi.c: Likewise.
42670 * soft-fp/fixtfti.c: Likewise.
42671 * soft-fp/fixunsdfdi.c: Likewise.
42672 * soft-fp/fixunsdfsi.c: Likewise.
42673 * soft-fp/fixunsdfti.c: Likewise.
42674 * soft-fp/fixunssfdi.c: Likewise.
42675 * soft-fp/fixunssfsi.c: Likewise.
42676 * soft-fp/fixunssfti.c: Likewise.
42677 * soft-fp/fixunstfdi.c: Likewise.
42678 * soft-fp/fixunstfsi.c: Likewise.
42679 * soft-fp/fixunstfti.c: Likewise.
42680 * soft-fp/floatdidf.c: Likewise.
42681 * soft-fp/floatdisf.c: Likewise.
42682 * soft-fp/floatditf.c: Likewise.
42683 * soft-fp/floatsidf.c: Likewise.
42684 * soft-fp/floatsisf.c: Likewise.
42685 * soft-fp/floatsitf.c: Likewise.
42686 * soft-fp/floattidf.c: Likewise.
42687 * soft-fp/floattisf.c: Likewise.
42688 * soft-fp/floattitf.c: Likewise.
42689 * soft-fp/floatundidf.c: Likewise.
42690 * soft-fp/floatundisf.c: Likewise.
42691 * soft-fp/floatunditf.c: Likewise.
42692 * soft-fp/floatunsidf.c: Likewise.
42693 * soft-fp/floatunsisf.c: Likewise.
42694 * soft-fp/floatunsitf.c: Likewise.
42695 * soft-fp/floatuntidf.c: Likewise.
42696 * soft-fp/floatuntisf.c: Likewise.
42697 * soft-fp/floatuntitf.c: Likewise.
42698 * soft-fp/fmadf4.c: Likewise.
42699 * soft-fp/fmasf4.c: Likewise.
42700 * soft-fp/fmatf4.c: Likewise.
42701 * soft-fp/gedf2.c: Likewise.
42702 * soft-fp/gesf2.c: Likewise.
42703 * soft-fp/getf2.c: Likewise.
42704 * soft-fp/ledf2.c: Likewise.
42705 * soft-fp/lesf2.c: Likewise.
42706 * soft-fp/letf2.c: Likewise.
42707 * soft-fp/muldf3.c: Likewise.
42708 * soft-fp/mulsf3.c: Likewise.
42709 * soft-fp/multf3.c: Likewise.
42710 * soft-fp/negdf2.c: Likewise.
42711 * soft-fp/negsf2.c: Likewise.
42712 * soft-fp/negtf2.c: Likewise.
42713 * soft-fp/op-1.h: Likewise.
42714 * soft-fp/op-2.h: Likewise.
42715 * soft-fp/op-4.h: Likewise.
42716 * soft-fp/op-8.h: Likewise.
42717 * soft-fp/op-common.h: Likewise.
42718 * soft-fp/quad.h: Likewise.
42719 * soft-fp/single.h: Likewise.
42720 * soft-fp/soft-fp.h: Likewise.
42721 * soft-fp/sqrtdf2.c: Likewise.
42722 * soft-fp/sqrtsf2.c: Likewise.
42723 * soft-fp/sqrttf2.c: Likewise.
42724 * soft-fp/subdf3.c: Likewise.
42725 * soft-fp/subsf3.c: Likewise.
42726 * soft-fp/subtf3.c: Likewise.
42727 * soft-fp/truncdfsf2.c: Likewise.
42728 * soft-fp/trunctfdf2.c: Likewise.
42729 * soft-fp/trunctfsf2.c: Likewise.
42730 * soft-fp/trunctfxf2.c: Likewise.
42731 * soft-fp/unorddf2.c: Likewise.
42732 * soft-fp/unordsf2.c: Likewise.
42733 * soft-fp/unordtf2.c: Likewise.
42735 2013-10-15 Joseph Myers <joseph@codesourcery.com>
42737 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42738 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42740 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
42742 * elf/dl-libc.c: Clear initfini list after freeing.
42744 2013-10-14 Joseph Myers <joseph@codesourcery.com>
42746 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42747 * soft-fp/addsf3.c: Likewise.
42748 * soft-fp/addtf3.c: Likewise.
42749 * soft-fp/divdf3.c: Likewise.
42750 * soft-fp/divsf3.c: Likewise.
42751 * soft-fp/divtf3.c: Likewise.
42752 * soft-fp/double.h: Likewise.
42753 * soft-fp/eqdf2.c: Likewise.
42754 * soft-fp/eqsf2.c: Likewise.
42755 * soft-fp/eqtf2.c: Likewise.
42756 * soft-fp/extenddftf2.c: Likewise.
42757 * soft-fp/extended.h: Likewise.
42758 * soft-fp/extendsfdf2.c: Likewise.
42759 * soft-fp/extendsftf2.c: Likewise.
42760 * soft-fp/extendxftf2.c: Likewise.
42761 * soft-fp/fixdfdi.c: Likewise.
42762 * soft-fp/fixdfsi.c: Likewise.
42763 * soft-fp/fixdfti.c: Likewise.
42764 * soft-fp/fixsfdi.c: Likewise.
42765 * soft-fp/fixsfsi.c: Likewise.
42766 * soft-fp/fixsfti.c: Likewise.
42767 * soft-fp/fixtfdi.c: Likewise.
42768 * soft-fp/fixtfsi.c: Likewise.
42769 * soft-fp/fixtfti.c: Likewise.
42770 * soft-fp/fixunsdfdi.c: Likewise.
42771 * soft-fp/fixunsdfsi.c: Likewise.
42772 * soft-fp/fixunsdfti.c: Likewise.
42773 * soft-fp/fixunssfdi.c: Likewise.
42774 * soft-fp/fixunssfsi.c: Likewise.
42775 * soft-fp/fixunssfti.c: Likewise.
42776 * soft-fp/fixunstfdi.c: Likewise.
42777 * soft-fp/fixunstfsi.c: Likewise.
42778 * soft-fp/fixunstfti.c: Likewise.
42779 * soft-fp/floatdidf.c: Likewise.
42780 * soft-fp/floatdisf.c: Likewise.
42781 * soft-fp/floatditf.c: Likewise.
42782 * soft-fp/floatsidf.c: Likewise.
42783 * soft-fp/floatsisf.c: Likewise.
42784 * soft-fp/floatsitf.c: Likewise.
42785 * soft-fp/floattidf.c: Likewise.
42786 * soft-fp/floattisf.c: Likewise.
42787 * soft-fp/floattitf.c: Likewise.
42788 * soft-fp/floatundidf.c: Likewise.
42789 * soft-fp/floatundisf.c: Likewise.
42790 * soft-fp/floatunsidf.c: Likewise.
42791 * soft-fp/floatunsisf.c: Likewise.
42792 * soft-fp/floatuntidf.c: Likewise.
42793 * soft-fp/floatuntisf.c: Likewise.
42794 * soft-fp/floatuntitf.c: Likewise.
42795 * soft-fp/fmadf4.c: Likewise.
42796 * soft-fp/fmasf4.c: Likewise.
42797 * soft-fp/fmatf4.c: Likewise.
42798 * soft-fp/gedf2.c: Likewise.
42799 * soft-fp/gesf2.c: Likewise.
42800 * soft-fp/getf2.c: Likewise.
42801 * soft-fp/ledf2.c: Likewise.
42802 * soft-fp/lesf2.c: Likewise.
42803 * soft-fp/letf2.c: Likewise.
42804 * soft-fp/muldf3.c: Likewise.
42805 * soft-fp/mulsf3.c: Likewise.
42806 * soft-fp/multf3.c: Likewise.
42807 * soft-fp/negdf2.c: Likewise.
42808 * soft-fp/negsf2.c: Likewise.
42809 * soft-fp/negtf2.c: Likewise.
42810 * soft-fp/op-1.h: Likewise.
42811 * soft-fp/op-2.h: Likewise.
42812 * soft-fp/op-4.h: Likewise.
42813 * soft-fp/op-8.h: Likewise.
42814 * soft-fp/op-common.h: Likewise.
42815 * soft-fp/quad.h: Likewise.
42816 * soft-fp/single.h: Likewise.
42817 * soft-fp/soft-fp.h: Likewise.
42818 * soft-fp/sqrtdf2.c: Likewise.
42819 * soft-fp/sqrtsf2.c: Likewise.
42820 * soft-fp/sqrttf2.c: Likewise.
42821 * soft-fp/subdf3.c: Likewise.
42822 * soft-fp/subsf3.c: Likewise.
42823 * soft-fp/subtf3.c: Likewise.
42824 * soft-fp/truncdfsf2.c: Likewise.
42825 * soft-fp/trunctfdf2.c: Likewise.
42826 * soft-fp/trunctfsf2.c: Likewise.
42827 * soft-fp/trunctfxf2.c: Likewise.
42828 * soft-fp/unorddf2.c: Likewise.
42829 * soft-fp/unordsf2.c: Likewise.
42830 * soft-fp/unordtf2.c: Likewise.
42832 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
42835 * misc/error.c (error_tail): Fix possible buffer overflow.
42837 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
42840 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42843 2013-10-14 P. J. McDermott <pj@pehjota.net>
42846 * elf/ldd.bash.in (try_trace): New function. Delete previous code
42847 testing pipefail option.
42849 2013-10-12 Joseph Myers <joseph@codesourcery.com>
42851 * soft-fp/double.h: Indent preprocessor directives inside #if.
42852 * soft-fp/extended.h: Likewise.
42853 * soft-fp/op-2.h: Likewise.
42854 * soft-fp/op-4.h: Likewise.
42855 * soft-fp/op-common.h: Likewise.
42856 * soft-fp/quad.h: Likewise.
42857 * soft-fp/single.h: Likewise.
42858 * soft-fp/soft-fp.h: Likewise.
42860 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
42862 * iconv/iconv_prog.c: Fix typos.
42863 * stdio-common/psiginfo-data.h: Likewise.
42865 2013-10-12 Reuben Thomas <rrt@sc3d.org>
42868 * locale/setlocale.c: Fix typo.
42870 2013-10-12 Joseph Myers <joseph@codesourcery.com>
42873 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42874 signaling NaN arguments.
42875 * soft-fp/unordsf2.c (__unordsf2): Likewise.
42876 * soft-fp/unordtf2.c (__unordtf2): Likewise.
42879 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42880 unordered operands.
42881 * soft-fp/gesf2.c (__gesf2): Likewise.
42882 * soft-fp/getf2.c (__getf2): Likewise.
42883 * soft-fp/ledf2.c (__ledf2): Likewise.
42884 * soft-fp/lesf2.c (__lesf2): Likewise.
42885 * soft-fp/letf2.c (__letf2): Likewise.
42887 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42888 * soft-fp/eqsf2.c (__eqsf2): Likewise.
42889 * soft-fp/eqtf2.c (__eqtf2): Likewise.
42890 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42891 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42892 * soft-fp/fixdfti.c (__fixdfti): Likewise.
42893 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42894 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42895 * soft-fp/fixsfti.c (__fixsfti): Likewise.
42896 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42897 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42898 * soft-fp/fixtfti.c (__fixtfti): Likewise.
42899 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42900 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42901 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42902 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42903 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42904 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42905 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42906 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42907 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42908 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42909 * soft-fp/floatdisf.c (__floatdisf): Likewise.
42910 * soft-fp/floatsisf.c (__floatsisf): Likewise.
42911 * soft-fp/floattidf.c (__floattidf): Likewise.
42912 * soft-fp/floattisf.c (__floattisf): Likewise.
42913 * soft-fp/floattitf.c (__floattitf): Likewise.
42914 * soft-fp/floatundidf.c (__floatundidf): Likewise.
42915 * soft-fp/floatundisf.c (__floatundisf): Likewise.
42916 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42917 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42918 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42919 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42920 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42921 * soft-fp/gesf2.c (__gesf2): Likewise.
42922 * soft-fp/getf2.c (__getf2): Likewise.
42923 * soft-fp/ledf2.c (__ledf2): Likewise.
42924 * soft-fp/lesf2.c (__lesf2): Likewise.
42925 * soft-fp/letf2.c (__letf2): Likewise.
42927 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42928 Undefine and redefine.
42929 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42930 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42931 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42932 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42933 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42934 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42935 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42936 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42937 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42938 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42939 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42940 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42941 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42942 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42943 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42946 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42947 without decrementing exponent if mantissa >= that for the
42948 denominator, not >.
42949 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42950 denominator, not >. Decrement exponent in < case instead of
42951 incrementing in >= case.
42952 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42953 without decrementing exponent if mantissa >= that for the
42954 denominator, not >.
42956 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42957 computing saturated result for unsigned overflow.
42959 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42960 Jeff Law <law@redhat.com>
42962 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42963 (atan2Mp): Add systemtap probe marker.
42964 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42965 (__ieee754_log): Add systemtap probe marker.
42966 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42967 (atanMp): Add systemtap probe marker.
42968 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42969 (tanMp): Add systemtap probe marker.
42970 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42971 (__slowexp): Add systemtap probe marker.
42972 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42973 (__slowpow): Add systemtap probe marker.
42974 * manual/probes.texi: Document probes.
42976 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
42979 * libio/fileops.c (_IO_new_file_write): Return count of bytes
42981 (_IO_new_file_xsputn): Don't return EOF if nothing has been
42983 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42984 written to buffer but not flushed.
42985 * libio/iofwrite_u.c: Likewise.
42986 * libio/iopadn.c: Return bytes returned even if EOF was
42988 * libio/iowpadn.c: Likewise.
42989 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42990 if _IO_padn does not write the whole buffer.
42991 [!COMPILE_WPRINTF] (PAD): Likewise.
42993 2013-10-10 David S. Miller <davem@davemloft.net>
42995 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42998 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43000 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
43001 instead of FSF address.
43002 * soft-fp/fixdfti.c: Likewise.
43003 * soft-fp/fixsfti.c: Likewise.
43004 * soft-fp/fixtfti.c: Likewise.
43005 * soft-fp/fixunsdfti.c: Likewise.
43006 * soft-fp/fixunssfti.c: Likewise.
43007 * soft-fp/fixunstfti.c: Likewise.
43008 * soft-fp/floattidf.c: Likewise.
43009 * soft-fp/floattisf.c: Likewise.
43010 * soft-fp/floattitf.c: Likewise.
43011 * soft-fp/floatuntidf.c: Likewise.
43012 * soft-fp/floatuntisf.c: Likewise.
43013 * soft-fp/floatuntitf.c: Likewise.
43014 * soft-fp/trunctfxf2.c: Likewise.
43016 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
43017 * soft-fp/fixdfti.c: Likewise.
43018 * soft-fp/fixsfti.c: Likewise.
43019 * soft-fp/fixtfti.c: Likewise.
43020 * soft-fp/fixunsdfti.c: Likewise.
43021 * soft-fp/fixunssfti.c: Likewise.
43022 * soft-fp/fixunstfti.c: Likewise.
43023 * soft-fp/floattidf.c: Likewise.
43024 * soft-fp/floattisf.c: Likewise.
43025 * soft-fp/floattitf.c: Likewise.
43026 * soft-fp/floatuntidf.c: Likewise.
43027 * soft-fp/floatuntisf.c: Likewise.
43028 * soft-fp/floatuntitf.c: Likewise.
43029 * soft-fp/trunctfxf2.c: Likewise.
43031 2013-10-10 David S. Miller <davem@davemloft.net>
43033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43035 2013-10-10 Joseph Myers <joseph@codsourcery.com>
43037 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43038 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43039 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43040 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43041 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43042 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43043 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43046 for NaNs before doing comparisons on argument.
43047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43050 2013-10-10 Will Newton <will.newton@linaro.org>
43052 * malloc/hooks.c (memalign_check): Ensure the value of bytes
43053 passed to _int_memalign does not overflow.
43055 2013-10-10 Torvald Riegel <triegel@redhat.com>
43057 * scripts/bench.pl: Add include-sources directive.
43058 * benchtests/README: Update documentation.
43060 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43062 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43063 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43064 instead of FP_INIT_ROUNDMODE.
43065 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43066 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43069 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
43070 copy class of input value.
43071 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
43072 not handle exceptions.
43073 * soft-fp/negsf2.c (__negsf2): Likewise.
43074 * soft-fp/negtf2.c (__negtf2): Likewise.
43075 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43077 2013-10-09 Joseph Myers <joseph@codesourcery.com>
43079 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43080 semicolon. From Linux kernel.
43082 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
43084 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43086 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
43089 * manual/socket.texi: Added statement about buffer
43090 for gethostbyname2_r.
43092 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
43094 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43095 Use .p2align directive instead, throughout.
43096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43097 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43098 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43101 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43102 * sysdeps/x86_64/strchr.S: Likewise.
43103 * sysdeps/x86_64/strrchr.S: Likewise.
43105 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43107 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43109 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43111 * sysdeps/generic/math_private.h (__mpsin1): Remove
43113 (__mpcos1): Likewise.
43114 (__mpsin): New argument __range_reduce.
43115 (__mpcos): Likewise.
43116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43117 (slow): Use __mpsin and __mpcos.
43121 (sloww1): Likewise.
43122 (sloww2): Likewise.
43123 (bsloww): Likewise.
43124 (bsloww1): Likewise.
43125 (bsloww2): Likewise.
43126 (cslow2): Likewise.
43127 (csloww): Likewise.
43128 (csloww1): Likewise.
43129 (csloww2): Likewise.
43130 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43131 range_reduce. Merge in __mpsin1.
43132 (__mpcos): Likewise.
43133 (__mpsin1): Remove.
43134 (__mpcos1): Likewise.
43136 2013-10-07 Joseph Myers <joseph@codesourcery.com>
43138 * locale/loadlocale.c (_nl_intern_locale_data): Use
43140 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43141 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43142 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43143 obstack data is appropriately aligned.
43144 (obstack_int32_grow_fast): Likewise.
43145 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43146 * locale/programs/locfile.c (add_locale_uint32): Likewise.
43147 (add_locale_uint32_array): Likewise.
43149 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43151 * benchtests/Makefile: Remove ARGLIST and RET variables.
43152 ($(objpfx)bench-%.c): Pass only function name to the script.
43153 * benchtests/README: Update documentation.
43154 * benchtests/acos-inputs: Add new directives.
43155 * benchtests/acosh-inputs: Likewise.
43156 * benchtests/asin-inputs: Likewise.
43157 * benchtests/asinh-inputs: Likewise.
43158 * benchtests/atan-inputs: Likewise.
43159 * benchtests/atanh-inputs: Likewise.
43160 * benchtests/cos-inputs: Likewise.
43161 * benchtests/cosh-inputs: Likewise.
43162 * benchtests/exp-inputs: Likewise.
43163 * benchtests/log-inputs: Likewise.
43164 * benchtests/pow-inputs: Likewise.
43165 * benchtests/rint-inputs: Likewise.
43166 * benchtests/sin-inputs: Likewise.
43167 * benchtests/sinh-inputs: Likewise.
43168 * benchtests/tan-inputs: Likewise.
43169 * benchtests/tanh-inputs: Likewise.
43170 * scripts/bench.pl: Add support for new directives.
43172 2013-10-07 Alan Modra <amodra@gmail.com>
43174 * README: Fix careless merge.
43176 2013-10-05 Alan Modra <amodra@gmail.com>
43178 * NEWS: Mention powerpc64le support and bugs fixed.
43179 * README: Both big-endian and little-endian powerpc64 supported.
43181 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43183 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43184 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43185 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43186 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43188 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
43190 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43193 2013-10-04 Joseph Myers <joseph@codesourcery.com>
43195 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43196 Move -mhard-float appending from
43197 ports/sysdeps/powerpc/powerpc32/Makefile.
43198 [$(with-fp) = yes] (ASFLAGS): Likewise.
43199 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43200 * sysdeps/powerpc/nofpu: Move directory from
43201 ports/sysdeps/powerpc/nofpu.
43202 * sysdeps/powerpc/soft-fp: Move directory from
43203 ports/sysdeps/powerpc/soft-fp.
43204 * sysdeps/powerpc/powerpc32/405: Move directory from
43205 ports/sysdeps/powerpc/powerpc32/405.
43206 * sysdeps/powerpc/powerpc32/440: Move directory from
43207 ports/sysdeps/powerpc/powerpc32/440.
43208 * sysdeps/powerpc/powerpc32/464: Move directory from
43209 ports/sysdeps/powerpc/powerpc32/464.
43210 * sysdeps/powerpc/powerpc32/476: Move directory from
43211 ports/sysdeps/powerpc/powerpc32/476.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43213 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43215 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43217 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43219 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43221 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43222 * README: Update for powerpc-*-linux-gnu software floating point
43225 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43226 case to powerpc/powerpc32*.
43227 * sysdeps/unix/sysv/linux/configure: Regenerated.
43229 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43230 (_FPU_MASK_OM): Define as 0x04.
43231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43239 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43242 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43245 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43246 and setcontext_e500.
43248 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
43250 * locale/iso-3166.def: Update iso-1366.def and related occurrences
43252 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43254 * manual/threads.texi (Default Thread Attributes): Fix typo.
43256 2013-10-04 Will Newton <will.newton@linaro.org>
43258 * malloc/Makefile: Add tst-memalign.
43259 * malloc/tst-memalign.c: New file.
43261 * malloc/tst-posix_memalign.c: Add comments.
43262 (do_test): Add comments and call free on all potentially
43263 allocated pointers. Add space after cast.
43265 * malloc/tst-pvalloc.c: Add comments.
43266 (do_test): Add comments and call free on all potentially
43267 allocated pointers. Remove duplicate check for NULL pointer.
43268 Add space after cast.
43270 * malloc/tst-valloc.c: Add comments.
43271 (do_test): Add comments and call free on all potentially
43272 allocated pointers. Remove duplicate check for NULL pointer.
43273 Add space after cast.
43275 2013-10-04 Alan Modra <amodra@gmail.com>
43277 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43278 Use stdint types in rather than __attribute__((mode())).
43279 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43281 2013-10-04 Alan Modra <amodra@gmail.com>
43283 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43284 Correct handling of unaligned relocs for little-endian.
43285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43287 2013-10-04 Alan Modra <amodra@gmail.com>
43289 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43290 * configure: Regenerate.
43291 * nptl/shlib-versions: Powerpc*le starts at 2.18.
43292 * shlib-versions: Likewise.
43294 2013-10-04 Alan Modra <amodra@gmail.com>
43296 * string/tester.c (test_memrchr): Increment reported test cycle.
43298 2013-10-04 Alan Modra <amodra@gmail.com>
43300 * string/test-memcpy.c (do_one_test): When reporting errors, print
43301 string address and don't overrun end of string.
43303 2013-10-04 Alan Modra <amodra@gmail.com>
43305 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43306 insrdi. Make better use of reg selection to speed exit slightly.
43307 Schedule entry path a little better. Remove useless "are we done"
43308 checks on entry to main loop. Handle wrapping around zero address.
43309 Correct main loop count. Handle single left-over word from main
43310 loop inline rather than by using loop_small. Remove extra word
43311 case in loop_small caused by wrong loop count. Add little-endian
43313 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43314 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
43316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43317 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43318 support. Avoid rlwimi.
43319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43321 2013-10-04 Alan Modra <amodra@gmail.com>
43323 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43324 insrdi. Formatting.
43325 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43326 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43327 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43328 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43329 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43330 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43332 2013-10-04 Alan Modra <amodra@gmail.com>
43334 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43338 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
43343 use of regs. Use power7 mtocrf. Tidy function tails.
43345 2013-10-04 Alan Modra <amodra@gmail.com>
43347 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43348 Formatting. Consistently use rXXX register defines or rN defines.
43349 Use early exit labels that avoid restoring unused non-volatile regs.
43350 Make cr field use more consistent with rWORDn compares. Rename
43351 regs used as shift registers for unaligned loop, using rN defines
43352 for short lifetime/multiple use regs.
43353 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43354 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
43355 addi 1,1,64 to pop stack frame. Simplify return value code.
43356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43358 2013-10-04 Alan Modra <amodra@gmail.com>
43360 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43361 support. Correct typos, formatting. Optimize tail. Use insrdi
43362 rather than rlwimi.
43363 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43364 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43365 little-endian support. Correct typos.
43366 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
43367 rather than rlwimi.
43368 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
43369 in loop and entry code to keep "and." results.
43370 (strchr): Add little-endian support. Comment. Move cntlzd
43372 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43374 2013-10-04 Alan Modra <amodra@gmail.com>
43376 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43377 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43378 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43379 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43381 2013-10-04 Alan Modra <amodra@gmail.com>
43383 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43384 (rTMP): Define as r11.
43385 (strcmp): Add little-endian support. Optimise tail.
43386 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43388 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43394 2013-10-04 Alan Modra <amodra@gmail.com>
43396 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43397 little-endian support. Remove unnecessary "are we done" tests.
43398 Handle "s" wrapping around zero and extremely large "size".
43399 Correct main loop count. Handle single left-over word from main
43400 loop inline rather than by using small_loop. Correct comments.
43401 Delete "zero" tail, use "end_max" instead.
43402 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43404 2013-10-04 Alan Modra <amodra@gmail.com>
43406 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43407 support. Don't branch over align.
43408 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43409 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43410 support. Rearrange tmp reg use to suit. Comment.
43411 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43413 2013-10-04 Alan Modra <amodra@gmail.com>
43415 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43417 2013-10-04 Alan Modra <amodra@gmail.com>
43419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43420 conditional form of branch and link when obtaining pc.
43421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43423 2013-10-04 Alan Modra <amodra@gmail.com>
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43430 2013-10-04 Alan Modra <amodra@gmail.com>
43432 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43433 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43434 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43435 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43436 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43437 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43438 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43439 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43440 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43441 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43443 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43444 Alistair Popple <alistair@ozlabs.au.ibm.com>
43445 Alan Modra <amodra@gmail.com>
43448 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43450 _dl_hwcap access for little-endian.
43451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
43452 destroy vmx regs when saving unaligned.
43453 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43454 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
43455 destroy vmx regs when saving unaligned.
43457 2013-10-04 Alan Modra <amodra@gmail.com>
43459 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43460 Don't use a union to pack hi/low value.
43462 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43464 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43466 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43467 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43468 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43469 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43470 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43472 2013-10-04 Alan Modra <amodra@gmail.com>
43474 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43475 constants to usual value for .cst8 section, and remove redundant
43477 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43478 constant for 0x1p52. Load little-endian words of double from
43479 correct stack offsets.
43481 2013-10-04 Alan Modra <amodra@gmail.com>
43483 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43484 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43485 words of double from correct stack offsets.
43486 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43487 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43488 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43490 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43492 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43493 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43494 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43497 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43498 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43499 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43500 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43501 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43502 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43504 2013-10-04 Alan Modra <amodra@gmail.com>
43506 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43507 64-bit int/double union.
43508 (_FPU_SETCW): Likewise.
43509 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43510 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43512 2013-10-04 Alan Modra <amodra@gmail.com>
43514 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43515 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43517 2013-10-04 Alan Modra <amodra@gmail.com>
43519 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43520 use vector int constants.
43521 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43523 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43525 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43526 array with long long.
43527 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43528 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43529 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43530 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43531 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43532 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43533 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43534 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43535 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43536 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43537 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43538 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43539 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43541 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43543 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43544 (__signbit): Likewise. Correct for little-endian.
43545 (__signbitl): Call __signbit.
43546 (lrint): Correct for little-endian.
43547 (lrintf): Call lrint.
43549 2013-10-04 Alan Modra <amodra@gmail.com>
43551 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43552 union 32-bit int array member with 64-bit int array.
43553 (t515, tm256): Double rather than long double.
43554 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43556 2013-10-04 Alan Modra <amodra@gmail.com>
43558 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43560 (IEEE854_LONG_DOUBLE_BIAS): Delete.
43561 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43562 version of math_ldbl.h.
43564 2013-10-04 Alan Modra <amodra@gmail.com>
43566 [BZ #15734], [BZ #15735]
43567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43568 all uses of ieee875 long double macros and unions. Simplify test
43569 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
43570 ldbl_extract_mantissa value for ix,iy exponents. Properly
43571 normalize after ldbl_extract_mantissa, and don't add hidden bit
43572 already handled. Don't treat low word of ieee854 mantissa like
43573 low word of IBM long double and mask off bit when testing for
43575 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43576 all uses of ieee875 long double macros and unions. Simplify tests
43577 for 0.0L and inf. Correct double adjustment of k. Delete dead code
43578 adjusting ha,hb. Simplify code setting kld. Delete two600 and
43579 two1022, instead use their values. Recognise that tests for large
43580 "a" and small "b" are mutually exclusive. Rename vars. Comment.
43581 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43582 Rewrite all uses of ieee875 long double macros and unions. Simplify
43583 test for 0.0L and nan. Correct negation.
43584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43585 ieee875 long double macros and unions. Correct output for large
43586 magnitude x. Correct absolute value calculation.
43587 (__erfcl): Likewise.
43588 * math/libm-test.inc: Add tests for errors discovered in IBM long
43589 double versions of fmodl, remainderl, erfl and erfcl.
43591 2013-10-04 Alan Modra <amodra@gmail.com>
43593 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43594 all uses of ieee854 long double macros and unions. Simplify tests
43595 for long doubles that are fully specified by the high double.
43596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43598 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43599 Remove dead code too.
43600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43601 (__ieee754_ynl): Likewise.
43602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43605 Remove dead code too.
43606 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43607 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43608 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43611 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43613 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43614 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43616 Comment on variable precision.
43617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43620 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43624 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43626 2013-10-04 Alan Modra <amodra@gmail.com>
43628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43630 all uses of ieee854 long double macros and unions.
43631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43635 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43641 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43642 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43644 Simplify sign and nan test too.
43645 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43646 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43647 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43648 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43650 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43651 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43654 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43655 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43656 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43657 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43660 2013-10-04 Alan Modra <amodra@gmail.com>
43662 * stdio-common/printf_size.c (__printf_size): Don't use
43663 union ieee854_long_double in fpnum union.
43664 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
43665 signbit macro to retrieve sign from long double.
43666 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43667 retrieve sign from long double.
43668 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43669 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43670 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43671 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43672 * math/test-misc.c (main): Don't use union ieee854_long_double.
43674 2013-10-04 Alan Modra <amodra@gmail.com>
43677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43679 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43680 calculation. Remove unnecessary test for denormal exponent.
43681 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43682 Correct handling of denormals. Avoid undefined shift behaviour.
43683 Correct normalisation of low mantissa when low double is denormal.
43684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43685 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
43686 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43687 Correct normalisation of low mantissa. Test for overflow of high
43688 mantissa and normalise.
43689 (ldbl_nearbyint): Use more readable constant for two52.
43690 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43691 (__mpn_construct_long_double): Fix test for overflow of high
43692 mantissa and correct normalisation. Avoid undefined shift.
43694 2013-10-04 Alan Modra <amodra@gmail.com>
43696 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43697 (union ibm_extended_long_double): Define as an array of ieee754_double.
43698 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43699 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43700 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43701 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43703 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43705 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43708 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43710 2013-10-03 Joseph Myers <joseph@codesourcery.com>
43712 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43713 page size instead of calling getpagesize.
43715 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43716 (LOCFILE_ALIGN_MASK): Likewise.
43717 (LOCFILE_ALIGN_UP): Likewise.
43718 (LOCFILE_ALIGNED_P): Likewise.
43719 * locale/programs/ld-collate.c (collate_output): Use the new
43720 macros instead of __alignof__ (int32_t).
43721 * locale/weight.h (findidx): Likewise.
43723 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
43726 * manual/string.texi: Fix strncat and wcsncat.
43728 2013-10-03 Brooks Moses <bmoses@google.com>
43731 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43732 * Makerules: ...here, and adjust associated comments.
43734 2013-10-02 Will Newton <will.newton@linaro.org>
43736 * malloc/Makefile: Add tst-pvalloc.
43737 * malloc/tst-pvalloc.c: New file.
43739 2013-10-02 Will Newton <will.newton@linaro.org>
43741 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43742 improve test coverage.
43744 2013-10-02 Will Newton <will.newton@linaro.org>
43746 * malloc/Makefile: Add tst-posix_memalign.
43747 * malloc/tst-posix_memalign.c: New file.
43749 2013-10-01 Eric Blake <eblake@redhat.com>
43751 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43752 Use __THROWNL rather than __THROW on static functions.
43754 2013-09-30 Petr Machata <pmachata@redhat.com>
43756 * elf/elf.h (R_AARCH64_ABS16): New macro.
43757 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43758 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43759 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43760 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43761 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43762 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43763 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43764 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43765 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43766 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43767 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43768 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43769 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43770 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43771 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43772 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43773 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43774 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43775 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43776 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43777 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43778 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43779 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43780 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43781 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43782 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43783 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43784 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43785 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43786 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43787 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43788 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43789 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43790 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43791 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43792 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43793 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43794 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43795 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43796 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43797 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43798 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43799 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43800 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43801 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43802 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43803 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43804 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43805 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43806 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43807 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43808 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43809 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43810 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43811 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43812 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43813 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43814 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43815 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43816 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43817 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43818 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43819 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43820 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43821 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43822 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43823 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43824 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43825 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43826 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43827 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43828 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43829 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43830 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43831 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43832 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43833 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43834 (R_AARCH64_TLSDESC_LDR): Likewise.
43835 (R_AARCH64_TLSDESC_ADD): Likewise.
43836 (R_AARCH64_TLSDESC_CALL): Likewise.
43838 2013-09-30 Andreas Schwab <schwab@suse.de>
43841 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43842 the nss database lookup.
43843 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43846 2013-09-28 Mike Frysinger <vapier@gentoo.org>
43848 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43850 2013-09-28 P. J. McDermott <pj@pehjota.net>
43852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43853 ${Bash-specific parameter/pattern/string} parameter expansion.
43854 * sysdeps/unix/make-syscalls.sh: Likewise.
43856 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43858 * sysdeps/sh/stackguard-macros.h: New file.
43860 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
43862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43864 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43865 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43866 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43867 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43869 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43871 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43872 Fix thread ID register.
43874 2013-09-25 Joseph Myers <joseph@codesourcery.com>
43876 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43877 [POSIX || UNIX98]: Require rather than permitting all symbols from
43879 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43880 element of struct sched_param.
43881 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43882 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43883 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43884 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43887 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
43889 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43890 argument calculation.
43892 2013-09-24 Joseph Myers <joseph@codesourcery.com>
43894 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43896 [POSIX] (pthread_attr_t): Do not require type.
43897 [POSIX] (pthread_cond_t): Likewise.
43898 [POSIX] (pthread_condattr_t): Likewise.
43899 [POSIX] (pthread_key_t): Likewise.
43900 [POSIX] (pthread_mutex_t): Likewise.
43901 [POSIX] (pthread_mutexattr_t): Likewise.
43902 [POSIX] (pthread_once_t): Likewise.
43903 [POSIX] (pthread_t): Likewise.
43904 [POSIX-based standards] (pthread_atfork): Expect function.
43906 2013-09-24 Joseph Myers <joseph@codesourcery.com>
43907 Richard Sandiford <richard@codesourcery.com>
43909 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43910 (swap_endianness_p): New extern variable.
43911 (set_big_endian): New inline function.
43912 (maybe_swap_uint32): Likewise.
43913 (maybe_swap_uint32_array): Likewise.
43914 (maybe_swap_uint32_obstack): Likewise.
43915 * locale/programs/locfile.c: Include <stdbool.h>.
43916 (swap_endianness_p): New variable.
43917 (add_locale_uint32): Call maybe_swap_uint32.
43918 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43919 (write_locale_data): Call maybe_swap_uint32_array.
43920 * locale/programs/ld-collate.c (obstack_int32_grow): Call
43922 (obstack_int32_grow_fast): Likewise.
43923 (output_weightwc): Call maybe_swap_uint32_obstack.
43924 (collate_output): Likewise.
43925 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43926 (OPT_LITTLE_ENDIAN): Likewise.
43927 (options): Add --little-endian and --big-endian options.
43928 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43929 * locale/programs/locarchive.c: Include "locfile.h".
43933 (create_archive): Use the new macros to access fields of
43934 structures directly mapped from or written to locale archives.
43935 (oldlocrecentcmp): Likewise.
43936 (enlarge_archive): Likewise.
43937 (insert_name): Likewise.
43938 (add_alias): Likewise.
43939 (add_locale): Likewise.
43940 (delete_locales_from_archive): Likewise.
43941 (show_archive_content): Likewise.
43942 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
43945 2013-09-24 Roland McGrath <roland@hack.frob.com>
43947 * manual/freemanuals.texi: Updated from (newly) canonical copy at
43948 http://www.gnu.org/doc/freemanuals.texi.
43949 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43951 2013-09-24 Will Newton <will.newton@linaro.org>
43953 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43956 2013-09-23 Joseph Myers <joseph@codesourcery.com>
43958 * locale/hashval.h (compute_hashval): Interpret bytes of key as
43961 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
43963 * manual/threads.texi (POSIX Threads): Fix a typo.
43965 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
43968 * string/tst-strcoll-overflow.c: New test case.
43969 * string/Makefile (xtests): Add tst-strcoll-overflow.
43970 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43971 cache if string sizes may cause integer overflow.
43974 * string/strcoll_l.c (coll_seq): New members rule, idx,
43975 save_idx and back_us.
43976 (get_next_seq_nocache): New function.
43977 (do_compare_nocache): New function.
43978 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43981 2013-09-23 Carlos O'Donell <carlos@redhat.com>
43984 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43985 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43986 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43989 * elf/Makefile (tests): Add tst-ptrguard1.
43990 (tests-static): Add tst-ptrguard1-static.
43991 (tst-ptrguard1-ARGS): Define.
43992 (tst-ptrguard1-static-ARGS): Define.
43993 * elf/tst-ptrguard1.c: New file.
43994 * elf/tst-ptrguard1-static.c: New file.
43995 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43996 * sysdeps/i386/stackguard-macros.h: Likewise.
43997 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43998 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43999 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44000 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44001 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44002 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44004 2013-09-23 Hector Marco <hecmargi@upv.es>
44005 Ismael Ripoll <iripoll@disca.upv.es>
44006 Carlos O'Donell <carlos@redhat.com>
44009 * sysdeps/generic/stackguard-macros.h: Define
44010 __pointer_chk_guard_local and POINTER_CHK_GUARD.
44011 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44012 Define __pointer_chk_guard_local.
44013 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44014 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44016 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
44019 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44021 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
44023 * include/string.h (__ffs): Declare as hidden.
44024 * string/ffs.c (__ffs): Define as hidden.
44025 * sysdeps/i386/ffs.c (__ffs): Likewise.
44026 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44027 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44028 * sysdeps/s390/ffs.c (__ffs): Likewise.
44029 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44031 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
44033 * NEWS: Mention malloc probes.
44035 * malloc/arena.c (new_heap): New memory_heap_new probe.
44036 (grow_heap): New memory_heap_more probe.
44037 (shrink_heap): New memory_heap_less probe.
44038 (heap_trim): New memory_heap_free probe.
44039 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44040 (systrim): New memory_sbrk_less probe.
44041 * manual/probes.texi: Document them.
44043 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44044 * manual/probes.texi: Document it.
44046 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44047 (__libc_realloc): Add memory_realloc_retry probe.
44048 (__libc_memalign): Add memory_memalign_retry probe.
44049 (__libc_valloc): Add memory_valloc_retry probe.
44050 (__libc_pvalloc): Add memory_pvalloc_retry probe.
44051 (__libc_calloc): Add memory_calloc_retry probe.
44052 * manual/probes.texi: Document them.
44054 * malloc/arena.c (get_free_list): Add probe
44055 memory_arena_reuse_free_list.
44056 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44057 and memory_arena_reuse.
44058 (arena_get2) [!PER_THREAD]: Likewise.
44059 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44060 memory_arena_reuse_realloc.
44061 * manual/probes.texi: Document them.
44063 * malloc/malloc.c (__libc_free): Add
44064 memory_mallopt_free_dyn_thresholds probe.
44065 (__libc_mallopt): Add multiple memory_mallopt probes.
44066 * manual/probes.texi: Document them.
44068 * malloc/malloc.c: Include stap-probe.h.
44069 (__libc_mallopt): Add memory_mallopt probe.
44070 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44071 * manual/probes.texi: New.
44072 * manual/Makefile (chapters): Add probes.
44073 * manual/threads.texi: Set next node.
44075 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
44077 [BZ #15963, #13985]
44078 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44079 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44080 Add `Chinese' to `nan' entry name.
44082 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44084 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44085 (POLYNOMIAL): Likewise.
44086 (TAYLOR_SINCOS): Likewise.
44087 (TAYLOR_SLOW): Likewise.
44088 (__sin): Use TAYLOR_SINCOS.
44090 (slow): Use TAYLOR_SLOW.
44092 (bsloww): Likewise.
44093 (csloww): Likewise.
44095 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44097 * stdlib/strtod_l.c: Fix buffer overrun.
44099 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44101 * benchtests/Makefile (bench): Add sincos.
44102 * benchtests/bench-sincos.c: New file.
44104 * math/libm-test.inc (cos_test_data): New test inputs.
44105 (sin_test_data): Likewise.
44107 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44113 (sloww1): Likewise.
44114 (sloww2): Likewise.
44115 (bsloww1): Likewise.
44116 (bsloww2): Likewise.
44117 (cslow2): Likewise.
44118 (csloww1): Likewise.
44119 (csloww2): Likewise.
44121 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44130 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
44132 * config.h.in (HAVE_MIPS_NAN2008): New macro.
44133 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44134 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44135 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44136 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44137 * elf/cache.c (print_entry): Handle the new cache flags.
44139 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44140 Aldy Hernandez <aldyh@redhat.com>
44142 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44143 Change condition to [_SOFT_FLOAT].
44144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44156 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44159 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44162 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44164 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44165 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44166 (__longjmp): Use LOAD_GP to load saved GPRs.
44167 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44168 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44169 (__sigsetjmp): Use SAVE_GP to save GPRs.
44171 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44172 Do not append -msoft-float.
44173 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44175 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44177 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44179 2013-09-17 Joseph Myers <joseph@codesourcery.com>
44182 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44183 (_FPU_GETCW): Use initial "__" on variable and field names but not
44184 on macro parameter name.
44185 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
44186 parentheses around reference to macro parameter.
44188 2013-09-13 Richard Sandiford <richard@codesourcery.com>
44190 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44192 (ctype_startup): Use uint32_t in cast and sizeof for
44195 2013-09-11 Jia Liu <proljc@gmail.com>
44197 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44199 [__FreeBSD__]: Likewise.
44201 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
44203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44204 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44205 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44206 (strchr): Remove __strchr_sse42 ifunc selection.
44207 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44208 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44210 2013-09-11 Will Newton <will.newton@linaro.org>
44212 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44213 parameter to RES. Remove hardcoded 1000 value.
44214 * benchtests/bench-skeleton.c (main): Pass RES parameter
44215 to TIMING_INIT and multiply result by 1000.
44217 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44221 2013-09-11 Andreas Schwab <schwab@suse.de>
44223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44225 (O_TMPFILE) [__USE_GNU]: Define.
44226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44229 2013-09-11 Will Newton <will.newton@linaro.org>
44232 * malloc/malloc.c (__libc_memalign): Check the value of bytes
44235 2013-09-11 Will Newton <will.newton@linaro.org>
44238 * malloc/malloc.c (__libc_valloc): Check the value of bytes
44241 2013-09-11 Will Newton <will.newton@linaro.org>
44244 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44247 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
44249 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44255 2013-09-10 Allan McRae <allan@archlinux.org>
44258 * manual/arith.texi (Parsing of Floats): Clarify
44262 * manual/install.texi (Running make install): Mention
44264 * INSTALL: Regenerated.
44266 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
44268 * csu/init-first.c (_init): Remove the !SHARED condition around
44269 FPU control word initialization.
44270 * elf/dl-support.c (_dl_fpu_control): New variable.
44271 (_dl_aux_init) <AT_FPUCW>: Initialize it.
44272 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44273 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44274 * math/test-fpucw-static.c: New file.
44275 * math/test-fpucw-ieee.c: New file.
44276 * math/test-fpucw-ieee-static.c: New file.
44277 * math/Makefile (tests): Add `test-fpucw-ieee' and
44279 (tests-static): New variable.
44280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44282 [($(build-shared),yes)]
44283 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44285 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44288 2013-09-09 Allan McRae <allan@archlinux.org>
44291 * manual/string.texi (Collation Functions): Fix typo in
44293 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44296 * stdlib/isomac.c (get_null_defines): Fix memory leak.
44299 * libio/memstream.c (open_memstream): Fix memory leak.
44300 * libio/wmemstream.c (open_wmemstream): Likewise.
44303 * nscd/netgroupcache.c: Fix nesting of ifdefs.
44305 2013-09-09 Will Newton <will.newton@linaro.org>
44307 * malloc/Makefile: Add tst-realloc to tests.
44308 * malloc/tst-realloc.c: New file.
44310 2013-09-09 Allan McRae <allan@archlinux.org>
44313 * COPYING: Update from GNU website to fix FSF address.
44314 * COPYING.LIB: Likewise.
44316 2013-09-06 David S. Miller <davem@davemloft.net>
44318 * po/zh_TW.po: Update Chinese (traditional) translation from
44319 translation project.
44321 2013-09-06 Richard Sandiford <richard@codesourcery.com>
44322 Joseph Myers <joseph@codesourcery.com>
44324 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44326 (obstack_chunk_alloc): New macro.
44327 (obstack_chunk_free): Likewise.
44328 (record_offset): New function.
44329 (init_locale_data): Likewise.
44330 (align_locale_data): Likewise.
44331 (add_locale_empty): Likewise.
44332 (add_locale_raw_data): Likewise.
44333 (add_locale_raw_obstack): Likewise.
44334 (add_locale_string): Likewise.
44335 (add_locale_wstring): Likewise.
44336 (add_locale_uint32): Likewise.
44337 (add_locale_uint32_array): Likewise.
44338 (add_locale_char): Likewise.
44339 (start_locale_structure): Likewise.
44340 (end_locale_structure): Likewise.
44341 (start_locale_prelude): Likewise.
44342 (end_locale_prelude): Likewise.
44343 (write_locale_data): Take locale_file structure rather than an
44345 * locale/programs/locfile.h: Include "obstack.h".
44346 (struct locale_file): Change to store locale file contents instead
44348 (init_locale_data): New prototype.
44349 (align_locale_data): Likewise.
44350 (add_locale_empty): Likewise.
44351 (add_locale_raw_data): Likewise.
44352 (add_locale_raw_obstack): Likewise.
44353 (add_locale_string): Likewise.
44354 (add_locale_wstring): Likewise.
44355 (add_locale_uint32): Likewise.
44356 (add_locale_uint32_array): Likewise.
44357 (add_locale_char): Likewise.
44358 (start_locale_structure): Likewise.
44359 (end_locale_structure): Likewise.
44360 (start_locale_prelude): Likewise.
44361 (end_locale_prelude): Likewise.
44362 (write_locale_data): Update prototype.
44363 * locale/programs/3level.h (struct TABLE): Remove result field.
44364 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44365 Use new locale_file interface.
44366 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44367 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44368 * locale/programs/ld-address.c (address_output): Use new
44369 locale_file interface.
44370 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44372 (collate_finish): Don't call collseq_table_finalize.
44373 (collate_output): Use new locale_file interface.
44374 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44376 (NO_FINALIZE): Change to NO_ADD_LOCALE.
44377 (TABLE): Move defines earlier in file.
44378 (ELEMENT): Likewise.
44379 (DEFAULT): Likewise.
44380 (wctrans_table_add): Move macro and inline function earlier in
44382 (struct wctype_table): Move type earlier in file.
44383 (add_locale_wctype_table): New static prototype.
44384 (struct locale_ctype_t): Use logical types instead of struct iovec
44385 pointers for members.
44386 (ctype_output): Use new locale_file interface.
44387 (wctype_table_finalize): Change to add_locale_wctype_table. Use
44388 new locale_file interface.
44389 (allocate_arrays): Update for use of new locale_file interface.
44390 * locale/programs/ld-identification.c (identification_output): Use
44391 new locale_file interface.
44392 * locale/programs/ld-measurement.c (measurement_output): Likewise.
44393 * locale/programs/ld-messages.c (messages_output): Likewise.
44394 * locale/programs/ld-monetary.c (monetary_output): Likewise.
44395 * locale/programs/ld-name.c (name_output): Likewise.
44396 * locale/programs/ld-numeric.c (numeric_output): Likewise.
44397 * locale/programs/ld-paper.c (paper_output): Likewise.
44398 * locale/programs/ld-telephone.c (telephone_output): Likewise.
44399 * locale/programs/ld-time.c (time_output): Likewise.
44401 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44403 * benchtests/Makefile: Add memrchr benchmark.
44404 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44405 benchmark as memrchr.
44406 * benchtests/bench-memrchr-ifunc.c: New file.
44407 * benchtests/bench-memrchr.c: New file.
44409 2013-09-06 Will Newton <will.newton@linaro.org>
44411 * benchtests/Makefile (string-bench): Add memcpy.
44413 2013-09-05 Carlos O'Donell <carlos@redhat.com>
44414 Cong Wang <amwang@redhat.com>
44417 * sysdeps/unix/sysv/linux/bits/in.h
44418 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44419 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44420 before __USE_KERNEL_IPV6_DEFS uses.
44421 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44423 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44424 sockaddr_in6, or ipv6_mreq.
44426 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44428 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44429 memory access for final bytes in some large inputs.
44430 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44432 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44434 * string/test-memrchr.c: New file.
44435 * string/test-memrchr-ifunc.c: New file.
44436 * string/Makefile: Add new memrchr testcase.
44438 2013-09-05 Mike Frysinger <vapier@gentoo.org>
44440 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44441 fanotify_init returns EPERM.
44443 2013-09-04 Joseph Myers <joseph@codesourcery.com>
44445 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44447 (top level): Treat second token from macro or constant entries for
44448 allowed headers as allowed.
44449 * include/complex.h: Condition internal declarations on
44451 * include/fenv.h: Condition include of <stdbool.h> and internal
44452 declarations on [!_ISOMAC].
44454 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
44457 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44459 2013-09-04 Joseph Myers <joseph@codesourcery.com>
44461 * configure.in (--enable-versioning): Remove configure option.
44462 (libc_cv_asm_symver_directive): Remove configure test.
44463 (libc_cv_ld_version_script_option): Likewise.
44464 (VERSIONING): Remove variable and AC_SUBST.
44465 (DO_VERSIONING): Remove AC_DEFINE.
44466 * configure: Regenerated.
44467 * config.h.in (DO_VERSIONING): Remove macro.
44468 * Makerules [$(versioning) = yes]: Change conditionals to
44469 [$(build-shared) = yes].
44470 * config.make.in (versioning): Remove variable.
44471 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44472 [$(build-shared) = yes].
44473 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44474 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44475 * elf/Makefile [$(versioning) = yes]: Change conditionals to
44476 [$(build-shared) = yes].
44477 * extra-lib.mk [$(versioning) = yes]: Likewise.
44478 * hurd/Makefile [$(versioning) = yes]: Likewise.
44479 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44481 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44483 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44484 [SHARED && !NO_HIDDEN].
44485 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44487 [SHARED && DO_VERSIONING]: Likewise..
44488 * libio/Makefile [$(versioning) = yes]: Change conditionals to
44489 [$(build-shared) = yes].
44490 * manual/install.texi (--disable-versioning): Remove
44492 * INSTALL: Regenerated.
44493 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44495 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44496 [$(build-shared) = yes].
44497 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44498 * sysdeps/i386/i686/multiarch/strstr-c.c
44499 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44500 [SHARED && !NO_HIDDEN].
44501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44502 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44503 * sysdeps/powerpc/powerpc32/dl-machine.c
44504 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44505 * sysdeps/powerpc/powerpc32/sysdep.h
44506 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44507 to [SHARED && PIC && !NO_HIDDEN].
44508 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44509 conditional to [SHARED].
44511 2013-09-04 Will Newton <will.newton@linaro.org>
44513 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44514 * benchtests/bench-string.h: Include bench-timing.h instead
44515 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44516 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44517 call to HP_TIMING_DIFF_INIT.
44518 * benchtests/bench-memccpy.c: Use bench-timing.h macros
44519 instead of hp-timing.h macros.
44520 * benchtests/bench-memchr.c: Likewise.
44521 * benchtests/bench-memcmp.c: Likewise.
44522 * benchtests/bench-memcpy.c: Likewise.
44523 * benchtests/bench-memmem.c: Likewise.
44524 * benchtests/bench-memmove.c: Likewise.
44525 * benchtests/bench-memset.c: Likewise.
44526 * benchtests/bench-rawmemchr.c: Likewise.
44527 * benchtests/bench-strcasecmp.c: Likewise.
44528 * benchtests/bench-strcasestr.c: Likewise.
44529 * benchtests/bench-strcat.c: Likewise.
44530 * benchtests/bench-strchr.c: Likewise.
44531 * benchtests/bench-strcmp.c: Likewise.
44532 * benchtests/bench-strcpy.c: Likewise.
44533 * benchtests/bench-strcpy_chk.c: Likewise.
44534 * benchtests/bench-strlen.c: Likewise.
44535 * benchtests/bench-strncasecmp.c: Likewise.
44536 * benchtests/bench-strncat.c: Likewise.
44537 * benchtests/bench-strncmp.c: Likewise.
44538 * benchtests/bench-strncpy.c: Likewise.
44539 * benchtests/bench-strnlen.c: Likewise.
44540 * benchtests/bench-strpbrk.c: Likewise.
44541 * benchtests/bench-strrchr.c: Likewise.
44542 * benchtests/bench-strspn.c: Likewise.
44543 * benchtests/bench-strstr.c: Likewise.
44545 2013-09-04 Will Newton <will.newton@linaro.org>
44547 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44549 2013-09-03 Joseph Myers <joseph@codesourcery.com>
44552 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44553 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44554 * math/libm-test.inc (lgamma_test_data): Add more tests.
44555 * sysdeps/i386/fpu/libm-test-ulps: Update.
44556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44558 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
44560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44564 Add strcmp-sse2-unaligned
44565 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44567 2013-09-02 Mike Frysinger <vapier@gentoo.org>
44569 * Versions.def (libc): Add GLIBC_2.19.
44571 2013-09-02 Mike Frysinger <vapier@gentoo.org>
44573 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44574 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44576 2013-09-02 Joseph Myers <joseph@codesourcery.com>
44579 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44580 intermediate calculations in recurrence.
44581 (__ieee754_ynf): Likewise.
44582 * math/libm-test.inc (jn_test_data): Do not allow spurious
44583 underflow exception. Add more tests.
44584 (yn_test_data): Add more tests.
44585 * sysdeps/i386/fpu/libm-test-ulps: Update.
44586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44588 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
44590 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44592 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44594 * csu/init-first.c: Fix then/than typos.
44595 * locale/programs/ld-collate.c: Likewise.
44596 * locale/programs/linereader.h: Likewise.
44597 * manual/charset.texi: Likewise.
44598 * manual/filesys.texi: Likewise.
44599 * manual/stdio.texi: Likewise.
44600 * manual/string.texi: Likewise.
44601 * stdlib/fmtmsg.c: Likewise.
44602 * sysdeps/i386/stpncpy.S: Likewise.
44603 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44604 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44606 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44608 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44610 * elf/dl-open.c: Fix typos.
44611 * iconvdata/gbbig5.c: Likewise.
44612 * iconvdata/iso-2022-jp.c: Likewise.
44613 * iconv/gconv_int.h: Likewise.
44614 * iconv/loop.c: Likewise.
44615 * nis/rpcsvc/nis.h: Likewise.
44616 * resolv/ns_name.c: Likewise.
44617 * stdio-common/vfscanf.c: Likewise.
44618 * streams/stropts.h: Likewise.
44619 * sunrpc/rpc_thread.c: Likewise.
44620 * sysdeps/i386/strpbrk.S: Likewise.
44621 * sysdeps/ieee754/k_standard.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44624 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44625 * sysdeps/mach/hurd/profil.c: Likewise.
44626 * sysdeps/s390/dl-procinfo.h: Likewise.
44627 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44629 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44630 * sysdeps/x86_64/dl-trampoline.S: Likewise.
44631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44633 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44635 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44638 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
44640 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44641 aix specific files.
44642 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44643 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44644 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44645 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44646 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44647 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44648 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44649 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44651 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
44652 Roland McGrath <roland@hack.frob.com>
44654 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44655 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44657 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
44659 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44660 __executable_start symbol instead of _start.
44662 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
44664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44665 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44667 * sysdeps/gnu/ldsodefs.h: ... this new file.
44669 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44670 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44671 instead of ELFOSABI_LINUX.
44673 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44674 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44675 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44676 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44678 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44679 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44683 (ibm_extended_long_double): Add ieee_nan member.
44684 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44685 (do_test): New function.
44687 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44689 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44690 functions, renamed from truncdfsf_test, trunctfsf_test,
44692 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44694 (do_test): Run all these.
44696 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
44698 * argp/argp-help.c: Fix typos.
44699 * argp/argp-parse.c: Likewise.
44700 * debug/backtracesyms.c: Likewise.
44701 * elf/elf.h: Likewise.
44702 * malloc/malloc.c: Likewise.
44703 * nis/nis_print.c: Likewise.
44704 * resolv/res_comp.c: Likewise.
44705 * stdlib/stdlib.h: Likewise.
44706 * sunrpc/clnt_tcp.c: Likewise.
44707 * sunrpc/clnt_udp.c: Likewise.
44708 * sunrpc/clnt_unix.c: Likewise.
44709 * sysdeps/unix/bsd/ptsname.c: Likewise.
44710 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44711 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44718 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44720 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44722 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44725 2013-08-27 Mike Frysinger <vapier@gentoo.org>
44728 * dlfcn/Makefile (tests): Add bug-dl-leaf.
44729 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44730 ($(objpfx)bug-dl-leaf): New rule.
44731 ($(objpfx)bug-dl-leaf.so): Likewise.
44732 ($(objpfx)bug-dl-leaf.out): Likewise.
44733 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44734 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44735 * dlfcn/bug-dl-leaf.c: New test.
44736 * dlfcn/bug-dl-leaf-lib.c: Likewise.
44737 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44738 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44739 (dlclose): Likewise.
44740 (dlmopen): Likewise.
44742 2013-08-27 Roland McGrath <roland@hack.frob.com>
44744 * include/netdb.h [!_ISOMAC]:
44745 Don't include <tls.h>.
44746 (h_errno, __libc_h_errno): Move declaration and macros out of
44749 * include/resolv.h [_RESOLV_H_]:
44750 Don't include <tls.h>.
44751 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44752 * resolv/res_libc.c: Don't include <tls.h>.
44753 (_res): Use __attribute__ ((nocommon)) in place of
44754 __attribute__ ((section (".bss"))).
44756 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44757 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44759 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44761 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44762 only under [SIOCGIFCONF && SIOCGIFNETMASK].
44764 * resolv/res_mkquery.c: Include <sys/time.h>.
44766 * inet/ifreq.c: Moved to ...
44767 * sysdeps/unix/ifreq.c: ... here.
44768 * inet/ifreq.c: New file, true stub version.
44770 * socket/sa_len.c: New file.
44771 * socket/Makefile (aux): Add it.
44772 * sysdeps/unix/sysv/linux/Makefile
44773 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44774 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44775 and #include <socket/sa_len.c>.
44776 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44777 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44779 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44780 * bits/socket.h: ... here.
44782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44783 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44784 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44786 2013-08-27 Andreas Schwab <schwab@suse.de>
44789 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44790 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44791 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44792 * string/test-strcasecmp.c (test_main): Run tests in several
44794 * string/test-strncasecmp.c (test_main): Likewise.
44796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44797 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44798 to __strcasecmp_nonascii and __strncasecmp_nonascii.
44799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44800 (__strncasecmp_ssse3) [PIC]: Likewise.
44802 2013-08-26 Roland McGrath <roland@hack.frob.com>
44804 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44806 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44807 instead of explicitly declaring xdecrypt.
44808 * nis/nss_nis/nis-publickey.c: Likewise.
44810 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44813 * nscd/aicache.c: Include res_hconf.h.
44814 (addhstaiX): Initialize res_hconf.
44816 2013-08-26 Andreas Schwab <schwab@suse.de>
44818 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44819 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44821 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44823 * nscd/aicache.c (addhstaiX): Fix indentation.
44825 2013-08-25 Mike Frysinger <vapier@gentoo.org>
44827 * configure.ac: Quote $build_pt_chown test.
44828 * configure: Regenerated.
44830 2013-08-23 Joseph Myers <joseph@codesourcery.com>
44833 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44834 * math/s_cexpf.c (__cexpf): Likewise.
44835 * math/s_cexpl.c (__cexpl): Likewise.
44836 * math/libm-test.inc (cexp_test_data): Correct expected return
44837 value for NaN + i0. Add another test.
44839 2013-08-22 David S. Miller <davem@davemloft.net>
44841 * po/ca.po: Update Catalan translation from translation project.
44842 * po/uk.po: Add Ukrainian translations from translation project.
44844 2013-08-21 Joseph Myers <joseph@codesourcery.com>
44847 * math/s_fdim.c (__fdim): Check for infinite arguments if result
44848 is infinite, not alongside NaN test.
44849 * math/s_fdimf.c (__fdimf): Likewise.
44850 * math/s_fdiml.c (__fdiml): Likewise.
44851 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
44852 errno is unchanged.
44854 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
44856 * argp/argp-help.c: Fix typos.
44857 * crypt/speeds.c: Likewise.
44858 * csu/check_fds.c: Likewise.
44859 * elf/dl-load.c: Likewise.
44860 * elf/dl-open.c: Likewise.
44861 * elf/reldep3.c: Likewise.
44862 * elf/reldep.c: Likewise.
44863 * elf/sprof.c: Likewise.
44864 * iconv/iconv_charmap.c: Likewise.
44865 * iconv/skeleton.c: Likewise.
44866 * iconv/strtab.c: Likewise.
44867 * io/lockf64.c: Likewise.
44868 * libio/libioP.h: Likewise.
44869 * resolv/gai_notify.c: Likewise.
44870 * resolv/ns_name.c: Likewise.
44871 * resolv/ns_samedomain.c: Likewise.
44872 * resolv/res_send.c: Likewise.
44873 * stdlib/random.c: Likewise.
44874 * sunrpc/rpc/xdr.h: Likewise.
44875 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44876 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44877 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44878 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44883 * sysdeps/mach/hurd/check_fds.c: Likewise.
44884 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44885 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44888 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44890 * sysdeps/pthread/aio_notify.c: Likewise.
44891 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44892 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44897 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44899 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44900 version if bit_Slow_SSE4_2 is set.
44901 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44904 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44907 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44908 trampoline stack frame information.
44909 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44911 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44912 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44913 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44914 * sysdeps/unix/sysv/linux/powerpc/init-first.c
44915 (_libc_vdso_platform_setup): Initialize the signal trampolines.
44916 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44918 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44919 interrupting a syscall and set with option SA_SIGINFO.
44921 2013-08-20 Joseph Myers <joseph@codesourcery.com>
44924 * math/s_cproj.c (__cproj): Only return an infinity if one part of
44925 argument is infinite.
44926 * math/s_cprojf.c (__cprojf): Likewise.
44927 * math/s_cprojl.c (__cprojl): Likewise.
44928 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44929 * math/libm-test.inc (cproj_test_data): Add more tests.
44931 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44933 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44934 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44935 size. Use __ffs to determine corresponding shift.
44937 2013-08-20 Joseph Myers <joseph@codesourcery.com>
44938 Roland McGrath <roland@hack.frob.com>
44940 * Makefile (INSTALL): Remove trailing blank lines from output of
44943 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44945 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44946 Align 32 bit compat elf_greg to 8 bytes.
44948 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
44950 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44952 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44954 * string/strcoll_l.c (coll_seq): New structure.
44955 (get_next_seq_cached): New function.
44956 (get_next_seq): New function.
44957 (do_compare): New function.
44958 (STRCOLL): Use GNU style definition. Simplify implementation
44959 by using get_next_seq, get_next_seq_cached and do_compare.
44961 2013-08-16 Florian Weimer <fweimer@redhat.com>
44965 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44967 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44969 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44970 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44971 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
44973 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44974 GETDENTS_64BIT_ALIGNED.
44975 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44976 * manual/filesys.texi (Reading/Closing Directory): Document
44977 ENAMETOOLONG return value of readdir_r. Recommend readdir more
44979 * manual/conf.texi (Limits for Files): Add portability note to
44980 NAME_MAX, PATH_MAX.
44981 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44983 2013-08-13 Andreas Schwab <schwab@suse.de>
44986 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44988 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44989 LDBL_MAX_EXP >= 16384]: Add tests for it.
44991 2013-08-12 David S. Miller <davem@davemloft.net>
44993 * version.h (RELEASE): Set to "development".
44994 (VERSION): Set to "2.18.90".
44995 * NEWS: Add 2.19 section.
44997 2013-08-03 David S. Miller <davem@davemloft.net>
44999 * po/ko.po: Update Korean translation from translation project.
45001 2013-08-01 David S. Miller <davem@davemloft.net>
45003 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
45004 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45007 2013-07-30 David S. Miller <davem@davemloft.net>
45009 * po/fr.po: Update French translation from translation project.
45011 2013-07-28 David S. Miller <davem@davemloft.net>
45013 * po/cs.po: Update Czech translation from translation project.
45015 * po/sv.po: Update Swedish translation from translation project.
45017 2013-07-27 David S. Miller <davem@davemloft.net>
45019 * po/eo.po: Update Esperanto translation from translation project.
45021 * po/vi.po: Update Vietnamese translation from translation project.
45023 * po/de.po: Update German translation from translation project.
45025 2013-07-26 David S. Miller <davem@davemloft.net>
45027 * po/bg.po: Update Bulgarian translation from translation project.
45029 * po/nl.po: Update Dutch translation from translation project.
45030 * po/pl.po: Update Polish translation from translation project.
45031 * po/ru.po: Update Russian translation from translation project.
45033 2013-07-24 David S. Miller <davem@davemloft.net>
45035 * po/libc.pot: Update.
45037 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45039 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45040 variable page size.
45041 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45042 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45043 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45045 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45047 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45049 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45050 Andreas Schwab <schwab@suse.de>
45051 Roland McGrath <roland@hack.frob.com>
45052 Joseph Myers <joseph@codesourcery.com>
45053 Carlos O'Donell <carlos@redhat.com>
45056 * config.h.in: Define HAVE_PT_CHOWN.
45057 * config.make.in (build-pt-chown): New variable.
45058 * configure.in (--enable-pt_chown): New configure option.
45059 * configure: Regenerate.
45060 * login/Makefile: Include Makeconfig. Build pt_chown only if
45061 build-pt-chown is enabled.
45062 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45063 pt_chown to fix pty ownership.
45064 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45066 * manual/install.texi (Configuring and compiling): Mention
45067 --enable-pt_chown. Add @findex for grantpt.
45068 * INSTALL: Regenerate.
45070 2013-07-20 David S. Miller <davem@davemloft.net>
45072 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45073 difference between 32-bit and 64-bit.
45075 2013-07-15 Carlos O'Donell <carlos@redhat.com>
45078 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45079 Avoid system header dependency with -ffreestanding.
45080 ($(objpfx)bits/syscall%d): Likewise.
45082 2013-07-13 David S. Miller <davem@davemloft.net>
45084 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45085 underflows from atanl/atan2l due to bug 15319.
45086 (casinh_test_data): Likewise.
45088 2013-07-07 David S. Miller <davem@davemloft.net>
45090 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45092 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
45094 * sysdeps/i386/fpu/libm-test-ulps: Update.
45095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45097 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45099 * configure.in (--enable-lock-elision): Fix message text.
45100 * INSTALL: Regenerate.
45101 * configure: Regenerate.
45103 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45107 2013-07-03 Andreas Jaeger <aj@suse.de>
45109 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45111 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45112 (ptrace_peeksiginfo_args): Add.
45113 (__ptrace_peeksiginfo_flags): Add.
45114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45118 2013-07-03 Allan McRae <allan@archlinux.org>
45120 * sysdeps/i386/fpu/libm-test-ulps: Update.
45122 2013-07-02 David S. Miller <davem@davemloft.net>
45124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45126 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
45128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45130 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45132 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45135 2013-07-02 Andi Kleen <ak@linux.intel.com>
45137 * config.h.in (ENABLE_LOCK_ELISION): Add.
45138 * configure.in (--enable-lock-elision): Add option.
45139 * manual/install.texi: Document --enable lock elision.
45140 * configure: Regenerate
45141 * INSTALL: Regenerate.
45143 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
45145 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45146 SSE4.2 strcasecmp for libc.a.
45147 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45149 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45152 * soft-fp/op-common.h (_FP_FMA): New macro.
45153 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45154 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
45155 (_FP_MUL_MEAT_1_imm): ... here.
45156 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
45157 (_FP_MUL_MEAT_1_wide): ... here.
45158 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
45159 (_FP_MUL_MEAT_1_hard): ... here.
45160 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45161 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
45162 (_FP_MUL_MEAT_2_wide): ... here.
45163 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
45164 (_FP_MUL_MEAT_2_wide_3mul): ... here.
45165 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
45166 (_FP_MUL_MEAT_2_gmp): ... here.
45167 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45168 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
45169 (_FP_MUL_MEAT_4_wide): ... here.
45170 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
45171 (_FP_MUL_MEAT_4_gmp): ... here.
45172 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45173 (_FP_WFRACBITS_DW_S): Likewise.
45174 (_FP_WFRACXBITS_DW_S): Likewise.
45175 (_FP_HIGHBIT_DW_S): Likewise.
45176 (FP_FMA_S): Likewise.
45177 (_FP_FRAC_HIGH_DW_S): Likewise.
45178 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45179 (_FP_WFRACBITS_DW_D): Likewise.
45180 (_FP_WFRACXBITS_DW_D): Likewise.
45181 (_FP_HIGHBIT_DW_D): Likewise.
45182 (FP_FMA_D): Likewise.
45183 (_FP_FRAC_HIGH_DW_D): Likewise.
45184 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45185 (_FP_WFRACBITS_DW_E): Likewise.
45186 (_FP_WFRACXBITS_DW_E): Likewise.
45187 (_FP_HIGHBIT_DW_E): Likewise.
45188 (FP_FMA_E): Likewise.
45189 (_FP_FRAC_HIGH_DW_E): Likewise.
45190 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45191 (_FP_WFRACBITS_DW_Q): Likewise.
45192 (_FP_WFRACXBITS_DW_Q): Likewise.
45193 (_FP_HIGHBIT_DW_Q): Likewise.
45194 (FP_FMA_Q): Likewise.
45195 (_FP_FRAC_HIGH_DW_Q): Likewise.
45196 * soft-fp/fmasf4.c: New file.
45197 * soft-fp/fmadf4.c: Likewise.
45198 * soft-fp/fmatf4.c: Likewise.
45200 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45203 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45207 (index_Slow_SSE4_2): Likewise.
45208 (index_Prefer_PMINUB_for_stringop): Likewise.
45209 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45210 bit_Slow_SSE4_2 is set.
45211 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45214 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45216 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45217 rtld_global._dl_hwcap2.
45218 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45220 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45221 POWER8 feature descriptions defined in _dl_hwcap2.
45222 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45223 string handling for POWER8 feature bits.
45224 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45225 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45226 _dl_powerpc_cap_flags.
45227 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45228 * sysdeps/powerpc/rtld-global-offsets.sym
45229 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45230 _dl_hwcap2 in the rtld_global_ro structure.
45232 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45234 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45235 hardware capabilities in support of AT_HWCAP2.
45236 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45237 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45239 (_dl_show_auxv): Add support for calling _dl_procinfo to display
45240 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
45241 explicitly the unknown a_type display mechanism is used.
45242 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45243 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45245 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45246 to macro prototype for AT_HWCAP2 support.
45247 * sysdeps/i386/dl-procinfo.h: Likewise.
45248 * sysdeps/s390/dl-procinfo.h: Likewise.
45249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45250 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
45251 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
45252 return -1 for unknown a_type display fallback.
45253 * sysdeps/sparc/dl-procinfo.h: Likewise.
45254 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45255 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45257 2013-06-28 Joseph Myers <joseph@codesourcery.com>
45259 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45260 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45262 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
45265 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45266 mprotect making __stack_prot writable.
45268 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
45269 Joseph Myers <joseph@codesourcery.com>
45271 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45272 as being properly aligned.
45274 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
45276 * dlfcn/modstatic5.c: New file.
45277 * dlfcn/tststatic5.c: New file.
45278 * dlfcn/Makefile (tests): Add tststatic5.
45279 (tests-static): Likewise.
45280 (modules-names): Add modstatic5.
45281 (tststatic5-ENV): New variable.
45282 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45285 * elf/dl-support.c (_dl_main_map): New variable.
45286 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45287 (_dl_nns, _dl_load_adds): Set to 1.
45288 (_dl_initial_searchlist): Refer to _dl_main_map.
45289 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45290 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45291 call to _dl_get_origin.
45292 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45294 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45295 * dlfcn/modstatic3.c: New file.
45296 * dlfcn/tststatic3.c: New file.
45297 * dlfcn/tststatic4.c: New file.
45298 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45299 (tests-static): Likewise.
45300 (modules-names): Add modstatic3.
45301 (tststatic3-ENV, tststatic4-ENV): New variables.
45302 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45303 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45305 2013-06-26 Joseph Myers <joseph@codesourcery.com>
45307 * configure.in (CC): Require GCC version 4.4 or later.
45308 * configure: Regenerated.
45309 * manual/install.texi (Tools for Compilation): Update GCC version
45311 * INSTALL: Regenerated.
45313 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45316 * string/test-memcmp.c (check2): New.
45317 (main): Call check2.
45319 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45321 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
45324 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45326 (dl_open_worker) [!SHARED]: ... here.
45328 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45330 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45332 2013-06-25 Richard Henderson <rth@redhat.com>
45334 * locale/programs/locarchive.c: Include <libc-internal.h>
45336 2013-06-25 Joseph Myers <joseph@codesourcery.com>
45338 * manual/texinfo.tex: Update to version 2013-06-21.17, with
45339 trailing whitespace removed.
45341 2013-06-24 Mike Frysinger <vapier@gentoo.org>
45344 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45345 * locale/programs/locarchive.c: Include libc-mmap.h.
45346 (prepare_address_space): Take two new outputs (the mmap base and len).
45347 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
45349 (create_archive): Declare new mmap base and len values for
45350 prepare_address_space, and store the result in ah.
45351 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45352 (enlarge_archive): If ah->mmap_base is not NULL, use that and
45353 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45354 Declare new mmap base and len values for
45355 prepare_address_space, and store the result in new_ah.
45356 (open_archive): Declare new mmap base and len values for
45357 prepare_address_space, and store the result in ah.
45358 (close_archive): If ah->mmap_base is not NULL, use that and
45359 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45360 * sysdeps/generic/libc-mmap.h: New file.
45362 2013-06-24 Mike Frysinger <vapier@gentoo.org>
45364 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45365 (ALIGN_UP): Likewise.
45366 (PTR_ALIGN_DOWN): Likewise.
45367 (PTR_ALIGN_UP): Likewise.
45369 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45371 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45372 entry mapped to PPC_PLATFORM_POWER8.
45373 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45375 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45376 (_dl_string_platform): Add case for exporting platform position for
45378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45379 search path to sysdeps/powerpc/powerpc32/power8 directory.
45380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45381 search path to sysdeps/powerpc/powerpc64/power8 directory.
45382 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45383 power7 directories.
45384 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45385 power7 directories.
45387 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45389 * INSTALL: Regenerate.
45391 * nscd/connections.c (nscd_init): Fix comment.
45393 2013-06-22 Joseph Myers <joseph@codesourcery.com>
45395 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45398 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45399 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45401 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
45403 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45405 (DL_DST_REQ_STATIC): Remove macro.
45407 2013-06-21 Joseph Myers <joseph@codesourcery.com>
45410 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45411 with a shift of 0 bits.
45413 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
45415 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45418 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45421 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45423 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45425 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45426 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45427 accepts -fno-tree-loop-distribute-patterns.
45428 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45429 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45431 * string/memset.c (memset): Likewise.
45432 * string/test-memmove.c (simple_memmove): Disable loop transformation
45434 * string/test-memset.c (simple_memset): Likewise.
45435 * benchtests/bench-memmove.c (simple_memmove): Likewise.
45436 * benchtests/bench-memset.c (simple_memset): Likewise.
45437 * configure: Regenerated.
45439 2013-06-20 Joseph Myers <joseph@codesourcery.com>
45441 * math/test-misc.c (main): Ignore fesetround failure when failures
45442 of subsequent rounding tests would be ignored.
45445 * math/fedisblxcpt.c (fedisableexcept): Return 0.
45446 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45447 * math/fegetenv.c (__fegetenv): Return 0.
45448 * math/fegetexcept.c (fegetexcept): Return 0.
45449 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45451 * math/feholdexcpt.c (feholdexcept): Return 0.
45452 * math/fesetenv.c (__fesetenv): Return 0.
45453 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45454 argument FE_TONEAREST.
45455 * math/feupdateenv.c (__feupdateenv): Return 0.
45456 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45458 2013-06-18 Roland McGrath <roland@hack.frob.com>
45460 * elf/rtld-Rules (rtld-compile-command.S): New variable.
45461 (rtld-compile-command.s, rtld-compile-command.c): New variables.
45462 ($(objpfx)rtld-%.os rules): Use them.
45464 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45466 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45469 2013-06-17 Roland McGrath <roland@hack.frob.com>
45471 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45472 length of target pattern, then descending length of dependency pattern.
45473 * configure.in (AWK): Require gawk 3.1.2 or newer.
45474 * manual/install.texi (Tools for Compilation): Say that we do.
45475 * configure: Regenerated.
45477 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45478 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45479 * scripts/sysd-rules.awk: ... this new script.
45480 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45481 than a glob-style pattern.
45483 2013-06-17 Joseph Myers <joseph@codesourcery.com>
45485 * math/test-misc.c (main): Do not treat incorrectly rounded
45486 conversions as failure unless ROUNDING_TESTS passes.
45488 2013-06-15 Joseph Myers <joseph@codesourcery.com>
45491 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45492 restore exception state around main square root computation, then
45493 check for inexactness explicitly.
45495 * math/libm-test.inc (fma_test_data): Add another test.
45497 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45499 * manual/threads.texi (Non-POSIX Extensions): New document
45500 node. Document pthread_getattr_default_np and
45501 pthread_setattr_default_np.
45503 * Versions.def (libpthread): Add GLIBC_2.18.
45504 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45513 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45524 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45527 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45529 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
45530 H.J. Lu <hjl.tools@gmail.com>
45533 * sysdeps/x86_64/rtld-memset.c: Remove file.
45534 * sysdeps/x86_64/rtld-memset.S: New file.
45536 2013-06-14 Joseph Myers <joseph@codesourcery.com>
45538 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45539 (test_in_one_mode): Take arguments for whether the rounding mode
45540 is supported for each floating-point type.
45541 (do_test): Pass new arguments to test_in_one_mode using
45544 2013-06-13 Roland McGrath <roland@hack.frob.com>
45546 * posix/tst-waitid.c (do_test): Distinguish different instances of
45547 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
45548 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45549 before entering the kernel for waitpid.
45551 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
45553 * NEWS: Fix note on clock function precision. Text by Roland
45556 2013-06-13 Roland McGrath <roland@hack.frob.com>
45558 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45559 it into place only when and if the sanity check passes.
45561 2013-06-13 Joseph Myers <joseph@codesourcery.com>
45563 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45564 output for whether conversion result is exact. Take argument
45565 indicating whether type is IBM long double.
45566 (round_for_all): Change need_exact field to ibm_ld.
45567 * stdlib/tst-strtod-round.c (struct exactness): New type.
45568 (struct test): Change bool ld_ok field to struct exactness exact.
45569 (TEST): Update all definitions for change to field.
45570 (tests): Regenerate array contents.
45571 (test_in_one_mode): Take pointer to new field instead of old ld_ok
45572 field value. Check for IBM long double here.
45573 (do_test): Update calls to test_in_one_mode.
45575 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
45578 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45579 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45581 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45584 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45585 generated by the compiler on loop optimizations.
45586 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45587 general definitions.
45589 2013-06-12 Joseph Myers <joseph@codesourcery.com>
45591 * math/bug-nextafter.c: Include <math-tests.h>.
45592 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45594 * math/bug-nexttoward.c: Include <math-tests.h>.
45595 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45597 * math/test-misc.c: Include <math-tests.h>.
45598 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45601 2013-06-12 Andreas Jaeger <aj@suse.de>
45603 * po/ia.po: Update Interlingua translation from translation
45606 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45608 * include/fenv.h: Include stdbool.h.
45609 (struct rm_ctx): New structure.
45610 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45612 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45613 (SET_RESTORE_ROUNDF): Likewise.
45614 (SET_RESTORE_ROUNDL): Likewise.
45615 (SET_RESTORE_ROUND_NOEX): Likewise.
45616 (SET_RESTORE_ROUND_NOEXF): Likewise.
45617 (SET_RESTORE_ROUND_NOEXL): Likewise.
45618 (SET_RESTORE_ROUND_53BIT): Likewise.
45619 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45620 (libc_feresetround_noexf_ctx): Likewise.
45621 (libc_feresetround_noexl_ctx): Likewise.
45622 (libc_feholdsetround_53bit_ctx): Likewise.
45623 (libc_feresetround_53bit_ctx): Likewise.
45624 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45625 (libc_feholdexcept_setround_sse_ctx): New function.
45626 (libc_fesetenv_sse_ctx): Likewise.
45627 (libc_feupdateenv_sse_ctx): Likewise.
45628 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45629 (libc_feholdexcept_setround_387_ctx): Likewise.
45630 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45631 (libc_feholdsetround_387_prec_ctx): Likewise.
45632 (libc_feholdsetround_387_ctx): Likewise.
45633 (libc_feholdsetround_387_53bit_ctx): Likewise.
45634 (libc_feholdsetround_sse_ctx): Likewise.
45635 (libc_feresetround_sse_ctx): Likewise.
45636 (libc_feresetround_387_ctx): Likewise.
45637 (libc_feupdateenv_387_ctx): Likewise.
45638 (libc_feholdexcept_setroundf_ctx): Define macro.
45639 (libc_fesetenvf_ctx): Likewise.
45640 (libc_feupdateenvf_ctx): Likewise.
45641 (libc_feholdsetroundf_ctx): Likewise.
45642 (libc_feresetroundf_ctx): Likewise.
45643 (libc_feholdexcept_setround_ctx): Likewise.
45644 (libc_fesetenv_ctx): Likewise.
45645 (libc_feupdateenv_ctx): Likewise.
45646 (libc_feholdsetround_ctx): Likewise.
45647 (libc_feresetround_ctx): Likewise.
45648 (libc_feholdexcept_setroundl_ctx): Likewise.
45649 (libc_feupdateenvl_ctx): Likewise.
45650 (libc_feholdsetroundl_ctx): Likewise.
45651 (libc_feresetroundl_ctx): Likewise.
45652 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45653 (libc_feresetround_53bit_ctx): Likewise.
45655 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45657 * locale/iso-639.def: Convert to UTF-8.
45659 2013-06-11 Joseph Myers <joseph@codesourcery.com>
45661 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45662 (EXCEPTION_TESTS_double): Likewise.
45663 (EXCEPTION_TESTS_long_double): Likewise.
45664 (EXCEPTION_TESTS): Likewise.
45665 * math/libm-test.inc (test_exceptions): Only test exceptions if
45666 EXCEPTION_TESTS (FLOAT).
45668 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45670 * benchtests/Makefile (string-bench): Add strcpy_chk and
45672 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45673 * benchtests/bench-stpcpy_chk.c: New file.
45674 * benchtests/bench-strcpy_chk-ifunc.c: New file.
45675 * benchtests/bench-strcpy_chk.c: New file.
45676 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45678 (do_test): Likewise.
45680 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45682 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45683 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45684 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45685 with tabs where appropriate.
45686 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45688 [PPC_PLATFORM_PPC440]: Likewise.
45689 [PPC_PLATFORM_PPC464]: Likewise.
45690 [PPC_PLATFORM_PPC476]: Likewise.
45691 (_dl_string_platform): Add support for detecting ppc405, ppc440,
45692 ppc464, and ppc476 platform strings merging from ports/
45695 2013-06-11 Andreas Schwab <schwab@suse.de>
45698 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45699 (from_ucs4_idx): Regenerate.
45700 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45701 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45702 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45703 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45704 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45705 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45706 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45707 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45708 from FROM_LOOP and TO_LOOP specific macros.
45709 (BODY): Handle combining characters.
45710 * iconvdata/BIG5HKSCS.irreversible: Update.
45711 * iconvdata/BIG5HKSCS.precomposed: New file.
45712 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45714 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45716 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45718 * include/sys/time.h: Fix indentation and add copyright header.
45720 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45721 (do_test): Likewise.
45722 * string/test-memchr.c (do_one_test): Likewise.
45723 (do_test): Likewise.
45724 * string/test-memcmp.c (do_one_test): Likewise.
45725 (do_test): Likewise.
45726 * string/test-memcpy.c (do_one_test): Likewise.
45727 (do_test): Likewise.
45728 * string/test-memmem.c (do_one_test): Likewise.
45729 (do_test): Likewise.
45730 (do_random_tests): Likewise.
45731 * string/test-memmove.c (do_one_test): Likewise.
45732 (do_test): Likewise.
45733 * string/test-memset.c (do_one_test): Likewise.
45734 (do_test): Likewise.
45735 * string/test-rawmemchr.c (do_one_test): Likewise.
45736 (do_test): Likewise.
45737 * string/test-strcasecmp.c (do_one_test): Likewise.
45738 (do_test): Likewise.
45739 * string/test-strcasestr.c (do_one_test): Likewise.
45740 (do_test): Likewise.
45741 * string/test-strcat.c (do_one_test): Likewise.
45742 (do_test): Likewise.
45743 * string/test-strchr.c (do_one_test): Likewise.
45744 (do_test): Likewise.
45745 * string/test-strcmp.c (do_one_test): Likewise.
45746 (do_test): Likewise.
45747 * string/test-strcpy.c (do_one_test): Likewise.
45748 (do_test): Likewise.
45749 * string/test-string.h: Likewise.
45750 (test_init): Likewise.
45751 * string/test-strlen.c (do_one_test): Likewise.
45752 (do_test): Likewise.
45753 * string/test-strncasecmp.c (do_one_test): Likewise.
45754 (do_test): Likewise.
45755 * string/test-strncat.c (do_one_test): Likewise.
45756 (do_test): Likewise.
45757 * string/test-strncmp.c (do_one_test): Likewise.
45758 (do_test_limit): Likewise.
45759 (do_test): Likewise.
45760 * string/test-strncpy.c (do_one_test): Likewise.
45761 (do_test): Likewise.
45762 * string/test-strnlen.c (do_one_test): Likewise.
45763 (do_test): Likewise.
45764 * string/test-strpbrk.c (do_one_test): Likewise.
45765 (do_test): Likewise.
45766 * string/test-strrchr.c (do_one_test): Likewise.
45767 (do_test): Likewise.
45768 * string/test-strspn.c (do_one_test): Likewise.
45769 (do_test): Likewise.
45770 * string/test-strstr.c (do_one_test): Likewise.
45771 (do_test): Likewise.
45773 * benchtests/Makefile (string-bench): Add string benchmarks.
45774 * benchtests/bench-bcopy-ifunc.c: New file.
45775 * benchtests/bench-bcopy.c: New file.
45776 * benchtests/bench-bzero-ifunc.c: New file.
45777 * benchtests/bench-bzero.c: New file.
45778 * benchtests/bench-memccpy-ifunc.c: New file.
45779 * benchtests/bench-memccpy.c: New file.
45780 * benchtests/bench-memchr-ifunc.c: New file.
45781 * benchtests/bench-memchr.c: New file.
45782 * benchtests/bench-memcmp-ifunc.c: New file.
45783 * benchtests/bench-memcmp.c: New file.
45784 * benchtests/bench-memmem-ifunc.c: New file.
45785 * benchtests/bench-memmem.c: New file.
45786 * benchtests/bench-memmove-ifunc.c: New file.
45787 * benchtests/bench-memmove.c: New file.
45788 * benchtests/bench-mempcpy-ifunc.c: New file.
45789 * benchtests/bench-mempcpy.c: New file.
45790 * benchtests/bench-memset-ifunc.c: New file.
45791 * benchtests/bench-memset.c: New file.
45792 * benchtests/bench-rawmemchr-ifunc.c: New file.
45793 * benchtests/bench-rawmemchr.c: New file.
45794 * benchtests/bench-stpcpy-ifunc.c: New file.
45795 * benchtests/bench-stpcpy.c: New file.
45796 * benchtests/bench-stpncpy-ifunc.c: New file.
45797 * benchtests/bench-stpncpy.c: New file.
45798 * benchtests/bench-strcasecmp-ifunc.c: New file.
45799 * benchtests/bench-strcasecmp.c: New file.
45800 * benchtests/bench-strcasestr-ifunc.c: New file.
45801 * benchtests/bench-strcasestr.c: New file.
45802 * benchtests/bench-strcat-ifunc.c: New file.
45803 * benchtests/bench-strcat.c: New file.
45804 * benchtests/bench-strchr-ifunc.c: New file.
45805 * benchtests/bench-strchr.c: New file.
45806 * benchtests/bench-strchrnul-ifunc.c: New file.
45807 * benchtests/bench-strchrnul.c: New file.
45808 * benchtests/bench-strcmp-ifunc.c: New file.
45809 * benchtests/bench-strcmp.c: New file.
45810 * benchtests/bench-strcpy-ifunc.c: New file.
45811 * benchtests/bench-strcpy.c: New file.
45812 * benchtests/bench-strcspn-ifunc.c: New file.
45813 * benchtests/bench-strcspn.c: New file.
45814 * benchtests/bench-strlen-ifunc.c: New file.
45815 * benchtests/bench-strlen.c: New file.
45816 * benchtests/bench-strncasecmp-ifunc.c: New file.
45817 * benchtests/bench-strncasecmp.c: New file.
45818 * benchtests/bench-strncat-ifunc.c: New file.
45819 * benchtests/bench-strncat.c: New file.
45820 * benchtests/bench-strncmp-ifunc.c: New file.
45821 * benchtests/bench-strncmp.c: New file.
45822 * benchtests/bench-strncpy-ifunc.c: New file.
45823 * benchtests/bench-strncpy.c: New file.
45824 * benchtests/bench-strnlen-ifunc.c: New file.
45825 * benchtests/bench-strnlen.c: New file.
45826 * benchtests/bench-strpbrk-ifunc.c: New file.
45827 * benchtests/bench-strpbrk.c: New file.
45828 * benchtests/bench-strrchr-ifunc.c: New file.
45829 * benchtests/bench-strrchr.c: New file.
45830 * benchtests/bench-strspn-ifunc.c: New file.
45831 * benchtests/bench-strspn.c: New file.
45832 * benchtests/bench-strstr-ifunc.c: New file.
45833 * benchtests/bench-strstr.c: New file.
45835 * benchtests/Makefile: Disable parallel execution of targets.
45836 (string-bench): Add memcpy.
45837 (benchset): New variable to store a list of benchmark sets.
45838 (bench-func): Renamed from bench.
45839 (bench-set): New target.
45840 (bench): Depend on bench-func and bench-set.
45841 * benchtests/README: Add section on benchmark sets.
45842 * benchtests/bench-memcpy-ifunc.c: New file.
45843 * benchtests/bench-memcpy.c: New file.
45844 * benchtests/bench-string.h: New file.
45846 2013-06-11 Andreas Schwab <schwab@suse.de>
45849 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45850 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45851 values in the triple.
45852 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45853 terminator in the group key.
45855 2013-06-11 Andreas Jaeger <aj@suse.de>
45857 * po/zh_TW.po: Update Chinese (traditional) translation from
45858 translation project.
45860 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45862 * include/time.h (__clock_gettime): Add libc_hidden_proto.
45863 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45864 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
45865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45866 (clock_getcpuclockid): Likewise.
45867 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45868 Add weak_alias and libc_hidden_def.
45869 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45870 * rt/clock_gettime.c (clock_gettime): Rename to
45871 __clock_gettime. Add weak_alias and libc_hidden_def.
45872 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45873 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45874 __clock_nanosleep. Add weak_alias and libc_hidden_def.
45875 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45876 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45878 * rt/clock_settime.c (clock_settime): Rename to
45879 __clock_settime. Add weak_alias and libc_hidden_def.
45880 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45882 2013-06-10 Joseph Myers <joseph@codesourcery.com>
45884 * mach/err_boot.sub: Remove trailing whitespace.
45885 * mach/err_ipc.sub: Likewise.
45886 * mach/err_mach.sub: Likewise.
45888 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45889 (ROUNDING_TESTS_double): Likewise.
45890 (ROUNDING_TESTS_long_double): Likewise.
45891 (ROUNDING_TESTS): Likewise.
45892 * math/libm-test.inc: Include <math-tests.h>.
45893 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45894 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45895 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45896 (IF_ROUND_INIT_FE_UPWARD): Likewise.
45898 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45900 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45903 2013-06-08 Joseph Myers <joseph@codesourcery.com>
45905 * sysdeps/gnu/errlist.awk: Do not generate space at end of
45906 otherwise empty TRANS lines.
45907 * sysdeps/gnu/errlist.c: Regenerated.
45909 * catgets/gencat.c (error_print): Use (void) in function
45911 * crypt/crypt_util.c (__init_des): Likewise.
45912 * crypt/speeds.c (Stop): Likewise.
45914 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45915 * inet/ruserpass.c (token): Likewise.
45916 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45917 * intl/localealias.c (extend_alias_table): Likewise.
45918 * intl/plural-exp.c (init_germanic_plural): Likewise.
45919 * libio/fcloseall.c (__fcloseall): Likewise.
45920 * libio/genops.c (_IO_flush_all): Likewise.
45921 (_IO_flush_all_linebuffered): Likewise.
45922 (_IO_cleanup): Likewise.
45923 (_IO_iter_begin): Likewise.
45924 (_IO_iter_end): Likewise.
45925 (_IO_list_lock): Likewise.
45926 (_IO_list_unlock): Likewise.
45927 (_IO_list_resetlock): Likewise.
45928 * libio/getchar.c (getchar): Likewise.
45929 * libio/getchar_u.c (getchar_unlocked): Likewise.
45930 * libio/getwchar.c (getwchar): Likewise.
45931 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45932 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45933 * login/getpt.c (__getpt): Likewise.
45934 * login/tst-utmp.c (main): Likewise.
45935 * malloc/hooks.c (__malloc_check_init): Likewise.
45936 * malloc/malloc.c (__malloc_stats): Likewise.
45937 * malloc/mtrace.c (tr_break): Likewise.
45938 (mtrace): Likewise.
45939 (muntrace): Likewise.
45940 * misc/fstab.c (endfsent): Likewise.
45941 * misc/getclktck.c (__getclktck): Likewise.
45942 * misc/getdtsz.c (__getdtablesize): Likewise.
45943 * misc/gethostid.c (gethostid): Likewise.
45944 * misc/getpagesize.c (__getpagesize): Likewise.
45945 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45946 (__get_nprocs): Likewise.
45947 (__get_phys_pages): Likewise.
45948 (__get_avphys_pages): Likewise.
45949 * misc/getttyent.c (getttyent): Likewise.
45950 (setttyent): Likewise.
45951 (endttyent): Likewise.
45952 * misc/getusershell.c (getusershell): Likewise.
45953 (endusershell): Likewise.
45954 (setusershell): Likewise.
45955 (initshells): Likewise.
45956 * misc/hsearch.c (__hdestroy): Likewise.
45957 * misc/sync.c (sync): Likewise.
45958 * misc/syslog.c (closelog_internal): Likewise.
45959 (closelog): Likewise.
45960 * misc/ttyslot.c (ttyslot): Likewise.
45961 * misc/vhangup.c (vhangup): Likewise.
45962 * posix/fork.c (__fork): Likewise.
45963 * posix/getegid.c (__getegid): Likewise.
45964 * posix/geteuid.c (__geteuid): Likewise.
45965 * posix/getgid.c (__getgid): Likewise.
45966 * posix/getpid.c (__getpid): Likewise.
45967 * posix/getppid.c (__getppid): Likewise.
45968 * posix/getuid.c (__getuid): Likewise.
45969 * posix/pause.c (pause): Likewise.
45970 * posix/setpgrp.c (setpgrp): Likewise.
45971 * posix/setsid.c (__setsid): Likewise.
45972 * posix/test-vfork.c (noop): Likewise.
45973 * resolv/gethnamaddr.c (_endhtent): Likewise.
45974 (_gethtent): Likewise.
45975 (ht_endhostent): Likewise.
45976 (gethostent): Likewise.
45977 (dns_service): Likewise.
45978 * stdlib/drand48.c (drand48): Likewise.
45979 * stdlib/lrand48.c (lrand48): Likewise.
45980 * stdlib/mrand48.c (mrand48): Likewise.
45981 * stdlib/rand.c (rand): Likewise.
45982 * stdlib/random.c (__random): Likewise.
45983 * stdlib/setenv.c (clearenv): Likewise.
45984 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45985 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45986 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45987 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45988 (__get_nprocs): Likewise.
45989 (__get_phys_pages): Likewise.
45990 (__get_avphys_pages): Likewise.
45991 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45992 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45993 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45994 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45995 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45996 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45997 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45998 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45999 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46000 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46001 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46002 * sysdeps/mach/hurd/sync.c (sync): Likewise.
46003 * sysdeps/posix/clock.c (clock): Likewise.
46004 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46005 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46006 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46007 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46008 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46010 (__get_nprocs_conf): Likewise.
46011 (__get_phys_pages): Likewise.
46012 (__get_avphys_pages): Likewise.
46013 * time/clock.c (clock): Likewise.
46014 * time/tzset.c (__tzname_max): Likewise.
46016 2013-06-07 Joseph Myers <joseph@codesourcery.com>
46018 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46019 (__bswap_32): Do not use "register".
46020 * crypt/crypt.c (_ufc_doit_r): Likewise.
46021 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46022 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46023 * gmon/gmon.c (__monstartup): Likewise.
46024 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46025 * hurd/hurdmalloc.c (more_memory): Likewise.
46026 (malloc): Likewise.
46028 (realloc): Likewise.
46029 (malloc_fork_prepare): Likewise.
46030 (malloc_fork_parent): Likewise.
46031 (malloc_fork_child): Likewise.
46032 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46033 (_svcauth_des): Likewise.
46034 * inet/inet_lnaof.c (inet_lnaof): Likewise.
46035 * inet/inet_net.c (inet_network): Likewise.
46036 * inet/inet_netof.c (inet_netof): Likewise.
46037 * inet/rcmd.c (__validuser2_sa): Likewise.
46038 * io/fts.c (fts_open): Likewise.
46039 (fts_load): Likewise.
46040 (fts_close): Likewise.
46041 (fts_read): Likewise.
46042 (fts_children): Likewise.
46043 (fts_build): Likewise.
46044 (fts_stat): Likewise.
46045 (fts_sort): Likewise.
46046 (fts_alloc): Likewise.
46047 (fts_lfree): Likewise.
46048 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46049 (_IO_file_xsgetn): Likewise.
46050 (_IO_file_xsgetn_mmap): Likewise.
46051 * libio/iofopncook.c (_IO_cookie_read): Likewise.
46052 (_IO_cookie_write): Likewise.
46053 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46054 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46055 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46056 * malloc/obstack.c (_obstack_begin): Likewise.
46057 (_obstack_begin_1): Likewise.
46058 (_obstack_newchunk): Likewise.
46059 (_obstack_allocated_p): Likewise.
46060 (obstack_free): Likewise.
46061 (_obstack_memory_used): Likewise.
46062 * misc/getttyent.c (getttynam): Likewise.
46063 (getttyent): Likewise.
46066 * misc/getusershell.c (initshells): Likewise.
46067 * misc/syslog.c (__vsyslog_chk): Likewise.
46068 * misc/ttyslot.c (ttyslot): Likewise.
46069 * nis/nis_hash.c (__nis_hash): Likewise.
46070 * posix/fnmatch_loop.c (FCT): Likewise.
46071 * posix/getconf.c (print_all): Likewise.
46073 * posix/getopt.c (exchange): Likewise.
46074 * posix/glob.c (globfree): Likewise.
46075 (prefix_array): Likewise.
46076 (__glob_pattern_type): Likewise.
46077 * resolv/arpa/nameser.h (NS_GET16): Likewise.
46078 (NS_GET32): Likewise.
46079 (NS_PUT16): Likewise.
46080 (NS_PUT32): Likewise.
46081 * resolv/gethnamaddr.c (getanswer): Likewise.
46082 (gethostbyname2): Likewise.
46083 (gethostbyaddr): Likewise.
46084 (_gethtent): Likewise.
46085 (_gethtbyname2): Likewise.
46086 (_gethtbyaddr): Likewise.
46087 * resolv/ns_print.c (dst_s_get_int16): Likewise.
46088 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46089 * resolv/res_init.c (__res_vinit): Likewise.
46090 (net_mask): Likewise.
46091 * resolv/res_mkquery.c (outchar): Likewise.
46093 * stdio-common/printf_fp.c (outchar): Likewise.
46095 * stdio-common/printf_fphex.c (outchar): Likewise.
46097 * stdio-common/printf_size.c (outchar): Likewise.
46099 * stdio-common/test_rdwr.c (main): Likewise.
46100 * stdio-common/tfformat.c (matches): Likewise.
46101 * stdio-common/vfprintf.c (outchar): Likewise.
46102 (printf_unknown): Likewise.
46103 (buffered_vfprintf): Likewise.
46104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46105 * stdio-common/xbug.c (AppendToBuffer): Likewise.
46106 (ReadFile): Likewise.
46107 * stdlib/qsort.c (SWAP): Likewise.
46108 (_quicksort): Likewise.
46109 * stdlib/setenv.c (__add_to_environ): Likewise.
46110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46111 * stdlib/strtol_l.c (__strtol_l): Likewise.
46112 * stdlib/tst-strtod.c (main): Likewise.
46113 * stdlib/tst-strtol.c (main): Likewise.
46114 * stdlib/tst-strtoll.c (main): Likewise.
46115 * string/bits/string2.h (__strcmp_cc): Likewise.
46116 (__strcmp_cg): Likewise.
46117 (__strcspn_c1): Likewise.
46118 (__strcspn_c2): Likewise.
46119 (__strcspn_c3): Likewise.
46120 (__strspn_c1): Likewise.
46121 (__strspn_c2): Likewise.
46122 (__strspn_c3): Likewise.
46123 (__strsep_1c): Likewise.
46124 (__strsep_2c): Likewise.
46125 (__strsep_3c): Likewise.
46126 * string/memccpy.c (__memccpy): Likewise.
46127 * string/stpcpy.c (__stpcpy): Likewise.
46128 * string/strcmp.c (strcmp): Likewise.
46129 * string/strrchr.c (strrchr): Likewise.
46130 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46132 * sysdeps/mach/hurd/getcwd.c
46133 (_hurd_canonicalize_directory_name_internal): Likewise.
46134 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46135 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46136 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46137 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46138 Likewise, in both definitions.
46139 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46141 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46142 64] (__bswap_64): Likewise.
46143 * time/test_time.c (main): Likewise.
46144 * time/tzfile.c (__tzfile_read): Likewise.
46145 (__tzfile_compute): Likewise.
46146 * time/tzset.c (__tzset_parse_tz): Likewise.
46147 (tzset_internal): Likewise.
46148 (compute_change): Likewise.
46149 * wcsmbs/wcscat.c (__wcscat): Likewise.
46150 * wcsmbs/wcschr.c (wcschr): Likewise.
46151 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46152 * wcsmbs/wcscspn.c (wcscspn): Likewise.
46153 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46154 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46155 * wcsmbs/wcsspn.c (wcsspn): Likewise.
46156 * wcsmbs/wcsstr.c (wcsstr): Likewise.
46157 * wcsmbs/wmemchr.c (wmemchr): Likewise.
46158 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46159 * wcsmbs/wmemset.c (wmemset): Likewise.
46161 2013-06-06 Joseph Myers <joseph@codesourcery.com>
46163 * scripts/config.guess: Update to version 2013-05-16.
46164 * scripts/config.sub: Update to version 2013-04-24.
46165 * scripts/install-sh: Update to version 2011-11-20.07.
46166 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46167 * scripts/move-if-change: Update to version 2012-01-06 07:23.
46169 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
46171 * debug/fgetws_u_chk.c: Fix leading whitespaces.
46172 * elf/sln.c: Likewise.
46173 * hurd/hurd/ioctl.h: Likewise.
46174 * hurd/hurdmalloc.c: Likewise.
46175 * hurd/xattr.c: Likewise.
46176 * include/shlib-compat.h: Likewise.
46177 * inet/ruserpass.c: Likewise.
46178 * libio/iofgets_u.c: Likewise.
46179 * libio/iofgetws_u.c: Likewise.
46180 * locale/programs/ld-identification.c: Likewise.
46181 * locale/programs/ld-time.c: Likewise.
46182 * mach/msg-destroy.c: Likewise.
46183 * nss/nss_files/files-netgrp.c: Likewise.
46184 * resolv/res_data.c: Likewise.
46185 * soft-fp/op-1.h: Likewise.
46186 * soft-fp/op-2.h: Likewise.
46187 * soft-fp/op-4.h: Likewise.
46188 * soft-fp/op-common.h: Likewise.
46189 * stdio-common/printf_fphex.c: Likewise.
46190 * stdlib/strtod_l.c: Likewise.
46191 * sunrpc/rpc/clnt.h: Likewise.
46192 * sysdeps/generic/framestate.c: Likewise.
46193 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46194 * sysdeps/i386/bsd-setjmp.S: Likewise.
46195 * sysdeps/i386/__longjmp.S: Likewise.
46196 * sysdeps/i386/setjmp.S: Likewise.
46197 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46200 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46207 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46213 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46215 * sysdeps/ieee754/support.c: Likewise.
46216 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46217 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46218 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46219 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46220 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46221 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46222 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46223 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46224 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46225 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46226 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46227 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46228 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46229 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46230 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46231 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46232 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46235 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
46237 * posix/transbug.c: Remove executable mode.
46239 2013-06-05 Joseph Myers <joseph@codesourcery.com>
46241 * crypt/speeds.c: Remove trailing whitespace.
46242 * dlfcn/default.c: Likewise.
46243 * elf/ifuncdep2.c: Likewise.
46244 * elf/ifuncmain1.c: Likewise.
46245 * elf/ifuncmain1vis.c: Likewise.
46246 * elf/testobj.h: Likewise.
46247 * elf/tst-stackguard1.c: Likewise.
46248 * gmon/sys/gmon.h: Likewise.
46249 * hurd/hurdmsg.c: Likewise.
46250 * hurd/new-fd.c: Likewise.
46251 * hurd/ports-get.c: Likewise.
46252 * iconvdata/ibm1008_420.c: Likewise.
46253 * inet/tst-getni1.c: Likewise.
46254 * inet/tst-getni2.c: Likewise.
46255 * libio/ioungetc.c: Likewise.
46256 * libio/wfiledoalloc.c: Likewise.
46257 * manual/libm-err-tab.pl: Likewise.
46258 * math/w_dremf.c: Likewise.
46259 * misc/ftruncate.c: Likewise.
46260 * posix/bug-glob2.c: Likewise.
46261 * posix/tst-pcre.c: Likewise.
46262 * posix/wait4.c: Likewise.
46263 * resolv/README: Likewise.
46264 * resolv/res_debug.h: Likewise.
46265 * resolv/tst-inet_ntop.c: Likewise.
46266 * setjmp/bug269-setjmp.c: Likewise.
46267 * soft-fp/extended.h: Likewise.
46268 * soft-fp/op-1.h: Likewise.
46269 * soft-fp/op-2.h: Likewise.
46270 * soft-fp/op-4.h: Likewise.
46271 * soft-fp/op-8.h: Likewise.
46272 * soft-fp/testit.c: Likewise.
46273 * stdio-common/bug16.c: Likewise.
46274 * stdlib/random.c: Likewise.
46275 * sunrpc/rpcsvc/rquota.x: Likewise.
46276 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46281 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46283 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46284 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46285 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46287 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46293 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46294 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46295 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46296 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46297 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46298 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46305 * sysdeps/ieee754/s_lib_version.c: Likewise.
46306 * sysdeps/mach/hurd/check_fds.c: Likewise.
46307 * sysdeps/mach/hurd/getsockname.c: Likewise.
46308 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46309 * sysdeps/mach/hurd/recvfrom.c: Likewise.
46310 * sysdeps/powerpc/bits/link.h: Likewise.
46311 * sysdeps/powerpc/dl-procinfo.c: Likewise.
46312 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46313 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46314 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46315 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46316 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46317 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46318 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46319 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46320 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46321 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46323 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46324 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46325 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46326 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46327 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46328 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46332 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46334 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46335 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46337 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46338 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46339 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46343 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46345 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46346 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46347 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46348 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46349 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46350 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46351 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46352 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46353 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46354 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46355 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46356 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46357 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46358 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46359 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46360 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46363 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46364 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46365 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46366 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46367 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46368 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46369 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46370 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46371 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46372 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46373 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46374 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46375 * sysdeps/powerpc/sysdep.h: Likewise.
46376 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46377 * sysdeps/s390/s390-64/sub_n.S: Likewise.
46378 * sysdeps/sh/dl-trampoline.S: Likewise.
46379 * sysdeps/sh/memset.S: Likewise.
46380 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46381 * sysdeps/sh/strlen.S: Likewise.
46382 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46383 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46384 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46385 * sysdeps/sparc/sparc32/rem.S: Likewise.
46386 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46387 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46388 * sysdeps/sparc/sparc32/strchr.S: Likewise.
46389 * sysdeps/sparc/sparc32/udiv.S: Likewise.
46390 * sysdeps/sparc/sparc32/urem.S: Likewise.
46391 * sysdeps/sparc/sparc64/add_n.S: Likewise.
46392 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46393 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46394 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46396 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46397 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46398 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46399 * sysdeps/unix/bsd/times.c: Likewise.
46400 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46401 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46405 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46406 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46407 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46408 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46409 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46410 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46411 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46412 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46413 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46414 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46415 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46417 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46418 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46419 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46420 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46421 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46422 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46423 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46424 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46425 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46426 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46427 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46428 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46429 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46430 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46431 * sysdeps/x86_64/strcspn.S: Likewise.
46433 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46435 * locale/C-translit.h: Revert #include <stdint.h> because this is a
46436 generated file. Regenerate properly from gen-translit.pl.
46437 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
46438 locale/C-translit.h.
46440 2013-06-05 Andreas Schwab <schwab@suse.de>
46443 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46444 week as 6 instead of -1.
46445 * time/tst-strptime.c (day_tests): Add test case.
46447 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46449 * sysdeps/generic/math_private.h
46450 (libc_feholdexcept_setround_53bit): Replace with
46451 libc_feholdsetround_53bit.
46452 (libc_feupdateenv_53bit): Replace with
46453 libc_feresetround_53bit.
46454 (SET_RESTORE_ROUND_53BIT): Adjust.
46456 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
46458 * string/test-strchrnul.c: Add copyright header.
46460 * posix/tst-getaddrinfo4.c: Increase test timeout.
46462 2013-06-03 Carlos O'Donell <carlos@redhat.com>
46465 * math/libm-test.inc (MAX_EXP): Remove
46467 (ulp): Use MIN_EXP - MANT_DIG.
46468 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46470 2013-05-31 Carlos O'Donell <carlos@redhat.com>
46472 * po/be.po: Revert last change.
46473 * po/zh_CN.po: Likewise.
46474 * po/header.pot: Likewise.
46476 2013-05-31 Joseph Myers <joseph@codesourcery.com>
46478 * Makefile ($(common-objpfx)linkobj/libc.so): Define
46479 link-libc-deps to empty as target-specific variable.
46480 * Makerules (link-libc-args): New variable.
46481 (libc-for-link): Likewise.
46482 (link-libc-deps): Likewise.
46483 (lib%.so): Depend on $(link-libc-deps). Link with
46485 (build-module): Link with $(link-libc-args).
46486 (build-module-asneeded): Likewise.
46487 (build-module-helper-objlist): Filter out $(link-libc-deps) from
46489 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46490 target-specific variable.
46491 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46492 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46493 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46495 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46497 ($(objpfx)libpcprofile.so): Likewise.
46498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46500 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46501 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46502 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46504 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46505 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46506 * login/Makefile ($(objpfx)libutil.so): Likewise.
46507 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46508 * math/Makefile ($(objpfx)libm.so): Likewise.
46509 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46510 $(objpfx)libnsl.so): Define libc-for-link as target-specific
46511 variable instead of depending directly on libc.
46512 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46513 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46515 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46517 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46518 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46519 ($(objpfx)libanl.so): Likewise.
46520 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46522 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46524 * sysdeps/i386/fpu/Makefile: Remove file.
46525 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46526 ($(objpfx)libm.so): Remove dependency on ld.so.
46528 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
46531 * nis/yp_xdr.c (XDRMAXNAME): Define.
46532 (XDRMAXRECORD): Define.
46533 (xdr_domainname): Use XDRMAXNAME.
46534 (xdr_mapname): Likewise.
46535 (xdr_peername): Likewise.
46536 (xdr_keydat): Use XDRMAXRECORD.
46537 (xdr_valdat): Likewise.
46539 2013-05-30 Jeff Law <law@redhat.com>
46542 * manual/errno.texi (ESTALE): Update to account for more than
46543 just NFS file systems.
46544 * sysdeps/gnu/errlist.c: Regenerated.
46546 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46549 * elf/Makefile (tests): Add tst-null-argv.
46550 (modules-names): Add tst-null-argv-lib.
46551 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46552 (tst-null-argv-ENV): Set environment for tst-null-argv.
46553 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46554 (RTLD_PROGNAME): New macro.
46555 * elf/tst-null-argv.c: New test case.
46556 * elf/tst-null-argv-lib.c: Library for test case.
46557 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46558 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46559 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46560 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46561 * elf/dl-init.c (call_init): Likewise.
46562 (_dl_init): Likewise.
46563 * elf/dl-load.c (print_search_path): Likewise.
46564 (_dl_map_object): Likewise.
46565 * elf/dl-lookup.c (do_lookup_x): Likewise.
46566 (add_dependency): Likewise.
46567 (_dl_lookup_symbol_x): Likewise.
46568 (_dl_debug_bindings): Likewise.
46569 * elf/dl-open.c (_dl_show_scope): Likewise.
46570 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46571 * elf/dl-version.c (match_symbol): Likewise.
46572 (_dl_check_map_versions): Likewise.
46573 * elf/rtld.c (dl_main): Likewise.
46574 (print_unresolved): Use RTLD_PROGNAME.
46575 (print_missing_version): Likewise.
46576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46577 (elf_machine_rela): Likewise.
46578 * sysdeps/powerpc/powerpc32/dl-machine.c
46579 (__process_machine_rela): Likewise.
46580 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46582 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46584 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46586 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46593 2013-05-28 Carlos O'Donell <carlos@redhat.com>
46595 * po/be.po: Add descriptive title.
46596 * po/zh_CN.po: Likewise.
46597 * po/header.pot: Likewise.
46599 2013-05-28 Mike Frysinger <vapier@gentoo.org>
46601 * locale/programs/locarchive.c (create_archive): Inlucde fname in
46603 (enlarge_archive): Likewise.
46605 2013-05-28 Ben North <ben@redfrontdoor.org>
46607 * manual/arith.texi (frexp): It is the magnitude of the return
46608 value which lies in [0.5, 1), not the return value itself.
46610 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46614 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
46616 * stdio-common/bug26.c (main): Correct fscanf template.
46618 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46619 declare _dl_skip_args.
46621 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46624 * manual/platform.texi: Add missing @end deftypefun.
46626 2013-05-24 Joseph Myers <joseph@codesourcery.com>
46629 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46630 bit of mantissa of 2^16382.
46631 * math/libm-test.inc (hypot_test_data): Add more tests.
46633 * math/libm-test.inc: Add drem and pow10 to list of tested
46635 (pow10_test): New function.
46636 (drem_test): Likewise.
46637 (drem_test_tonearest): Likewise.
46638 (drem_test_towardzero): Likewise.
46639 (drem_test_downward): Likewise.
46640 (drem_test_upward): Likewise.
46641 (main): Call the new functions.
46643 * math/libm-test.inc (finite_test_data): Remove.
46644 (finite_test): Run tests from isfinite_test_data.
46645 (gamma_test_data): Remove.
46646 (gamma_test): Run tests from lgamma_test_data.
46647 * sysdeps/i386/fpu/libm-test-ulps: Update.
46648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46650 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46652 * manual/platform.texi: Add PowerPC PPR function set documentation.
46653 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46656 2013-05-24 Carlos O'Donell <carlos@redhat.com>
46658 * math/libm-test.inc (MAX_EXP): Define.
46660 (ulp): New function.
46661 (check_float_internal): Use ULPDIFF.
46662 (cpow_test): Disable failing test.
46663 (check_ulp): Test ulp() implemetnation.
46664 (main): Call check_ulp before starting tests.
46666 2013-05-24 Joseph Myers <joseph@codesourcery.com>
46668 * math/gen-libm-test.pl (generate_testfile): Do not handle
46669 START_DATA and END_DATA.
46670 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46672 (acos_tonearest_test_data): Likewise.
46673 (acos_towardzero_test_data): Likewise.
46674 (acos_downward_test_data): Likewise.
46675 (acos_upward_test_data): Likewise.
46676 (acosh_test_data): Likewise.
46677 (asin_test_data): Likewise.
46678 (asin_tonearest_test_data): Likewise.
46679 (asin_towardzero_test_data): Likewise.
46680 (asin_downward_test_data): Likewise.
46681 (asin_upward_test_data): Likewise.
46682 (asinh_test_data): Likewise.
46683 (atan_test_data): Likewise.
46684 (atanh_test_data): Likewise.
46685 (atan2_test_data): Likewise.
46686 (cabs_test_data): Likewise.
46687 (cacos_test_data): Likewise.
46688 (cacosh_test_data): Likewise.
46689 (carg_test_data): Likewise.
46690 (casin_test_data): Likewise.
46691 (casinh_test_data): Likewise.
46692 (catan_test_data): Likewise.
46693 (catanh_test_data): Likewise.
46694 (cbrt_test_data): Likewise.
46695 (ccos_test_data): Likewise.
46696 (ccosh_test_data): Likewise.
46697 (ceil_test_data): Likewise.
46698 (cexp_test_data): Likewise.
46699 (cimag_test_data): Likewise.
46700 (clog_test_data): Likewise.
46701 (clog10_test_data): Likewise.
46702 (conj_test_data): Likewise.
46703 (copysign_test_data): Likewise.
46704 (cos_test_data): Likewise.
46705 (cos_tonearest_test_data): Likewise.
46706 (cos_towardzero_test_data): Likewise.
46707 (cos_downward_test_data): Likewise.
46708 (cos_upward_test_data): Likewise.
46709 (cosh_test_data): Likewise.
46710 (cosh_tonearest_test_data): Likewise.
46711 (cosh_towardzero_test_data): Likewise.
46712 (cosh_downward_test_data): Likewise.
46713 (cosh_upward_test_data): Likewise.
46714 (cpow_test_data): Likewise.
46715 (cproj_test_data): Likewise.
46716 (creal_test_data): Likewise.
46717 (csin_test_data): Likewise.
46718 (csinh_test_data): Likewise.
46719 (csqrt_test_data): Likewise.
46720 (ctan_test_data): Likewise.
46721 (ctan_tonearest_test_data): Likewise.
46722 (ctan_towardzero_test_data): Likewise.
46723 (ctan_downward_test_data): Likewise.
46724 (ctan_upward_test_data): Likewise.
46725 (ctanh_test_data): Likewise.
46726 (ctanh_tonearest_test_data): Likewise.
46727 (ctanh_towardzero_test_data): Likewise.
46728 (ctanh_downward_test_data): Likewise.
46729 (ctanh_upward_test_data): Likewise.
46730 (erf_test_data): Likewise.
46731 (erfc_test_data): Likewise.
46732 (exp_test_data): Likewise.
46733 (exp_tonearest_test_data): Likewise.
46734 (exp_towardzero_test_data): Likewise.
46735 (exp_downward_test_data): Likewise.
46736 (exp_upward_test_data): Likewise.
46737 (exp10_test_data): Likewise.
46738 (exp2_test_data): Likewise.
46739 (expm1_test_data): Likewise.
46740 (fabs_test_data): Likewise.
46741 (fdim_test_data): Likewise.
46742 (finite_test_data): Likewise.
46743 (floor_test_data): Likewise.
46744 (fma_test_data): Likewise.
46745 (fma_towardzero_test_data): Likewise.
46746 (fma_downward_test_data): Likewise.
46747 (fma_upward_test_data): Likewise.
46748 (fmax_test_data): Likewise.
46749 (fmin_test_data): Likewise.
46750 (fmod_test_data): Likewise.
46751 (fpclassify_test_data): Likewise.
46752 (frexp_test_data): Likewise.
46753 (gamma_test_data): Likewise.
46754 (hypot_test_data): Likewise.
46755 (ilogb_test_data): Likewise.
46756 (isfinite_test_data): Likewise.
46757 (isgreater_test_data): Likewise.
46758 (isgreaterequal_test_data): Likewise.
46759 (isinf_test_data): Likewise.
46760 (isless_test_data): Likewise.
46761 (islessequal_test_data): Likewise.
46762 (islessgreater_test_data): Likewise.
46763 (isnan_test_data): Likewise.
46764 (isnormal_test_data): Likewise.
46765 (issignaling_test_data): Likewise.
46766 (isunordered_test_data): Likewise.
46767 (j0_test_data): Likewise.
46768 (j1_test_data): Likewise.
46769 (jn_test_data): Likewise.
46770 (ldexp_test_data): Likewise.
46771 (lgamma_test_data): Likewise.
46772 (lrint_test_data): Likewise.
46773 (lrint_tonearest_test_data): Likewise.
46774 (lrint_towardzero_test_data): Likewise.
46775 (lrint_downward_test_data): Likewise.
46776 (lrint_upward_test_data): Likewise.
46777 (llrint_test_data): Likewise.
46778 (llrint_tonearest_test_data): Likewise.
46779 (llrint_towardzero_test_data): Likewise.
46780 (llrint_downward_test_data): Likewise.
46781 (llrint_upward_test_data): Likewise.
46782 (log_test_data): Likewise.
46783 (log10_test_data): Likewise.
46784 (log1p_test_data): Likewise.
46785 (log2_test_data): Likewise.
46786 (logb_test_data): Likewise.
46787 (logb_downward_test_data): Likewise.
46788 (lround_test_data): Likewise.
46789 (llround_test_data): Likewise.
46790 (modf_test_data): Likewise.
46791 (nearbyint_test_data): Likewise.
46792 (nextafter_test_data): Likewise.
46793 (nexttoward_test_data): Likewise.
46794 (pow_test_data): Likewise.
46795 (pow_tonearest_test_data): Likewise.
46796 (pow_towardzero_test_data): Likewise.
46797 (pow_downward_test_data): Likewise.
46798 (pow_upward_test_data): Likewise.
46799 (remainder_test_data): Likewise.
46800 (remainder_tonearest_test_data): Likewise.
46801 (remainder_towardzero_test_data): Likewise.
46802 (remainder_downward_test_data): Likewise.
46803 (remainder_upward_test_data): Likewise.
46804 (remquo_test_data): Likewise.
46805 (rint_test_data): Likewise.
46806 (rint_tonearest_test_data): Likewise.
46807 (rint_towardzero_test_data): Likewise.
46808 (rint_downward_test_data): Likewise.
46809 (rint_upward_test_data): Likewise.
46810 (round_test_data): Likewise.
46811 (scalb_test_data): Likewise.
46812 (scalbn_test_data): Likewise.
46813 (scalbln_test_data): Likewise.
46814 (signbit_test_data): Likewise.
46815 (sin_test_data): Likewise.
46816 (sin_tonearest_test_data): Likewise.
46817 (sin_towardzero_test_data): Likewise.
46818 (sin_downward_test_data): Likewise.
46819 (sin_upward_test_data): Likewise.
46820 (sincos_test_data): Likewise.
46821 (sinh_test_data): Likewise.
46822 (sinh_tonearest_test_data): Likewise.
46823 (sinh_towardzero_test_data): Likewise.
46824 (sinh_downward_test_data): Likewise.
46825 (sinh_upward_test_data): Likewise.
46826 (sqrt_test_data): Likewise.
46827 (tan_test_data): Likewise.
46828 (tan_tonearest_test_data): Likewise.
46829 (tan_towardzero_test_data): Likewise.
46830 (tan_downward_test_data): Likewise.
46831 (tan_upward_test_data): Likewise.
46832 (tanh_test_data): Likewise.
46833 (tgamma_test_data): Likewise.
46834 (trunc_test_data): Likewise.
46835 (y0_test_data): Likewise.
46836 (y1_test_data): Likewise.
46837 (yn_test_data): Likewise.
46838 (significand_test_data): Likewise.
46840 * math/gen-libm-test.pl (@functions): Remove variable.
46841 (generate_testfile): Don't handle START and END lines.
46842 * math/libm-test.inc (START): New macro.
46844 (END_COMPLEX): Likewise.
46845 (acos_test): Use END macro without arguments.
46846 (acos_test_tonearest): Likewise.
46847 (acos_test_towardzero): Likewise.
46848 (acos_test_downward): Likewise.
46849 (acos_test_upward): Likewise.
46850 (acosh_test): Likewise.
46851 (asin_test): Likewise.
46852 (asin_test_tonearest): Likewise.
46853 (asin_test_towardzero): Likewise.
46854 (asin_test_downward): Likewise.
46855 (asin_test_upward): Likewise.
46856 (asinh_test): Likewise.
46857 (atan_test): Likewise.
46858 (atanh_test): Likewise.
46859 (atan2_test): Likewise.
46860 (cabs_test): Likewise.
46861 (cacos_test): Use END_COMPLEX macro without arguments.
46862 (cacosh_test): Likewise.
46863 (carg_test): Use END macro without arguments.
46864 (casin_test): Use END_COMPLEX macro without arguments.
46865 (casinh_test): Likewise.
46866 (catan_test): Likewise.
46867 (catanh_test): Likewise.
46868 (cbrt_test): Use END macro without arguments.
46869 (ccos_test): Use END_COMPLEX macro without arguments.
46870 (ccosh_test): Likewise.
46871 (ceil_test): Use END macro without arguments.
46872 (cexp_test): Use END_COMPLEX macro without arguments.
46873 (cimag_test): Use END macro without arguments.
46874 (clog_test): Use END_COMPLEX macro without arguments.
46875 (clog10_test): Likewise.
46876 (conj_test): Likewise.
46877 (copysign_test): Use END macro without arguments.
46878 (cos_test): Likewise.
46879 (cos_test_tonearest): Likewise.
46880 (cos_test_towardzero): Likewise.
46881 (cos_test_downward): Likewise.
46882 (cos_test_upward): Likewise.
46883 (cosh_test): Likewise.
46884 (cosh_test_tonearest): Likewise.
46885 (cosh_test_towardzero): Likewise.
46886 (cosh_test_downward): Likewise.
46887 (cosh_test_upward): Likewise.
46888 (cpow_test): Use END_COMPLEX macro without arguments.
46889 (cproj_test): Likewise.
46890 (creal_test): Use END macro without arguments.
46891 (csin_test): Use END_COMPLEX macro without arguments.
46892 (csinh_test): Likewise.
46893 (csqrt_test): Likewise.
46894 (ctan_test): Likewise.
46895 (ctan_test_tonearest): Likewise.
46896 (ctan_test_towardzero): Likewise.
46897 (ctan_test_downward): Likewise.
46898 (ctan_test_upward): Likewise.
46899 (ctanh_test): Likewise.
46900 (ctanh_test_tonearest): Likewise.
46901 (ctanh_test_towardzero): Likewise.
46902 (ctanh_test_downward): Likewise.
46903 (ctanh_test_upward): Likewise.
46904 (erf_test): Use END macro without arguments.
46905 (erfc_test): Likewise.
46906 (exp_test): Likewise.
46907 (exp_test_tonearest): Likewise.
46908 (exp_test_towardzero): Likewise.
46909 (exp_test_downward): Likewise.
46910 (exp_test_upward): Likewise.
46911 (exp10_test): Likewise.
46912 (exp2_test): Likewise.
46913 (expm1_test): Likewise.
46914 (fabs_test): Likewise.
46915 (fdim_test): Likewise.
46916 (finite_test): Likewise.
46917 (floor_test): Likewise.
46918 (fma_test): Likewise.
46919 (fma_test_towardzero): Likewise.
46920 (fma_test_downward): Likewise.
46921 (fma_test_upward): Likewise.
46922 (fmax_test): Likewise.
46923 (fmin_test): Likewise.
46924 (fmod_test): Likewise.
46925 (fpclassify_test): Likewise.
46926 (frexp_test): Likewise.
46927 (gamma_test): Likewise.
46928 (hypot_test): Likewise.
46929 (ilogb_test): Likewise.
46930 (isfinite_test): Likewise.
46931 (isgreater_test): Likewise.
46932 (isgreaterequal_test): Likewise.
46933 (isinf_test): Likewise.
46934 (isless_test): Likewise.
46935 (islessequal_test): Likewise.
46936 (islessgreater_test): Likewise.
46937 (isnan_test): Likewise.
46938 (isnormal_test): Likewise.
46939 (issignaling_test): Likewise.
46940 (isunordered_test): Likewise.
46941 (j0_test): Likewise.
46942 (j1_test): Likewise.
46943 (jn_test): Likewise.
46944 (ldexp_test): Likewise.
46945 (lgamma_test): Likewise.
46946 (lrint_test): Likewise.
46947 (lrint_test_tonearest): Likewise.
46948 (lrint_test_towardzero): Likewise.
46949 (lrint_test_downward): Likewise.
46950 (lrint_test_upward): Likewise.
46951 (llrint_test): Likewise.
46952 (llrint_test_tonearest): Likewise.
46953 (llrint_test_towardzero): Likewise.
46954 (llrint_test_downward): Likewise.
46955 (llrint_test_upward): Likewise.
46956 (log_test): Likewise.
46957 (log10_test): Likewise.
46958 (log1p_test): Likewise.
46959 (log2_test): Likewise.
46960 (logb_test): Likewise.
46961 (logb_test_downward): Likewise.
46962 (lround_test): Likewise.
46963 (llround_test): Likewise.
46964 (modf_test): Likewise.
46965 (nearbyint_test): Likewise.
46966 (nextafter_test): Likewise.
46967 (nexttoward_test): Likewise.
46968 (pow_test): Likewise.
46969 (pow_test_tonearest): Likewise.
46970 (pow_test_towardzero): Likewise.
46971 (pow_test_downward): Likewise.
46972 (pow_test_upward): Likewise.
46973 (remainder_test): Likewise.
46974 (remainder_test_tonearest): Likewise.
46975 (remainder_test_towardzero): Likewise.
46976 (remainder_test_downward): Likewise.
46977 (remainder_test_upward): Likewise.
46978 (remquo_test): Likewise.
46979 (rint_test): Likewise.
46980 (rint_test_tonearest): Likewise.
46981 (rint_test_towardzero): Likewise.
46982 (rint_test_downward): Likewise.
46983 (rint_test_upward): Likewise.
46984 (round_test): Likewise.
46985 (scalb_test): Likewise.
46986 (scalbn_test): Likewise.
46987 (scalbln_test): Likewise.
46988 (signbit_test): Likewise.
46989 (sin_test): Likewise.
46990 (sin_test_tonearest): Likewise.
46991 (sin_test_towardzero): Likewise.
46992 (sin_test_downward): Likewise.
46993 (sin_test_upward): Likewise.
46994 (sincos_test): Likewise.
46995 (sinh_test): Likewise.
46996 (sinh_test_tonearest): Likewise.
46997 (sinh_test_towardzero): Likewise.
46998 (sinh_test_downward): Likewise.
46999 (sinh_test_upward): Likewise.
47000 (sqrt_test): Likewise.
47001 (tan_test): Likewise.
47002 (tan_test_tonearest): Likewise.
47003 (tan_test_towardzero): Likewise.
47004 (tan_test_downward): Likewise.
47005 (tan_test_upward): Likewise.
47006 (tanh_test): Likewise.
47007 (tgamma_test): Likewise.
47008 (trunc_test): Likewise.
47009 (y0_test): Likewise.
47010 (y1_test): Likewise.
47011 (yn_test): Likewise.
47012 (significand_test): Likewise.
47014 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
47017 * libio/genops.c (_IO_no_init): Initialize wide struct info.
47019 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
47022 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47023 __ppc_mdoio and __ppc_mdoom.
47024 * manual/platform.texi: Document new functions __ppc_yield,
47025 __ppc_mdoio and __ppc_mdoom.
47027 2013-05-22 Carlos O'Donell <carlos@redhat.com>
47029 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47030 (main): Mention "tls" pseudo-hwcap is legacy.
47031 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47033 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47035 * math/gen-libm-test.pl (parse_args): Output only string of
47036 arguments as text for test name, not full call or descriptions of
47037 tests for extra outputs.
47038 (generate_testfile): Do not pass function name to parse_args.
47039 Generate this_func variable from START.
47040 * math/libm-test.inc (struct test_f_f_data): Rename test_name
47042 (struct test_ff_f_data): Likewise.
47043 (test_ff_f_data_nexttoward): Likewise.
47044 (struct test_fi_f_data): Likewise.
47045 (struct test_fl_f_data): Likewise.
47046 (struct test_if_f_data): Likewise.
47047 (struct test_fff_f_data): Likewise.
47048 (struct test_c_f_data): Likewise.
47049 (struct test_f_f1_data): Likewise. Remove field extra_name.
47050 (struct test_fF_f1_data): Likewise.
47051 (struct test_ffI_f1_data): Likewise.
47052 (struct test_c_c_data): Rename test_name field to arg_str.
47053 (struct test_cc_c_data): Likewise.
47054 (struct test_f_i_data): Likewise.
47055 (struct test_ff_i_data): Likewise.
47056 (struct test_f_l_data): Likewise.
47057 (struct test_f_L_data): Likewise.
47058 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
47060 (COMMON_TEST_SETUP): New macro.
47061 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47062 (COMMON_TEST_CLEANUP): Likewise.
47063 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47064 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
47066 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47067 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
47069 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47070 (RUN_TEST_fff_f): Take argument string. Call new setup and
47072 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47073 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
47075 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47076 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
47078 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47079 (RUN_TEST_fF_f1): Take argument string. Call new setup and
47081 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47082 (RUN_TEST_fI_f1): Take argument string. Call new setup and
47084 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47085 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
47087 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47088 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
47090 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47091 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
47093 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47094 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
47096 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47097 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
47099 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47100 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
47102 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47103 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
47105 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47106 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
47108 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47109 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
47111 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47112 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
47114 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47115 (RUN_TEST_fFF_11): Take argument string. Call new setup and
47117 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47119 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
47121 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47122 to _sifields.sigfault.
47123 (si_addr_lsb): Define new macro.
47124 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47128 2013-05-03 Carlos O'Donell <carlos at redhat.com>
47131 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47133 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47135 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47136 loading the domain.
47138 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47140 * math/gen-libm-test.pl (parse_args): Do not include expected
47141 result in test name.
47142 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47143 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47144 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47145 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47146 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47149 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47151 * benchtests/Makefile: Sort function entries.
47153 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47154 tanh, asinh, acosh, atanh.
47155 * benchtests/acos-inputs: New file.
47156 * benchtests/acosh-inputs: New file.
47157 * benchtests/asin-inputs: New file.
47158 * benchtests/asinh-inputs: New file.
47159 * benchtests/atanh-inputs: New file.
47160 * benchtests/cosh-inputs: New file.
47161 * benchtests/log-inputs: New file.
47162 * benchtests/sinh-inputs: New file.
47163 * benchtests/tanh-inputs: New file.
47165 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
47168 * posix/tst-getaddrinfo4.c: New test.
47169 * posix/Makefile (tests): Add it.
47171 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47174 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47175 when no services were used.
47176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47177 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47179 2013-05-21 Andreas Schwab <schwab@suse.de>
47182 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47183 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47185 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47186 redundant variable declarations and reallocation of buffer when
47187 parsing as IPv6 address. Always set NSS status when called from
47188 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
47189 buffer too small. Correct computation of needed size.
47190 * nss/Makefile (tests): Add test-digits-dots.
47191 * nss/test-digits-dots.c: New test.
47193 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47195 * benchtests/Makefile: Remove instructions for adding
47197 * benchtests/README: New file to explain how to execute and
47198 enhance the benchmark tests.
47200 2013-05-21 Andreas Schwab <schwab@suse.de>
47203 * setjmp/Makefile (tests): Add tst-sigsetjmp.
47204 * setjmp/tst-sigsetjmp.c: New test.
47206 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47208 * sysdeps/x86_64/memset.S (memset): New implementation.
47209 (__bzero): Likewise.
47210 (__memset_tail): New function.
47212 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47214 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47215 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47216 __memcpy_sse2_unaligned ifunc selection.
47217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47218 Add memcpy-sse2-unaligned.S.
47219 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47220 Add: __memcpy_sse2_unaligned.
47222 2013-05-19 Joseph Myers <joseph@codesourcery.com>
47225 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47226 math_force_eval before restoring floating-point envrionment.
47227 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47230 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47232 (__nearbyintl): Use math_force_eval before restoring
47233 floating-point environment.
47234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47236 * math/gen-libm-test.pl (special_functions): Remove.
47237 (parse_args): Don't handle TEST_extra. Handle functions with no
47239 * math/libm-test.inc (struct test_sincos_data): Replace with
47240 struct test_fFF_11_data.
47241 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47242 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47243 (sincos_test_data): Change element type to struct
47244 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
47245 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47246 RUN_TEST_LOOP_sincos.
47247 * math/README.libm-test: Don't mention special handling of
47248 individual functions.
47249 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47256 * math/gen-libm-test.pl (get_variable): Remove function.
47257 (parse_args): Don't show pointer parameters to call in test
47258 names. Use "extra output N" in test names for extra outputs
47259 rather than naming variables.
47261 2013-05-18 Joseph Myers <joseph@codesourcery.com>
47264 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47265 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47266 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47268 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47270 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47273 * math/gen-libm-test.pl (@tests): Remove variable.
47274 ($count): Likewise.
47275 (new_test): Remove function.
47276 (show_exceptions): New function.
47277 (special_functions): Use show_exceptions instead of new_test.
47278 (parse_args): Likewise.
47279 (generate_testfile): Pass only function name in generated call to
47280 print_max_error or print_complex_max_error.
47281 (get_ulps): Do not handle complex tests specially.
47282 (output_test): Rename to ...
47283 (get_all_ulps_for_test): ... this. Return a string rather than
47284 printing to a file. Require ulps to be present.
47285 (output_ulps): Generate arrays rather than #defines.
47286 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47287 (struct ulp_data): New type.
47288 (BUILD_COMPLEX_ULP): Remove macro.
47289 (compare_ulp_data): New function.
47290 (find_ulps): Likewise.
47291 (find_test_ulps): Likewise.
47292 (find_function_ulps): Likewise.
47293 (find_complex_function_ulps): Likewise.
47294 (print_max_error): Determine allowed ulps using
47295 find_function_ulps.
47296 (print_complex_max_error): Determine allowed ulps using
47297 find_complex_function_ulps.
47298 (check_float_internal): Determine max ulps using find_test_ulps.
47299 (check_float): Do not take max_ulp parameter. Update call to
47300 check_float_internal.
47301 (check_complex): Likewise.
47302 (check_int): Do not take max_ulp parameter.
47303 (check_long): Likewise.
47304 (check_bool): Likewise.
47305 (check_longlong): Likewise.
47306 (struct test_f_f_data): Remove max_ulp field.
47307 (struct test_ff_f_data): Likewise.
47308 (struct test_ff_f_data_nexttoward): Likewise.
47309 (struct test_fi_f_data): Likewise.
47310 (struct test_fl_f_data): Likewise.
47311 (struct test_if_f_data): Likewise.
47312 (struct test_fff_f_data): Likewise.
47313 (struct test_c_f_data): Likewise.
47314 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47315 (struct test_fF_f1_data): Likewise.
47316 (struct test_ffI_f1_data): Likewise.
47317 (struct test_c_c_data): Remove max_ulp field.
47318 (struct test_cc_c_data): Likewise.
47319 (struct test_f_i_data): Likewise.
47320 (struct test_ff_i_data): Likewise.
47321 (struct test_f_l_data): Likewise.
47322 (struct test_f_L_data): Likewise.
47323 (struct test_sincos_data): Likewise.
47324 (RUN_TEST_f_f): Do not handle ulps.
47325 (RUN_TEST_LOOP_f_f): Likewise.
47326 (RUN_TEST_2_f): Likewise.
47327 (RUN_TEST_LOOP_2_f): Likewise.
47328 (RUN_TEST_fff_f): Likewise.
47329 (RUN_TEST_LOOP_fff_f): Likewise.
47330 (RUN_TEST_c_f): Likewise.
47331 (RUN_TEST_LOOP_c_f): Likewise.
47332 (RUN_TEST_f_f1): Likewise.
47333 (RUN_TEST_LOOP_f_f1): Likewise.
47334 (RUN_TEST_fF_f1): Likewise.
47335 (RUN_TEST_LOOP_fF_f1): Likewise.
47336 (RUN_TEST_fI_f1): Likewise.
47337 (RUN_TEST_LOOP_fI_f1): Likewise.
47338 (RUN_TEST_ffI_f1): Likewise.
47339 (RUN_TEST_LOOP_ffI_f1): Likewise.
47340 (RUN_TEST_c_c): Likewise.
47341 (RUN_TEST_LOOP_c_c): Likewise.
47342 (RUN_TEST_cc_c): Likewise.
47343 (RUN_TEST_LOOP_cc_c): Likewise.
47344 (RUN_TEST_f_i): Likewise.
47345 (RUN_TEST_LOOP_f_i): Likewise.
47346 (RUN_TEST_f_i_tg): Likewise.
47347 (RUN_TEST_LOOP_f_i_tg): Likewise.
47348 (RUN_TEST_ff_i_tg): Likewise.
47349 (RUN_TEST_LOOP_ff_i_tg): Likewise.
47350 (RUN_TEST_f_b): Likewise.
47351 (RUN_TEST_LOOP_f_b): Likewise.
47352 (RUN_TEST_f_b_tg): Likewise.
47353 (RUN_TEST_LOOP_f_b_tg): Likewise.
47354 (RUN_TEST_f_l): Likewise.
47355 (RUN_TEST_LOOP_f_l): Likewise.
47356 (RUN_TEST_f_L): Likewise.
47357 (RUN_TEST_LOOP_f_L): Likewise.
47358 (RUN_TEST_sincos): Likewise.
47359 (RUN_TEST_LOOP_sincos): Likewise.
47361 2013-05-17 Joseph Myers <joseph@codesourcery.com>
47365 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47366 main case of finite arguments, set rounding mode to FE_TONEAREST
47367 and discard exceptions.
47368 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47370 (remainder_tonearest_test_data): New variable.
47371 (remainder_test_tonearest): New function.
47372 (remainder_towardzero_test_data): New variable.
47373 (remainder_test_towardzero): New function.
47374 (remainder_downward_test_data): New variable.
47375 (remainder_test_downward): New function.
47376 (remainder_upward_test_data): New variable.
47377 (remainder_test_upward): New function.
47378 (main): Call the new test functions.
47380 * math/libm-test.inc (struct test_f_f1_data): Remove field
47382 (struct test_fF_f1_data): Likewise.
47383 (struct test_ffI_f1_data): Likewise.
47384 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
47385 based on value of EXTRA_EXPECTED.
47386 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47387 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
47388 EXTRA_VAR based on value of EXTRA_EXPECTED.
47389 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47390 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
47391 EXTRA_VAR based on value of EXTRA_EXPECTED.
47392 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47393 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
47394 EXTRA_VAR based on value of EXTRA_EXPECTED.
47395 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47396 * math/gen-libm-test.pl (parse_args): Don't output initializers
47397 for extra output values.
47399 * math/libm-test.inc (check_int): Expect result to be exactly
47400 equal to expected value and do not handle ulps.
47401 (check_long): Likewise.
47402 (check_longlong): Likewise.
47404 * math/libm-test.inc (ceil_test_data): Test for "inexact"
47406 (cimag_test_data): Likewise.
47407 (conj_test_data): Likewise.
47408 (copysign_test_data): Likewise.
47409 (cproj_test_data): Likewise.
47410 (creal_test_data): Likewise.
47411 (fabs_test_data): Likewise.
47412 (fdim_test_data): Likewise.
47413 (finite_test_data): Likewise.
47414 (floor_test_data): Likewise.
47415 (fmax_test_data): Likewise.
47416 (fmin_test_data): Likewise.
47417 (fmod_test_data): Likewise.
47418 (fpclassify_test_data): Likewise.
47419 (frexp_test_data): Likewise.
47420 (ilogb_test_data): Likewise.
47421 (isfinite_test_data): Likewise.
47422 (isgreater_test_data): Likewise.
47423 (isgreaterequal_test_data): Likewise.
47424 (isinf_test_data): Likewise.
47425 (isless_test_data): Likewise.
47426 (islessequal_test_data): Likewise.
47427 (islessgreater_test_data): Likewise.
47428 (isnan_test_data): Likewise.
47429 (isnormal_test_data): Likewise.
47430 (issignaling_test_data): Likewise.
47431 (isunordered_test_data): Likewise.
47432 (ldexp_test_data): Likewise.
47433 (lrint_test_data): Likewise.
47434 (lrint_test_data) [TEST_FLOAT]: Disable one test.
47435 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47436 (lrint_tonearest_test_data): Test for "inexact" exceptions.
47437 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47438 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47439 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47441 (lrint_towardzero_test_data): Test for "inexact" exceptions.
47442 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47443 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47444 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47446 (lrint_downward_test_data): Test for "inexact" exceptions.
47447 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47448 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47449 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47451 (lrint_upward_test_data): Test for "inexact" exceptions.
47452 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47454 (llrint_test_data): Test for "inexact" exceptions.
47455 (llrint_test_data) [TEST_FLOAT]: Disable one test.
47456 (llrint_tonearest_test_data): Test for "inexact" exceptions.
47457 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47458 (llrint_towardzero_test_data): Test for "inexact" exceptions.
47459 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47460 (llrint_downward_test_data): Test for "inexact" exceptions.
47461 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47462 (llrint_upward_test_data): Test for "inexact" exceptions.
47463 (logb_test_data): Likewise.
47464 (logb_downward_test_data): Likewise.
47465 (nextafter_test_data): Likewise.
47466 (nexttoward_test_data): Likewise.
47467 (remainder_test_data): Likewise.
47468 (remquo_test_data): Likewise.
47469 (scalbn_test_data): Likewise.
47470 (scalbln_test_data): Likewise.
47471 (signbit_test_data): Likewise.
47472 (sqrt_test_data): Likewise.
47473 (significand_test_data): Likewise.
47475 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47478 * benchtests/bench-modf.c (struct args): Mark arg0 as
47480 * scripts/bench.pl: Mark members of struct args as volatile.
47482 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47485 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47486 negative infinity on POWER6 or lower.
47487 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47489 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
47492 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47493 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47494 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47495 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47496 (_FP_SETQNAN): New macro.
47497 (_FP_SETQNAN_SEMIRAW): Likewise.
47498 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47499 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47500 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47501 (FP_EXTEND): Use _FP_FRAC_SNANP.
47502 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47503 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47510 2013-05-16 Joseph Myers <joseph@codesourcery.com>
47512 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47513 with DIVIDE_BY_ZERO_EXCEPTION.
47514 (gamma_test_data): Likewise.
47515 (lgamma_test_data): Likewise.
47516 (log_test_data): Likewise.
47517 (log10_test_data): Likewise.
47518 (log2_test_data): Likewise.
47519 (tgamma_test_data): Likewise.
47521 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47522 (acos_test_tonearest): Likewise.
47523 (acos_test_towardzero): Likewise.
47524 (acos_test_downward): Likewise.
47525 (acos_test_upward): Likewise.
47526 (acosh_test): Likewise.
47527 (asin_test): Likewise.
47528 (asin_test_tonearest): Likewise.
47529 (asin_test_towardzero): Likewise.
47530 (asin_test_downward): Likewise.
47531 (asin_test_upward): Likewise.
47532 (asinh_test): Likewise.
47533 (atan_test): Likewise.
47534 (atanh_test): Likewise.
47535 (atan2_test): Likewise.
47536 (cabs_test): Likewise.
47537 (cacos_test): Likewise.
47538 (cacosh_test): Likewise.
47539 (casin_test): Likewise.
47540 (casinh_test): Likewise.
47541 (catan_test): Likewise.
47542 (catanh_test): Likewise.
47543 (cbrt_test): Likewise.
47544 (ccos_test): Likewise.
47545 (ccosh_test): Likewise.
47546 (cexp_test): Likewise.
47547 (clog_test): Likewise.
47548 (clog10_test): Likewise.
47549 (cos_test): Likewise.
47550 (cos_test_tonearest): Likewise.
47551 (cos_test_towardzero): Likewise.
47552 (cos_test_downward): Likewise.
47553 (cos_test_upward): Likewise.
47554 (cosh_test): Likewise.
47555 (cosh_test_tonearest): Likewise.
47556 (cosh_test_towardzero): Likewise.
47557 (cosh_test_downward): Likewise.
47558 (cosh_test_upward): Likewise.
47559 (cpow_test): Likewise.
47560 (csin_test): Likewise.
47561 (csinh_test): Likewise.
47562 (csqrt_test): Likewise.
47563 (ctan_test): Likewise.
47564 (ctan_test_tonearest): Likewise.
47565 (ctan_test_towardzero): Likewise.
47566 (ctan_test_downward): Likewise.
47567 (ctan_test_upward): Likewise.
47568 (ctanh_test): Likewise.
47569 (ctanh_test_tonearest): Likewise.
47570 (ctanh_test_towardzero): Likewise.
47571 (ctanh_test_downward): Likewise.
47572 (ctanh_test_upward): Likewise.
47573 (erf_test): Likewise.
47574 (erfc_test): Likewise.
47575 (exp_test): Likewise.
47576 (exp_test_tonearest): Likewise.
47577 (exp_test_towardzero): Likewise.
47578 (exp_test_downward): Likewise.
47579 (exp_test_upward): Likewise.
47580 (exp10_test): Likewise.
47581 (exp2_test): Likewise.
47582 (expm1_test): Likewise.
47583 (fmod_test): Likewise.
47584 (gamma_test): Likewise.
47585 (hypot_test): Likewise.
47586 (j0_test): Likewise.
47587 (j1_test): Likewise.
47588 (jn_test): Likewise.
47589 (lgamma_test): Likewise.
47590 (log_test): Likewise.
47591 (log10_test): Likewise.
47592 (log1p_test): Likewise.
47593 (log2_test): Likewise.
47594 (logb_test_downward): Likewise.
47595 (pow_test): Likewise.
47596 (pow_test_tonearest): Likewise.
47597 (pow_test_towardzero): Likewise.
47598 (pow_test_downward): Likewise.
47599 (pow_test_upward): Likewise.
47600 (remainder_test): Likewise.
47601 (remquo_test): Likewise.
47602 (sin_test): Likewise.
47603 (sin_test_tonearest): Likewise.
47604 (sin_test_towardzero): Likewise.
47605 (sin_test_downward): Likewise.
47606 (sin_test_upward): Likewise.
47607 (sincos_test): Likewise.
47608 (sinh_test): Likewise.
47609 (sinh_test_tonearest): Likewise.
47610 (sinh_test_towardzero): Likewise.
47611 (sinh_test_downward): Likewise.
47612 (sinh_test_upward): Likewise.
47613 (sqrt_test): Likewise.
47614 (tan_test): Likewise.
47615 (tan_test_tonearest): Likewise.
47616 (tan_test_towardzero): Likewise.
47617 (tan_test_downward): Likewise.
47618 (tan_test_upward): Likewise.
47619 (tanh_test): Likewise.
47620 (tgamma_test): Likewise.
47621 (y0_test): Likewise.
47622 (y1_test): Likewise.
47623 (yn_test): Likewise.
47625 * math/gen-libm-test.pl (adjust_arg): Remove function.
47626 (special_function): Remove argument $in_func. Only handle
47627 generating output for tables of tests, not inside functions.
47628 (parse_args): Likewise.
47629 (generate_testfile): Remove variable $in_func. Update call to
47631 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47632 (MINUS_ZERO_INIT): Rename macro to minus_zero.
47633 (PLUS_INFTY_INIT): Rename macro to plus_infty.
47634 (MINUS_INFTY_INIT): Rename macro to minus_infty.
47635 (QNAN_VALUE_INIT): Rename macro to qnan_value.
47636 (MAX_VALUE_INIT): Rename macro to max_value.
47637 (MIN_VALUE_INIT): Rename macro to min_value.
47638 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47639 (plus_zero): Remove variable.
47640 (minus_zero): Likewise.
47641 (plus_infty): Likewise.
47642 (minus_infty): Likewise.
47643 (qnan_value): Likewise.
47644 (max_value): Likewise.
47645 (min_value): Likewise.
47646 (min_subnorm_value): Likewise.
47648 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47650 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47651 uint64_t or uint32_t usage.
47652 * crypt/sha256-block.c: Likewise.
47653 * crypt/sha256-crypt.c: Likewise.
47654 * crypt/sha256.c: Likewise.
47655 * crypt/sha512-block.c: Likewise.
47656 * crypt/sha512-crypt.c: Likewise.
47657 * crypt/sha512.c: Likewise.
47658 * debug/backtrace-tst.c: Likewise.
47659 * debug/pcprofiledump.c: Likewise.
47660 * elf/cache.c: Likewise.
47661 * elf/dl-cache.c: Likewise.
47662 * elf/dl-misc.c: Likewise.
47663 * elf/dl-profile.c: Likewise.
47664 * elf/dl-support.c: Likewise.
47665 * elf/ldconfig.c: Likewise.
47666 * elf/sprof.c: Likewise.
47667 * iconv/dummy-repertoire.c: Likewise.
47668 * iconv/iconv_charmap.c: Likewise.
47669 * iconv/skeleton.c: Likewise.
47670 * iconvdata/8bit-generic.c: Likewise.
47671 * iconvdata/cp737.h: Likewise.
47672 * iconvdata/cp775.h: Likewise.
47673 * iconvdata/ibm1008.h: Likewise.
47674 * iconvdata/ibm1025.h: Likewise.
47675 * iconvdata/ibm1046.h: Likewise.
47676 * iconvdata/ibm1097.h: Likewise.
47677 * iconvdata/ibm1112.h: Likewise.
47678 * iconvdata/ibm1122.h: Likewise.
47679 * iconvdata/ibm1123.h: Likewise.
47680 * iconvdata/ibm1124.h: Likewise.
47681 * iconvdata/ibm1129.h: Likewise.
47682 * iconvdata/ibm1130.h: Likewise.
47683 * iconvdata/ibm1132.h: Likewise.
47684 * iconvdata/ibm1133.h: Likewise.
47685 * iconvdata/ibm1137.h: Likewise.
47686 * iconvdata/ibm1140.h: Likewise.
47687 * iconvdata/ibm1141.h: Likewise.
47688 * iconvdata/ibm1142.h: Likewise.
47689 * iconvdata/ibm1143.h: Likewise.
47690 * iconvdata/ibm1144.h: Likewise.
47691 * iconvdata/ibm1145.h: Likewise.
47692 * iconvdata/ibm1146.h: Likewise.
47693 * iconvdata/ibm1147.h: Likewise.
47694 * iconvdata/ibm1148.h: Likewise.
47695 * iconvdata/ibm1149.h: Likewise.
47696 * iconvdata/ibm1153.h: Likewise.
47697 * iconvdata/ibm1154.h: Likewise.
47698 * iconvdata/ibm1155.h: Likewise.
47699 * iconvdata/ibm1156.h: Likewise.
47700 * iconvdata/ibm1157.h: Likewise.
47701 * iconvdata/ibm1158.h: Likewise.
47702 * iconvdata/ibm1160.h: Likewise.
47703 * iconvdata/ibm1161.h: Likewise.
47704 * iconvdata/ibm1162.h: Likewise.
47705 * iconvdata/ibm1163.h: Likewise.
47706 * iconvdata/ibm1164.h: Likewise.
47707 * iconvdata/ibm1166.h: Likewise.
47708 * iconvdata/ibm1167.h: Likewise.
47709 * iconvdata/ibm12712.h: Likewise.
47710 * iconvdata/ibm1390.h: Likewise.
47711 * iconvdata/ibm1399.h: Likewise.
47712 * iconvdata/ibm16804.h: Likewise.
47713 * iconvdata/ibm4517.h: Likewise.
47714 * iconvdata/ibm4899.h: Likewise.
47715 * iconvdata/ibm4909.h: Likewise.
47716 * iconvdata/ibm4971.h: Likewise.
47717 * iconvdata/ibm5347.h: Likewise.
47718 * iconvdata/ibm803.h: Likewise.
47719 * iconvdata/ibm856.h: Likewise.
47720 * iconvdata/ibm901.h: Likewise.
47721 * iconvdata/ibm902.h: Likewise.
47722 * iconvdata/ibm9030.h: Likewise.
47723 * iconvdata/ibm9066.h: Likewise.
47724 * iconvdata/ibm921.h: Likewise.
47725 * iconvdata/ibm922.h: Likewise.
47726 * iconvdata/ibm9448.h: Likewise.
47727 * iconvdata/isiri-3342.h: Likewise.
47728 * iconvdata/jis0201.h: Likewise.
47729 * include/link.h: Likewise.
47730 * include/netdb.h: Likewise.
47731 * inet/check_native.c: Likewise.
47732 * inet/check_pf.c: Likewise.
47733 * inet/getipv4sourcefilter.c: Likewise.
47734 * inet/getnameinfo.c: Likewise.
47735 * inet/getsourcefilter.c: Likewise.
47736 * inet/htonl.c: Likewise.
47737 * inet/setipv4sourcefilter.c: Likewise.
47738 * inet/setsourcefilter.c: Likewise.
47739 * inet/test-inet6_opt.c: Likewise.
47740 * inet/tst-network.c: Likewise.
47741 * locale/C-collate.c: Likewise.
47742 * locale/C-ctype.c: Likewise.
47743 * locale/C-time.c: Likewise.
47744 * locale/C-translit.h: Likewise.
47745 * locale/loadarchive.c: Likewise.
47746 * locale/programs/3level.h: Likewise.
47747 * locale/programs/charmap.c: Likewise.
47748 * locale/programs/charmap.h: Likewise.
47749 * locale/programs/ld-address.c: Likewise.
47750 * locale/programs/ld-collate.c: Likewise.
47751 * locale/programs/ld-ctype.c: Likewise.
47752 * locale/programs/ld-identification.c: Likewise.
47753 * locale/programs/ld-measurement.c: Likewise.
47754 * locale/programs/ld-messages.c: Likewise.
47755 * locale/programs/ld-monetary.c: Likewise.
47756 * locale/programs/ld-name.c: Likewise.
47757 * locale/programs/ld-numeric.c: Likewise.
47758 * locale/programs/ld-paper.c: Likewise.
47759 * locale/programs/ld-telephone.c: Likewise.
47760 * locale/programs/ld-time.c: Likewise.
47761 * locale/programs/linereader.c: Likewise.
47762 * locale/programs/locale.c: Likewise.
47763 * locale/programs/locarchive.c: Likewise.
47764 * locale/programs/locfile.h: Likewise.
47765 * locale/programs/repertoire.c: Likewise.
47766 * locale/programs/simple-hash.c: Likewise.
47767 * locale/programs/simple-hash.h: Likewise.
47768 * malloc/memusage.c: Likewise.
47769 * malloc/memusagestat.c: Likewise.
47770 * nis/nis_defaults.c: Likewise.
47771 * nis/nis_hash.c: Likewise.
47772 * nis/nis_print.c: Likewise.
47773 * nis/nis_xdr.c: Likewise.
47774 * nscd/connections.c: Likewise.
47775 * nscd/hstcache.c: Likewise.
47776 * nscd/nscd_gethst_r.c: Likewise.
47777 * nscd/nscd_getserv_r.c: Likewise.
47778 * nscd/nscd_helper.c: Likewise.
47779 * nscd/servicescache.c: Likewise.
47780 * nss/makedb.c: Likewise.
47781 * nss/nss_db/db-XXX.c: Likewise.
47782 * nss/nss_db/db-initgroups.c: Likewise.
47783 * nss/nss_db/db-netgrp.c: Likewise.
47784 * nss/nss_files/files-network.c: Likewise.
47785 * nss/nss_files/files-parse.c: Likewise.
47786 * posix/bug-regex5.c: Likewise.
47787 * posix/fnmatch_loop.c: Likewise.
47788 * posix/regcomp.c: Likewise.
47789 * posix/regexec.c: Likewise.
47790 * posix/tst-rfc3484-2.c: Likewise.
47791 * posix/tst-rfc3484-3.c: Likewise.
47792 * posix/tst-rfc3484.c: Likewise.
47793 * resolv/nss_dns/dns-canon.c: Likewise.
47794 * resolv/nss_dns/dns-network.c: Likewise.
47795 * resolv/res_init.c: Likewise.
47796 * resolv/res_mkquery.c: Likewise.
47797 * resolv/tst-aton.c: Likewise.
47798 * stdlib/cxa_atexit.c: Likewise.
47799 * stdlib/cxa_finalize.c: Likewise.
47800 * stdlib/gen-fpioconst.c: Likewise.
47801 * stdlib/strtol_l.c: Likewise.
47802 * string/tst-endian.c: Likewise.
47803 * sunrpc/auth_des.c: Likewise.
47804 * sunrpc/clnt_udp.c: Likewise.
47805 * sunrpc/rtime.c: Likewise.
47806 * sunrpc/svcauth_des.c: Likewise.
47807 * sunrpc/xdr.c: Likewise.
47808 * sunrpc/xdr_intXX_t.c: Likewise.
47809 * sunrpc/xdr_rec.c: Likewise.
47810 * sysdeps/generic/ldconfig.h: Likewise.
47811 * sysdeps/generic/ldsodefs.h: Likewise.
47812 * sysdeps/generic/memusage.h: Likewise.
47813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47815 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47816 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47823 * sysdeps/posix/getaddrinfo.c: Likewise.
47824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47828 * sysdeps/powerpc/test-gettimebase.c: Likewise.
47829 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47830 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47831 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47832 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47833 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47835 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47836 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47837 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47839 * sysdeps/x86_64/dl-tls.h: Likewise.
47840 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47841 * time/alt_digit.c: Likewise.
47842 * time/era.c: Likewise.
47843 * wcsmbs/tst-c16c32-1.c: Likewise.
47845 2013-05-16 Joseph Myers <joseph@codesourcery.com>
47847 * math/libm-test.inc (struct test_sincos_data): New type.
47848 (RUN_TEST_LOOP_sincos): New macro.
47849 (sincos_test_data): New variable.
47850 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47852 2013-05-16 Richard Henderson <rth@redhat.com>
47854 * math/atest-exp2.c (LIMB64): New macro.
47855 (CONSTSZ): New macro.
47856 (mp_exp1, mp_exp_m1, mp_log2): New variables.
47858 (print_mpn_fp): ... to function scope.
47859 (read_mpn_hex): Remove.
47860 (get_log2): Remove.
47861 (exp2_mpn): Use mp_log2.
47862 (main): Use mp_exp1.
47864 2013-05-16 Joseph Myers <joseph@codesourcery.com>
47866 * math/libm-test.inc: Remove comment about not testing "inexact"
47868 (INEXACT_EXCEPTION): New macro.
47869 (NO_INEXACT_EXCEPTION): Likewise.
47870 (INVALID_EXCEPTION_OK): Update value.
47871 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47872 (OVERFLOW_EXCEPTION_OK): Likewise.
47873 (UNDERFLOW_EXCEPTION_OK): Likewise.
47874 (IGNORE_ZERO_INF_SIGN): Likewise.
47875 (ERRNO_UNCHANGED): Likewise.
47876 (ERRNO_EDOM): Likewise.
47877 (ERRNO_ERANGE): Likewise.
47878 (test_exceptions): Handle testing "inexact" exceptions.
47879 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47880 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47881 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47882 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47884 (rint_towardzero_test_data): Likewise.
47885 (rint_downward_test_data): Likewise.
47886 (rint_upward_test_data): Likewise.
47888 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47889 with OVERFLOW_EXCEPTION.
47890 (exp10_test_data): Likewise.
47891 (exp2_test_data): Likewise.
47892 (expm1_test_data): Likewise.
47893 (lgamma_test_data): Likewise.
47894 (pow_test_data): Likewise.
47895 (tgamma_test_data): Likewise.
47896 (yn_test_data): Remove duplicate test of overflow.
47898 * math/libm-test.inc (struct test_cc_c_data): New type.
47899 (RUN_TEST_LOOP_cc_c): New macro.
47900 (cpow_test_data): New variable.
47901 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47903 * math/libm-test.inc (struct test_f_L_data): New type.
47904 (RUN_TEST_LOOP_f_L): New macro.
47905 (llrint_test_data): New variable.
47906 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47907 (llrint_tonearest_test_data): New variable.
47908 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47909 (llrint_towardzero_test_data): New variable.
47910 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47911 (llrint_downward_test_data): New variable.
47912 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47913 (llrint_upward_test_data): New variable.
47914 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47915 (llround_test_data): New variable.
47916 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47918 2013-05-13 Peter Collingbourne <pcc@google.com>
47920 * math/atest-exp2.c (get_log2): Remove const attribute.
47922 2013-05-15 Joseph Myers <joseph@codesourcery.com>
47924 * math/libm-test.inc (struct test_f_l_data): New type.
47925 (RUN_TEST_LOOP_f_l): New macro.
47926 (lrint_test_data): New variable.
47927 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47928 (lrint_tonearest_test_data): New variable.
47929 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47930 (lrint_towardzero_test_data): New variable.
47931 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47932 (lrint_downward_test_data): New variable.
47933 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47934 (lrint_upward_test_data): New variable.
47935 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47936 (lround_test_data): New variable.
47937 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47939 2013-05-15 Peter Collingbourne <pcc@google.com>
47941 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47942 (EXTRACT_WORDS64) Use where appropriate.
47943 (INSERT_WORDS64) Likewise.
47945 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47946 constraints with x constraints.
47947 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47949 * malloc/obstack.c (_obstack_compat): Add initializer.
47951 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
47953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47954 si_trapno and add si_addr_lsb to _sifields.sigfault.
47955 (si_trapno): Remove macro.
47956 (si_addr_lsb): Define new macro.
47957 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47959 2013-05-15 Joseph Myers <joseph@codesourcery.com>
47961 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47962 instead of TEST_f_l.
47963 (llrint_test_tonearest): Likewise.
47964 (llrint_test_towardzero): Likewise.
47965 (llrint_test_downward): Likewise.
47966 (llrint_test_upward): Likewise.
47967 (llround_test): Likewise.
47969 * math/libm-test.inc (struct test_f_i_data): Add comment.
47970 (RUN_TEST_LOOP_f_b): New macro.
47971 (RUN_TEST_LOOP_f_b_tg): Likewise.
47972 (finite_test_data): New variable.
47973 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47974 (isfinite_test_data): New variable.
47975 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47976 (isinf_test_data): New variable.
47977 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47978 (isnan_test_data): New variable.
47979 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47980 (isnormal_test_data): New variable.
47981 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47982 (issignaling_test_data): New variable.
47983 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47984 (signbit_test_data): New variable.
47985 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47987 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47988 with INVALID_EXCEPTION.
47989 (acosh_test_data): Likewise.
47990 (asin_test_data): Likewise.
47991 (atanh_test_data): Likewise.
47992 (fmod_test_data): Likewise.
47993 (log_test_data): Likewise.
47994 (log10_test_data): Likewise.
47995 (log2_test_data): Likewise.
47996 (pow_test_data): Likewise.
47997 (sqrt_test_data): Likewise.
47998 (y0_test_data): Likewise.
47999 (y1_test_data): Likewise.
48000 (yn_test_data): Likewise.
48002 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48005 * math/libm-test.inc (struct test_ff_i_data): New type.
48006 (RUN_TEST_LOOP_ff_i_tg): New macro.
48007 (isgreater_test_data): New variable.
48008 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48009 (isgreaterequal_test_data): New variable.
48010 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48011 (isless_test_data): New variable.
48012 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48013 (islessequal_test_data): New variable.
48014 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48015 (islessgreater_test_data): New variable.
48016 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48017 (isunordered_test_data): New variable.
48018 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48020 2013-05-14 David S. Miller <davem@davemloft.net>
48022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48024 2013-05-14 Joseph Myers <joseph@codesourcery.com>
48026 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48028 * math/libm-test.inc (struct test_fF_f1_data): Change type of
48030 (struct test_f_i_data): Change type of max_ulp to int.
48032 * math/libm-test.inc (test_ffI_f1_data): New type.
48033 (RUN_TEST_LOOP_ffI_f1): New macro.
48034 (remquo_test_data): New variable.
48035 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48037 * setjmp/tst-setjmp-fp.c: New file.
48038 * setjmp/Makefile (tests): Add tst-setjmp-fp.
48039 (link-libm): New variable.
48040 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48042 * math/libm-test.inc (struct test_f_i_data): New type.
48043 (RUN_TEST_LOOP_f_i): New macro.
48044 (RUN_TEST_LOOP_f_i_tg): Likewise.
48045 (fpclassify_test_data): New variable.
48046 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48047 (ilogb_test_data): New variable.
48048 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48050 * math/libm-test.inc (scalbln_test): Correct function name in END
48053 * math/libm-test.inc (struct test_f_f1_data): Add comment.
48054 (RUN_TEST_LOOP_fI_f1): New macro.
48055 (frexp_test_data): New variable.
48056 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48058 * math/libm-test.inc (struct test_fF_f1_data): New type.
48059 (RUN_TEST_LOOP_fF_f1): New macro.
48060 (modf_test_data): New variable.
48061 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48063 * math/libm-test.inc (struct test_f_f1_data): New type.
48064 (RUN_TEST_LOOP_f_f1): New macro.
48065 (gamma_test_data): New variable.
48066 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48067 (lgamma_test_data): New variable.
48068 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48070 2013-05-13 Carlos O'Donell <carlos@redhat.com>
48072 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48073 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48074 (main): Comment "tls" pseudo-hwcap.
48076 2013-05-13 Joseph Myers <joseph@codesourcery.com>
48078 * math/libm-test.inc (struct test_fl_f_data): New type.
48079 (RUN_TEST_LOOP_fl_f): New variable.
48080 (scalbln_test_data): New variable.
48081 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48083 * math/libm-test.inc (struct test_fi_f_data): New type.
48084 (RUN_TEST_LOOP_fi_f): New macro.
48085 (ldexp_test_data): New variable.
48086 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48087 (scalbn_test_data): New variable.
48088 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48090 * math/libm-test.inc (struct test_c_f_data): New type.
48091 (RUN_TEST_LOOP_c_f): New macro.
48092 (cabs_test_data): New variable.
48093 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48094 (carg_test_data): New variable.
48095 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48096 (cimag_test_data): New variable.
48097 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48098 (creal_test_data): New variable.
48099 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48101 * math/libm-test.inc (struct test_if_f_data): New type.
48102 (RUN_TEST_LOOP_if_f): New macro.
48103 (jn_test_data): New variable.
48104 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48105 (yn_test_data): New variable.
48106 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48108 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48110 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48112 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48113 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48115 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48117 * benchtests/Makefile (CPPFLAGS-nonlib): Add
48118 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48119 (bench-deps): Add bench-timing.h.
48120 * benchtests-bench-skeleton.c: Include bench-timing.h.
48121 (main): Use TIMING_* macros instead of clock_gettime.
48122 * benchtests/bench-timing.h: New file.
48125 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48126 Renamed from _LIB_VERSION.
48127 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48129 2013-05-12 Joseph Myers <joseph@codesourcery.com>
48131 * math/libm-test.inc (struct test_fff_f_data): New type.
48132 (RUN_TEST_LOOP_fff_f): New macro.
48133 (fma_test_data): New variable.
48134 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48135 (fma_towardzero_test_data): New variable.
48136 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48137 (fma_downward_test_data): New variable.
48138 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48139 (fma_upward_test_data): New variable.
48140 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48142 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48143 (struct test_c_c_data): New type.
48144 (RUN_TEST_LOOP_c_c): New macro.
48145 (cacos_test_data): New variable.
48146 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48147 (cacosh_test_data): New variable.
48148 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48149 (casin_test_data): New variable.
48150 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48151 (casinh_test_data): New variable.
48152 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48153 (catan_test_data): New variable.
48154 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48155 (catanh_test_data): New variable.
48156 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48157 (ccos_test_data): New variable.
48158 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48159 (ccosh_test_data): New variable.
48160 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48161 (cexp_test_data): New variable.
48162 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48163 (clog_test_data): New variable.
48164 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48165 (clog10_test_data): New variable.
48166 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48167 (conj_test_data): New variable.
48168 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48169 (cproj_test_data): New variable.
48170 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48171 (csin_test_data): New variable.
48172 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48173 (csinh_test_data): New variable.
48174 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48175 (csqrt_test_data): New variable.
48176 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48177 (ctan_test_data): New variable.
48178 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48179 (ctan_tonearest_test_data): New variable.
48180 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48181 (ctan_towardzero_test_data): New variable.
48182 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48183 (ctan_downward_test_data): New variable.
48184 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48185 (ctan_upward_test_data): New variable.
48186 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48187 (ctanh_test_data): New variable.
48188 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48189 (ctanh_tonearest_test_data): New variable.
48190 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48191 (ctanh_towardzero_test_data): New variable.
48192 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48193 (ctanh_downward_test_data): New variable.
48194 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48195 (ctanh_upward_test_data): New variable.
48196 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48197 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48200 * math/libm-test.inc (struct test_ff_f_data): New type.
48201 (struct test_ff_f_data_nexttoward): Likewise.
48202 (RUN_TEST_LOOP_2_f): New macro.
48203 (RUN_TEST_LOOP_ff_f): Likewise.
48204 (atan2_test_data): New variable.
48205 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48206 (copysign_test_data): New variable.
48207 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48208 (fdim_test_data): New variable.
48209 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48210 (fmax_test_data): New variable.
48211 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48212 (fmin_test_data): New variable.
48213 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48214 (fmod_test_data): New variable.
48215 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48216 (hypot_test_data): New variable.
48217 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48218 (nextafter_test_data): New variable.
48219 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48220 (nexttoward_test_data): New variable.
48221 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48222 (pow_test_data): New variable.
48223 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48224 (pow_tonearest_test_data): New variable.
48225 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48226 (pow_towardzero_test_data): New variable.
48227 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48228 (pow_downward_test_data): New variable.
48229 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48230 (pow_upward_test_data): New variable.
48231 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48232 (remainder_test_data): New variable.
48233 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48234 (scalb_test_data): New variable.
48235 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48236 * sysdeps/i386/fpu/libm-test-ulps: Update.
48238 2013-05-11 Joseph Myers <joseph@codesourcery.com>
48240 * math/libm-test.inc (fma_test): Use max_value instead of local
48242 (nextafter_test): Likewise.
48244 * math/libm-test.inc (acos_towardzero_test_data): New variable.
48245 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48246 (acos_downward_test_data): New variable.
48247 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48248 (acos_upward_test_data): New variable.
48249 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48250 (acosh_test_data): New variable.
48251 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48252 (asin_test_data): New variable.
48253 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48254 (asin_tonearest_test_data): New variable.
48255 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48256 (asin_towardzero_test_data): New variable.
48257 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48258 (asin_downward_test_data): New variable.
48259 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48260 (asin_upward_test_data): New variable.
48261 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48262 (asinh_test_data): New variable.
48263 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48264 (atan_test_data): New variable.
48265 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48266 (atanh_test_data): New variable.
48267 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48268 (cbrt_test_data): New variable.
48269 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48270 (ceil_test_data): New variable.
48271 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48272 (cos_test_data): New variable.
48273 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48274 (cos_tonearest_test_data): New variable.
48275 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48276 (cos_towardzero_test_data): New variable.
48277 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48278 (cos_downward_test_data): New variable.
48279 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48280 (cos_upward_test_data): New variable.
48281 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48282 (cosh_test_data): New variable.
48283 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48284 (cosh_tonearest_test_data): New variable.
48285 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48286 (cosh_towardzero_test_data): New variable.
48287 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48288 (cosh_downward_test_data): New variable.
48289 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48290 (cosh_upward_test_data): New variable.
48291 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48292 (erf_test_data): New variable.
48293 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48294 (erfc_test_data): New variable.
48295 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48296 (exp_test_data): New variable.
48297 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48298 (exp_tonearest_test_data): New variable.
48299 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48300 (exp_towardzero_test_data): New variable.
48301 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48302 (exp_downward_test_data): New variable.
48303 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48304 (exp_upward_test_data): New variable.
48305 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48306 (exp10_test_data): New variable.
48307 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48308 (exp2_test_data): New variable.
48309 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48310 (expm1_test_data): New variable.
48311 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48312 (fabs_test_data): New variable.
48313 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48314 (floor_test_data): New variable.
48315 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48316 (j0_test_data): New variable.
48317 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48318 (j1_test_data): New variable.
48319 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48320 (log_test_data): New variable.
48321 (log_test): Run tests with RUN_TEST_LOOP_f_f.
48322 (log10_test_data): New variable.
48323 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48324 (log1p_test_data): New variable.
48325 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48326 (log2_test_data): New variable.
48327 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48328 (logb_test_data): New variable.
48329 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48330 (logb_downward_test_data): New variable.
48331 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48332 (nearbyint_test_data): New variable.
48333 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48334 (rint_test_data): New variable.
48335 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48336 (rint_tonearest_test_data): New variable.
48337 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48338 (rint_towardzero_test_data): New variable.
48339 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48340 (rint_downward_test_data): New variable.
48341 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48342 (rint_upward_test_data): New variable.
48343 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48344 (round_test_data): New variable.
48345 (round_test): Run tests with RUN_TEST_LOOP_f_f.
48346 (sin_test_data): New variable.
48347 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48348 (sin_tonearest_test_data): New variable.
48349 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48350 (sin_towardzero_test_data): New variable.
48351 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48352 (sin_downward_test_data): New variable.
48353 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48354 (sin_upward_test_data): New variable.
48355 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48356 (sinh_test_data): New variable.
48357 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48358 (sinh_tonearest_test_data): New variable.
48359 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48360 (sinh_towardzero_test_data): New variable.
48361 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48362 (sinh_downward_test_data): New variable.
48363 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48364 (sinh_upward_test_data): New variable.
48365 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48366 (sqrt_test_data): New variable.
48367 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48368 (tan_test_data): New variable.
48369 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48370 (tan_tonearest_test_data): New variable.
48371 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48372 (tan_towardzero_test_data): New variable.
48373 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48374 (tan_downward_test_data): New variable.
48375 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48376 (tan_upward_test_data): New variable.
48377 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48378 (tanh_test_data): New variable.
48379 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48380 (tgamma_test_data): New variable.
48381 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48382 (trunc_test_data): New variable.
48383 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48384 (y0_test_data): New variable.
48385 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48386 (y1_test_data): New variable.
48387 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48388 (significand_test_data): New variable.
48389 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48391 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
48394 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48396 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
48398 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48400 2013-05-10 Andreas Jaeger <aj@suse.de>
48403 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48404 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48406 2013-05-10 Joseph Myers <joseph@codesourcery.com>
48408 * math/gen-libm-test.pl (adjust_arg): New function.
48409 (special_functions): Handle generating output in both functions
48411 (parse_args): Likewise.
48412 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
48413 $in_func argument to parse_args.
48414 * math/libm-test.inc (struct test_f_f_data): New type.
48415 (IF_ROUND_INIT_): New macro.
48416 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48417 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48418 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48419 (IF_ROUND_INIT_FE_UPWARD): Likewise.
48420 (ROUND_RESTORE_): Likewise.
48421 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48422 (ROUND_RESTORE_FE_TONEAREST): Likewise.
48423 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48424 (ROUND_RESTORE_FE_UPWARD): Likewise.
48425 (RUN_TEST_LOOP_f_f): New macro.
48426 (acos_test_data): New variable.
48427 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48428 (acos_tonearest_test_data): New variable.
48429 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48431 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48433 * benchtests/bench-skeleton.c (startup): Fix coding style.
48435 2013-05-10 Joseph Myers <joseph@codesourcery.com>
48438 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48439 negative infinity argument.
48440 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48441 negative infinity argument.
48442 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48443 negative infinity argument.
48444 * math/libm-test.inc (tgamma_test): Expect errno to be set for
48447 2013-05-10 Florian Weimer <fweimer@redhat.com>
48449 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48450 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48451 * iconv/iconv_prog.c (main): Likewise.
48452 * locale/programs/charmap-dir.c (charmap_readdir)
48453 (fopen_uncompressed): Likewise.
48454 * locale/programs/locfile.c (siblings_uncached)
48455 (write_locale_data): Use lstat64 instead of lstat.
48456 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48459 2013-05-10 Andreas Jaeger <aj@suse.de>
48462 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48464 Include <locale.h>.
48466 2013-05-09 Carlos O'Donell <carlos@redhat.com>
48468 * elf/dl-close.c (_dl_close_worker): Add comments.
48470 2013-05-09 Joseph Myers <joseph@codesourcery.com>
48473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48475 (__ieee754_rem_pio2l): Update comments.
48478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48480 (__ieee754_rem_pio2l): Update comments.
48482 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48483 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48485 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48488 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48489 (M_PI_34_LOG10El): Likewise.
48490 (M_PI2_LOG10El): Likewise.
48491 (M_PI4_LOG10El): Likewise.
48492 (M_PI_LOG10El): Likewise.
48494 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48498 2013-05-08 Joseph Myers <joseph@codesourcery.com>
48500 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48501 (MINUS_ZERO_INIT): Likewise.
48502 (PLUS_INFTY_INIT): Likewise.
48503 (MINUS_INFTY_INIT): Likewise.
48504 (QNAN_VALUE_INIT): Likewise.
48505 (MAX_VALUE_INIT): Likewise.
48506 (MIN_VALUE_INIT): Likewise.
48507 (MIN_SUBNORM_VALUE_INIT): Likewise.
48508 (plus_zero): Initialize with PLUS_ZERO_INIT.
48509 (minus_zero): Initialize with MINUS_ZERO_INIT.
48510 (plus_infty): Initialize with PLUS_INFTY_INIT.
48511 (minus_infty): Initialize with MINUS_INFTY_INIT.
48512 (qnan_value): Initialize with QNAN_VALUE_INIT.
48513 (max_value): Initialize with MAX_VALUE_INIT.
48514 (min_value): Initialize with MIN_VALUE_INIT.
48515 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48517 * math/libm-test.inc (RUN_TEST_if_f): New macro.
48518 (jn_test): Use TEST_if_f instead of TEST_ff_f.
48519 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48520 (yn_test): Use TEST_if_f instead of TEST_ff_f.
48522 * math/libm-test.inc (RUN_TEST_f_f): New macro.
48523 (RUN_TEST_2_f): Likewise.
48524 (RUN_TEST_ff_f): Likewise.
48525 (RUN_TEST_fi_f): Likewise.
48526 (RUN_TEST_fl_f): Likewise.
48527 (RUN_TEST_fff_f): Likewise.
48528 (RUN_TEST_c_f): Likewise.
48529 (RUN_TEST_f_f1): Likewise.
48530 (RUN_TEST_fF_f1): Likewise.
48531 (RUN_TEST_fI_f1): Likewise.
48532 (RUN_TEST_ffI_f1): Likewise.
48533 (RUN_TEST_c_c): Likewise.
48534 (RUN_TEST_cc_c): Likewise.
48535 (RUN_TEST_f_i): Likewise.
48536 (RUN_TEST_f_i_tg): Likewise.
48537 (RUN_TEST_ff_i_tg): Likewise.
48538 (RUN_TEST_f_b): Likewise.
48539 (RUN_TEST_f_b_tg): Likewise.
48540 (RUN_TEST_f_l): Likewise.
48541 (RUN_TEST_f_L): Likewise.
48542 (RUN_TEST_sincos): Likewise.
48543 * math/gen-libm-test.pl (new_test): Take new argument to indicate
48544 whether to show exceptions. Do not include ");\n" in return
48546 (special_functions): Output call to RUN_TEST_sincos instead of
48547 check_float calls. Update calls to new_test.
48548 (parse_args): Output call to single RUN_TEST_* macro instead of
48549 check_* calls and other assignments. Update calls to new_test.
48555 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48556 input to result for tgamma overflow.
48557 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48558 (gamma_coeff): New variable.
48559 (NCOEFF): New macro.
48560 (gamma_positive): New function.
48561 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48562 underflow here. Use gamma_positive instead of exp (lgamma) for
48564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48565 (gamma_coeff): New variable.
48566 (NCOEFF): New macro.
48567 (gammaf_positive): New function.
48568 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48569 underflow here. Use gamma_positive instead of exp (lgamma) for
48571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48572 (gamma_coeff): New variable.
48573 (NCOEFF): New macro.
48574 (gammal_positive): New function.
48575 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48576 underflow here. Use gamma_positive instead of exp (lgamma) for
48578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48579 (gamma_coeff): New variable.
48580 (NCOEFF): New macro.
48581 (gammal_positive): New function.
48582 (__ieee754_gammal_r): Handle positive infinity, overflow and
48583 underflow here. Handle NaN the same as positive infinity. Remove
48584 check x < 0xffffffff for negative integers. Use gamma_positive
48585 instead of exp (lgamma) for other arguments.
48586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48587 (gamma_coeff): New variable.
48588 (NCOEFF): New macro.
48589 (gammal_positive): New function.
48590 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48591 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48595 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48596 * sysdeps/generic/math_private.h (__gamma_productf): New
48598 (__gamma_product): Likewise.
48599 (__gamma_productl): Likewise.
48600 * math/Makefile (libm-calls): Add gamma_product.
48601 * math/libm-test.inc (tgamma_test): Add more tests.
48602 * sysdeps/i386/fpu/libm-test-ulps: Update.
48603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48605 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
48607 * benchtests/bench-skeleton.c (main): Preheat CPU.
48609 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
48611 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48613 2013-05-07 Roland McGrath <roland@hack.frob.com>
48615 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48616 and _dl_skip_args_internal.
48618 2013-05-07 Carlos O'Donell <carlos@redhat.com>
48620 * manual/message.texi (Message Translation): Talk about users.
48621 Message to key mapping impacts design.
48623 2013-05-06 Roland McGrath <roland@hack.frob.com>
48625 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48627 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48629 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48630 * sysdeps/wordsize-64/glob64.c: ... here.
48632 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48633 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48636 * debug/getlogin_r_chk.c: Moved to ...
48637 * login/getlogin_r_chk.c: ... here.
48638 * debug/Makefile (routines): Move getlogin_r_chk to ...
48639 * login/Makefile (routines): ... here.
48640 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48641 * login/Versions (libc: GLIBC_2.4): ... here.
48643 * io/poll.c (__poll): Renamed from poll.
48644 Add libc_hidden_def.
48645 (poll): Define as weak alias.
48647 * debug/ptsname_r_chk.c: Moved to ...
48648 * login/ptsname_r_chk.c: ... here.
48649 * debug/Makefile (routines): Move ptsname_r_chk to ...
48650 * login/Makefile (routines): ... here.
48651 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48652 * login/Versions (libc: GLIBC_2.4): ... here.
48654 * posix/getlogin.c: Moved to ...
48655 * login/getlogin.c: ... here.
48656 * posix/getlogin_r.c: Moved to ...
48657 * login/getlogin_r.c: ... here.
48658 * posix/getlogin_r.c: Moved to ...
48659 * login/getlogin_r.c: ... here.
48660 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48661 * login/Makefile (routines): ... here.
48662 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48663 * login/Versions (libc: GLIBC_2.0): ... here.
48665 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48666 (setrlimit): Define as weak alias.
48668 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48669 Call __ names for open, ftruncate, and close.
48670 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48671 (truncate): Define as weak alias.
48673 2013-05-06 Joseph Myers <joseph@codesourcery.com>
48675 * math/gen-libm-test.pl (parse_args): Initialize x before each
48676 test of frexp, modf and remquo.
48678 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48679 test signgam value.
48681 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48685 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48689 2013-05-06 Roland McGrath <roland@hack.frob.com>
48691 * elf/dl-writev.h: New file.
48692 * elf/dl-misc.c: Include it.
48693 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48694 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48696 2013-05-04 Joseph Myers <joseph@codesourcery.com>
48698 * math/libm-test.inc (noXFails): Remove variable.
48699 (noXPasses): Likewise.
48700 (BUILD_COMPLEX_INT): Remove macro.
48701 (print_screen): Remove xfail argument.
48702 (print_screen_max_error): Likewise.
48703 (update_stats): Likewise.
48704 (print_max_error): Likewise. Update calls to other affected
48706 (print_complex_max_error): Likewise.
48707 (test_single_exception): Update calls to print_screen.
48708 (test_single_errno): Likewise.
48709 (check_float_internal): Remove xfail argument. Update calls to
48710 other affected functions.
48711 (check_float): Likewise.
48712 (check_complex): Likewise.
48713 (check_int): Likewise.
48714 (check_long): Likewise.
48715 (check_bool): Likewise.
48716 (check_longlong): Likewise.
48717 (main): Don't print noXFails and noXPasses.
48718 * math/gen-libm-test.pl (top level): Don't mention expected
48719 failure handling in comment.
48720 (new_test): Don't handle expected failures.
48721 (parse_args): Don't mention expected failure handling in comment.
48722 (generate_testfile): Don't handle expected failures.
48723 (parse_ulps): Likewise.
48724 (print_ulps_file): Likewise.
48725 (get_failure): Remove function.
48726 (output_test): Don't handle expected failures.
48727 * make/README.libm-test: Don't mention expected failure handling.
48729 * math/libm-test.inc (plus_zero): Make const. Add initializer.
48730 (minus_zero): Likewise.
48731 (plus_infty): Likewise.
48732 (minus_infty): Likewise.
48733 (qnan_value): Likewise.
48734 (max_value): Likewise.
48735 (min_value): Likewise.
48736 (min_subnorm_value): Likewise.
48737 (initialize): Do not initialize those variables dynamically.
48739 2013-05-03 Roland McGrath <roland@hack.frob.com>
48741 * io/open.c (__open_2): Moved to ...
48742 * io/open_2.c: ... this new file.
48743 * io/open64.c (__open64_2): Moved to ...
48744 * io/open64_2.c: ... this new file.
48745 * io/openat.c (__openat_2): Moved to ...
48746 * io/openat_2.c: ... this new file.
48747 * io/openat64.c (__openat64_2): Moved to ...
48748 * io/openat64_2.c: ... this new file.
48749 * io/Makefile (routines): Add them.
48750 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48751 * sysdeps/unix/sysv/linux/open_2.c: File removed.
48752 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48753 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48754 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48755 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48756 (__openat64): Add hidden_ver.
48757 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48758 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48760 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48761 Separately conditionalize setting of GLRO(dl_sysinfo) so
48762 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48763 as well, but the actual setting is only under [NEED_DL_SYSINFO].
48765 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48767 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48770 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48771 * sysdeps/unix/sysv/linux/powerpc/init-first.c
48772 (_libc_vdso_platform_setup): Add __vdso_time initialization.
48773 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48774 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48776 2013-05-03 Joseph Myers <joseph@codesourcery.com>
48778 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48779 test signgam value.
48781 * math/libm-test.inc (hypot_test): Do not use
48782 IGNORE_ZERO_INF_SIGN.
48784 2013-05-03 Andreas Jaeger <aj@suse.de>
48786 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48789 (PF_MAX): Adjust for VSOCK change.
48791 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48795 2013-05-02 Carlos O'Donell <carlos@redhat.com>
48798 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48799 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48800 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48802 2013-05-02 David S. Miller <davem@davemloft.net>
48804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48806 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
48808 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48810 2013-05-01 Roland McGrath <roland@hack.frob.com>
48812 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48814 2013-05-01 Richard Smith <richard@metafoo.co.uk>
48817 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48818 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48819 Use __attribute__ ((__gnu_inline__)).
48820 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48821 Don't use __attribute__ ((__gnu_inline__)).
48823 2013-05-01 Joseph Myers <joseph@codesourcery.com>
48826 * math/s_catan.c (__catan): Handle small real or imaginary part of
48827 input specially to avoid spurious underflow.
48828 * math/s_catanf.c (__catanf): Likewise.
48829 * math/s_catanh.c (__catanh): Likewise.
48830 * math/s_catanhf.c (__catanhf): Likewise.
48831 * math/s_catanhl.c (__catanhl): Likewise.
48832 * math/s_catanl.c (__catanl): Likewise.
48833 * math/libm-test.inc (catan_test): Add more tests.
48834 (catanh_test): Likewise.
48835 * sysdeps/i386/fpu/libm-test-ulps: Update.
48836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48838 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48842 2013-04-30 Joseph Myers <joseph@codesourcery.com>
48845 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48846 accurately for denominator in atan2.
48847 * math/s_catanf.c (__catanf): Likewise.
48848 * math/s_catanh.c (__catanh): Likewise.
48849 * math/s_catanhf.c (__catanhf): Likewise.
48850 * math/s_catanhl.c (__catanhl): Likewise.
48851 * math/s_catanl.c (__catanl): Likewise.
48852 * math/libm-test.inc (catan_test): Add more tests.
48853 (catanh_test): Likewise.
48854 * sysdeps/i386/fpu/libm-test-ulps: Update.
48855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48857 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48859 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48861 * benchtests/Makefile (bench): Remove slow benchmarks.
48862 * benchtests/atan-inputs: Add slow benchmark inputs.
48863 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48864 (BENCH_FUNC): Accept variant offset.
48866 * benchtests/bench-skeleton.c (main): Run benchmark for each
48868 * benchtests/cos-inputs: Add slow benchmark inputs.
48869 * benchtests/exp-inputs: Likewise.
48870 * benchtests/pow-inputs: Likewise.
48871 * benchtests/sin-inputs: Likewise.
48872 * benchtests/slowatan-inputs: Remove.
48873 * benchtests/slowatan.c: Remove.
48874 * benchtests/slowcos-inputs: Remove.
48875 * benchtests/slowcos.c: Remove.
48876 * benchtests/slowexp-inputs: Remove.
48877 * benchtests/slowexp.c: Remove.
48878 * benchtests/slowpow-inputs: Remove.
48879 * benchtests/slowpow.c: Remove.
48880 * benchtests/slowsin-inputs: Remove.
48881 * benchtests/slowsin.c: Remove.
48882 * benchtests/slowtan-inputs: Remove.
48883 * benchtests/slowtan.c: Remove.
48884 * benchtests/tan-inputs: Add slow benchmark inputs.
48885 * scripts/bench.pl: Parse comments and directives.
48887 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
48889 ($(objpfx)bench-%.c): Remove *-ITER.
48890 * benchtests/bench-modf.c: Remove definition of ITER.
48891 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48892 (main): Loop for DURATION seconds instead of fixed number of
48894 * scripts/bench.pl: Don't expect iterations in parameters.
48896 2013-04-29 Roland McGrath <roland@hack.frob.com>
48898 * io/fchdir.c (__fchdir): Renamed from fchdir.
48899 (fchdir): Define as weak alias.
48901 2013-04-29 Joseph Myers <joseph@codesourcery.com>
48903 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48904 (ERRNO_EDOM): Likewise.
48905 (ERRNO_ERANGE): Likewise.
48906 (noErrnoTests): New variable.
48907 (init_max_error): Set errno to 0.
48908 (test_single_errno): New function.
48909 (test_errno): Likewise.
48910 (check_float_internal): Call test_errno. Set errno to 0.
48911 (check_complex): Refer to errno tests in comment.
48912 (check_int): Call test_errno. Set errno to 0.
48913 (check_long): Likewise.
48914 (check_bool): Likewise.
48915 (check_longlong): Likewise.
48916 (cos_test): Use ERRNO_* flags for errno tests instead of
48918 (expm1_test): Likewise.
48919 (fmod_test): Likewise.
48920 (ilogb_test): Likewise.
48921 (lgamma_test): Likewise.
48922 (pow_test): Likewise.
48923 (remainder_test): Likewise.
48924 (sin_test): Likewise.
48925 (tan_test): Likewise.
48926 (yn_test): Likewise.
48927 (initialize): Set errno to 0.
48928 (main): Print number of errno tests.
48929 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48931 2013-04-29 Andreas Jaeger <aj@suse.de>
48934 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48938 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48939 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48943 * stdlib/random.c (__initstate): Return NULL if
48947 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48948 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48951 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48955 2013-04-29 Joseph Myers <joseph@codesourcery.com>
48957 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48958 of individual tests.
48959 (casin_test): Likewise.
48960 (casinh_test): Likewise.
48962 2013-04-27 Joseph Myers <joseph@codesourcery.com>
48965 * math/s_catan.c (__catan): Handle arguments with large real or
48966 imaginary part separately without squaring.
48967 * math/s_catanf.c (__catanf): Likewise.
48968 * math/s_catanh.c (__catanh): Likewise.
48969 * math/s_catanhf.c (__catanhf): Likewise.
48970 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48972 (__catanhl): Handle arguments with large real or imaginary part
48973 separately without squaring.
48974 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48976 (__catanl): Handle arguments with large real or imaginary part
48977 separately without squaring.
48978 * math/libm-test.inc (catan_test): Add more tests.
48979 (catanh_test): Likewise.
48980 * sysdeps/i386/fpu/libm-test-ulps: Update.
48981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48983 2013-04-27 Andreas Jaeger <aj@suse.de>
48986 * stdlib/stdlib.h: Update guards for qecvt.
48987 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48990 2013-04-27 Allan McRae <allan@archlinux.org>
48992 * sysdeps/i386/fpu/libm-test-ulps: Update.
48994 2013-04-26 Joseph Myers <joseph@codesourcery.com>
48997 * math/s_catan.c: Include <float.h>.
48998 (__catan): Ensure underflow exception occurs for underflowed
49000 * math/s_catanf.c: Include <float.h>.
49001 (__catanf): Ensure underflow exception occurs for underflowed
49003 * math/s_catanh.c: Include <float.h>.
49004 (__catanh): Ensure underflow exception occurs for underflowed
49006 * math/s_catanhf.c: Include <float.h>.
49007 (__catanhf): Ensure underflow exception occurs for underflowed
49009 * math/s_catanhl.c: Include <float.h>.
49010 (__catanhl): Ensure underflow exception occurs for underflowed
49012 * math/s_catanl.c: Include <float.h>.
49013 (__catanl): Ensure underflow exception occurs for underflowed
49015 * math/libm-test.inc (catan_test): Add more tests.
49016 (catanh_test): Likewise.
49019 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49020 underflowed result.
49021 * math/s_ccoshf.c (__ccoshf): Likewise.
49022 * math/s_ccoshl.c (__ccoshl): Likewise.
49023 * math/s_csin.c (__csin): Likewise.
49024 * math/s_csinf.c (__csinf): Likewise.
49025 * math/s_csinh.c (__csinh): Likewise.
49026 * math/s_csinhf.c (__csinhf): Likewise.
49027 * math/s_csinhl.c (__csinhl): Likewise.
49028 * math/s_csinl.c (__csinl): Likewise.
49029 * math/libm-test.inc (ccos_test): Add more tests.
49030 (ccosh_test): Likewise.
49031 (csin_test): Likewise.
49032 (csinh_test): Likewise.
49034 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49036 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49037 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49038 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49039 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49040 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49041 powerpc/power5+/fpu folders.
49042 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49045 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
49047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49049 2013-04-25 Joseph Myers <joseph@codesourcery.com>
49051 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49052 additions to variable.
49053 [$(config-machine) = x86_64] (modules-names): Likewise.
49054 ($(objpfx)tst-audit3): Remove dependency.
49055 ($(objpfx)tst-audit3.out): Likewise.
49056 ($(objpfx)tst-audit4): Likewise.
49057 ($(objpfx)tst-audit4.out): Likewise.
49058 ($(objpfx)tst-audit5): Likewise.
49059 ($(objpfx)tst-audit5.out): Likewise.
49060 ($(objpfx)tst-audit6): Likewise.
49061 ($(objpfx)tst-audit6.out): Likewise.
49062 ($(objpfx)tst-audit7): Likewise.
49063 ($(objpfx)tst-audit7.out): Likewise.
49064 (tst-audit3-ENV): Remove variable.
49065 (tst-audit4-ENV): Likewise.
49066 (tst-audit5-ENV): Likewise.
49067 (tst-audit6-ENV): Likewise.
49068 (tst-audit7-ENV): Likewise.
49069 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49070 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49071 addition to variable.
49072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49075 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49076 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49077 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49078 tst-audit3, tst-audit4 and tst-audit5.
49079 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49080 tst-audit6 and tst-audit7.
49081 [$(subdir) = elf] (modules-names): Add audit modules for those
49083 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49084 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49085 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49086 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49087 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49088 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49089 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49090 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49091 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49092 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49093 [$(subdir) = elf] (tst-audit3-ENV): New variable.
49094 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49095 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49096 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49097 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49098 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49100 [$(subdir) = elf && $(config-cflags-avx) = yes]
49101 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49102 [$(subdir) = elf && $(config-cflags-avx) = yes]
49103 (CFLAGS-tst-auditmod4a.c): Likewise.
49104 [$(subdir) = elf && $(config-cflags-avx) = yes]
49105 (CFLAGS-tst-auditmod4b.c): Likewise.
49106 [$(subdir) = elf && $(config-cflags-avx) = yes]
49107 (CFLAGS-tst-auditmod6b.c): Likewise.
49108 [$(subdir) = elf && $(config-cflags-avx) = yes]
49109 (CFLAGS-tst-auditmod6c.c): Likewise.
49110 [$(subdir) = elf && $(config-cflags-avx) = yes]
49111 (CFLAGS-tst-auditmod7b.c): Likewise.
49112 * elf/tst-audit3.c: Move to ...
49113 * sysdeps/x86_64/tst-audit3.c: ... here.
49114 * elf/tst-audit4.c: Move to ...
49115 * sysdeps/x86_64/tst-audit4.c: ... here.
49116 * elf/tst-audit5.c: Move to ...
49117 * sysdeps/x86_64/tst-audit5.c: ... here.
49118 * elf/tst-audit6.c: Move to ...
49119 * sysdeps/x86_64/tst-audit6.c: ... here.
49120 * elf/tst-audit7.c: Move to ...
49121 * sysdeps/x86_64/tst-audit7.c: ... here.
49122 * elf/tst-auditmod3a.c: Move to ...
49123 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49124 * elf/tst-auditmod3b.c: Move to ...
49125 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49126 * elf/tst-auditmod4a.c: Move to ...
49127 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49128 * elf/tst-auditmod4b.c: Move to ...
49129 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49130 * elf/tst-auditmod5a.c: Move to ...
49131 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49132 * elf/tst-auditmod5b.c: Move to ...
49133 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49134 * elf/tst-auditmod6a.c: Move to ...
49135 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49136 * elf/tst-auditmod6b.c: Move to ...
49137 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49138 * elf/tst-auditmod6c.c: Move to ...
49139 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49140 * elf/tst-auditmod7a.c: Move to ...
49141 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49142 * elf/tst-auditmod7b.c: Move to ...
49143 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49145 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
49148 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49149 define unconditionally.
49150 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49151 define unconditionally.
49152 (INT8_C, INT16_C, etc.): Likewise.
49154 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
49156 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49157 __ehdr_start with hidden visibility.
49159 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49161 2013-04-24 Carlos O'Donell <carlos@redhat.com>
49163 * math/libm-test.inc (cos_test): Use accurate hex constants.
49164 (sincost_test): Likewise.
49166 2013-04-24 Joseph Myers <joseph@codesourcery.com>
49168 * math/libm-test.inc (catan_test): Add more tests.
49169 (catanh_test): Likewise.
49171 * math/s_catanf.c (__catanf): Use suffixed floating-point
49173 * math/s_catanhf.c (__catanhf): Likewise.
49174 * math/s_catanhl.c (__catanhl): Likewise.
49175 * math/s_catanl.c (__catanl): Likewise.
49178 * math/s_catan.c (__catan): Calculate imaginary part of result
49179 with log1p not log unless computing log of number close to 0.
49180 * math/s_catanf.c (__catanf): Likewise.
49181 * math/s_catanl.c (__catanl): Likewise.
49182 * math/s_catanh.c (__catanh): Calculate real part of result with
49183 log1p not log unless computing log of number close to 0.
49184 * math/s_catanhf.c (__catanhf): Likewise.
49185 * math/s_catanhl.c (__catanhl): Likewise.
49186 * math/libm-test.inc (catan_test): Add more tests.
49187 (catanh_test): Likewise.
49188 * sysdeps/i386/fpu/libm-test-ulps: Update.
49189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49191 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49193 * benchtests/Makefile: Mention files in which fast and slow
49194 paths of math functions are implemented.
49196 2013-04-23 Roland McGrath <roland@hack.frob.com>
49198 * sysdeps/posix/timespec_get.c: New file.
49200 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49202 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49204 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49206 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49207 powerpc/power5/fpu folders.
49208 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49209 * benchtests/Makefile: Add modf testcase.
49210 * benchtests/bench-modf.c: New file: Benchmark test for mo
49212 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49215 * time/Makefile (tests): Add tst-strptime-whitespace.
49216 * time/strptime_l.c (get_number): Use ISSPACE.
49217 (__strptime_internal): Likewise.
49218 * time/tst-strptime-whitespace.c: New test case.
49220 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
49222 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49224 (_nss_files_init): Set it here.
49226 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
49228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49229 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49232 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
49234 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49236 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49238 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49241 2013-04-21 David S. Miller <davem@davemloft.net>
49243 * po/ru.po: Update Russion translation from translation project.
49245 2013-04-17 Adam Conrad <adconrad@0c3.net>
49247 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49250 2013-04-17 Carlos O'Donell <carlos@redhat.com>
49252 * configure.in: Remove i386 configure warning. Remove i386 case.
49253 * configure: Regenerate.
49254 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49255 Add example to error message.
49256 * sysdeps/i386/configure: Regenerate.
49258 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49260 * benchtests/Makefile (bench): Add cos, tan, slowcos and
49262 * benchtests/cos-inputs: New file.
49263 * benchtests/slowcos-inputs: New file.
49264 * benchtests/slowcos.c: New file.
49265 * benchtests/slowtan-inputs: New file.
49266 * benchtests/slowtan.c: New file.
49267 * benchtests/tan-inputs: New file.
49269 2013-04-16 Roland McGrath <roland@hack.frob.com>
49271 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49274 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49276 * benchtests/Makefile: Include cppflags-iterator.mk to add
49277 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49279 * Makefile.in (bench-clean): New target.
49280 * benchtests/Makefile (bench-clean): Likewise.
49282 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
49284 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49286 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
49288 * stdio-common/tstdiomisc.c: Fix coding-style violation.
49290 2013-04-15 Andreas Schwab <schwab@suse.de>
49292 * nscd/grpcache.c (cache_addgr): Properly check for short write.
49293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49294 * nscd/pwdcache.c (cache_addpw): Likewise.
49295 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
49298 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49300 * benchtests/Makefile (bench): Write all output to
49301 bench-out.tmp together.
49303 2013-04-15 Andreas Schwab <schwab@suse.de>
49305 * nscd/nscd.c (main): Don't fork again after closing files.
49307 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49309 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49311 * benchtests/Rules (bench-deps): Collect dependencies into a
49312 single variable. Add Makefile to dependencies.
49313 ($(objpfx)bench-%.c): Depend on bench-deps.
49315 2013-04-12 Roland McGrath <roland@hack.frob.com>
49316 Xavier Roche <roche+kml2@exalead.com>
49319 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49320 just that it's a file descriptor.
49321 * manual/llio.texi (Synchronizing AIO Operations): Update description
49322 for EBADF error from aio_fsync.
49324 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49326 * Rules (bench): Move target definition...
49327 * benchtests/Makefile: ... here.
49329 2013-04-11 Carlos O'Donell <carlos@redhat.com>
49331 * math/libm-test.inc (cos_test): Fix PI/2 test.
49332 (sincos_test): Likewise.
49333 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49334 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49336 2013-04-11 Andreas Schwab <schwab@suse.de>
49339 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49340 accept exponent character only when digits were seen.
49341 * stdio-common/Makefile (tests): Add bug26.
49342 * stdio-common/bug26.c: New file.
49345 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49348 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49350 * Makeconfig (rtld-prefix): Define built linker prefix.
49351 * Rules (run-bench): Use it.
49352 * math/Makefile (run-regen-ulps): Likewise.
49354 * Rules (bench): Remove eval.
49356 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49357 Roland McGrath <roland@hack.frob.com>
49358 Ondrej Bilka <neleai@seznam.cz>
49361 * time/getdate.c: Include ctype.h and alloca.h.
49362 (__getdate_r): Trim leading and trailing spaces of input.
49363 * time/tst-getdate.c (tests): Add tests with leading and
49366 2013-04-08 Roland McGrath <roland@hack.frob.com>
49369 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49370 when computing value.
49372 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49374 * math/README.libm-test (How can I generate "libm-test-ulps"?):
49375 Use testrun.sh to run libm tests.
49378 * elf/dl-open.c (dl_open_worker): memset all of seen array.
49380 2013-04-06 Marko Myllynen <myllynen@redhat.com>
49383 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49385 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49387 * Makefile.in (regen-ulps): New target.
49388 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49389 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49390 [ifneq (no,$(PERL)] (regen-ulps): New target.
49391 [ifeq (no,$(PERL)] (regen-ulps): New target.
49392 * math/libm-test.inc (ulps_file_name): Define.
49393 (output_dir): New variable.
49394 (options): Add "output-dir" option.
49395 (parse_opt): Handle 'o' case.
49396 (main): If output_dir is non-NULL use it as a prefix
49398 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49400 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49402 [BZ #10060, #10062]
49403 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49404 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49405 fail configure if __sync_val_compare_and_swap is not inlined.
49406 * sysdeps/i386/configure: Regenerate.
49407 * configure.in: Build for i686 when configured for i386.
49408 * configure: Regenerate.
49409 * README: Remove i386 reference.
49411 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49413 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49414 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49416 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
49418 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49419 (lmsnanval): New variables.
49420 (F): Add conversion tests.
49421 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49422 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49424 * stdio-common/tstdiomisc.c (F): Properly collect individual
49427 [BZ #14686, #15336]
49428 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49429 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49430 Instead, use input NaN values or generate a qNaN by arithmetic
49431 operation. Also fix bugs to comply with the standard.
49432 * math/libm-test.inc (remainder_test): Add more tests.
49434 [BZ #15335, #15342]
49435 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49437 input NaN values or generate a qNaN by arithmetic operation.
49439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49442 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49445 2013-04-03 Joseph Myers <joseph@codesourcery.com>
49448 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49449 underflowed result.
49450 * math/s_cexpf.c (__cexpf): Likewise.
49451 * math/s_cexpl.c (__cexpl): Likewise.
49452 * math/libm-test.inc (cexp_test): Add more tests.
49454 2013-04-03 Andreas Schwab <schwab@suse.de>
49457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49458 order arrays from heap if bigger than alloca cutoff.
49460 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
49462 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49463 (SNAN_TESTS_double): Refer to GCC PR56831.
49464 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49467 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49469 * Rules (bench): Move bench.out after the run is complete.
49471 * Rules (bench): Echo currently running benchmark.
49473 * benchtests/Makefile (bench): Add atan and slowatan.
49474 * benchtests/atan-inputs: New file.
49475 * benchtests/slowatan-inputs: New file.
49476 * benchtests/slowatan.c: New file.
49478 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49483 * sysdeps/unix/sysv/linux/kernel-features.h
49484 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49485 __ASSUME_XFS_RESTRICTED_CHOWN.
49486 * sysdeps/unix/sysv/linux/pathconf.c
49487 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49488 Save and restore errno.
49490 2013-04-02 Joseph Myers <joseph@codesourcery.com>
49493 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49494 arguments using __kernel_casinh.
49495 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49496 arguments using __kernel_casinhf.
49497 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49498 arguments using __kernel_casinhl.
49499 * math/libm-test.inc (cacosh_test): Add more tests.
49500 * sysdeps/i386/fpu/libm-test-ulps: Update.
49501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49503 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49505 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49508 * bench/Makefile (bench): Add sin and slowsin.
49509 * benchtests/sin-inputs: New file.
49510 * benchtests/slowsin-inputs: New file.
49511 * benchtests/slowsin.c: New file.
49513 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49514 (bench): Add slowexp and slowpow.
49515 (exp-ITER): Increase iterations.
49516 (pow-ITER): Likewise.
49517 * benchtests/exp-inputs: Change input.
49518 * benchtests/pow-inputs: Likewise.
49519 * benchtests/slowexp-inputs: New file.
49520 * benchtests/slowexp.c: New file.
49521 * benchtests/slowpow-inputs: New file.
49522 * benchtests/slowpow.c: New file.
49524 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49526 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49528 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49529 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49530 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49531 * benchtests/Makefile: Add rint benchtest.
49532 * benchtests/rint-inputs: Input for rint benchtest.
49534 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
49536 * Versions.def (libm): Add GLIBC_2.18.
49537 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49538 hidden libm prototypes.
49539 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49540 * math/Makefile (libm-calls): Add s_issignaling.
49541 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49542 __issignalingf, __issignalingl. Adjust all libm.abilist files.
49543 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49545 * math/math.h [__USE_GNU] (issignaling): New macro.
49546 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49547 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49548 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49549 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49550 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49551 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49552 * manual/arith.texi (issignaling): New section.
49553 * manual/libm-err-tab.pl (@all_functions): Update comment.
49554 * math/gen-libm-test.pl (parse_args): Apply special handling for
49556 * math/libm-test.inc (print_float, issignaling_test): New
49558 (check_float_internal): Add issignaling checks.
49559 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49560 default definition.
49561 * sysdeps/powerpc/math-tests.h: New file.
49562 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49564 * math/test-snan.c (TEST_FUNC): Likewise.
49566 2013-03-30 David S. Miller <davem@davemloft.net>
49568 * po/de.po: Update from translation team.
49570 2013-03-30 Joseph Myers <joseph@codesourcery.com>
49573 * math/k_casinh.c (__kernel_casinh): Handle arguments with
49574 imaginary part less than 1.0 and real part less than 0.5
49576 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49577 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49578 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49579 (cacos_test): Add more tests.
49580 (casin_test): Likewise.
49581 (casinh_test): Likewise.
49582 * sysdeps/i386/fpu/libm-test-ulps: Update.
49583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49585 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49587 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49588 ONE with its value.
49590 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49591 (__pow_mp): Replace ONE and MONE with their values.
49592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49594 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49595 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49596 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49597 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49599 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49601 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49602 (__pow_mp): Replace ZERO and MZERO with their values.
49603 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49607 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49608 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49611 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49613 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49615 2013-03-28 Roland McGrath <roland@hack.frob.com>
49617 * include/stdlib.h [!SHARED] (__call_tls_dtors):
49618 Declare with __attribute__ ((weak)).
49619 * stdlib/exit.c (__libc_atexit) [!SHARED]:
49620 Call __call_tls_dtors only if it's not NULL.
49622 2013-03-28 Roland McGrath <roland@hack.frob.com>
49624 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49625 didn't do it already, then set _dl_phdr and _dl_phnum based on the
49626 magic __ehdr_start linker symbol if it's defined.
49627 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49628 them up here if it was already done.
49630 * elf/dl-support.c (_dl_phdr): Make pointer to const.
49631 (_dl_aux_init): Use const in cast when setting it.
49632 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49633 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49634 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49636 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49638 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49639 * csu/libc-tls.c: Nor here.
49640 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49642 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49643 (__libc_message): Never call vsyslog.
49645 2013-03-28 Alan Modra <amodra@gmail.com>
49647 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49649 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49652 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49659 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49662 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49663 Don't add gid passed as argument.
49665 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49667 2013-03-27 Joseph Myers <joseph@codesourcery.com>
49670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
49671 imaginary part between 1.0 and 1.5 and real part less than 0.5
49673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49675 * math/libm-test.inc (cacos_test): Add more tests.
49676 (casin_test): Likewise.
49677 (casinh_test): Likewise.
49678 * sysdeps/i386/fpu/libm-test-ulps: Update.
49679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49681 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49683 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49686 (denorm): Likewise.
49687 (__dbl_mp): Likewise.
49688 (add_magnitudes): Likewise.
49689 (sub_magnitudes): Likewise.
49697 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49699 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49700 (__dubcos): Likewise.
49701 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49702 (__ieee754_acos): Likewise.
49703 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49704 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49705 (__exp1): Likewise.
49706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49709 (my_log2): Likewise.
49710 (checkint): Likewise.
49711 * sysdeps/ieee754/dbl-64/e_remainder.c
49712 (__ieee754_remainder): Likewise.
49713 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49715 (bsloww): Likewise.
49716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49718 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49720 MANTISSA_STORE_T to store computations on mantissa. Use
49721 macros for rounding and division.
49722 (denorm): Likewise.
49723 (__dbl_mp): Likewise.
49724 (add_magnitudes): Likewise.
49725 (sub_magnitudes): Likewise.
49728 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
49729 powers of two in terms of TWOPOW macro.
49730 (mp_no): Make type of mantissa as MANTISSA_T.
49731 [!RADIXI]: Define RADIXI.
49732 [!TWO52]: Define TWO52.
49733 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49735 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49737 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49738 llroundl symbol when building for PPC32.
49740 2013-03-24 Mark H Weaver <mhw@netris.org>
49742 * manual/arith.texi (Normalization Functions): Fix prototypes for
49743 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49745 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49749 high value to check if expl overflow.
49750 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49751 to check for underflow and overflow.
49752 * math/libm-test.inc: Add exp test.
49754 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
49757 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49760 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49762 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49765 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
49767 * math/gen-libm-test.pl (parse_args, special_functions): Properly
49768 wrap blocks consisting of several statements.
49770 * sysdeps/generic/math-tests.h: New file.
49771 * sysdeps/i386/fpu/math-tests.h: Likewise.
49772 * math/test-snan.c: Include it.
49773 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49775 2013-03-21 Joseph Myers <joseph@codesourcery.com>
49778 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49779 (__ieee754_j0l): Do not improve calculations using cos of twice
49780 input for inputs above LDBL_MAX / 2.0L.
49781 (__ieee754_y0l): Likewise.
49782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49783 (__ieee754_j1l): Do not improve calculations using cos of twice
49784 input for inputs above LDBL_MAX / 2.0L.
49785 (__ieee754_y1l): Likewise.
49786 * math/libm-test.inc (j0_test): Add another test.
49787 (j1_test): Likewise.
49788 (y0_test): Likewise.
49789 (y1_test): Likewise.
49790 * sysdeps/i386/fpu/libm-test-ulps: Update.
49792 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49794 * Rules ($(objpfx)bench-%.c): Include code from a C source
49797 2013-03-21 Joseph Myers <joseph@codesourcery.com>
49800 * math/k_casinh.c (__kernel_casinh): Handle arguments with
49801 imaginary part 1.0 and real part less than 0.5 specially.
49802 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49803 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49804 * math/libm-test.inc (cacos_test): Add more tests.
49805 (casin_test): Likewise.
49806 (casinh_test): Likewise.
49807 * sysdeps/i386/fpu/libm-test-ulps: Update.
49808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49810 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49813 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49815 2013-03-20 Joseph Myers <joseph@codesourcery.com>
49817 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49818 * config.make.in (config-cflags-sse4): Remove variable.
49819 (config-cflags-avx): Likewise.
49820 (config-cflags-sse2avx): Likewise.
49821 (config-cflags-novzeroupper): Likewise.
49822 (config-asflags-i686): Likewise.
49823 (have-mfma4): Likewise.
49824 (have-as-vis3): Likewise.
49826 * configure.in (MIG): Do not AC_SUBST.
49827 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49828 (libc_cv_cc_sse4): Do not AC_SUBST.
49829 (libc_cv_cc_avx): Likewise.
49830 (libc_cv_cc_sse2avx): Likewise.
49831 (libc_cv_cc_novzeroupper): Likewise.
49832 (libc_cv_cc_fma4): Likewise.
49833 (libc_cv_as_i686): Likewise.
49834 (libc_cv_sparc_as_vis3): Likewise.
49835 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49837 (config-asflags-i686): Likewise.
49838 (config-cflags-avx): Likewise.
49839 (config-cflags-sse2avx): Likewise.
49840 (have-mfma4): Likewise.
49841 (config-cflags-novzeroupper): Likewise.
49842 * sysdeps/mach/configure.in (MIG): Likewise.
49843 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49844 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49846 (config-cflags-avx): Likewise.
49847 (config-cflags-sse2avx): Likewise.
49848 (have-mfma4): Likewise.
49849 (config-cflags-novzeroupper): Likewise.
49850 * configure: Regenerated.
49851 * sysdeps/i386/configure: Likewise.
49852 * sysdeps/mach/configure: Likewise.
49853 * sysdeps/sparc/configure: Likewise.
49854 * sysdeps/x86_64/configure: Likewise.
49856 2013-03-20 Roland McGrath <roland@hack.frob.com>
49859 * locale/programs/localedef.c (options): Put N_ translation marker
49860 on argument names, not just descriptions.
49862 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49864 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49866 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
49869 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49871 2013-03-19 Roland McGrath <roland@hack.frob.com>
49873 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49874 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49875 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49876 [!BEFORE_ABORT] (before_abort): New function.
49877 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49878 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49879 (writev_for_fatal): New function.
49880 (WRITEV_FOR_FATAL): New macro; call that.
49881 (backtrace_and_maps): New function.
49882 (BEFORE_ABORT): New macro; call that.
49883 (struct str_list): Type removed.
49884 (__libc_message, __libc_fatal): Functions removed.
49885 Include <sysdeps/posix/libc_fatal.c> instead.
49887 2013-03-19 Joseph Myers <joseph@codesourcery.com>
49889 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49891 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49894 2013-03-19 Andreas Schwab <schwab@suse.de>
49896 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49897 * sysdeps/gnu/configure: Regenerate.
49899 * configure.in: Substitute libc_cv_rtlddir.
49900 * configure: Regenerate.
49901 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49902 * Makeconfig (rtlddir, inst_rtlddir): New variables.
49903 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49904 * elf/Makefile (install-others, CFLAGS-interp.c)
49905 (ldso_install, common-ldd-rewrite): Likewise.
49906 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49907 $(inst_slibdir)/$(rtld-installed-name).
49908 * scripts/rellns-sh: Add -p option.
49909 * Makerules (make-shlib-link): Use rellns-sh to get relative name
49912 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49914 * manual/nptl.texi: Renamed to ...
49915 * manual/threads.texi: ... this.
49916 * manual/Makefile (chapters): Update.
49918 2013-03-18 Roland McGrath <roland@hack.frob.com>
49921 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49922 on argument names, not just descriptions.
49923 * malloc/memusagestat.c (options): Likewise.
49924 * nss/getent.c (options): Likewise.
49926 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
49929 * iconv/iconv_prog.c (options): Put N_ translation marker
49930 on argument names, not just descriptions.
49931 * iconv/iconvconfig.c (options): Likewise.
49933 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
49935 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49936 implementation which is faster on all x86_64 architectures.
49937 Tested on AMD, Intel Nehalem, SNB, IVB.
49938 * sysdeps/x86_64/strnlen.S: Likewise.
49940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49941 Remove all multiarch strlen and strnlen versions.
49942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49943 Remove strlen and strnlen related parts.
49945 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49946 Inline strlen part.
49947 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49949 * sysdeps/x86_64/multiarch/strlen.S: Remove.
49950 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49952 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49953 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49954 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49956 2013-03-17 Carlos O'Donell <carlos@redhat.com>
49958 * manual/memory.texi (Malloc Tunable Parameters):
49959 Sort parameters alphabetically. Add comments for missing entries.
49961 2013-03-17 David S. Miller <davem@davemloft.net>
49963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49965 2013-03-16 Joseph Myers <joseph@codesourcery.com>
49968 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49969 for arguments at most half maximum finite value.
49970 * math/libm-test.inc (j0_test): Add more tests.
49971 (j1_test): Likewise.
49972 (y0_test): Likewise.
49973 (y1_test): Likewise.
49974 * sysdeps/i386/fpu/libm-test-ulps: Update.
49975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49978 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49979 1 / x and functions P and Q for arguments above 0x1p256L.
49980 (__ieee754_y0l): Likewise.
49981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49982 (__ieee754_y1l): Likewise.
49983 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49984 (j1_test): Likewise.
49985 (y0_test): Likewise.
49986 (y1_test): Likewise.
49988 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
49990 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49993 2013-03-15 Roland McGrath <roland@hack.frob.com>
49995 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49996 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49997 zero since it's initialized to EXEC_PAGESIZE.
49999 * sysdeps/unix/sysv/linux/ldsodefs.h
50000 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50001 * sysdeps/generic/ldsodefs.h: ... here.
50003 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
50005 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50007 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50009 * math/test-snan.c: Renamed from
50010 sysdeps/powerpc/fpu/test-powerpc-snan.c.
50011 * math/Makefile (tests): Add test-snan.
50012 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50015 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50016 SUFFIX. Initialize qNaN_var with __builtin_nan family of
50018 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
50019 __builtin_nan family of functions.
50020 * math/libm-test.inc (initialize): Initialize qnan_value with
50021 __builtin_nan family of functions.
50022 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50024 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50026 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
50027 storage class. Initialize qNaN_var and sNaN_var with
50028 __builtin_nan and __builtin_nans families of functions,
50031 * math/libm-test.inc (acosh_test): Also test with qNaN input.
50032 (sqrt_test): Remove duplicate test with qNaN input.
50033 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50034 (round_test, signbit_test, significand_test): Note missing +/-Inf
50035 as well as qNaN tests.
50037 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50038 qNaN_var. Fix a few strings, too.
50039 * math/libm-test.inc (nan_value): Rename to qnan_value.
50040 * math/gen-libm-test.pl (%beautify): Adjust to that.
50041 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50042 * math/test-misc.c (main): Likewise.
50043 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50044 to __qnan_bytes, and __qnan_union, respectively.
50045 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50047 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50048 and lqnanval, respectively.
50049 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50050 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50051 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50052 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50054 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50055 * math/test-misc.c (main) [__x86_64__]: Enable test for long
50058 * math/test-misc.c (main): Fix copy'n'pastos.
50059 * misc/tst-efgcvt.c (special): Likewise.
50061 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50062 Remove declarations.
50064 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50066 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50067 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50068 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50069 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50071 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50074 macro to return vdso values correctly in IFUNC implementations.
50075 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50076 Optimization by using IFUNC.
50078 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50079 Richard Henderson <rth@redhat.com>
50080 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50082 * Makefile.in (bench): New target.
50083 * NEWS: Mention the benchmark framework.
50084 * Rules (bench): Likewise.
50085 (binaries-bench): Generate binaries for functions to
50087 * benchtests/Makefile: New makefile for benchmark tests.
50088 * benchtests/bench-skeleton.c: New skeleton file for benchmark
50090 * benchtests/exp-inputs: New input file for EXP function.
50091 * benchtests/pow-inputs: New input file for POW function.
50092 * scripts/bench.pl: New script to generate source files for
50093 benchmark programs.
50095 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50097 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50099 computations on mantissa. Use macros for rounding and
50101 (denorm): Likewise.
50102 (__dbl_mp): Likewise.
50103 (add_magnitudes): Likewise.
50104 (sub_magnitudes): Likewise.
50107 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50108 powers of two in terms of TWOPOW macro.
50109 (mp_no): Make type of mantissa as MANTISSA_T.
50110 [!RADIXI]: Define RADIXI.
50111 [!TWO52]: Define TWO52.
50112 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50114 * manual/nptl.texi (cindex): Modify threads to pthreads.
50116 2013-03-15 Joseph Myers <joseph@codesourcery.com>
50118 * sysdeps/x86_64/preconfigure: Regenerated.
50120 2013-03-14 Joseph Myers <joseph@codesourcery.com>
50123 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50125 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50126 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50128 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50129 * math/libm-test.inc (j0_test): Do not allow one spurious
50130 underflow exception.
50131 (y1_test): Likewise.
50133 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
50135 * manual/Makefile (chapters): Add nptl.
50136 * manual/debug.texi (Debugging Support): Add link to Threads
50138 * manual/nptl.texi: New file.
50140 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50142 2013-03-14 Petr Baudis <pasky@ucw.cz>
50144 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50145 for non-NULL pointer before the memory validity test. Pointed
50146 out by Holger Brunck <holger.brunck@keymile.com>.
50148 2013-03-13 Andreas Schwab <schwab@suse.de>
50150 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50153 2013-03-13 Joseph Myers <joseph@codesourcery.com>
50155 * timezone/zic.c: Update from tzcode 2013b.
50157 2013-03-12 Carlos O'Donell <carlos@redhat.com>
50159 * manual/install.texi (Configuring and compiling):
50160 Mention i686 and i586.
50161 * INSTALL: Regenerate.
50163 2013-03-12 Roland McGrath <roland@hack.frob.com>
50165 * sysdeps/init_array/elf-init.c: New file.
50167 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50168 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50170 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50171 __gmon_start__ as global, but as static with a .preinit_array pointer.
50172 * sysdeps/init_array/gmon-start.c: New file. Use that.
50173 * sysdeps/init_array/crti.S: New file, empty except for comments.
50174 * sysdeps/init_array/crtn.S: Likewise.
50176 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
50178 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50181 Remove Prefer_SSE_for_memop.
50182 * sysdeps/x86_64/multiarch/init-arch.h: Remove
50183 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50184 HAS_PREFER_SSE_FOR_MEMOP.
50185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50188 Remove bzero, memset ifunc support.
50189 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50191 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50194 2013-03-11 Andreas Schwab <schwab@suse.de>
50197 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50200 (GLIBC_2.16): Remove pthread_atfork.
50202 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
50204 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50205 (ptestcases.h): Likewise.
50207 2013-03-08 Roland McGrath <roland@hack.frob.com>
50209 * Makeconfig ($(common-objpfx)config.status): Depend on
50210 sysdeps/*/preconfigure{,.in} too.
50212 2013-03-08 Joseph Myers <joseph@codesourcery.com>
50214 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50215 (__free_hook): Use void * instead of __malloc_ptr_t.
50216 (__malloc_hook): Likewise.
50217 (__realloc_hook): Likewise.
50218 (__memalign_hook): Likewise.
50219 (__after_morecore_hook): Likewise.
50220 * malloc/arena.c (save_malloc_hook): Likewise.
50221 (save_free_hook): Likewise.
50222 * malloc/hooks.c (malloc_hook_ini): Likewise.
50223 (realloc_hook_ini): Likewise.
50224 (memalign_hook_ini): Likewise.
50225 * malloc/malloc.c (malloc_hook_ini): Likewise.
50226 (realloc_hook_ini): Likewise.
50227 (memalign_hook_ini): Likewise.
50228 (__free_hook): Likewise.
50229 (__malloc_hook): Likewise.
50230 (__realloc_hook): Likewise.
50231 (__memalign_hook): Likewise.
50232 (__libc_malloc): Likewise.
50233 (__libc_free): Likewise.
50234 (__libc_realloc): Likewise.
50235 (__libc_memalign): Likewise.
50236 (__libc_valloc): Likewise.
50237 (__libc_pvalloc): Likewise.
50238 (__libc_calloc): Likewise.
50239 (__posix_memalign): Likewise.
50240 * malloc/morecore.c (__sbrk): Likewise.
50241 (__default_morecore): Likewise.
50243 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50245 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50246 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50247 __malloc_ptrdiff_t.
50249 * malloc/malloc.h (__malloc_size_t): Remove macro.
50250 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50252 (old_memalign_hook): Likewise.
50253 (old_realloc_hook): Likewise.
50254 (struct hdr): Likewise.
50256 (mallochook): Likewise.
50257 (memalignhook): Likewise.
50258 (reallochook): Likewise.
50259 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50260 (tr_old_realloc_hook): Likewise.
50261 (tr_old_memalign_hook): Likewise.
50262 (tr_mallochook): Likewise.
50263 (tr_reallochook): Likewise.
50264 (tr_memalignhook): Likewise.
50266 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50269 default_ldbl_pack and using as default implementation.
50270 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50272 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50273 redundant definition.
50274 (ldbl_insert_mantissa): Likewise.
50275 (ldbl_canonicalize): Likewise.
50276 (ldbl_nearbyint): Likewise.
50277 (ldbl_pack): Rename to ldbl_pack_ppc.
50278 (ldbl_unpack): Rename to ldbl_unpack_ppc.
50279 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50280 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50282 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50285 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50287 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50290 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50291 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50293 2013-03-07 Andreas Jaeger <aj@suse.de>
50295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50298 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
50300 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50301 Include mpa.h and declare __MPEXP.
50302 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50303 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50304 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50305 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50306 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50307 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50308 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50310 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50311 (__slowpow): Use long double EXPL and LOGL functions to
50313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50314 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50317 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50321 intermediate variable to calculate exponent.
50323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50327 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50328 [!NO__SQR]: Define __sqr.
50329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50330 and NO__SQR. Remove all code except __mul and __sqr. Include
50331 sysdeps/ieee754/dbl-64/mpa.c.
50332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50335 * posix/Makefile (tests): Add tst-pathconf.
50336 * posix/tst-pathconf.c: New test case.
50337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50339 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50341 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
50343 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50345 2013-03-06 Andreas Jaeger <aj@suse.de>
50347 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50348 definition via __MAP_ANONYMOUS.
50350 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50351 it's not part of Linux headers.
50353 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50354 (MAP_HUGE_MASK): Define.
50356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50358 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50361 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50362 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50364 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50367 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50369 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50370 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50371 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50372 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50373 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50374 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50380 Handle f2fs and efivarfs.
50382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50385 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50386 (EFIVARFS_MAGIC): Add.
50387 (F2FS_LINK_MAX): Add.
50389 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50391 * stdio-common/vfprintf.c: Replace __builtin_expect with
50394 2013-03-06 Joseph Myers <joseph@codesourcery.com>
50397 * sysdeps/generic/bp-sym.h: Remove file.
50398 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50399 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50400 <bp-sym.h> and <bp-asm.h>.
50401 (__longjmp): Don't use BP_SYM.
50402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50404 (memcpy): Don't use BP_SYM.
50405 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50406 <bp-sym.h> and <bp-asm.h>.
50407 (memcpy): Don't use BP_SYM.
50408 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50410 (memcpy): Don't use BP_SYM.
50411 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50413 (memset): Don't use BP_SYM.
50414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50416 (__bzero): Don't use BP_SYM.
50417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50420 <bp-sym.h> and <bp-asm.h>.
50421 (memcmp): Don't use BP_SYM. Remove comment about bounded
50423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50424 <bp-sym.h> and <bp-asm.h>.
50425 (memcpy): Don't use BP_SYM.
50426 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50427 <bp-sym.h> and <bp-asm.h>.
50428 (memset): Don't use BP_SYM.
50429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50431 (__bzero): Don't use BP_SYM.
50432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50435 <bp-sym.h> and <bp-asm.h>.
50436 (strncmp): Don't use BP_SYM. Remove comment about bounded
50438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50439 <bp-sym.h> and <bp-asm.h>.
50440 (memcpy): Don't use BP_SYM.
50441 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50442 <bp-sym.h> and <bp-asm.h>.
50443 (memset): Don't use BP_SYM.
50444 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50445 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50446 (__bzero): Don't use BP_SYM.
50447 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50448 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50450 <bp-sym.h> and <bp-asm.h>.
50451 (__memchr): Don't use BP_SYM.
50452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50453 <bp-sym.h> and <bp-asm.h>.
50454 (memcmp): Don't use BP_SYM. Remove comment about bounded
50456 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50457 <bp-sym.h> and <bp-asm.h>.
50458 (memcpy): Don't use BP_SYM.
50459 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50460 <bp-sym.h> and <bp-asm.h>.
50461 (__mempcpy): Don't use BP_SYM.
50462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50463 <bp-sym.h> and <bp-asm.h>.
50464 (__memrchr): Don't use BP_SYM.
50465 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50466 <bp-sym.h> and <bp-asm.h>.
50467 (memset): Don't use BP_SYM.
50468 (__bzero): Likewise.
50469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50470 <bp-sym.h> and <bp-asm.h>.
50471 (__rawmemchr): Don't use BP_SYM.
50472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50473 <bp-sym.h> and <bp-asm.h>.
50474 (__STRCMP): Don't use BP_SYM.
50475 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50476 <bp-sym.h> and <bp-asm.h>.
50477 (strchr): Don't use BP_SYM.
50478 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50479 <bp-sym.h> and <bp-asm.h>.
50480 (__strchrnul): Don't use BP_SYM.
50481 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50482 <bp-sym.h> and <bp-asm.h>.
50483 (strlen): Don't use BP_SYM.
50484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50485 <bp-sym.h> and <bp-asm.h>.
50486 (strncmp): Don't use BP_SYM. Remove comment about bounded
50488 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50489 <bp-sym.h> and <bp-asm.h>.
50490 (__strnlen): Don't use BP_SYM.
50491 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50492 <bp-sym.h> and <bp-asm.h>.
50493 (__GI__setjmp): Don't use BP_SYM.
50494 (_setjmp): Likewise.
50495 (__sigsetjmp): Likewise.
50496 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50497 (L(start_addresses)): Don't use BP_SYM.
50498 (_start): Likewise.
50499 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50501 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50502 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50503 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50504 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50505 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50507 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50508 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
50509 about bounded pointers.
50510 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50511 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50512 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50514 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
50515 about bounded pointers. Remove GKM FIXME comments.
50516 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50517 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50519 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50520 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
50521 Remove GKM FIXME comments.
50522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50524 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
50527 about bounded pointers. Remove GKM FIXME comment.
50528 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50530 (strncmp): Don't use BP_SYM. Remove comment about bounded
50532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50533 <bp-sym.h> and <bp-asm.h>.
50534 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50536 <bp-sym.h> and <bp-asm.h>.
50537 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
50540 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50542 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50545 2013-03-05 David S. Miller <davem@davemloft.net>
50547 * po/es.po: Update from translation team.
50549 2013-03-05 Andreas Jaeger <aj@suse.de>
50551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50552 <bits/mman-linux.h>.
50553 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50556 <bits/mman-linux.h> to end of file.
50557 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50560 <bits/mman-linux.h> to end of file.
50561 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50564 <bits/mman-linux.h> to end of file.
50566 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50567 (MCL_CURRENT, MCL_FUTURE): Define here.
50569 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50576 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50578 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50579 fourth parameter needed for rt_sigprocmask syscall.
50580 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50581 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50583 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50584 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50585 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50587 2013-03-04 Joseph Myers <joseph@codesourcery.com>
50590 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50591 comment about bounded pointers.
50592 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50593 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50595 2013-03-04 Andreas Jaeger <aj@suse.de>
50597 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50598 common definitions.
50600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50601 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50602 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50607 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50611 __ieee754_sqrl instead of __sqrl.
50613 2013-03-01 Joseph Myers <joseph@codesourcery.com>
50615 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50616 * sysdeps/powerpc/fpu_control.h: ... here.
50617 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50618 * sysdeps/powerpc/bits/fenvinline.h: ... here.
50619 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50620 * sysdeps/powerpc/bits/mathinline.h: ... here.
50622 2013-03-01 Roland McGrath <roland@hack.frob.com>
50624 * elf/dl-hwcaps.c (_dl_important_hwcaps):
50625 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50626 to just [NEED_DL_SYSINFO_DSO].
50627 * elf/dl-support.c: Likewise.
50628 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50629 * elf/rtld.c (dl_main): Likewise.
50630 * elf/setup-vdso.h (setup_vdso): Likewise.
50631 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50632 * sysdeps/unix/sysv/linux/dl-sysdep.c
50633 (_dl_discover_osversion): Likewise.
50635 2013-03-01 Carlos O'Donell <carlos@redhat.com>
50637 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50638 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50640 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
50642 * NEWS: Mention libm performance improvements and non-x86 PI
50645 * csu/libc-start.c (__pthread_initialize_minimal): Change
50646 function arguments.
50647 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50649 2013-02-28 Joseph Myers <joseph@codesourcery.com>
50652 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50653 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50654 <bp-sym.h> and <bp-asm.h>.
50655 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50656 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50658 (memcpy): Don't use BP_SYM.
50659 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50661 (__mpn_add_n): Don't use BP_SYM.
50662 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50663 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50665 (__mpn_addmul_1): Don't use BP_SYM.
50666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50667 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50669 (_setjmp): Don't use BP_SYM.
50670 (__novmx_setjmp): Likewise.
50671 (__GI__setjmp): Likewise.
50672 (__vmx_setjmp): Likewise.
50673 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50675 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50676 (__bzero): Don't use BP_SYM.
50677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50679 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50680 <bp-sym.h> and <bp-asm.h>.
50681 (memcpy): Don't use BP_SYM.
50682 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50683 <bp-sym.h> and <bp-asm.h>.
50684 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50686 <bp-sym.h> and <bp-asm.h>.
50687 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50688 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50690 (__mpn_lshift): Don't use BP_SYM.
50691 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50692 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50694 (memset): Don't use BP_SYM.
50695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50697 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50699 (__mpn_mul_1): Don't use BP_SYM.
50700 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50701 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50702 <bp-sym.h> and <bp-asm.h>.
50703 (memcmp): Don't use BP_SYM.
50704 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50705 <bp-sym.h> and <bp-asm.h>.
50706 (memcpy): Don't use BP_SYM.
50707 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50708 <bp-sym.h> and <bp-asm.h>.
50709 (memset): Don't use BP_SYM.
50710 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50711 <bp-sym.h> and <bp-asm.h>.
50712 (strncmp): Don't use BP_SYM.
50713 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50714 <bp-sym.h> and <bp-asm.h>.
50715 (memcpy): Don't use BP_SYM.
50716 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50717 <bp-sym.h> and <bp-asm.h>.
50718 (memset): Don't use BP_SYM.
50719 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50720 <bp-sym.h> and <bp-asm.h>.
50721 (__memchr): Don't use BP_SYM.
50722 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50723 <bp-sym.h> and <bp-asm.h>.
50724 (memcmp): Don't use BP_SYM.
50725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50726 <bp-sym.h> and <bp-asm.h>.
50727 (memcpy): Don't use BP_SYM.
50728 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50729 <bp-sym.h> and <bp-asm.h>.
50730 (__mempcpy): Don't use BP_SYM.
50731 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50732 <bp-sym.h> and <bp-asm.h>.
50733 (__memrchr): Don't use BP_SYM.
50734 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50735 <bp-sym.h> and <bp-asm.h>.
50736 (memset): Don't use BP_SYM.
50737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50738 <bp-sym.h> and <bp-asm.h>.
50739 (__rawmemchr): Don't use BP_SYM.
50740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50741 <bp-sym.h> and <bp-asm.h>.
50742 (__STRCMP): Don't use BP_SYM.
50743 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50744 <bp-sym.h> and <bp-asm.h>.
50745 (strchr): Don't use BP_SYM.
50746 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50747 <bp-sym.h> and <bp-asm.h>.
50748 (__strchrnul): Don't use BP_SYM.
50749 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50750 <bp-sym.h> and <bp-asm.h>.
50751 (strlen): Don't use BP_SYM.
50752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50753 <bp-sym.h> and <bp-asm.h>.
50754 (strncmp): Don't use BP_SYM.
50755 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50756 <bp-sym.h> and <bp-asm.h>.
50757 (__strnlen): Don't use BP_SYM.
50758 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50760 (__mpn_rshift): Don't use BP_SYM.
50761 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50762 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50763 <bp-sym.h> and <bp-asm.h>.
50764 (__sigsetjmp): Don't use BP_SYM.
50765 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50766 (L(start_addresses)): Don't use BP_SYM.
50767 (_start): Likewise.
50768 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50770 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50771 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50772 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50773 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50775 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50778 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
50782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50783 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50785 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
50787 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50788 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50789 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50791 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
50793 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50795 (strncmp): Don't use BP_SYM,
50796 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50798 (__mpn_sub_n): Don't use BP_SYM.
50799 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50800 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50802 (__mpn_submul_1): Don't use BP_SYM.
50803 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50805 <bp-sym.h> and <bp-asm.h>.
50806 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50808 <bp-sym.h> and <bp-asm.h>.
50809 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
50812 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50815 Use ZK to minimize writes to Z.
50816 (sub_magnitudes): Simplify code a bit.
50817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50818 Use ZK to minimize writes to Z.
50819 (sub_magnitudes): Simplify code a bit.
50821 2013-02-27 Roland McGrath <roland@hack.frob.com>
50823 * csu/gmon-start.c: Add special exception to license text.
50825 2013-02-27 Richard Henderson <rth@redhat.com>
50827 * scripts/config.guess: Update from config.git.
50828 * scripts/config.sub: Likewise.
50830 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50834 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50836 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50838 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50840 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50842 2013-02-26 Roland McGrath <roland@hack.frob.com>
50844 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50845 [$(build-shared = yes].
50847 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50849 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50850 (__mul): Reduce iterations for calculating mantissa.
50852 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50854 (__mpranred): Likewise.
50857 * malloc/memusagestat.c (main): Draw graphs for heap and stack
50858 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50860 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
50862 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50863 Define __attribute__.
50865 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50867 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50869 * posix/regex_internal.h (__attribute): Remove.
50870 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50871 (re_string_context_at): Likewise.
50872 (bitset_not): Use __attribute__ and mark function as possibly
50874 (bitset_merge): Likewise.
50875 (bitset_mask): Likewise.
50876 (re_string_char_size_at): Likewise.
50877 (re_string_wchar_at): Likewise.
50878 (re_string_elem_size_at): Likewise.
50880 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50882 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50890 (denorm): Likewise.
50891 (__dbl_mp): Likewise.
50892 (add_magnitudes): Likewise.
50893 (sub_magnitudes): Likewise.
50897 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50900 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50903 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50907 up changes with default code.
50908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50911 2013-02-24 Allan McRae <allan@archlinux.org>
50913 * manual/socket.texi (The Internet Namespace): Order menu items
50914 to match that in the file.
50916 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50917 node listing of the info page menu.
50919 2013-02-21 Joseph Myers <joseph@codesourcery.com>
50922 * sysdeps/i386/bp-asm.h: Remove file.
50923 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50924 (PARMS): Do not use macros from bp-asm.h.
50928 (__mpn_add_n): Do not use BP_SYM
50929 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50931 (PARMS): Do not use macros from bp-asm.h.
50934 (__mpn_addmul_1): Do not use BP_SYM
50935 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50937 (PARMS): Do not use macros from bp-asm.h.
50938 (SIGMSK): Likewise.
50939 (_setjmp): Likewise. Do not use BP_SYM.
50940 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50942 (PARMS): Do not use macros from bp-asm.h.
50943 (SIGMSK): Likewise.
50944 (setjmp): Likewise. Do not use BP_SYM.
50945 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50947 (PARMS): Do not use macros from bp-asm.h.
50948 (__frexp): Do not use BP_SYM.
50950 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50952 (PARMS): Do not use macros from bp-asm.h.
50953 (__frexpf): Do not use BP_SYM.
50954 (frexpf): Likewise.
50955 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50957 (PARMS): Do not use macros from bp-asm.h.
50958 (__frexpl): Do not use BP_SYM.
50959 (frexpl): Likewise.
50960 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50962 (PARMS): Do not use macros from bp-asm.h.
50963 (__remquo): Do not use BP_SYM.
50964 (remquo): Likewise.
50965 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50967 (PARMS): Do not use macros from bp-asm.h.
50968 (__remquof): Do not use BP_SYM.
50969 (remquof): Likewise.
50970 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50972 (PARMS): Do not use macros from bp-asm.h.
50973 (__remquol): Do not use BP_SYM.
50974 (remquol): Likewise.
50975 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50977 (PARMS): Do not use macros from bp-asm.h.
50980 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
50981 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50983 (PARMS): Do not use macros from bp-asm.h.
50984 (strlen): Do not use BP_SYM.
50985 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50987 (PARMS): Do not use macros from bp-asm.h.
50991 (__mpn_add_n): Do not use BP_SYM.
50992 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50994 (PARMS): Do not use macros from bp-asm.h.
50997 (__mpn_addmul_1): Do not use BP_SYM.
50998 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51001 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51003 (PARMS): Do not use macros from bp-asm.h.
51006 (__mpn_lshift): Do not use BP_SYM.
51007 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51009 (PARMS): Do not use macros from bp-asm.h.
51013 (memcpy): Likewise. Do not use BP_SYM.
51014 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51015 libc_hidden_def and weak_alias.
51016 (mempcpy): Do not use BP_SYM in weak_alias.
51017 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51019 (PARMS): Do not use macros from bp-asm.h.
51022 [!BZERO_P] (CHR): Likewise.
51023 (memset): Likewise. Do not use BP_SYM.
51024 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51026 (PARMS): Do not use macros from bp-asm.h.
51029 (__mpn_mul_1): Do not use BP_SYM.
51030 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51032 (PARMS): Do not use macros from bp-asm.h.
51035 (__mpn_rshift): Do not use BP_SYM.
51036 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51038 (PARMS): Do not use macros from bp-asm.h.
51041 (strchr): Likewise. Do not use BP_SYM.
51042 (index): Do not use BP_SYM in weak_alias.
51043 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51045 (PARMS): Do not use macros from bp-asm.h.
51048 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
51049 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51051 (PARMS): Do not use macros from bp-asm.h.
51052 (strlen): Do not use BP_SYM.
51053 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51055 (PARMS): Do not use macros from bp-asm.h.
51059 (__mpn_sub_n): Do not use BP_SYM.
51060 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51062 (PARMS): Do not use macros from bp-asm.h.
51065 (__mpn_submul_1): Do not use BP_SYM.
51066 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51068 (PARMS): Do not use macros from bp-asm.h.
51072 (__mpn_add_n): Do not use BP_SYM.
51073 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51076 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51078 (PARMS): Do not use macros from bp-asm.h.
51081 (memcmp): Do not use BP_SYM.
51082 (bcmp): Do not use BP_SYM in weak_alias.
51083 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51085 (PARMS): Do not use macros from bp-asm.h.
51089 (memcpy): Likewise. Do not use BP_SYM.
51090 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51092 (PARMS): Do not use macros from bp-asm.h.
51096 (memmove): Likewise. Do not use BP_SYM.
51097 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51099 (PARMS): Do not use macros from bp-asm.h.
51103 (__mempcpy): Likewise. Do not use BP_SYM.
51104 (mempcpy): Do not use BP_SYM in weak_alias.
51105 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51107 (PARMS): Do not use macros from bp-asm.h.
51110 [!BZERO_P] (CHR): Likewise.
51111 (memset): Likewise. Do not use BP_SYM.
51112 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51114 (PARMS): Do not use macros from bp-asm.h.
51116 (strcmp): Do not use BP_SYM.
51117 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51119 (PARMS): Do not use macros from bp-asm.h.
51122 [USE_AS_STRTOK_R] (SAVE): Likewise.
51123 (FUNCTION): Likewise. Do not use BP_SYM.
51124 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51126 (strtok_r): Likewise.
51127 (__GI___strtok_r): Likewise.
51128 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51129 (PARMS): Do not use macros from bp-asm.h.
51132 (__mpn_lshift): Do not use BP_SYM.
51133 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51134 (PARMS): Do not use macros from bp-asm.h.
51137 (__memchr): Do not use BP_SYM.
51138 (memchr): Do not use BP_SYM in weak_alias.
51139 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51140 (PARMS): Do not use macros from bp-asm.h.
51143 (memcmp): Do not use BP_SYM.
51144 (bcmp): Do not use BP_SYM in weak_alias.
51145 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51146 (PARMS): Do not use macros from bp-asm.h.
51149 (__mpn_mul_1): Do not use BP_SYM.
51150 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51152 (PARMS): Do not use macros from bp-asm.h.
51155 (__rawmemchr): Do not use BP_SYM.
51156 (rawmemchr): Do not use BP_SYM in weak_alias.
51157 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51158 (PARMS): Do not use macros from bp-asm.h.
51161 (__mpn_rshift): Do not use BP_SYM.
51162 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51163 (PARMS): Do not use macros from bp-asm.h.
51164 (SIGMSK): Likewise.
51165 (__sigsetjmp): Likewise. Do not use BP_SYM.
51166 * sysdeps/i386/start.S: Do not include "bp-sym.h".
51167 (_start): Do not use BP_SYM.
51168 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51169 (PARMS): Do not use macros from bp-asm.h.
51172 (__stpcpy): Likewise. Do not use BP_SYM.
51173 (stpcpy): Do not use BP_SYM in weak_alias.
51174 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51176 (PARMS): Do not use macros from bp-asm.h.
51180 (__stpncpy): Likewise. Do not use BP_SYM.
51181 (stpncpy): Do not use BP_SYM in weak_alias.
51182 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51183 (PARMS): Do not use macros from bp-asm.h.
51186 (strchr): Likewise. Do not use BP_SYM.
51187 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51189 (PARMS): Do not use macros from bp-asm.h.
51192 (__strchrnul): Likewise. Do not use BP_SYM.
51193 (strchrnul): Do not use BP_SYM in weak_alias.
51194 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51196 (PARMS): Do not use macros from bp-asm.h.
51198 (strcspn): Do not use BP_SYM.
51199 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51201 (PARMS): Do not use macros from bp-asm.h.
51204 (strpbrk): Likewise. Do not use BP_SYM.
51205 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51207 (PARMS): Do not use macros from bp-asm.h.
51210 (strrchr): Likewise. Do not use BP_SYM.
51211 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51212 (PARMS): Do not use macros from bp-asm.h.
51214 (strspn): Do not use BP_SYM.
51215 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51216 (PARMS): Do not use macros from bp-asm.h.
51220 (FUNCTION): Likewise. Do not use BP_SYM.
51221 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51223 (strtok_r): Likewise.
51224 (__GI___strtok_r): Likewise.
51225 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51226 (PARMS): Do not use macros from bp-asm.h.
51230 (__mpn_sub_n): Do not use BP_SYM.
51231 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51233 (PARMS): Do not use macros from bp-asm.h.
51236 (__mpn_submul_1): Do not use BP_SYM.
51237 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51239 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51241 (PARMS): Do not use macros from bp-asm.h.
51246 (__clone): Do not use BP_SYM.
51247 (clone): Do not use BP_SYM in weak_alias.
51248 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51250 (PARMS): Do not use macros from bp-asm.h.
51252 (__mmap64): Do not use BP_SYM.
51253 (mmap64): Do not use BP_SYM in weak_alias.
51254 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51255 <bp-sym.h> and <bp-asm.h>.
51256 (PARMS): Do not use macros from bp-asm.h.
51257 (__posix_fadvise64_l64): Do not use BP_SYM.
51258 * sysdeps/unix/sysv/linux/i386/semtimedop.S
51259 (PARMS): Do not use macros from bp-asm.h.
51261 (semtimedop): Do not use BP_SYM.
51262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51265 2013-02-21 Allan McRae <allan@archlinux.org>
51267 * manual/message.texi (Charset conversion in gettext):
51268 Move @end statement to beginning of line.
51270 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51278 (denorm): Likewise.
51279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51282 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51284 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51285 tail-call to the resolved function if pltexit isn't needed.
51287 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51290 or Y being zero as being unlikely.
51291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51294 2013-02-20 Carlos O'Donell <carlos@redhat.com>
51296 * manual/nss.texi (System Databases and Name Service Switch):
51297 Remove frobnicate @pxref.
51299 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51301 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51302 __attribute__ ((unused)) to __attribute__ ((__unused__)).
51304 2013-02-20 Petr Machata <pmachata@redhat.com>
51306 * elf/elf.h (R_ARM_TARGET1): New macro.
51307 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51308 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51309 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51310 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51311 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51312 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51313 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51314 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51315 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51316 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51317 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51318 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51319 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51320 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51321 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51322 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51323 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51324 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51325 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51326 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51327 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51328 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51329 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51330 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51331 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51332 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51333 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51334 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51335 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51336 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51337 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51338 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51339 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51340 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51341 (R_ARM_THM_GOT_BREL12): Likewise.
51342 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51343 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51344 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51345 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51346 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51347 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51348 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51349 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51350 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51352 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51354 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51355 __attribute_used__ to __attribute__ ((unused)).
51357 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51359 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51362 comment formatting.
51363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51365 2013-02-19 Joseph Myers <joseph@codesourcery.com>
51368 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51370 (ENTER): Remove both macro definitions.
51372 (CHECK_BOUNDS_LOW): Likewise.
51373 (CHECK_BOUNDS_HIGH): Likewise.
51374 (CHECK_BOUNDS_BOTH): Likewise.
51375 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51376 (RETURN_BOUNDED_POINTER): Likewise.
51377 (RETURN_NULL_BOUNDED_POINTER): Likewise.
51378 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51379 (POP_ERRNO_LOCATION_RETURN): Likewise.
51380 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51382 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51385 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51386 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51387 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51388 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51389 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51390 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51391 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51392 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51393 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51394 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51395 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51396 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51397 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51399 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51400 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51402 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51403 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51404 * sysdeps/i386/i586/memset.S (memset): Likewise.
51405 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51406 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51407 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51409 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51410 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51411 Change uses of L(2) to L(out).
51412 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51413 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51414 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51416 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51418 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51419 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51421 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51422 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51423 (RETURN): Do not use macro LEAVE.
51424 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51425 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51426 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51427 * sysdeps/i386/i686/memset.S (memset): Likewise.
51428 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51429 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51431 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51433 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51434 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
51435 L(1_2) and L(1_3) into L(1).
51436 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51437 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51438 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51439 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51440 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51441 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51442 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51443 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51444 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51446 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51447 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51448 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51449 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51450 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51451 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51452 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51453 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51454 * sysdeps/i386/strcspn.S (strcspn): Likewise.
51455 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51456 * sysdeps/i386/strrchr.S (strrchr): Likewise.
51457 * sysdeps/i386/strspn.S (strspn): Likewise.
51458 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51461 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51462 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51463 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
51464 L(1_3) into L(1_1).
51465 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51466 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51467 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51469 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51471 2013-02-19 Jakub Jelinek <jakub@redhat.com>
51473 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51476 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
51478 * math/atest-exp.c (exp_mpn): Remove ROUND.
51479 * math/atest-exp2.c (exp_mpn): Likewise.
51480 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51482 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51483 * stdlib/tst-tls-atexit-lib.c: Likewise.
51484 * stdlib/tst-tls-atexit.c: Likewise.
51486 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51488 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51489 and __attribute_alloc_size__.
51491 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51493 * include/programs/xmalloc.h: Change __attribute_alloc_size to
51494 __attribute_alloc_size__.
51495 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51496 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51498 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51500 * include/programs/xmalloc.h: New file.
51501 * catgets/gencat.c: Include it.
51502 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51503 * elf/pldd.c: Likewise.
51504 * iconv/iconv_charmap.c: Likewise.
51505 * iconv/iconvconfig.c: Likewise.
51506 * iconv/strtab.c: Likewise.
51507 * locale/programs/locale.c: Likewise.
51508 * locale/programs/localedef.h: Likewise.
51509 * locale/programs/simple-hash.c: Likewise.
51510 * nscd/nscd.h: Likewise.
51511 * nss/makedb.c: Likewise.
51512 * sysdeps/generic/ldconfig.h: Likewise.
51514 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51516 * Versions.def: Add GLIBC_2.18.
51517 * include/link.h (struct link_map): New member l_tls_dtor_count.
51518 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51519 (__call_tls_dtors): Likewise.
51520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51521 __cxa_thread_atexit_impl.
51522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51538 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51539 (tests): Add test case tst-tls-atexit.
51540 (modules-names): Add shared library for tst-tls-atexit.
51541 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51542 (GLIBC_PRIVATE): Add __call_tls_dtors.
51543 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51545 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51546 * stdlib/tst-tls-atexit.c: New test case.
51547 * stdlib/tst-tls-atexit-lib.c: New test case.
51549 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51551 * elf/Versions (ld): Add _dl_find_dso_for_object.
51552 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51553 * elf/dl-open.c (_dl_find_dso_for_object): New function.
51554 (dl_open_worker): Use _dl_find_dso_for_object.
51555 * elf/dl-sym.c (do_sym): Likewise.
51556 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51558 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51560 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51561 Syntactic changes only.
51562 (_dl_runtime_profile): Do a tail-call to the resolved function.
51564 2013-02-17 Joseph Myers <joseph@codesourcery.com>
51567 * sysdeps/x86_64/bp-asm.h: Remove file.
51568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51569 <bp-sym.h> and <bp-asm.h>.
51570 (__clone): Do not use BP_SYM.
51571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51572 <bp-sym.h> and <bp-asm.h>.
51573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51574 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51576 (_setjmp): Do not use BP_SYM.
51577 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51579 (setjmp): Do not use BP_SYM.
51580 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51582 (mempcpy): Do not use BP_SYM in weak_alias.
51583 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51585 (strchr): Do not use BP_SYM.
51586 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51588 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51589 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51590 (_start): Do not use BP_SYM.
51591 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51593 (strcat): Do not use BP_SYM.
51594 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51596 (STRCMP): Do not use BP_SYM.
51597 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51599 (STRCPY): Do not use BP_SYM.
51600 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51602 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51604 (FUNCTION): Do not use BP_SYM.
51605 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51607 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51609 2013-02-17 Andreas Jaeger <aj@suse.de>
51611 * time/Versions: Sort entries.
51612 * string/Versions: Likewise.
51613 * resolv/Versions: Likewise.
51614 * posix/Versions: Likewise.
51615 * iconv/Versions: Likewise.
51616 * elf/Versions: Likewise.
51617 * wcsmbs/Versions: Likewise.
51619 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51621 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51622 loop termination condition.
51624 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51625 variable to calculate EZ.
51628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51629 the lower precision input.
51631 2013-02-15 Joseph Myers <joseph@codesourcery.com>
51634 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51635 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51636 (run-via-rtld-prefix): Do not handle %-bp tests.
51637 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51638 (all-object-suffixes): Remove .ob.
51639 (bppfx): Remove variable.
51640 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51641 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51642 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51643 [$(build-bounded) = yes] (libtype.ob): Likewise.
51644 * Makerules (elide-routines.ob): Remove variable.
51645 (do-tests-clean): Do not handle *-bp.out.
51646 (common-mostlyclean): Do not handle *-bp and *-bp.out.
51647 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51648 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51649 (tests): Do not include $(tests-bp.out).
51650 (xtests): Do not include $(xtests-bp.out).
51651 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51652 [$(build-bounded) = yes] ($(addprefix
51653 $(objpfx),$(binaries-bounded))): Remove rule.
51654 ($(objpfx)%-bp.out): Remove rule.
51655 * config.make.in (build-bounded): Remove variable.
51656 * crypt/Makefile [$(build-bounded) = yes]
51657 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51658 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51659 append to variable.
51660 [$(build-bounded) = yes] (install-lib): Likewise.
51661 [$(build-bounded) = yes] (generated): Likewise.
51662 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51664 * intl/Makefile [$(build-bounded) = yes]
51665 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51666 * math/Makefile [$(build-bounded) = yes]
51667 ($(tests:%=$(objpfx)%-bp): Likewise.
51668 * misc/Makefile [$(build-bounded) = yes]
51669 ($(objpfx)tst-tsearch-bp): Likewise.
51670 * nptl/Makeconfig (bounded-thread-library): Remove variable.
51671 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51673 * string/Makefile (o-objects.ob): Remove variable.
51674 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51675 (CFLAGS-.ob): Remove variable.
51676 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51677 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51678 both definitions of variable.
51679 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51680 (ASFLAGS-.ob): Remove variable.
51682 2013-02-14 Joseph Myers <joseph@codesourcery.com>
51685 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51686 Remove __BOUNDED_POINTERS__ from condition.
51687 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51688 * string/bits/string2.h [!__NO_STRING_INLINES &&
51689 !__BOUNDED_POINTERS__]: Likewise.
51690 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51692 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51693 Remove conditional code.
51694 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51695 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51696 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51700 * csu/libc-start.c: Do not include <bp-sym.h>.
51701 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51702 * elf/dl-open.c: Do not include <bp-sym.h>.
51703 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51704 * math/fegetenv.c: Do not include <bp-sym.h>.
51705 (fegetenv): Do not use BP_SYM in versioned symbols.
51706 * nptl/sysdeps/pthread/bits/libc-lockP.h
51707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51710 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51712 (__pthread_mutex_destroy): Likewise.
51713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51714 (__pthread_mutex_lock): Likewise.
51715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51716 (__pthread_mutex_trylock): Likewise.
51717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51718 (__pthread_mutex_unlock): Likewise.
51719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51720 (__pthread_mutexattr_init): Likewise.
51721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51722 (__pthread_mutexattr_destroy): Likewise.
51723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51724 (__pthread_mutexattr_settype): Likewise.
51725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51726 (__pthread_rwlock_init): Likewise.
51727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51728 (__pthread_rwlock_destroy): Likewise.
51729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51730 (__pthread_rwlock_rdlock): Likewise.
51731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51732 (__pthread_rwlock_tryrdlock): Likewise.
51733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51734 (__pthread_rwlock_wrlock): Likewise.
51735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51736 (__pthread_rwlock_trywrlock): Likewise.
51737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51738 (__pthread_rwlock_unlock): Likewise.
51739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51740 (__pthread_key_create): Likewise.
51741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51742 (__pthread_setspecific): Likewise.
51743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51744 (__pthread_getspecific): Likewise.
51745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51748 (_pthread_cleanup_push_defer): Likewise.
51749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51750 (_pthread_cleanup_pop_restore): Likewise.
51751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51752 (pthread_setcancelstate): Likewise.
51753 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51755 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51756 (memchr): Do not use BP_SYM in weak_alias.
51757 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51758 (fegetenv): Do not use BP_SYM in versioned symbols.
51759 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51760 (fesetenv): Do not use BP_SYM in versioned symbols.
51761 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51762 (feupdateenv): Do not use BP_SYM in versioned symbols.
51763 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51765 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51766 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51767 (open64): Do not use BP_SYM in weak_alias.
51768 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51769 (fegetenv): Do not use BP_SYM in versioned symbols.
51770 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51771 (fesetenv): Do not use BP_SYM in versioned symbols.
51772 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51773 (feupdateenv): Do not use BP_SYM in versioned symbols.
51774 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51775 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51776 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51777 (feraiseexcept): Do not use BP_SYM in versioned symbols.
51778 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51779 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51782 (__libc_start_main): Do not use BP_SYM.
51784 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
51786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51787 redundant return line.
51789 (denorm): Likewise.
51790 (dbl_mp): Likewise.
51791 (sub_magnitudes): Likewise.
51797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51799 (denorm): Likewise.
51800 (dbl_mp): Likewise.
51801 (sub_magnitudes): Likewise.
51808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51810 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51811 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51814 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51815 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51817 of __mul for squares.
51818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51825 2013-02-13 Joseph Myers <joseph@codesourcery.com>
51828 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51830 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51831 prototype or function definition. Rename ubp_* variables and
51832 parameters. Remove argv definitions conditional on
51833 [__BOUNDED_POINTERS__].
51834 * debug/backtrace.c (__backtrace): Do not use __unbounded.
51835 * elf/dl-runtime.c (_dl_fixup): Likewise.
51836 * include/set-hooks.h (RUN_HOOK): Likewise.
51837 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51839 * string/strcpy.c (strcpy): Do not use __unbounded.
51840 * sysdeps/generic/frame.h (struct layout): Likewise.
51841 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51842 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51843 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51844 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51845 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51846 (__backtrace): Likewise.
51847 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51849 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51850 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51851 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51853 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51854 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51855 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51856 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51857 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51858 Do not use __unbounded.
51859 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51860 Rename __unboundedrlimits parameter to rlimits in prototype.
51861 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51862 Do not use __unbounded.
51863 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51864 not use __ptrvalue.
51865 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51866 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51867 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51869 __ptrvalue or __unbounded.
51870 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51871 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51873 (__new_msgctl): Do not use __ptrvalue.
51874 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51876 (__libc_msgrcv): Do not use __ptrvalue.
51877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51878 startup_info): Do not use __unbounded.
51879 (__libc_start_main): Likewise. Rename ubp_* variables and
51880 parameters. Remove argv definitions conditional on
51881 [__BOUNDED_POINTERS__].
51882 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51884 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51886 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51888 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51890 (__new_shmctl): Do not use __ptrvalue.
51891 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51892 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51894 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51896 (__libc_sigaction): Likewise.
51897 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51898 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51900 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51902 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
51904 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51906 * string/mempcpy.c: Implement by calling memcpy.
51908 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
51910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51916 values in the mantissa.
51918 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51919 minimize writes to Z.
51920 (sub_magnitudes): Simplify code a bit.
51922 2013-02-12 Roland McGrath <roland@hack.frob.com>
51924 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51925 from the message. The linker prefixes all warnings with that already.
51927 2013-02-12 Andreas Schwab <schwab@suse.de>
51930 * posix/regexec.c (extend_buffers): Add parameter min_len.
51931 (check_matching): Pass minimum needed length.
51932 (clean_state_log_if_needed): Likewise.
51933 (get_subexp): Likewise.
51934 * posix/Makefile (tests): Add bug-regex34.
51935 (bug-regex34-ENV): Define.
51936 * posix/bug-regex34.c: New file.
51939 * posix/regcomp.c (parse_bracket_exp): When looking up collating
51940 elements compare against the byte sequence of it, not its name.
51941 * posix/Makefile (tests): Add bug-regex35.
51942 (bug-regex35-ENV): Define.
51943 * posix/bug-regex35.c: New file.
51945 2013-02-11 Tom de Vries <tom@codesourcery.com>
51947 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
51949 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51950 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51951 (CHECK_EOL): Add undef.
51953 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
51955 * bits/stdlib-bsearch.h: New file.
51956 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51957 * stdlib/stdlib.h: Likewise.
51959 2013-02-11 Roland McGrath <roland@hack.frob.com>
51961 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51962 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51964 * manual/search.texi (Array Search Function): Add missing const in
51966 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51967 declaration to use rlim_t.
51968 (Basic Scheduling Functions): Remove erroneous const from
51969 sched_getparam prototype. Remove erroneous * from
51970 sched_get_priority_max and sched_get_priority_min prototypes.
51971 (Resource Usage): Fix summary @comment on vtimes to refer to
51972 sys/vtimes.h rather than vtimes.h.
51973 Add missing *s in vtimes prototype.
51974 (Limits on Resources): Fix ulimit prototype to return long int.
51975 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51976 prototypes to use long int rather than double.
51977 (BSD Random): Fix initstate and setstate to use char *, not void *.
51978 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51979 prototype to make second argument 'struct aiocb64 *const[]'.
51980 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51981 (Status of AIO Operations): Remove erroneous const in aio_return and
51982 aio_return64 prototypes.
51983 (Synchronizing I/O): Fix sync prototype to return void.
51984 * manual/startup.texi (Suboptions): Remove an erroneous const in
51985 getsubopt prototype.
51986 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51987 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51988 use size_t rather than int.
51989 (Scanning All Users): Likewise for getpwent_r.
51990 (Setting Groups): Add missing const to setgroups prototype.
51991 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51992 * manual/socket.texi (Host Names): Fix gethostbyaddr and
51993 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51994 'const void *' rather than 'const char *'.
51995 (Host Address Functions): Likewise for inet_ntop.
51996 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51997 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51998 ssize_t for return value.
51999 (Sending Data): Likewise for send, sendto, sendmsg.
52000 (Socket Option Functions): Add a missing const in setsockopt prototype.
52001 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52002 use wchar_t for the argument.
52003 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52004 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52006 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52007 double/float/long double for second argument.
52008 Fix return types of significand, significandf, significandl.
52009 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52010 argument in fchmod prototype.
52011 (File Owner): Use uid_t and gid_t in fchown prototype.
52012 (File Times): Add const to utimes, futimes, and lutimes prototypes.
52013 (Making Special Files): Use mode_t and dev_t in mknod prototype.
52014 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52015 use 'const struct dirent **' as argument types to CMP function pointer
52017 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52018 (File Times): Fix summary magic @comment for struct utimbuf and utime
52019 to refer to utime.h, not time.h.
52020 * manual/string.texi (Argz Functions): Add missing const in
52021 argz_extract and argz_next prototypes.
52022 (Finding Tokens in a String): Likewise for basename.
52023 (String/Array Comparison): Fix typo in wcscasecmp prototype.
52024 (Copying and Concatenation): Fix typo in wmemmove prototype.
52025 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52026 (Signal Stack): Remove erroneous const in sigstack prototype.
52027 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52029 (Simple Calendar Time): Likewise for stime.
52030 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52032 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52033 say sys/sysctl.h instead.
52034 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52035 and vsyslog prototypes.
52037 2013-02-11 Tom de Vries <tom@codesourcery.com>
52039 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52042 2013-02-11 Roland McGrath <roland@hack.frob.com>
52044 * misc/sys/mman.h: Fix typo in mremap comment.
52046 2013-02-08 Roland McGrath <roland@hack.frob.com>
52048 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52049 the '\0' terminator.
52051 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52054 * debug/segfault.c: Don't include <bp-checks.h>.
52055 * sysdeps/generic/bp-checks.h: Remove file.
52056 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52057 (__GETDENTS): Don't use CHECK_N.
52058 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52059 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52060 (__getgroups): Don't use CHECK_N.
52061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52062 (setgroups): Don't use CHECK_N.
52063 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52064 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52065 (__libc_msgrcv): Don't use CHECK_N.
52066 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52067 (__libc_msgsnd): Don't use CHECK_N.
52068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52070 (__libc_pread): Don't use CHECK_N.
52071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52072 include <bp-checks.h>.
52073 (__libc_pread64): Don't use CHECK_N.
52074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52075 include <bp-checks.h>.
52076 (__libc_pwrite): Don't use CHECK_N.
52077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52078 include <bp-checks.h>.
52079 (__libc_pwrite64): Don't use CHECK_N.
52080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52082 (__libc_pread): Don't use CHECK_N.
52083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52084 include <bp-checks.h>.
52085 (__libc_pread64): Don't use CHECK_N.
52086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52087 include <bp-checks.h>.
52088 (__libc_pwrite): Don't use CHECK_N.
52089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52090 include <bp-checks.h>.
52091 (__libc_pwrite64): Don't use CHECK_N.
52092 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52093 (do_pread): Don't use CHECK_N.
52094 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52095 (do_pread64): Don't use CHECK_N.
52096 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52097 (do_pwrite): Don't use CHECK_N.
52098 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52099 (do_pwrite64): Don't use CHECK_N.
52100 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52101 (__libc_readv): Don't use CHECK_N.
52102 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52103 (semop): Don't use CHECK_N.
52104 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52106 (semtimedop): Don't use CHECK_N.
52107 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52108 (__libc_pread): Don't use CHECK_N.
52109 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52111 (__libc_pread64): Don't use CHECK_N.
52112 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52114 (__libc_pwrite): Don't use CHECK_N.
52115 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52117 (__libc_pwrite64): Don't use CHECK_N.
52118 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52120 (__libc_msgrcv): Don't use CHECK_N.
52121 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52122 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
52123 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52124 (__libc_writev): Don't use CHECK_N.
52126 2013-02-08 Roland McGrath <roland@hack.frob.com>
52128 * string/strcpy.c: Removed unused variable.
52130 * Makeconfig (+sysdep-includes): Define with := rather than =.
52131 Use an existing include/ subdir of each sysdeps dir before it.
52133 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52135 * nscd/connection.c (register_traced_file): Comment function.
52136 [HAVE_INOTIFY] (union __inev): Define.
52137 [HAVE_INOTIFY] (inotify_check_files): New function.
52138 [HAVE_INOTIFY] (clear_db_cache): Likewise.
52139 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52141 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52143 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52145 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52146 loaded if not already and that a failure is permanent.
52148 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52151 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52152 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52154 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52157 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52158 (CHECK_1_NULL_OK): Likewise.
52159 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52160 (__fxstat): Do not use CHECK_1.
52161 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52163 (___fxstat64): Do not use CHECK_1.
52164 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52166 (__fxstatat): Do not use CHECK_1.
52167 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52169 (__fxstatat64): Do not use CHECK_1.
52170 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52172 (__fxstat): Do not use CHECK_1.
52173 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52175 (__fxstatat): Do not use CHECK_1.
52176 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52178 (__getresgid): Do not use CHECK_1.
52179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52181 (__getresuid): Do not use CHECK_1.
52182 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52184 (__lxstat): Do not use CHECK_1.
52185 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52187 (__old_msgctl): Do not use CHECK_1.
52188 (__new_msgctl): Likewise.
52189 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52191 (__new_setrlimit): Do not use CHECK_1.
52192 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52194 (__old_shmctl): Do not use CHECK_1.
52195 (__new_shmctl): Likewise.
52196 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52198 (__xstat): Do not use CHECK_1.
52199 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52200 (__lxstat): Do not use CHECK_1.
52201 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52203 (___lxstat64): Do not use CHECK_1.
52204 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52205 (__old_msgctl): Do not use CHECK_1.
52206 (__new_msgctl): Likewise.
52207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52209 (__gettimeofday): Do not use CHECK_1.
52210 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52211 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52212 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52214 (__gettimeofday): Do not use CHECK_1.
52215 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52216 (__old_shmctl): Do not use CHECK_1_NULL_OK.
52217 (__new_shmctl): Do not use CHECK_1.
52218 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52220 (do_sigtimedwait): Do not use CHECK_1.
52221 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52223 (do_sigwaitinfo): Do not use CHECK_1.
52224 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52226 (msgctl): Do not use CHECK_1.
52227 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52229 (shmctl): Do not use CHECK_1.
52230 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52231 (ustat): Do not use CHECK_1.
52232 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52234 (__fxstat): Do not use CHECK_1.
52235 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52237 (__fxstatat): Do not use CHECK_1.
52238 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52240 (__lxstat): Do not use CHECK_1.
52241 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52243 (__xstat): Do not use CHECK_1.
52244 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52245 (__xstat): Do not use CHECK_1.
52246 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52247 (___xstat64): Do not use CHECK_1.
52250 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52252 (CHECK_BOUNDS_HIGH): Likewise.
52253 * string/strcpy.c: Do not include <bp-checks.h>.
52254 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52256 2013-02-07 Roland McGrath <roland@hack.frob.com>
52258 * nscd/nscd-client.h (__nscd_drop_map_ref):
52259 Add __attribute__ ((unused)).
52260 * nis/nss-nisplus.h (niserr2nss): Likewise.
52262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52263 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52265 * csu/libc-tls.c (init_static_tls, init_slotinfo):
52266 Remove inline keyword.
52267 * include/rounding-mode.h (round_away): Likewise.
52268 * libio/wfileops.c (adjust_wide_data): Likewise.
52269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52270 (__m128i_strloadu_tolower): Likewise.
52271 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52272 (__m128i_strloadu_tolower): Likewise.
52273 * time/mktime.c (ydhms_diff): Likewise.
52274 * locale/elem-hash.h (elem_hash): Likewise.
52275 * locale/setlocale.c (setdata): Likewise.
52276 * posix/regex_internal.h (re_string_char_size_at): Likewise.
52277 (re_string_wchar_at): Likewise.
52278 (bitset_not, bitset_merge, bitset_mask): Likewise.
52279 [!(__GNUC__ > 3)] (inline): Remove macro.
52280 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52281 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52282 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52283 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52284 * string/memcmp.c (memcmp_bytes): Likewise.
52285 * locale/programs/locarchive.c (compute_hashval): Likewise.
52286 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52287 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52288 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52289 * nss/getent.c (print_rpc, print_protocols): Likewise.
52290 (print_passwd, print_group, print_aliases): Likewise.
52291 * nis/nss-nisplus.h (niserr2nss): Likewise.
52292 * nscd/connections.c (restart_p): Likewise.
52293 Change return type to bool.
52295 2013-02-05 Roland McGrath <roland@hack.frob.com>
52297 * Makeconfig (all-Depend-files): Add existing
52298 $(sorted-subdirs:=/Depend) files.
52299 (all-subdirs): Remove nss.
52300 * sysdeps/unix/inet/Subdirs: Add it here instead.
52301 * hesiod/Depend: New file.
52303 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52304 instead of calling alloca.
52306 * io/lseek.c (__lseek): Rename to __libc_lseek.
52307 Define __lseek as an alias.
52309 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52311 2013-02-04 Carlos O'Donell <carlos@redhat.com>
52313 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52314 else clause and remove check for non-standard endianness.
52316 2013-02-04 David S. Miller <davem@davemloft.net>
52318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52320 2013-02-04 Joseph Myers <joseph@codesourcery.com>
52323 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52324 (__ubp_memchr): Remove prototype.
52325 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52326 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52327 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52328 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52329 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52331 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52332 (__ubp_memchr): Likewise.
52333 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52334 (__ubp_memchr): Likewise.
52335 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52336 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52337 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52340 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52341 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52342 (__getcwd): Do not use CHECK_STRING.
52343 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52345 (__real_chown): Do not use CHECK_STRING.
52346 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52348 (fchownat): Do not use CHECK_STRING.
52349 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52351 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52353 (__lchown): Do not use CHECK_STRING.
52354 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52355 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52356 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52357 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52359 include <bp-checks.h>.
52360 (truncate64): Do not use CHECK_STRING.
52361 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52363 (__real_chown): Do not use CHECK_STRING.
52364 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52366 (__lchown): Do not use CHECK_STRING.
52367 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52369 (__chown): Do not use CHECK_STRING.
52370 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52372 (truncate64): Do not use CHECK_STRING.
52373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52375 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52376 (__xmknod): Do not use CHECK_STRING.
52377 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52379 (__xmknodat): Do not use CHECK_STRING.
52380 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52381 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52383 2013-02-04 Andreas Schwab <schwab@suse.de>
52386 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52387 * include/netdb.h: Likewise for h_errno.
52388 * elf/tst-stackguard1.c: Include <tls.h>.
52390 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
52392 * elf/link.h (struct link_map): Extend the l_addr comment.
52393 * include/link.h (struct link_map): Likewise.
52395 2013-02-01 Joseph Myers <joseph@codesourcery.com>
52398 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52399 (BOUNDED_1): Remove macro.
52400 * debug/backtrace.c: Don't include <bp-checks.h>.
52401 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52402 (__backtrace): Likewise.
52403 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52405 (__backtrace): Don't use BOUNDED_1.
52406 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52408 (__backtrace): Don't use BOUNDED_1.
52409 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52410 (__backtrace): Don't use BOUNDED_1.
52411 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52412 (shmat): Don't use BOUNDED_N.
52414 2013-01-31 Joseph Myers <joseph@codesourcery.com>
52417 * sysdeps/generic/bp-start.h: Remove file.
52418 * csu/libc-start.c: Don't include <bp-start.h>.
52419 (LIBC_START_MAIN): Set up __environ directly instead of using
52420 INIT_ARGV_and_ENVIRON.
52421 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52425 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52427 (CHECK_FCNTL): Likewise.
52428 (CHECK_N_PAGES): Likewise.
52431 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52433 (CHECK_SIGSET_NULL_OK): Likewise.
52434 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52436 (sigpending): Don't use CHECK_SIGSET.
52437 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52440 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52442 (do_sigsuspend): Don't use CHECK_SIGSET.
52443 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52445 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52446 (do_sigwait): Don't use CHECK_SIGSET.
52447 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52450 include <bp-checks.h>.
52451 (sigpending): Don't use CHECK_SIGSET.
52452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52453 include <bp-checks.h>.
52454 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52455 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52457 (sigpending): Don't use CHECK_SIGSET.
52458 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52460 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52463 * sysdeps/generic/bp-semctl.h: Remove file.
52464 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52465 <bp-checks.h> and <bp-semctl.h>.
52466 (__old_semctl): Don't use CHECK_SEMCTL.
52467 (__new_semctl): Likewise.
52468 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52470 (__old_semctl): Don't use CHECK_SEMCTL.
52471 (__new_semctl): Likewise.
52472 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52473 <bp-checks.h> and <bp-semctl.h>.
52474 (__old_semctl): Don't use CHECK_SEMCTL.
52475 (__new_semctl): Likewise.
52476 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52477 <bp-checks.h> and <bp-semctl.h>.
52478 (semctl): Don't use CHECK_SEMCTL.
52481 * Makerules (elide-bp-thunks): Remove variable.
52482 (elide-routines.oS): Don't use $(elide-bp-thunks).
52483 (elide-routines.os): Likewise.
52484 (elide-routines.o): Likewise.
52485 (elide-routines.op): Likewise.
52486 (elide-routines.og): Likewise.
52487 (objects): Don't use $(bp-thunks).
52488 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52490 (common-generated): Do not add s-proto-bp.d.
52491 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52494 Do not generate makefile rules for bounded-pointer thunks.
52495 * sysdeps/generic/bp-thunks.h: Remove file.
52496 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52497 * sysdeps/unix/s-proto-bp.S: Likewise.
52500 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52501 parts of result separately when argument is not close to line from
52502 -i to i and one part of argument is small.
52503 * math/k_casinhf.c (__kernel_casinhf): Likewise.
52504 * math/k_casinhl.c (__kernel_casinhl): Likewise.
52505 * math/libm-test.inc (cacos_test): Add more tests.
52506 (casin_test): Likewise.
52507 (casinh_test): Likewise.
52508 * sysdeps/i386/fpu/libm-test-ulps: Update.
52509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52511 2013-01-31 David S. Miller <davem@davemloft.net>
52513 * po/de.po: Update from translation team.
52515 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
52517 * time/tzfile.c: Include stdint.h for SIZE_MAX.
52519 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
52521 * configure.in (_AC_PROG_CC_C89): New definition.
52522 * configure: Regenerate.
52524 * configure.in (AC_PROG_CPP): New definition.
52525 * configure: Regenerate.
52527 2013-01-23 Joseph Myers <joseph@codesourcery.com>
52529 * debug/tst-backtrace.h: New file.
52530 * debug/tst-backtrace2.c: Include tst-backtrace.h.
52531 (ret): Remove variable.
52533 (FAIL): Remove macro.
52534 (NO_INLINE): Likewise.
52535 (fn1): Use match function instead of strstr.
52536 * debug/tst-backtrace3.c: Include tst-backtrace.h.
52537 (ret): Remove variable.
52539 (FAIL): Remove macro.
52540 (NO_INLINE): Likewise.
52541 (fn): Use match function instead of strstr.
52542 * debug/tst-backtrace4.c: Include tst-backtrace.h.
52543 (ret): Remove variable.
52545 (FAIL): Remove macro.
52546 (NO_INLINE): Likewise.
52547 (handle_signal): Use match function instead of strstr.
52548 * debug/tst-backtrace5.c: Include tst-backtrace.h.
52549 (ret): Remove variable.
52551 (FAIL): Remove macro.
52552 (NO_INLINE): Likewise.
52553 (handle_signal): Use match function instead of strstr.
52555 2013-01-23 Roland McGrath <roland@hack.frob.com>
52557 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52559 2013-01-23 David S. Miller <davem@davemloft.net>
52561 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52562 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52563 argument of CAS if possible.
52564 * sysdeps/sparc/sparc64/bits/atomic.h
52565 (__arch_compare_and_exchange_val_32_acq): Likewise.
52566 (__arch_compare_and_exchange_val_64_acq): Likewise.
52568 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
52570 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52571 * sysdeps/posix/ulimit.c: ... this.
52572 Include <limits.h>.
52573 * sysdeps/unix/bsd/ulimit.c: Remove file.
52575 2013-01-23 Adam Conrad <adconrad@0c3.net>
52577 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52578 (LDFLAGS-tst-array5): Likewise.
52580 2013-01-23 Joseph Myers <joseph@codesourcery.com>
52583 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52584 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52585 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52586 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52588 2013-01-21 David S. Miller <davem@davemloft.net>
52590 * sysdeps/sparc/backtrace.c: New file.
52591 * sysdeps/sparc/sparc32/backtrace.h: New file.
52592 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52593 * sysdeps/sparc/sparc64/backtrace.h: New file.
52594 * sysdeps/sparc/sparc64/backtrace.c: Delete.
52595 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52598 2013-01-21 Andreas Schwab <schwab@suse.de>
52601 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52604 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
52606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52610 2013-01-18 Joseph Myers <joseph@codesourcery.com>
52611 Mark Mitchell <mark@codesourcery.com>
52612 Tom de Vries <tom@codesourcery.com>
52613 Paul Pluzhnikov <ppluzhnikov@google.com>
52615 * debug/tst-backtrace2.c: New file.
52616 * debug/tst-backtrace3.c: Likewise.
52617 * debug/tst-backtrace4.c: Likewise.
52618 * debug/tst-backtrace5.c: Likewise.
52619 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52620 (CFLAGS-tst-backtrace3.c): Likewise.
52621 (CFLAGS-tst-backtrace4.c): Likewise.
52622 (CFLAGS-tst-backtrace5.c): Likewise.
52623 (LDFLAGS-tst-backtrace2): Likewise.
52624 (LDFLAGS-tst-backtrace3): Likewise.
52625 (LDFLAGS-tst-backtrace4): Likewise.
52626 (LDFLAGS-tst-backtrace5): Likewise.
52627 (tests): Add new tests tst-backtrace2, tst-backtrace3,
52628 tst-backtrace4 and tst-backtrace5.
52630 2013-01-18 Anton Blanchard <anton@samba.org>
52631 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52634 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52635 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52636 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52638 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52639 "+r" and remove output regs list as redundant. Add explicit inline
52640 asm to specify register of return val to work around compiler codegen
52641 bug. Remove (int) cast on return value. Add return type parameter to
52642 use in macro so that this macro does not truncate return value for
52644 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52645 pass to INTERNAL_VSYSCALL_NCS.
52646 (INLINE_VSYSCALL): Add 'long int' as return type to
52647 INTERNAL_VSYSCALL_NCS macro invocation.
52648 (INTERNAL_VSYSCALL): Add 'long int' as return type to
52649 INTERNAL_VSYSCALL_NCS macro invocation.
52650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52652 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52655 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52656 Fix application of SIMD FP exception mask.
52658 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52659 mp_no from a power of two.
52660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52661 __mpexp_twomm1. Use __pow_mp.
52663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52666 2013-01-17 David S. Miller <davem@davemloft.net>
52668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52670 2013-01-17 Joseph Myers <joseph@codesourcery.com>
52673 * include/complex.h: Condition contents on [!_COMPLEX_H].
52674 (__kernel_casinhf): New prototype.
52675 (__kernel_casinh): Likewise.
52676 (__kernel_casinhl): Likewise.
52677 * math/Makefile (libm_calls): Add k_casinh.
52678 * math/k_casinh.c: New file.
52679 * math/k_casinhf.c: Likewise.
52680 * math/k_casinhl.c: Likewise.
52681 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52682 finite nonzero arguments.
52683 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52684 finite nonzero arguments.
52685 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52686 finite nonzero arguments.
52687 * math/s_casinh.c: Do not include <float.h>.
52688 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52689 * math/s_casinhf.c: Do not include <float.h>.
52690 (__casinhf): Move code for finite nonzero arguments to
52692 * math/s_casinhl.c: Do not include <float.h>.
52693 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52695 (__casinhl): Move code for finite nonzero arguments to
52697 * math/libm-test.inc (cacos_test): Add more tests.
52698 * sysdeps/i386/fpu/libm-test-ulps: Update.
52699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52701 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
52703 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52704 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52705 [!HAVE_MREMAP]: Remove [defined linux] case.
52706 * malloc/arena.c: Do not include <malloc-sysdep.h>.
52708 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
52710 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52712 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
52714 * elf/elf.h (R_386_SIZE32): New relocation.
52715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52717 (elf_machine_rela): Likewise.
52718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52719 R_X86_64_SIZE64 and R_X86_64_SIZE32.
52721 2013-01-17 Joseph Myers <joseph@codesourcery.com>
52723 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52724 (FP_FAST_FMA): Do not define.
52725 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52726 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52727 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52728 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52729 !_SOFT_FLOAT]: Likewise.
52730 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52733 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52734 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52735 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52737 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52738 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52741 2013-01-16 Andreas Schwab <schwab@suse.de>
52744 * include/stdlib.h (__mktemp): Add declaration.
52745 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52746 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52748 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
52750 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52752 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52753 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52754 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52757 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52761 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52762 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52765 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52766 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52768 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52770 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52772 2013-01-15 David S. Miller <davem@davemloft.net>
52774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52775 trunc{,f} to libm-sysdep_routes.
52776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52786 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52788 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52789 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52790 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52791 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52794 nearbyint{,f} to libm-sysdep_routes.
52795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52808 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52812 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52813 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52815 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52816 libc_feholdexcept and libc_fesetenv.
52818 2013-01-15 Mike Frysinger <vapier@gentoo.org>
52820 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52822 2013-01-14 David S. Miller <davem@davemloft.net>
52824 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52825 (SPARC_ASM_VIS2_IFUNC): Likewise.
52826 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52828 use of 'siam' instruction.
52829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52862 routines to libm-sysdep_routines.
52863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52866 fdim/fdimf to libm-sysdep_routines.
52867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52875 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52876 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52877 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52878 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52880 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52882 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52883 to optimize copies.
52885 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52890 local variable MPTWO.
52891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52894 2013-01-13 Mike Frysinger <vapier@gentoo.org>
52896 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52899 2013-01-13 Mike Frysinger <vapier@gentoo.org>
52901 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52903 2013-01-13 Mike Frysinger <vapier@gentoo.org>
52905 * manual/pattern.texi (glob_t): Document gl_flags.
52906 (glob64_t): Likewise.
52908 2013-01-11 David S. Miller <davem@davemloft.net>
52910 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52911 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52912 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
52913 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52914 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52915 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52916 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52917 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52918 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52919 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52920 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52921 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52922 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52925 sparc V9 rather than using V8 code.
52926 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52927 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52929 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52931 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52934 2013-01-11 Roland McGrath <roland@hack.frob.com>
52937 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52938 not in the main loop.
52939 * configure: Regenerated.
52941 2013-01-11 Joseph Myers <joseph@codesourcery.com>
52943 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52944 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52946 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
52947 [!__GLIBC_HAVE_LONG_LONG] case.
52948 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52949 condition to just #else.
52950 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52951 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52952 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52953 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52955 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52956 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52957 #elif condition to just #else.
52958 * sysdeps/unix/sysv/linux/sys/sysmacros.h
52959 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52960 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52961 #elif condition to just #else.
52963 2013-01-11 Steve Ellcey <sellcey@mips.com>
52965 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52966 (EF_MIPS_ARCH_64): Fix value.
52967 (EF_MIPS_ARCH_32R2): New.
52968 (EF_MIPS_ARCH_64R2): New.
52970 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
52972 * Makeconfig (+link-pie-before-libc): New.
52973 (+link-pie-after-libc): Likewise.
52974 (+link-pie-tests): Likewise.
52975 (+link-pie): Rewritten.
52976 (link-before-libc): Remove $(config-LDFLAGS).
52977 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52978 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52979 (config-LDFLAGS): Renamed to ...
52980 (rtld-LDFLAGS): This.
52981 (rtld-tests-LDFLAGS): New macro.
52982 (link-libc-rpath-link): Likewise.
52983 (link-libc-tests-rpath-link): Likewise.
52984 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52985 (link-libc): Prepand $(link-libc-rpath-link).
52986 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52987 (test-program-prefix): New macro.
52988 (test-via-rtld-prefix): Likewise.
52989 (test-program-cmd): Likewise.
52990 (host-test-program-cmd): Likewise.
52991 * Makefile ($(common-objpfx)testrun.sh): Replace
52992 $(run-program-prefix) with $(test-program-prefix).
52993 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52995 ($(common-objpfx)shlib.lds): Likewise.
52996 (build-module-helper): Likewise.
52997 ($(common-objpfx)format.lds): Likewise.
52998 * Rules (binaries-pie-tests): New.
52999 (binaries-pie-notests): Likewise.
53000 (binaries-pie): Rewritten.
53001 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53002 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53003 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53004 (make-test-out): Replace $(host-built-program-cmd) with
53005 $(host-test-program-cmd).
53006 * config.make.in (build-hardcoded-path-in-tests): New variable.
53007 * configure.in (--enable-hardcoded-path-in-tests): New configure
53009 (hardcoded_path_in_tests): New AC_SUBST.
53010 * configure: Regenerated.
53011 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53012 $(built-program-cmd) with $(test-program-cmd).
53013 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53014 (test_program_cmd): This.
53015 * elf/Makefile ($(objpfx)order.out): Run test with
53016 $(test-program-prefix).
53017 ($(objpfx)order2.out): Likewise.
53018 ($(objpfx)tst-initorder.out): Likewise.
53019 ($(objpfx)tst-initorder2.out): Likewise.
53020 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53021 $(test-program-cmd).
53022 ($(objpfx)tst-array1-static.out): Likewise.
53023 ($(objpfx)tst-array2.out): Likewise.
53024 ($(objpfx)tst-array3.out): Likewise.
53025 ($(objpfx)tst-array4.out): Likewise.
53026 ($(objpfx)tst-array5.out): Likewise.
53027 ($(objpfx)tst-array5-static.out): Likewise.
53028 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53029 $(test-program-cmd).
53030 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53031 $(run-program-prefix) with $(test-program-prefix).
53032 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53033 (test_program_prefix): This.
53034 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53035 $(run-program-prefix) with $(test-program-prefix).
53036 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53037 (test_program_prefix): This.
53038 * iconvdata/tst-tables.sh: Likewise.
53039 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53040 $(run-program-prefix) with $(test-program-prefix).
53041 ($(objpfx)tst-translit.out): Likewise.
53042 ($(objpfx)tst-gettext2.out): Likewise.
53043 ($(objpfx)tst-gettext4.out): Likewise.
53044 ($(objpfx)tst-gettext6.out): Likewise.
53045 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53046 (test_program_prefix): This.
53047 * intl/tst-gettext2.sh: Likewise.
53048 * intl/tst-gettext4.sh Likewise.
53049 * intl/tst-gettext6.sh: Likewise.
53050 * intl/tst-translit.sh: Likewise.
53051 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53052 with $(test-program-cmd).
53053 * libio/Makefile ($(objpfx)test-freopen.out): Replace
53054 $(run-program-prefix) with $(test-program-prefix).
53055 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53056 (test_program_prefix): This.
53057 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53058 $(run-program-prefix) with $(test-program-prefix).
53059 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53060 (test_program_prefix): This.
53061 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53062 * posix/Makefile ($(objpfx)globtest.out): Replace
53063 $(run-via-rtld-prefix) and $(test-wrapper) with
53064 $(test-program-prefix) and $(test-via-rtld-prefix).
53065 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53066 $(test-program-prefix).
53067 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53068 $(host-test-program-cmd).
53069 (tst-spawn-ARGS): Likewise.
53070 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53071 $(test-program-prefix).
53072 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53073 (test_via_rtld_prefix): This.
53074 (test_wrapper): Renamed to ...
53075 (test_program_prefix): This.
53076 (run_program_prefix): Replaced by test_program_prefix.
53077 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53078 (test_program_prefix): This.
53079 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53080 with $(host-test-program-cmd).
53081 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53082 $(run-program-prefix) with $(test-program-prefix).
53083 ($(objpfx)tst-printf.out): Likewise.
53084 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53085 $(test-program-cmd).
53086 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53087 (test_program_prefix): This.
53088 * stdio-common/tst-unbputc.sh: Likewise.
53089 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53090 $(run-program-prefix) with $(test-program-prefix).
53091 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53092 (test_program_prefix): This.
53093 * string/Makefile ($(objpfx)tst-svc.out): Replace
53094 $(built-program-cmd) with $(test-program-cmd).
53096 2013-01-11 Andreas Jaeger <aj@suse.de>
53099 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53100 value. Sync with Linux 3.7.
53102 2013-01-10 David S. Miller <davem@davemloft.net>
53104 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53105 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53106 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53108 2013-01-10 Roland McGrath <roland@hack.frob.com>
53110 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53112 * configure: Regenerated.
53114 2013-01-10 David S. Miller <davem@davemloft.net>
53116 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53117 sparc V9 rather than using V8 code.
53118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53121 2013-01-10 Roland McGrath <roland@hack.frob.com>
53123 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53124 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53125 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53126 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53127 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53128 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53129 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53130 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53131 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53132 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53133 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53134 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53135 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53136 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53137 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53138 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53139 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53140 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53141 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53142 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53143 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53144 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53145 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53146 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53147 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53148 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53149 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53151 2013-01-10 David S. Miller <davem@davemloft.net>
53153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53155 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53157 * posix/Makefile (tests-static): New variable.
53158 (tests): Add $(tests-static).
53159 (tst-exec-static-ARGS): New variable.
53160 (tst-spawn-static-ARGS): Likewise.
53161 * posix/tst-exec-static.c: New file.
53162 * posix/tst-spawn-static.c: Likewise.
53163 * posix/tst-exec.c: Support run directly.
53164 * posix/tst-spawn.c: Likewise.
53166 2013-01-10 Joseph Myers <joseph@codesourcery.com>
53168 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53170 * math/bits/mathcalls.h (llrint): Likewise.
53171 (llround): Likewise.
53172 * stdlib/stdlib.h (struct drand48_data): Likewise.
53173 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53174 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53175 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53177 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53179 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53180 (elf_greg_t): Likewise.
53181 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53182 (__jmp_buf): Likewise.
53183 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53185 (llrint): Likewise, for all definitions.
53186 (llrintl): Likewise.
53188 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53189 Remove [__GNUC__] condition.
53190 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53191 condition to just [__USE_ISOC99].
53192 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53194 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53197 * sysdeps/unix/sysv/linux/x86/bits/environments.h
53198 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53200 (_POSIX_V6_ILP32_OFF32): Likewise.
53201 (_XBS5_ILP32_OFF32): Likewise.
53202 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53203 (__ILP32_OFFBIG_LDFLAGS): Likewise.
53205 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53207 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53210 doubles __mpexp_twomm1. Adjust usage.
53211 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53214 2013-01-10 Andreas Schwab <schwab@suse.de>
53217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53218 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53220 2013-01-09 David S. Miller <davem@davemloft.net>
53223 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53224 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53225 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53226 (TCP_FASTOPEN): Define.
53227 (tcp_repair_opt): New structure.
53228 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53230 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53231 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53232 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53233 (tcp_cookie_transactions): New structure.
53235 2013-01-09 Anton Blanchard <anton@samba.org>
53237 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53238 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53240 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53242 2013-01-09 Joseph Myers <joseph@codesourcery.com>
53244 * include/features.h (__USE_ANSI): Remove.
53246 2013-01-09 Roland McGrath <roland@hack.frob.com>
53248 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53250 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53252 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
53254 * sysdeps/s390/fpu/libm-test-ulps: Update.
53256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53258 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53262 (denorm): Likewise.
53263 (__mp_dbl): Likewise.
53264 (__dbl_mp): Likewise.
53265 (add_magnitudes): Likewise.
53266 (sub_magnitudes): Likewise.
53272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53276 (denorm): Likewise.
53277 (__mp_dbl): Likewise.
53278 (__dbl_mp): Likewise.
53279 (add_magnitudes): Likewise.
53280 (sub_magnitudes): Likewise.
53286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53290 (denorm): Likewise.
53291 (__mp_dbl): Likewise.
53292 (__dbl_mp): Likewise.
53293 (add_magnitudes): Likewise.
53294 (sub_magnitudes): Likewise.
53301 2013-01-08 Joseph Myers <joseph@codesourcery.com>
53303 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53304 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53305 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53306 2 && __USE_EXTERN_INLINES]: Likewise.
53308 2013-01-08 Andreas Jaeger <aj@suse.de>
53311 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53313 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53314 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53316 2013-01-07 Anton Blanchard <anton@samba.org>
53318 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53319 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53320 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53321 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53322 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53324 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53325 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53327 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53328 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53329 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53330 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53332 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53336 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53337 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53339 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53340 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53341 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53342 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53343 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53344 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53345 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53347 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53348 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53351 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53352 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53356 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53357 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53358 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53359 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53362 2013-01-07 Joseph Myers <joseph@codesourcery.com>
53364 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53365 (__MALLOC_PMT): Likewise.
53366 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53367 [__GNUC__], only on [_LIBC].
53368 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53369 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53370 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53371 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53372 forward declaration.
53373 (realloc_hook_ini): Likewise.
53374 (memalign_hook_ini): Likewise.
53375 (__libc_memalign): Do not use __MALLOC_PMT in variable
53377 (__libc_valloc): Likewise.
53378 (__libc_pvalloc): Likewise.
53379 (__libc_calloc): Likewise.
53380 (__posix_memalign): Likewise.
53383 * math/s_casinh.c: Include <float.h>.
53384 (__casinh): Do not do computation with squaring and square root
53385 for large arguments.
53386 * math/s_casinhf.c: Include <float.h>.
53387 (__casinhf): Do not do computation with squaring and square root
53388 for large arguments.
53389 * math/s_casinhl.c: Include <float.h>.
53390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53391 (__casinhl): Do not do computation with squaring and square root
53392 for large arguments.
53393 * math/libm-test.inc (casin_test): Add more tests.
53394 (casinh_test): Likewise.
53395 * sysdeps/i386/fpu/libm-test-ulps: Update.
53396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53398 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
53400 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53401 (__x86_64_raw_data_cache_size): Likewise.
53402 (__x86_64_data_cache_size_half): Likewise.
53403 (__x86_64_raw_data_cache_size_half): Likewise.
53404 (__x86_64_shared_cache_size): Likewise.
53405 (__x86_64_raw_shared_cache_size): Likewise.
53406 (__x86_64_shared_cache_size_half): Likewise.
53407 (__x86_64_raw_shared_cache_size_half): Likewise.
53408 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53410 (__x86_data_cache_size): This.
53411 (__x86_64_raw_data_cache_size): Renamed to ...
53412 (__x86_raw_data_cache_size): This.
53413 (__x86_64_data_cache_size_half): Renamed to ...
53414 (__x86_data_cache_size_half): This.
53415 (__x86_64_raw_data_cache_size_half): Renamed to ...
53416 (__x86_raw_data_cache_size_half): This.
53417 (__x86_64_shared_cache_size): Renamed to ...
53418 (__x86_shared_cache_size): This.
53419 (__x86_64_raw_shared_cache_size): Renamed to ...
53420 (__x86_raw_shared_cache_size): This.
53421 (__x86_64_shared_cache_size_half): Renamed to ...
53422 (__x86_shared_cache_size_half): This.
53423 (__x86_64_raw_shared_cache_size_half): Renamed to ...
53424 (__x86_raw_shared_cache_size_half): This.
53425 * sysdeps/x86_64/memcpy.S: Updated.
53426 * sysdeps/x86_64/memset.S: Likewise.
53427 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53431 2013-01-04 David S. Miller <davem@davemloft.net>
53433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53435 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
53437 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53438 1 to avoid redefinition warning.
53439 (__USE_GNU): Don't define.
53440 (init_signaling_nan): Protoize.
53442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53444 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53446 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53448 (__cpymn): Likewise.
53449 (norm): Remove commented code.
53450 (denorm): Likewise.
53451 (__mp_dbl): Likewise.
53453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53454 (__cpymn): Likewise.
53455 (norm): Remove commented code.
53456 (denorm): Likewise.
53457 (__mp_dbl): Likewise.
53460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53461 mp_no value for 1.0 and 2.0.
53462 (norm): Use RADIXI instead of radixi.d.
53463 (denorm): Likewise.
53464 (__mul): Use 0.0 instead of zero.d.
53465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53466 mp_no value for 1.0 and 2.0.
53467 (norm): Use RADIXI instead of radixi.d.
53468 (denorm): Likewise.
53469 (__mul): Use 0.0 instead of zero.d.
53471 2013-01-04 Joseph Myers <joseph@codesourcery.com>
53474 * math/s_casinh.c (__casinh): Reduce finite argument to first
53475 quadrant then set signs of results at the end.
53476 * math/s_casinhf.c (__casinhf): Likewise.
53477 * math/s_casinhl.c (__casinhl): Likewise.
53478 * math/libm-test.inc (casin_test): Add more tests.
53479 (casinh_test): Likewise.
53480 * sysdeps/i386/fpu/libm-test-ulps: Update.
53481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53483 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53485 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53487 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53489 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53491 (denorm): Likewise.
53492 (__mp_dbl): Likewise.
53495 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53496 and adjust the header comment.
53498 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53499 variable name from declaration.
53501 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
53503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53504 Initialize COMMON_CPUID_INDEX_7 element.
53505 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53506 (CPUID_RTM): Likewise.
53507 (HAS_RTM): Likewise.
53508 (COMMON_CPUID_INDEX_7): New enum.
53510 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
53513 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53514 size is zero, record memory as freed.
53516 2013-01-03 Andreas Jaeger <aj@suse.de>
53518 * po/ia.po: Add new Interlingua translation.
53520 2012-01-03 Allan McRae <allan@archlinux.org>
53522 * locale/programs/localedef.c: Fix description of '--posix' flag.
53524 2013-01-02 Joseph Myers <joseph@codesourcery.com>
53526 * NEWS: Update dates in second copyright notice.
53527 * README: Update copyright dates in example.
53528 * manual/libc.texinfo: Update copyright dates.
53529 * scripts/test-installation.pl: Update copyright date in --version
53532 * hurd/ctty-input.c: Fix copyright notice formatting.
53533 * hurd/ctty-output.c: Likewise.
53534 * hurd/dtable.c: Likewise.
53535 * hurd/hurd-raise.c: Likewise.
53536 * hurd/hurdprio.c: Likewise.
53537 * hurd/msgportdemux.c: Likewise.
53538 * misc/sys/file.h: Likewise.
53539 * misc/sys/ioctl.h: Likewise.
53540 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53541 * sysdeps/mach/hurd/chdir.c: Likewise.
53542 * sysdeps/mach/hurd/fchdir.c: Likewise.
53543 * sysdeps/mach/hurd/rename.c: Likewise.
53544 * sysdeps/mach/hurd/rmdir.c: Likewise.
53545 * sysdeps/mach/hurd/seekdir.c: Likewise.
53546 * sysdeps/mach/hurd/setsid.c: Likewise.
53547 * sysdeps/posix/wait3.c: Likewise.
53549 * All files with FSF copyright notices: Update copyright dates
53550 using scripts/update-copyrights.
53551 * intl/plural.c: Regenerated.
53552 * locale/programs/charmap-kw.h: Likewise.
53553 * locale/programs/locfile-kw.h: Likewise.
53555 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
53557 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53561 calculation loop and add branch prediction.
53563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53564 check access beyond bounds of m1np.
53566 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53568 (__inv): Remove local variable MPTWO to use the global
53570 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53574 MP3HALFS static const.
53576 2013-01-01 David S. Miller <davem@davemloft.net>
53578 * po/ca.po: Update from translation team.
53580 2013-01-01 Joseph Myers <joseph@codesourcery.com>
53582 * scripts/update-copyrights: New file.
53583 * Makeconfig: Reformat copyright notice.
53584 * ctype/ctype.h: Likewise.
53585 * debug/swprintf_chk.c: Likewise.
53586 * elf/dl-cache.c: Likewise.
53587 * elf/dl-debug.c: Likewise.
53588 * elf/dl-object.c: Likewise.
53589 * grp/initgroups.c: Likewise.
53590 * hurd/Makefile: Likewise.
53591 * hurd/hurd/signal.h: Likewise.
53592 * hurd/hurdfault.c: Likewise.
53593 * hurd/hurdioctl.c: Likewise.
53594 * hurd/hurdlookup.c: Likewise.
53595 * hurd/intr-msg.c: Likewise.
53596 * iconv/gconv_open.c: Likewise.
53597 * libio/swprintf.c: Likewise.
53598 * locale/lc-ctype.c: Likewise.
53599 * locale/nl_langinfo.c: Likewise.
53600 * mach/Machrules: Likewise.
53601 * mach/Makefile: Likewise.
53602 * malloc/obstack.h: Likewise.
53603 * manual/Makefile: Likewise.
53604 * manual/tsort.awk: Likewise.
53605 * misc/bits/stab.def: Likewise.
53606 * nis/nis_print_group_entry.c: Likewise.
53607 * nis/nis_table.c: Likewise.
53608 * nis/nss_compat/compat-pwd.c: Likewise.
53609 * nis/nss_compat/compat-spwd.c: Likewise.
53610 * po/Makefile: Likewise.
53611 * posix/fnmatch.c: Likewise.
53612 * posix/regex.h: Likewise.
53613 * resolv/Makefile: Likewise.
53614 * resolv/nss_dns/dns-network.c: Likewise.
53615 * resolv/res_hconf.c: Likewise.
53616 * scripts/gen-sorted.awk: Likewise.
53617 * soft-fp/soft-fp.h: Likewise.
53618 * stdio-common/printf.h: Likewise.
53619 * stdlib/monetary.h: Likewise.
53620 * stdlib/random.c: Likewise.
53621 * stdlib/random_r.c: Likewise.
53622 * sysdeps/generic/Makefile: Likewise.
53623 * sysdeps/gnu/Makefile: Likewise.
53624 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53631 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53634 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53635 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53636 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53637 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53638 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53639 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53640 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53643 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53644 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53645 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53646 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53647 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53648 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53650 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53652 * sysdeps/mach/hurd/errnos.awk: Likewise.
53653 * sysdeps/mach/hurd/fork.c: Likewise.
53654 * sysdeps/mach/hurd/getcwd.c: Likewise.
53655 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53656 * sysdeps/mach/hurd/mmap.c: Likewise.
53657 * sysdeps/mach/hurd/utimes.c: Likewise.
53658 * sysdeps/mach/hurd/xmknod.c: Likewise.
53659 * sysdeps/posix/profil.c: Likewise.
53660 * sysdeps/posix/readdir_r.c: Likewise.
53661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53662 * sysdeps/powerpc/bits/setjmp.h: Likewise.
53663 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53664 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53666 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53667 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53668 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53670 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53671 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53672 * sysdeps/pthread/lio_listio.c: Likewise.
53673 * sysdeps/sparc/dl-procinfo.h: Likewise.
53674 * sysdeps/unix/i386/sysdep.S: Likewise.
53675 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53676 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53677 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53678 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53680 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53681 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53682 * sysdeps/unix/sysv/linux/speed.c: Likewise.
53683 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53684 * sysdeps/wordsize-32/divdi3.c: Likewise.
53685 * time/sys/time.h: Likewise.
53686 * wcsmbs/Makefile: Likewise.
53688 2013-01-01 David S. Miller <davem@davemloft.net>
53690 * po/fr.po: Update from translation team.
53692 * catgets/gencat.c: Update copyright year.
53693 * csu/version.c: Likewise.
53694 * debug/catchsegv.sh: Likewise.
53695 * debug/pcprofiledump.c: Likewise.
53696 * debug/xtrace.sh: Likewise.
53697 * elf/ldconfig.c: Likewise.
53698 * elf/ldd.bash.in: Likewise.
53699 * elf/pldd.c: Likewise.
53700 * elf/sotruss.ksh: Likewise.
53701 * elf/sprof.c: Likewise.
53702 * iconv/iconv_prog.c: Likewise.
53703 * iconv/iconvconfig.c: Likewise.
53704 * locale/programs/locale.c: Likewise.
53705 * locale/programs/localedef.c: Likewise.
53706 * login/programs/pt_chown.c: Likewise.
53707 * malloc/memusage.sh: Likewise.
53708 * malloc/memusagestat.c: Likewise.
53709 * malloc/mtrace.pl: Likewise.
53710 * nscd/nscd.c: Likewise.
53711 * nss/getent.c: Likewise.
53712 * nss/makedb.c: Likewise.
53713 * posix/getconf.c: Likewise.
53715 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53717 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53720 2012-12-30 Mike Frysinger <vapier@gentoo.org>
53722 * math/bits/mathcalls.h (modf): Use __nonnull.
53724 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53726 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53727 (split): Use macro CN instead of the bare value.
53728 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53731 instead of the bare value.
53732 (power1): Likewise.
53734 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53738 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53740 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53742 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53744 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53745 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53747 2012-12-28 Andreas Jaeger <aj@suse.de>
53749 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
53750 values are from Linux 3.7.
53752 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53753 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
53755 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53757 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53760 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53762 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53763 variables with preprocessor constants.
53764 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53765 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53768 2012-12-27 Bruno Haible <bruno@clisp.org>
53771 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53774 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53777 and use variable directly.
53778 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53780 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53782 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53783 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53785 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53787 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53788 include directive. Remove local variable MPONE.
53789 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53790 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53793 2012-12-25 David S. Miller <davem@davemloft.net>
53795 * version.h (RELEASE): Set to "development".
53796 (VERSION): Set to "2.17.90".
53797 * NEWS: Add 2.18 section.
53799 2012-12-21 David S. Miller <davem@davemloft.net>
53801 * po/hr.po: Update from translation team.
53803 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53805 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53807 2012-12-19 Steve Ellcey <sellcey@mips.com>
53809 * NEWS: Mention new memcpy for MIPS.
53811 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
53813 * manual/contrib.texi (Contributors): Spelling correction.
53815 2012-12-15 David S. Miller <davem@davemloft.net>
53817 * po/ru.po: Update from translation team.
53819 2012-12-13 David S. Miller <davem@davemloft.net>
53821 * NEWS: Mention IFUNC testsuite enhancements.
53823 * po/pl.po: Update from translation team.
53824 * po/bg.po: Likewise.
53826 * manual/contrib.texi (Contributors): Update entries for Hongjiu
53827 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
53829 2012-12-11 David S. Miller <davem@davemloft.net>
53831 * po/sv.po: Update from translation team.
53833 * po/vi.po: Update from translation team.
53835 * po/cs.po: Update from translation team.
53837 * po/de.po: Update from translation team.
53838 * po/eo.po: Likewise.
53839 * po/nl.po: Likewise.
53841 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53844 * manual/argp.texi (Argp Helper Functions): Move node to follow
53845 Argp Parsing State.
53848 * manual/conf.texi (Limits on File System Capacity): Mention if
53849 terminating null is included in the max size.
53851 2012-12-10 Andreas Jaeger <aj@suse.de>
53853 * po/cs.po: Update from translation team.
53855 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
53857 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53858 void pointer and cast to uintptr_t.
53859 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53861 * sysdeps/s390/s390-64/memcpy.S: Likewise.
53862 * sysdeps/s390/s390-64/memset.S: Likewise.
53864 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
53867 * menual/message.texi (Message Translation): Fix typos.
53868 (Helper programs for gettext): Likewise.
53870 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
53873 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53876 2012-12-07 David S. Miller <davem@davemloft.net>
53878 * po/libc.pot: Update.
53880 2012-12-07 Richard Henderson <rth@redhat.com>
53883 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53884 normal/normal case to before the switch.
53885 (_FP_DIV): Likewise.
53887 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
53888 Mike Frysinger <vapier@gentoo.org>
53890 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53891 check for __NR_fadvise64_64.
53893 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
53895 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53896 0, not just to plain "0" as a statement.
53897 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53900 2012-12-06 Joseph Myers <joseph@codesourcery.com>
53902 * NEWS: Use sourceware.org in Bugzilla URL.
53904 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
53906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53907 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53909 * stdio-common/tst-put-error.c (do_test): Add newline to the
53910 padded test to ensure flush.
53912 2012-12-05 Jeff Law <law@redhat.com>
53914 * sunrpc/etc.rpc (fedfs_admin): Add entry.
53916 2012-12-05 Joseph Myers <joseph@codesourcery.com>
53918 * README: Don't refer to ports add-on as distributed separately.
53919 Mention AArch64 in list of systems supported in the ports add-on.
53921 * LICENSES: Add more non-FSF copyright and license notices.
53923 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53928 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53929 10000 as width of padded output.
53931 2012-12-04 Joseph Myers <joseph@codesourcery.com>
53933 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53936 variable LX with __attribute__ ((unused)).
53937 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53939 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53942 with __attribute__ ((unused)).
53944 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
53946 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53948 2012-12-04 Joseph Myers <joseph@codesourcery.com>
53950 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53951 (CFLAGS-nldbl-acos.c): New variable.
53952 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53953 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53954 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53955 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53956 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53957 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53958 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53959 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53960 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53961 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53962 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53963 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53964 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53965 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53966 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53967 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53968 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53969 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53970 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53971 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53972 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53973 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53974 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53975 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53976 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53977 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53978 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53979 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53980 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53981 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53982 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53983 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53984 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53985 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53986 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53987 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53988 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53989 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53990 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53991 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53992 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53993 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53994 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53995 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53996 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53997 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53998 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53999 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54000 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54001 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54002 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54003 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54004 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54005 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54006 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54007 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54008 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54009 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54010 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54011 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54012 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54013 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54014 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54015 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54016 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54017 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54018 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54019 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54020 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54021 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54022 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54023 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54024 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54025 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54026 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54027 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54028 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54029 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54030 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54031 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54032 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54033 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54034 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54035 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54036 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54037 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54038 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54039 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54040 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54041 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54042 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54043 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54044 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54045 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54046 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54047 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54048 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54051 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54055 whole low double instead of just low 47 bits when splitting values
54058 2012-12-03 Allan McRae <allan@archlinux.org>
54060 * manual/stdio.texi (Predefined Printf Handlers): Remove
54061 @hsep and @vsep usage.
54063 2012-12-03 Mike Frysinger <vapier@gentoo.org>
54065 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54066 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54068 2012-12-03 Jeff Law <law@redhat.com>
54070 * time/sys/time.h (settimeofday): Do not mark TV argument
54073 2012-12-01 Mike Frysinger <vapier@gentoo.org>
54075 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54076 when currently writing and seek to current position when not.
54077 * libio/Makefile (tests): Remove bug-fclose1.
54078 * libio/bug-fclose1.c: Delete.
54080 2012-12-01 Joseph Myers <joseph@codesourcery.com>
54082 * manual/arith.texi (feenableexcept): Fix typo.
54083 (fedisableexcept): Likewise.
54085 2012-11-30 Roland McGrath <roland@hack.frob.com>
54087 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54088 second, differently-typed declaration, rather than a cast.
54090 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54092 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54093 * include/rpc/svc.h: ... here.
54095 2012-11-30 Aurelien Jarno <aurel32@debian.org>
54098 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54099 depending n and resplen2 to catch cases where answer
54102 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
54104 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54105 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54107 2012-11-29 Mike Frysinger <vapier@gentoo.org>
54109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54111 2012-11-29 Roland McGrath <roland@hack.frob.com>
54113 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54115 2012-11-28 Jeff Law <law@redhat.com>
54118 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54119 dataset_temporary. Track alloca usage into alloca_used.
54120 If dataset is large allocate and release it via malloc/free.
54122 2012-06-04 Florian Weimer <fweimer@redhat.com>
54125 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54127 2012-11-28 David S. Miller <davem@davemloft.net>
54129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54131 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54134 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54135 of pi/2 rounded to nearest to 64 bits.
54136 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54137 nearest to 64 bits.
54138 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54141 2012-11-28 Jeff Law <law@redhat.com>
54142 Martin Osvald <mosvald@redhat.com>
54145 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54146 * sunrpc/svc.c: Include time.h.
54147 (__svc_accept_failed): New function.
54148 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54149 any reason other than EINTR, call __svc_accept_failed.
54150 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54151 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54153 2012-11-28 Andreas Schwab <schwab@suse.de>
54155 * scripts/abilist.awk: Also handle indirect functions in .opd
54158 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54161 * sysdeps/x86/fpu/powl_helper.c: New file.
54162 * sysdeps/x86/fpu/Makefile: Likewise.
54163 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54165 (__ieee754_powl): Use __powl_helper for finite arguments except
54166 integer exponents below 8.
54167 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54169 (__ieee754_powl): Use __powl_helper for finite arguments except
54170 integer exponents below 8.
54171 * math/libm-test.inc (pow_test): Add more tests and enable some
54172 previously disabled tests.
54173 * sysdeps/i386/fpu/libm-test-ulps: Update.
54174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54176 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54177 Carlos O'Donell <carlos_odonell@mentor.com>
54179 * nss/makedb.c (is_prime): Assert that input is odd and greater
54180 than 4. Note that fact in a comment too.
54181 (next_prime): Add 4 to input.
54183 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54186 * libio/Makefile (tests): Add test case tst-fwrite-error.
54187 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54188 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54189 * libio/tst-fwrite-error.c: New test case.
54191 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
54193 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54194 before casting to void *.
54195 * include/libc-internal.h (__pointer_type): New macro.
54196 (__integer_if_pointer_type_sub): Likewise.
54197 (__integer_if_pointer_type): Likewise.
54198 (cast_to_integer): Likewise.
54199 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54200 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54201 before casting to atomic64_t.
54202 (atomic_exchange_acq): Likewise.
54203 (__arch_exchange_and_add_body): Likewise.
54204 (__arch_add_body): Likewise.
54205 (atomic_add_negative): Likewise.
54206 (atomic_add_zero): Likewise.
54208 2012-11-26 Joseph Myers <joseph@codesourcery.com>
54210 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54211 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54212 (add_fdes): Likewise.
54213 (linear_search_fdes): Likewise.
54214 (binary_search_unencoded_fdes): Likewise.
54216 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
54218 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54220 2012-11-24 Adam Conrad <adconrad@0c3.net>
54222 * configure.in: Autodetect C++ header directories.
54223 * configure: Regenerated.
54225 2012-11-23 Mike Frysinger <vapier@gentoo.org>
54227 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54229 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
54231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54233 2012-11-22 Joseph Myers <joseph@codesourcery.com>
54235 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54236 LDBL_MANT_DIG == 106]: Disable some tests.
54237 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54239 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54244 input for small inputs. Return +/- pi/2 for large inputs.
54245 * math/libm-test.inc (atan_test): Add more tests.
54247 * sysdeps/generic/unwind-dw2-fde-glibc.c
54248 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54249 __attribute__ ((unused)).
54252 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54253 x * y if x and y are nonzero and z is zero.
54256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54257 nonzero exponents with absolute value below 0x1p-117 to +/-
54261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54262 up arguments below 2**-450, not just those below 2**-500.
54263 * math/libm-test.inc (hypot_test): Add another test.
54266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54267 Return a+b for ratio over 2**120, not 2**60.
54268 * math/libm-test.inc (hypot_test): Add another test.
54270 * math/libm-test.inc (clog_test): Use
54271 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54272 (clog10_test): Likewise.
54275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54277 2012-11-22 Andreas Schwab <schwab@suse.de>
54279 * sysdeps/i386/fpu/libm-test-ulps: Update.
54281 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
54283 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54284 printf output with newline.
54286 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
54289 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54290 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54291 -z nodlopen, -z initfirst and -z execstack support.
54292 * configure: Regenerated.
54294 * elf/elf.h (DF_1_NODIRECT): New macro.
54295 (DF_1_IGNMULDEF): Likewise.
54296 (DF_1_NOKSYMS): Likewise.
54297 (DF_1_NOHDR): Likewise.
54298 (DF_1_EDITED): Likewise.
54299 (DF_1_NORELOC): Likewise.
54300 (DF_1_SYMINTPOSE): Likewise.
54301 (DF_1_GLOBAUDIT): Likewise.
54302 (DF_1_SINGLETON): Likewise.
54303 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54304 DT_1_SUPPORTED_MASK bits.
54305 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54307 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
54309 * sysdeps/unix/make-syscalls.sh: Document prefixes.
54311 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
54313 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54316 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54317 (sendmmsg): Move declarations...
54318 * socket/sys/socket.h: ... here.
54319 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54320 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54322 * socket/recvmmsg.c: ... this new file.
54323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54324 (sendmmsg): Rename to __sendmmsg, create weak alias and make
54325 definition of __sendmmsg hidden.
54326 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54327 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54328 Move ENOSYS stub into and include it from...
54329 * socket/sendmmsg.c: ... this new file.
54330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54331 (sysdep_routines): Move recvmmsg and sendmmsg...
54332 * socket/Makefile (routines): ... here.
54333 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54334 (GLIBC_PRIVATE): Add __sendmmsg.
54335 * include/sys/socket.h (__sendmmsg): Add declarations.
54336 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54339 2012-11-20 Joseph Myers <joseph@codesourcery.com>
54341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54342 variable I1 with __attribute__ ((unused)).
54343 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54345 2012-11-19 Joseph Myers <joseph@codesourcery.com>
54347 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54348 DUMMY variables with __attribute__ ((unused)).
54350 * bits/byteswap.h: Include <bits/types.h>.
54351 (__bswap_64): Use __uint64_t instead of unsigned long long int.
54353 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
54355 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54356 string_t. Do not manually set errno.
54357 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54358 length with __strnlen. Make sure to both set errno and return it on
54361 2012-11-19 David S. Miller <davem@davemloft.net>
54363 With help from Joseph Myers.
54364 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54365 very large arguments properly.
54366 * math/libm-test.inc (atan_test): New tests.
54367 (atan2_test): New tests.
54368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54371 2012-11-19 Joseph Myers <joseph@codesourcery.com>
54374 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54377 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54378 [POSIX] (EADDRNOTAVAIL): Likewise.
54379 [POSIX] (EAFNOSUPPORT): Likewise.
54380 [POSIX] (EALREADY): Likewise.
54381 [POSIX] (ECONNABORTED): Likewise.
54382 [POSIX] (ECONNREFUSED): Likewise.
54383 [POSIX] (ECONNRESET): Likewise.
54384 [POSIX] (EDESTADDRREQ): Likewise.
54385 [POSIX] (EDQUOT): Likewise.
54386 [POSIX] (EHOSTUNREACH): Likewise.
54387 [POSIX] (EIDRM): Likewise.
54388 [POSIX] (EISCONN): Likewise.
54389 [POSIX] (ELOOP): Likewise.
54390 [POSIX] (EMULTIHOP): Likewise.
54391 [POSIX] (ENETDOWN): Likewise.
54392 [POSIX] (ENETUNREACH): Likewise.
54393 [POSIX] (ENOBUFS): Likewise.
54394 [POSIX] (ENODATA): Likewise.
54395 [POSIX] (ENOLINK): Likewise.
54396 [POSIX] (ENOMSG): Likewise.
54397 [POSIX] (ENOPROTOOPT): Likewise.
54398 [POSIX] (ENOSR): Likewise.
54399 [POSIX] (ENOSTR): Likewise.
54400 [POSIX] (ENOTCONN): Likewise.
54401 [POSIX] (ENOTSOCK): Likewise.
54402 [POSIX] (EOPNOTSUPP): Likewise.
54403 [POSIX] (EOVERFLOW): Likewise.
54404 [POSIX] (EPROTO): Likewise.
54405 [POSIX] (EPROTONOSUPPORT): Likewise.
54406 [POSIX] (EPROTOTYPE): Likewise.
54407 [POSIX] (ESTALE): Likewise.
54408 [POSIX] (ETIME): Likewise.
54409 [POSIX] (ETXTBSY): Likewise.
54410 [POSIX] (EWOULDBLOCK): Likewise.
54411 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54412 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54413 [POSIX] (SEEK_CUR): Likewise.
54414 [POSIX] (SEEK_END): Likewise.
54415 [POSIX || UNIX98] (mode_t): Do not require.
54416 [POSIX] (off_t): Likewise.
54417 [POSIX] (pid_t): Likewise.
54418 [POSIX] (sys/stat.h): Do not allow header.
54419 [POSIX] (unistd.h): Likewise.
54420 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54421 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54422 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54423 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54425 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54426 sigevent): Specify elements.
54427 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54429 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54430 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54432 * conform/data/cpio.h-data [POSIX]: Disable whole file.
54433 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54434 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54435 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54436 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54437 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54438 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54439 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54440 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54441 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54442 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54443 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54444 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54447 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54449 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54451 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54453 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54454 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54455 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54456 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54457 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54458 Specify lower bound on value.
54459 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54460 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54461 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54462 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54463 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54464 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54465 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54466 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54468 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54470 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54471 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54472 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54473 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54474 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54475 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54476 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54477 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54478 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54479 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54480 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54481 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54482 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54483 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54484 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54485 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54487 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54489 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54490 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54491 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54492 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54493 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54494 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54496 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54497 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54498 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54499 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54500 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
54501 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54502 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54504 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54505 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54506 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54507 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54508 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54509 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54510 specify as optional.
54511 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54512 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54513 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54514 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54515 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54516 [XPG3] (NL_LANGMAX): Likewise.
54517 [POSIX || XPG3] (NL_MSGMAX): Likewise.
54518 [POSIX || XPG3] (NL_NMAX): Likewise.
54519 [POSIX || XPG3] (NL_SETMAX): Likewise.
54520 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54521 [XPG3] (NZERO): Likewise.
54522 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54523 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54524 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54525 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54526 (REG_ERANGE): Expect.
54527 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54529 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54530 Use (void) in prototype.
54531 [POSIX] (*_t): Allow.
54532 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54533 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54534 (WRDE_BADVAL): Expect.
54536 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54538 [XPG3 || XPG4] (O_RSYNC): Likewise.
54539 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54541 [XPG3 || XPG4] (pthread_sigmask): Likewise.
54542 [XPG3 || XPG4] (sigqueue): Likewise.
54543 [XPG3 || XPG4] (sigtimedwait): Likewise.
54544 [XPG3 || XPG4] (sigwaitinfo): Likewise.
54545 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54546 [XPG3 || XPG4] (vsnprintf): Likewise.
54547 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54549 [XPG3 || XPG4] (blksize_t): Likewise.
54550 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54552 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54553 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54554 [XPG3 || XPG4] (struct itimerspec): Likewise.
54555 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54556 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54557 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54558 [XPG3 || XPG4] (clockid_t): Likewise.
54559 [XPG3 || XPG4] (timer_t): Likewise.
54560 [XPG3 || XPG4] (clock_getres): Likewise.
54561 [XPG3 || XPG4] (clock_gettime): Likewise.
54562 [XPG3 || XPG4] (clock_settime): Likewise.
54563 [XPG3 || XPG4] (nanosleep): Likewise.
54564 [XPG3 || XPG4] (timer_create): Likewise.
54565 [XPG3 || XPG4] (timer_delete): Likewise.
54566 [XPG3 || XPG4] (timer_gettime): Likewise.
54567 [XPG3 || XPG4] (timer_getoverrun): Likewise.
54568 [XPG3 || XPG4] (timer_settime): Likewise.
54569 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54570 [XPG3 || XPG4] (getlogin_r): Likewise.
54571 [XPG3 || XPG4] (pread): Likewise.
54572 [XPG3 || XPG4] (pthread_atfork): Likewise.
54573 [XPG3 || XPG4] (pwrite): Likewise.
54576 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54579 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
54581 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54582 finalizing MALLSTREAM.
54584 * sysdeps/mach/hurd/syncfs.c: New file.
54586 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54590 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54591 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54592 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54593 (_nss_dns_gethostbyname4_r): Likewise.
54594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54595 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54597 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
54600 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54602 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
54604 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54605 * elf/cache.c (print_entry): Print ",AArch64" for
54608 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54609 * elf/cache.c (print_entry): Print ",hard-float" for
54612 2012-11-18 David S. Miller <davem@davemloft.net>
54614 With help from Joseph Myers.
54615 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54617 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54619 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54620 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54622 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54623 * math/libm-test.inc (y0_test): New tests.
54624 (y1_test): New tests.
54625 * sysdeps/i386/fpu/libm-test-ulps: Update.
54626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54629 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
54631 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54633 * configure: Regenerated.
54635 2012-11-17 David S. Miller <davem@davemloft.net>
54638 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54639 nonzero exponents with absolute value below 0x1p-128 to +/-
54642 2012-11-17 Joseph Myers <joseph@codesourcery.com>
54644 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54646 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54648 * posix/getconf-speclist.c: New file.
54649 * posix/posix-envs.def: Likewise.
54650 * posix/confstr.c (START_ENV_GROUP): New macro.
54651 (END_ENV_GROUP): Likewise.
54652 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54653 (KNOWN_PRESENT_ENV_STRING): Likewise.
54654 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54655 (UNKNOWN_ENVIRONMENT): Likewise.
54656 (confstr): Include posix-envs.def instead of handling
54657 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54658 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54659 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54660 (END_ENV_GROUP): Likewise.
54661 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54662 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54663 (UNKNOWN_ENVIRONMENT): Likewise.
54664 (__sysconf): Include posix-envs.def instead of handling associated
54665 cases directly here.
54666 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54667 preprocessing getconf-speclist.c rather than running getconf or
54668 generating empty file.
54670 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
54672 * scripts/check-local-headers.sh: Ignore 'mach' headers.
54674 2012-11-16 Andrej Lajovic <natrij@gmail.com>
54677 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54679 2012-11-16 David S. Miller <davem@davemloft.net>
54681 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54682 smaller than LDBL_EPSILON/2.0L, just return xm1.
54684 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
54686 * elf/tst-array1.c (init): Set constructor priority to 1000.
54687 (fini): Set destructor priority to 1000.
54688 * elf/tst-array2dep.c: Likewise.
54690 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54693 * libio/fileops.c (_IO_new_file_write): Correctly return error.
54694 (_IO_new_file_xsputn): Also return EOF if none of the input
54695 data was written when overflow failed.
54696 * libio/iopadn.c (_IO_padn): Likewise.
54697 * libio/iowpadn.c (_IO_wpadn): Likewise.
54698 * stdio-common/tst-put-error.c: Add copyright notice.
54699 (do_test): Add case for printing padded string.
54700 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54701 _IO_padn returned error.
54702 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54703 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54706 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54708 * libio/libioP.h: Add comment note that the references to C++
54709 bits are now obsolete.
54711 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54713 * math/libm-test.inc (check_complex): Use asprintf.
54715 2012-11-14 Joseph Myers <joseph@codesourcery.com>
54717 * debug/pcprofiledump.c (print_version): Update copyright year.
54718 * malloc/memusagestat.c (print_version): Likewise.
54720 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
54723 * elf/Makefile (tests): Add tst-audit8.
54724 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54725 ($(objpfx)tst-audit8.out): New target.
54726 (tst-audit8-ENV): New variable.
54727 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54728 audit if l_reloc_result is NULL.
54729 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54730 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54731 * elf/tst-audit8.c: New file.
54733 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54735 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54736 * misc/Makefile (CFLAGS-select.c): Define.
54737 * posix/Makefile (CFLAGS-pause.c): Define.
54739 2012-11-13 David S. Miller <davem@davemloft.net>
54741 * crypt/Makefile: Move test targets after toplevel Rules
54742 inclusion. Grab any necessary sysdep routines when linking.
54743 * crypt/md5.c (md5_process_block): Remove define, we will always
54744 name it __md5_process_block.
54745 (md5_finish_ctx): Update md5_process_block call.
54746 (md5_stream): Likewise.
54747 (md5_process_bytes): Likewise.
54748 (md5_process_block): Rename to __md5_process_block and move to ...
54749 * crypt/md5-block.c: ... here.
54750 * crypt/sha256.c (sha256_process_block): Move to ...
54751 * crypt/sha256-block.c: ... here.
54752 * crypt/sha512.c (sha512_process_block): Move to ...
54753 * crypt/sha512-block.c: ... here.
54754 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54756 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54757 * sysdeps/sparc/sparc64/multiarch/Makefile
54758 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54760 (localedef-aux): Add md5 crypto assembler when in locale subdir.
54761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54763 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54764 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54765 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54766 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54767 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54768 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54769 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54770 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54771 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54774 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54776 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54778 2012-11-13 Joseph Myers <joseph@codesourcery.com>
54780 * timezone/tzselect.ksh: Update from tzcode git revision
54781 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54782 * timezone/zdump.c: Likewise.
54783 * timezone/zic.c: Likewise.
54784 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54785 in TZVERSION setting, not $(PKGVERSION).
54786 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
54787 REPORT_BUGS_TO settings.
54790 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54793 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54795 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54796 detection to immediately after _FP_ROUND().
54797 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54800 2012-11-11 David S. Miller <davem@davemloft.net>
54802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54804 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54805 __close rather than their public counterparts.
54807 2012-11-10 Joseph Myers <joseph@codesourcery.com>
54809 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54811 [UNIX98] (sem_timedwait): Do not expect.
54812 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54813 [XPG4 || UNIX98] (sockatmark): Do not expect.
54814 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54815 (clock_getcpuclockid): Do not expect.
54816 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54817 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54819 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54820 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54821 [UNIX98] (vwscanf): Likewise.
54822 [UNIX98] (vswscanf): Likewise.
54824 2012-11-09 Joseph Myers <joseph@codesourcery.com>
54826 * timezone/version.h: Remove file.
54827 * timezone/README: Do not refer to version.h.
54828 * timezone/Makefile ($(objpfx)zic.o): New dependency on
54829 $(objpfx)version.h.
54830 ($(objpfx)zdump.o): Likewise.
54831 ($(objpfx)version.h): New target.
54833 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54835 * timezone/README: Don't mention modification to tzselect.ksh.
54836 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54837 work on unmodified tzselect.ksh. Substitute version numbers in
54840 * Makefile (format-me): Remove.
54841 (INSTALL): Adjust indentation. Use commands directly instead of
54842 using $(format-me).
54844 * aclocal.m4 (ACX_PKGVERSION): New macro.
54845 (ACX_BUGURL): Likewise.
54846 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54847 (PKGVERSION): New AC_DEFINE_UNQUOTED.
54848 (REPORT_BUGS_TO): Likewise.
54849 * configure: Regenerated.
54850 * config.h.in (PKGVERSION): New macro.
54851 (REPORT_BUGS_TO): Likewise.
54852 * config.make.in (PKGVERSION): New variable.
54853 (PKGVERSION_TEXI): Likewise.
54854 (REPORT_BUGS_TO): Likewise.
54855 (REPORT_BUGS_TEXI): Likewise.
54856 * Makefile (format-me): Use -I$(common-objpfx)manual.
54857 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54858 ($(common-objpfx)manual/%): New target.
54859 (manual/%): Remove target.
54860 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54861 (print_version): Use PKGVERSION.
54862 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54863 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54864 and REPORT_BUGS_TO.
54865 ($(objpfx)xtrace): Likewise.
54866 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54867 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54868 (print_version): Use PKGVERSION.
54869 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54870 (do_version): Use PKGVERSION.
54871 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54873 (common-ldd-rewrite): Likewise.
54874 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54875 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54876 (print_version): Use PKGVERSION.
54877 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54878 * elf/pldd.c (argp_program_bug_address): Remove variable.
54879 (more_help): New function.
54880 (argp): Use more_help.
54881 (print_version): Use PKGVERSION.
54882 * elf/sln.c (main): Use PKGVERSION.
54883 (usage): Use REPORT_BUGS_TO.
54884 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54885 (top level): Use PKGVERSION.
54886 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54887 (print_version): Use PKGVERSION.
54888 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54889 (print_version): Use PKGVERSION.
54890 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54891 (print_version): Use PKGVERSION.
54892 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54893 (print_version): Use PKGVERSION.
54894 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54895 (print_version): Use PKGVERSION.
54896 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54897 (print_version): Use PKGVERSION.
54898 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54900 ($(objpfx)memusage): Likewise.
54901 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54902 (do_version): Use PKGVERSION.
54903 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54904 (print_version): Use PKGVERSION.
54905 * malloc/mtrace.pl ($PACKAGE): Remove variable.
54906 ($PKGVERSION): New variable.
54907 ($REPORT_BUGS_TO): Likewise.
54908 (usage): Use $REPORT_BUGS_TO.
54909 (top level): Use $PKGVERSION.
54910 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54911 ($(objpfx)pkgvers.texi): New rule.
54912 ($(objpfx)stamp-pkgvers): Likewise.
54913 * manual/install.texi: Include pkgvers.texi.
54914 (--with-pkgversion): Document new configure option.
54915 (--with-bugurl): Likewise.
54916 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54917 than necessarily for this particular distribution. Use
54918 REPORT_BUGS_TO for where to report bugs.
54919 * INSTALL: Regenerated.
54920 * manual/libc.texinfo: Include pkgvers.texi.
54921 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54922 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54923 (print_version): Use PKGVERSION.
54924 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54925 (print_version): Use PKGVERSION.
54926 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54927 (print_version): Use PKGVERSION.
54928 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54929 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54931 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54932 (print_version): Use PKGVERSION.
54933 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54934 (print_version): Use PKGVERSION.
54935 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54938 * timezone/checktab.awk: Update from tzcode 2012i.
54939 * timezone/ialloc.c: Likewise.
54940 * timezone/private.h: Likewise.
54941 * timezone/scheck.c: Likewise.
54942 * timezone/tzfile.h: Likewise.
54943 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54944 (TZVERSION): Hardcode tzcode version number.
54945 * timezone/zdump.c: Update from tzcode 2012i.
54946 * timezone/zic.c: Likewise.
54947 * timezone/version.h: New file.
54948 * timezone/README: Describe version.h. Update upstream location.
54951 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54952 (mktemp): Enable declaration.
54953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54970 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54971 offset in buffer as u_int32_t not u_long. Consistently use memcpy
54972 for copies of such integer values.
54973 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54974 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54976 2012-11-09 Andreas Jaeger <aj@suse.de>
54978 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54979 definitions and declarations that are provided by
54980 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54982 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54984 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54985 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54986 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54989 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54991 * elf/elf.h: Update comment before AArch64 relocations.
54993 2012-11-07 David S. Miller <davem@davemloft.net>
54995 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54996 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54997 (__start_context): Declare.
54998 (__makecontext_ret): Delete.
54999 (__makecontext): Hook up __start_context instead of
55001 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55002 (sysdep_routines): Add __start_context when in stdlib.
55004 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55006 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55007 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55008 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
55010 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
55011 (READELF): New variable. Use it instead of hardcoded "readelf".
55013 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
55015 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55016 * sysdeps/x86/Makefile: Here.
55017 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55018 * sysdeps/x86/tst-xmmymm.sh: This.
55020 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55022 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55024 [UNIX98] (pthread_barrier_t): Do not expect.
55025 [UNIX98] (pthread_barrierattr_t): Likewise.
55026 [UNIX98] (pthread_spinlock_t): Likewise.
55027 [UNIX98] (pthread_barrier_destroy): Likewise.
55028 [UNIX98] (pthread_barrier_init): Likewise.
55029 [UNIX98] (pthread_barrier_wait): Likewise.
55030 [UNIX98] (pthread_barrierattr_destroy): Likewise.
55031 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55032 [UNIX98] (pthread_barrierattr_init): Likewise.
55033 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55034 [UNIX98] (pthread_getcpuclockid): Likewise.
55035 [UNIX98] (pthread_mutex_timedlock): Likewise.
55036 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55037 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55038 [UNIX98] (pthread_sigmask): Likewise.
55039 [UNIX98] (pthread_spin_destroy): Likewise.
55040 [UNIX98] (pthread_spin_init): Likewise.
55041 [UNIX98] (pthread_spin_lock): Likewise.
55042 [UNIX98] (pthread_spin_trylock): Likewise.
55043 [UNIX98] (pthread_spin_unlock): Likewise.
55044 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55046 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55047 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55048 [XPG3 || XPG4] (pthread_cond_t): Likewise.
55049 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55050 [XPG3 || XPG4] (pthread_key_t): Likewise.
55051 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55052 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55053 [XPG3 || XPG4] (pthread_once_t): Likewise.
55054 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55055 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55056 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55057 [XPG3 || XPG4] (pthread_t): Likewise.
55059 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55061 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55063 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55064 Change function return type to int.
55066 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55067 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55068 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55069 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55070 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55071 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55072 [!POSIX] (posix_madvise): Likewise.
55073 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55075 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55076 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55077 (mode_t): Likewise.
55078 (posix_mem_offset): Likewise.
55079 (posix_typed_mem_get_info): Likewise.
55080 (posix_typed_mem_open): Likewise.
55082 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55083 Change condition to [XOPEN2K8].
55085 * conform/conformtest.pl: Preprocess allow-header data with -x c
55086 instead of from stdin.
55087 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55088 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55089 [C99-based standards] (cerfc): Likewise.
55090 [C99-based standards] (cexp2): Likewise.
55091 [C99-based standards] (cexpm1): Likewise.
55092 [C99-based standards] (clog10): Likewise.
55093 [C99-based standards] (clog1p): Likewise.
55094 [C99-based standards] (clog2): Likewise.
55095 [C99-based standards] (clgamma): Likewise.
55096 [C99-based standards] (ctgamma): Likewise.
55097 [C99-based standards] (cerff): Likewise.
55098 [C99-based standards] (cerfcf): Likewise.
55099 [C99-based standards] (cexp2f): Likewise.
55100 [C99-based standards] (cexpm1f): Likewise.
55101 [C99-based standards] (clog10f): Likewise.
55102 [C99-based standards] (clog1pf): Likewise.
55103 [C99-based standards] (clog2f): Likewise.
55104 [C99-based standards] (clgammaf): Likewise.
55105 [C99-based standards] (ctgammaf): Likewise.
55106 [C99-based standards] (cerfl): Likewise.
55107 [C99-based standards] (cerfcl): Likewise.
55108 [C99-based standards] (cexp2l): Likewise.
55109 [C99-based standards] (cexpm1l): Likewise.
55110 [C99-based standards] (clog10l): Likewise.
55111 [C99-based standards] (clog1pl): Likewise.
55112 [C99-based standards] (clog2l): Likewise.
55113 [C99-based standards] (clgammal): Likewise.
55114 [C99-based standards] (ctgammal): Likewise.
55115 * conform/data/inttypes.h-data [C99-based standards]: Include
55116 stdint.h-data. Remove all expectations for stdint.h contents.
55117 [C99-based standards] (PRI*): Do not allow.
55118 [C99-based standards] (SCN*): Likewise.
55119 [C99-based standards] (*_t): Likewise.
55120 [C99-based-standards] (PRId8): Expect macro.
55121 [C99-based-standards] (PRIi8): Likewise.
55122 [C99-based-standards] (PRIo8): Likewise.
55123 [C99-based-standards] (PRIu8): Likewise.
55124 [C99-based-standards] (PRIx8): Likewise.
55125 [C99-based-standards] (PRIX8): Likewise.
55126 [C99-based-standards] (SCNd8): Likewise.
55127 [C99-based-standards] (SCNi8): Likewise.
55128 [C99-based-standards] (SCNo8): Likewise.
55129 [C99-based-standards] (SCNu8): Likewise.
55130 [C99-based-standards] (SCNx8): Likewise.
55131 [C99-based-standards] (PRIdLEAST8): Likewise.
55132 [C99-based-standards] (PRIiLEAST8): Likewise.
55133 [C99-based-standards] (PRIoLEAST8): Likewise.
55134 [C99-based-standards] (PRIuLEAST8): Likewise.
55135 [C99-based-standards] (PRIxLEAST8): Likewise.
55136 [C99-based-standards] (PRIXLEAST8): Likewise.
55137 [C99-based-standards] (SCNdLEAST8): Likewise.
55138 [C99-based-standards] (SCNiLEAST8): Likewise.
55139 [C99-based-standards] (SCNoLEAST8): Likewise.
55140 [C99-based-standards] (SCNuLEAST8): Likewise.
55141 [C99-based-standards] (SCNxLEAST8): Likewise.
55142 [C99-based-standards] (PRIdFAST8): Likewise.
55143 [C99-based-standards] (PRIiFAST8): Likewise.
55144 [C99-based-standards] (PRIoFAST8): Likewise.
55145 [C99-based-standards] (PRIuFAST8): Likewise.
55146 [C99-based-standards] (PRIxFAST8): Likewise.
55147 [C99-based-standards] (PRIXFAST8): Likewise.
55148 [C99-based-standards] (SCNdFAST8): Likewise.
55149 [C99-based-standards] (SCNiFAST8): Likewise.
55150 [C99-based-standards] (SCNoFAST8): Likewise.
55151 [C99-based-standards] (SCNuFAST8): Likewise.
55152 [C99-based-standards] (SCNxFAST8): Likewise.
55153 [C99-based-standards] (PRId16): Likewise.
55154 [C99-based-standards] (PRIi16): Likewise.
55155 [C99-based-standards] (PRIo16): Likewise.
55156 [C99-based-standards] (PRIu16): Likewise.
55157 [C99-based-standards] (PRIx16): Likewise.
55158 [C99-based-standards] (PRIX16): Likewise.
55159 [C99-based-standards] (SCNd16): Likewise.
55160 [C99-based-standards] (SCNi16): Likewise.
55161 [C99-based-standards] (SCNo16): Likewise.
55162 [C99-based-standards] (SCNu16): Likewise.
55163 [C99-based-standards] (SCNx16): Likewise.
55164 [C99-based-standards] (PRIdLEAST16): Likewise.
55165 [C99-based-standards] (PRIiLEAST16): Likewise.
55166 [C99-based-standards] (PRIoLEAST16): Likewise.
55167 [C99-based-standards] (PRIuLEAST16): Likewise.
55168 [C99-based-standards] (PRIxLEAST16): Likewise.
55169 [C99-based-standards] (PRIXLEAST16): Likewise.
55170 [C99-based-standards] (SCNdLEAST16): Likewise.
55171 [C99-based-standards] (SCNiLEAST16): Likewise.
55172 [C99-based-standards] (SCNoLEAST16): Likewise.
55173 [C99-based-standards] (SCNuLEAST16): Likewise.
55174 [C99-based-standards] (SCNxLEAST16): Likewise.
55175 [C99-based-standards] (PRIdFAST16): Likewise.
55176 [C99-based-standards] (PRIiFAST16): Likewise.
55177 [C99-based-standards] (PRIoFAST16): Likewise.
55178 [C99-based-standards] (PRIuFAST16): Likewise.
55179 [C99-based-standards] (PRIxFAST16): Likewise.
55180 [C99-based-standards] (PRIXFAST16): Likewise.
55181 [C99-based-standards] (SCNdFAST16): Likewise.
55182 [C99-based-standards] (SCNiFAST16): Likewise.
55183 [C99-based-standards] (SCNoFAST16): Likewise.
55184 [C99-based-standards] (SCNuFAST16): Likewise.
55185 [C99-based-standards] (SCNxFAST16): Likewise.
55186 [C99-based-standards] (PRId32): Likewise.
55187 [C99-based-standards] (PRIi32): Likewise.
55188 [C99-based-standards] (PRIo32): Likewise.
55189 [C99-based-standards] (PRIu32): Likewise.
55190 [C99-based-standards] (PRIx32): Likewise.
55191 [C99-based-standards] (PRIX32): Likewise.
55192 [C99-based-standards] (SCNd32): Likewise.
55193 [C99-based-standards] (SCNi32): Likewise.
55194 [C99-based-standards] (SCNo32): Likewise.
55195 [C99-based-standards] (SCNu32): Likewise.
55196 [C99-based-standards] (SCNx32): Likewise.
55197 [C99-based-standards] (PRIdLEAST32): Likewise.
55198 [C99-based-standards] (PRIiLEAST32): Likewise.
55199 [C99-based-standards] (PRIoLEAST32): Likewise.
55200 [C99-based-standards] (PRIuLEAST32): Likewise.
55201 [C99-based-standards] (PRIxLEAST32): Likewise.
55202 [C99-based-standards] (PRIXLEAST32): Likewise.
55203 [C99-based-standards] (SCNdLEAST32): Likewise.
55204 [C99-based-standards] (SCNiLEAST32): Likewise.
55205 [C99-based-standards] (SCNoLEAST32): Likewise.
55206 [C99-based-standards] (SCNuLEAST32): Likewise.
55207 [C99-based-standards] (SCNxLEAST32): Likewise.
55208 [C99-based-standards] (PRIdFAST32): Likewise.
55209 [C99-based-standards] (PRIiFAST32): Likewise.
55210 [C99-based-standards] (PRIoFAST32): Likewise.
55211 [C99-based-standards] (PRIuFAST32): Likewise.
55212 [C99-based-standards] (PRIxFAST32): Likewise.
55213 [C99-based-standards] (PRIXFAST32): Likewise.
55214 [C99-based-standards] (SCNdFAST32): Likewise.
55215 [C99-based-standards] (SCNiFAST32): Likewise.
55216 [C99-based-standards] (SCNoFAST32): Likewise.
55217 [C99-based-standards] (SCNuFAST32): Likewise.
55218 [C99-based-standards] (SCNxFAST32): Likewise.
55219 [C99-based-standards] (PRId64): Likewise.
55220 [C99-based-standards] (PRIi64): Likewise.
55221 [C99-based-standards] (PRIo64): Likewise.
55222 [C99-based-standards] (PRIu64): Likewise.
55223 [C99-based-standards] (PRIx64): Likewise.
55224 [C99-based-standards] (PRIX64): Likewise.
55225 [C99-based-standards] (SCNd64): Likewise.
55226 [C99-based-standards] (SCNi64): Likewise.
55227 [C99-based-standards] (SCNo64): Likewise.
55228 [C99-based-standards] (SCNu64): Likewise.
55229 [C99-based-standards] (SCNx64): Likewise.
55230 [C99-based-standards] (PRIdLEAST64): Likewise.
55231 [C99-based-standards] (PRIiLEAST64): Likewise.
55232 [C99-based-standards] (PRIoLEAST64): Likewise.
55233 [C99-based-standards] (PRIuLEAST64): Likewise.
55234 [C99-based-standards] (PRIxLEAST64): Likewise.
55235 [C99-based-standards] (PRIXLEAST64): Likewise.
55236 [C99-based-standards] (SCNdLEAST64): Likewise.
55237 [C99-based-standards] (SCNiLEAST64): Likewise.
55238 [C99-based-standards] (SCNoLEAST64): Likewise.
55239 [C99-based-standards] (SCNuLEAST64): Likewise.
55240 [C99-based-standards] (SCNxLEAST64): Likewise.
55241 [C99-based-standards] (PRIdFAST64): Likewise.
55242 [C99-based-standards] (PRIiFAST64): Likewise.
55243 [C99-based-standards] (PRIoFAST64): Likewise.
55244 [C99-based-standards] (PRIuFAST64): Likewise.
55245 [C99-based-standards] (PRIxFAST64): Likewise.
55246 [C99-based-standards] (PRIXFAST64): Likewise.
55247 [C99-based-standards] (SCNdFAST64): Likewise.
55248 [C99-based-standards] (SCNiFAST64): Likewise.
55249 [C99-based-standards] (SCNoFAST64): Likewise.
55250 [C99-based-standards] (SCNuFAST64): Likewise.
55251 [C99-based-standards] (SCNxFAST64): Likewise.
55252 [C99-based-standards] (PRIdMAX): Likewise.
55253 [C99-based-standards] (PRIiMAX): Likewise.
55254 [C99-based-standards] (PRIoMAX): Likewise.
55255 [C99-based-standards] (PRIuMAX): Likewise.
55256 [C99-based-standards] (PRIxMAX): Likewise.
55257 [C99-based-standards] (PRIXMAX): Likewise.
55258 [C99-based-standards] (SCNdMAX): Likewise.
55259 [C99-based-standards] (SCNiMAX): Likewise.
55260 [C99-based-standards] (SCNoMAX): Likewise.
55261 [C99-based-standards] (SCNuMAX): Likewise.
55262 [C99-based-standards] (SCNxMAX): Likewise.
55263 [C99-based-standards] (PRIdPTR): Likewise.
55264 [C99-based-standards] (PRIiPTR): Likewise.
55265 [C99-based-standards] (PRIoPTR): Likewise.
55266 [C99-based-standards] (PRIuPTR): Likewise.
55267 [C99-based-standards] (PRIxPTR): Likewise.
55268 [C99-based-standards] (PRIXPTR): Likewise.
55269 [C99-based-standards] (SCNdPTR): Likewise.
55270 [C99-based-standards] (SCNiPTR): Likewise.
55271 [C99-based-standards] (SCNoPTR): Likewise.
55272 [C99-based-standards] (SCNuPTR): Likewise.
55273 [C99-based-standards] (SCNxPTR): Likewise.
55274 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55276 * conform/data/stdint.h-data: Update comments to clarify
55278 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
55280 [C99-based standards] (INT8_MAX): Likewise.
55281 [C99-based standards] (INT16_MIN): Likewise.
55282 [C99-based standards] (INT16_MAX): Likewise.
55283 [C99-based standards] (INT32_MIN): Likewise.
55284 [C99-based standards] (INT32_MAX): Likewise.
55285 [C99-based standards] (INT64_MIN): Likewise.
55286 [C99-based standards] (INT64_MAX): Likewise.
55287 [C99-based standards] (UINT8_MAX): Likewise.
55288 [C99-based standards] (UINT16_MAX): Likewise.
55289 [C99-based standards] (UINT32_MAX): Likewise.
55290 [C99-based standards] (UINT64_MAX): Likewise.
55291 [C99-based standards] (INT_LEAST8_MIN): Likewise.
55292 [C99-based standards] (INT_LEAST8_MAX): Likewise.
55293 [C99-based standards] (INT_LEAST16_MIN): Likewise.
55294 [C99-based standards] (INT_LEAST16_MAX): Likewise.
55295 [C99-based standards] (INT_LEAST32_MIN): Likewise.
55296 [C99-based standards] (INT_LEAST32_MAX): Likewise.
55297 [C99-based standards] (INT_LEAST64_MIN): Likewise.
55298 [C99-based standards] (INT_LEAST64_MAX): Likewise.
55299 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55300 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55301 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55302 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55303 [C99-based standards] (INT_FAST8_MIN): Likewise.
55304 [C99-based standards] (INT_FAST8_MAX): Likewise.
55305 [C99-based standards] (INT_FAST16_MIN): Likewise.
55306 [C99-based standards] (INT_FAST16_MAX): Likewise.
55307 [C99-based standards] (INT_FAST32_MIN): Likewise.
55308 [C99-based standards] (INT_FAST32_MAX): Likewise.
55309 [C99-based standards] (INT_FAST64_MIN): Likewise.
55310 [C99-based standards] (INT_FAST64_MAX): Likewise.
55311 [C99-based standards] (UINT_FAST8_MAX): Likewise.
55312 [C99-based standards] (UINT_FAST16_MAX): Likewise.
55313 [C99-based standards] (UINT_FAST32_MAX): Likewise.
55314 [C99-based standards] (UINT_FAST64_MAX): Likewise.
55315 [C99-based standards] (INTPTR_MIN): Likewise.
55316 [C99-based standards] (INTPTR_MAX): Likewise.
55317 [C99-based standards] (UINTPTR_MAX): Likewise.
55318 [C99-based standards] (INTMAX_MIN): Likewise.
55319 [C99-based standards] (INTMAX_MAX): Likewise.
55320 [C99-based standards] (UINTMAX_MAX): Likewise.
55321 [C99-based standards] (PTRDIFF_MIN): Likewise.
55322 [C99-based standards] (PTRDIFF_MAX): Likewise.
55323 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55324 [C99-based standards] (SIZE_MAX): Likewise.
55325 [C99-based standards] (WCHAR_MAX): Likewise.
55326 [C99-based standards] (WINT_MAX): Likewise.
55327 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
55328 constraint on value.
55329 [C99-based standards] (WCHAR_MIN): Likewise.
55330 [C99-based standards] (WINT_MIN): Likewise.
55331 [C99-based standards] (*_t): Allow.
55332 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55333 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55334 Include math.h-data and complex.h-data. Remove all expectations
55335 of math.h and complex.h contents.
55336 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55338 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55339 (struct tm): Expect tag.
55340 [C99-based-standards] (wcstof): Expect function.
55341 [C99-based-standards] (wcstold): Likewise.
55342 [C99-based-standards] (wcstoll): Likewise.
55343 [C99-based-standards] (wcstoull): Likewise.
55344 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55345 macro-int-constant. Specify type.
55346 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
55347 constraint on value.
55348 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55350 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55352 [ISO C standards]: Do not allow headers.
55353 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55354 wcs[abcdefghijklmnopqrstuvwxyz]*.
55355 [ISO C standards] (*_t): Do not allow.
55356 * conform/data/wctype.h-data [C99-based standards] (iswblank):
55358 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55359 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55361 [ISO C standards]: Do not allow headers.
55362 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55363 is[abcdefghijklmnopqrstuvwxyz]*.
55364 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55365 to[abcdefghijklmnopqrstuvwxyz]*.
55366 [ISO C standards] (*_t): Do not allow.
55367 * conform/data/stdalign.h-data: New file.
55368 * conform/data/stdbool.h-data: Likewise.
55369 * conform/data/stdnoreturn.h-data: Likewise.
55371 2012-11-07 Roland McGrath <roland@hack.frob.com>
55374 * manual/filesys.texi (Directory Entries): Typo fix.
55375 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55377 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55379 * elf/elf.h (EM_AARCH64): New macro.
55380 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55381 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55382 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55383 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55384 (R_AARCH64_TLSDESC): Likewise.
55385 (NT_ARM_TLS): Likewise.
55386 (NT_ARM_HW_BREAK): Likewise.
55387 (NT_ARM_HW_WATCH): Likewise.
55389 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55392 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55393 (__ieee754_powl): Saturate nonzero exponents with absolute value
55394 below 0x1p-79 to +/- 0x1p-79.
55395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55396 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55397 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55398 nonzero exponents with absolute value below 0x1p-32 to +/-
55400 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55401 (__ieee754_powl): Saturate nonzero exponents with absolute value
55402 below 0x1p-79 to +/- 0x1p-79.
55403 * math/libm-test.inc (pow_test): Add more tests.
55405 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55407 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55408 _dl_s390_cap_flags with kernel. Increase string length.
55409 (_dl_s390_platforms): Add z196 and zEC12.
55411 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55413 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55414 Change XOPEN21K to XOPEN2K.
55416 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
55418 * string/memmove.c: Use memcpy when possible.
55420 2012-11-06 Andreas Jaeger <aj@suse.de>
55422 * po/eo.po: Update from translation team.
55424 2012-11-06 Joseph Myers <joseph@codesourcery.com>
55427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55428 exponent and small x and y exponents, scale x or y up. Increase
55429 by 2 the exponent used in scaling up.
55430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55432 * math/libm-test.inc (fma_test): Add more tests.
55433 (fma_test_towardzero): Likewise.
55434 (fma_test_downward): Likewise.
55435 (fma_test_upward): Likewise.
55437 2012-11-05 Joseph Myers <joseph@codesourcery.com>
55440 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55444 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55445 namespace for names of struct fields.
55446 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55448 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55449 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55451 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
55454 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55456 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
55458 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55462 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55465 2012-11-04 Joseph Myers <joseph@codesourcery.com>
55468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55469 definitely overflow as x * y not x * y + z.
55470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55472 * math/libm-test.inc (fma_test): Add more tests.
55473 (fma_test_towardzero): Likewise.
55474 (fma_test_downward): Likewise.
55475 (fma_test_upward): Likewise.
55477 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
55481 * include/stub-tag.h: Remove file.
55482 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55484 * manual/maint.texi (Porting): Don't reference it.
55485 * Makerules ($(objpfx)stubs): Likewise.
55486 * dirent/closedir.c: Don't include <stub-tag.h>.
55487 * dirent/dirfd.c: Likewise.
55488 * dirent/fdopendir.c: Likewise.
55489 * dirent/getdents.c: Likewise.
55490 * dirent/getdents64.c: Likewise.
55491 * dirent/opendir.c: Likewise.
55492 * dirent/readdir.c: Likewise.
55493 * dirent/readdir64.c: Likewise.
55494 * dirent/readdir64_r.c: Likewise.
55495 * dirent/readdir_r.c: Likewise.
55496 * dirent/rewinddir.c: Likewise.
55497 * dirent/seekdir.c: Likewise.
55498 * dirent/telldir.c: Likewise.
55499 * gmon/profil.c: Likewise.
55500 * grp/setgroups.c: Likewise.
55501 * inet/if_index.c: Likewise.
55502 * io/access.c: Likewise.
55503 * io/chdir.c: Likewise.
55504 * io/chmod.c: Likewise.
55505 * io/chown.c: Likewise.
55506 * io/close.c: Likewise.
55507 * io/dup.c: Likewise.
55508 * io/dup2.c: Likewise.
55509 * io/dup3.c: Likewise.
55510 * io/euidaccess.c: Likewise.
55511 * io/faccessat.c: Likewise.
55512 * io/fchdir.c: Likewise.
55513 * io/fchmod.c: Likewise.
55514 * io/fchmodat.c: Likewise.
55515 * io/fchown.c: Likewise.
55516 * io/fchownat.c: Likewise.
55517 * io/fcntl.c: Likewise.
55518 * io/flock.c: Likewise.
55519 * io/fstatfs.c: Likewise.
55520 * io/fstatfs64.c: Likewise.
55521 * io/fstatvfs.c: Likewise.
55522 * io/fstatvfs64.c: Likewise.
55523 * io/futimens.c: Likewise.
55524 * io/fxstat.c: Likewise.
55525 * io/fxstat64.c: Likewise.
55526 * io/fxstatat.c: Likewise.
55527 * io/fxstatat64.c: Likewise.
55528 * io/getcwd.c: Likewise.
55529 * io/isatty.c: Likewise.
55530 * io/lchmod.c: Likewise.
55531 * io/lchown.c: Likewise.
55532 * io/link.c: Likewise.
55533 * io/linkat.c: Likewise.
55534 * io/lseek.c: Likewise.
55535 * io/lseek64.c: Likewise.
55536 * io/lxstat64.c: Likewise.
55537 * io/mkdir.c: Likewise.
55538 * io/mkdirat.c: Likewise.
55539 * io/mkfifo.c: Likewise.
55540 * io/mkfifoat.c: Likewise.
55541 * io/open.c: Likewise.
55542 * io/open64.c: Likewise.
55543 * io/openat.c: Likewise.
55544 * io/openat64.c: Likewise.
55545 * io/pipe.c: Likewise.
55546 * io/pipe2.c: Likewise.
55547 * io/poll.c: Likewise.
55548 * io/posix_fadvise.c: Likewise.
55549 * io/posix_fadvise64.c: Likewise.
55550 * io/posix_fallocate.c: Likewise.
55551 * io/posix_fallocate64.c: Likewise.
55552 * io/read.c: Likewise.
55553 * io/readlink.c: Likewise.
55554 * io/readlinkat.c: Likewise.
55555 * io/rmdir.c: Likewise.
55556 * io/sendfile.c: Likewise.
55557 * io/sendfile64.c: Likewise.
55558 * io/statfs.c: Likewise.
55559 * io/statfs64.c: Likewise.
55560 * io/statvfs.c: Likewise.
55561 * io/statvfs64.c: Likewise.
55562 * io/symlink.c: Likewise.
55563 * io/symlinkat.c: Likewise.
55564 * io/ttyname.c: Likewise.
55565 * io/ttyname_r.c: Likewise.
55566 * io/umask.c: Likewise.
55567 * io/unlink.c: Likewise.
55568 * io/unlinkat.c: Likewise.
55569 * io/utime.c: Likewise.
55570 * io/utimensat.c: Likewise.
55571 * io/write.c: Likewise.
55572 * io/xmknod.c: Likewise.
55573 * io/xmknodat.c: Likewise.
55574 * io/xstat.c: Likewise.
55575 * io/xstat64.c: Likewise.
55576 * login/getpt.c: Likewise.
55577 * login/grantpt.c: Likewise.
55578 * login/unlockpt.c: Likewise.
55579 * math/e_acoshl.c: Likewise.
55580 * math/e_acosl.c: Likewise.
55581 * math/e_asinl.c: Likewise.
55582 * math/e_atan2l.c: Likewise.
55583 * math/e_atanhl.c: Likewise.
55584 * math/e_coshl.c: Likewise.
55585 * math/e_expl.c: Likewise.
55586 * math/e_fmodl.c: Likewise.
55587 * math/e_gammal_r.c: Likewise.
55588 * math/e_hypotl.c: Likewise.
55589 * math/e_j0l.c: Likewise.
55590 * math/e_j1l.c: Likewise.
55591 * math/e_jnl.c: Likewise.
55592 * math/e_lgammal_r.c: Likewise.
55593 * math/e_log10l.c: Likewise.
55594 * math/e_log2l.c: Likewise.
55595 * math/e_logl.c: Likewise.
55596 * math/e_powl.c: Likewise.
55597 * math/e_rem_pio2l.c: Likewise.
55598 * math/e_sinhl.c: Likewise.
55599 * math/e_sqrtl.c: Likewise.
55600 * math/fclrexcpt.c: Likewise.
55601 * math/fedisblxcpt.c: Likewise.
55602 * math/feenablxcpt.c: Likewise.
55603 * math/fegetenv.c: Likewise.
55604 * math/fegetexcept.c: Likewise.
55605 * math/fegetround.c: Likewise.
55606 * math/feholdexcpt.c: Likewise.
55607 * math/fesetenv.c: Likewise.
55608 * math/fesetround.c: Likewise.
55609 * math/feupdateenv.c: Likewise.
55610 * math/fgetexcptflg.c: Likewise.
55611 * math/fraiseexcpt.c: Likewise.
55612 * math/fsetexcptflg.c: Likewise.
55613 * math/ftestexcept.c: Likewise.
55614 * math/k_cosl.c: Likewise.
55615 * math/k_rem_pio2l.c: Likewise.
55616 * math/k_sinl.c: Likewise.
55617 * math/k_tanl.c: Likewise.
55618 * math/s_asinhl.c: Likewise.
55619 * math/s_atanl.c: Likewise.
55620 * math/s_cbrtl.c: Likewise.
55621 * math/s_erfl.c: Likewise.
55622 * math/s_expm1l.c: Likewise.
55623 * math/s_log1pl.c: Likewise.
55624 * math/s_tanhl.c: Likewise.
55625 * misc/acct.c: Likewise.
55626 * misc/brk.c: Likewise.
55627 * misc/chflags.c: Likewise.
55628 * misc/chroot.c: Likewise.
55629 * misc/fchflags.c: Likewise.
55630 * misc/fgetxattr.c: Likewise.
55631 * misc/flistxattr.c: Likewise.
55632 * misc/fremovexattr.c: Likewise.
55633 * misc/fsetxattr.c: Likewise.
55634 * misc/fsync.c: Likewise.
55635 * misc/ftruncate.c: Likewise.
55636 * misc/futimes.c: Likewise.
55637 * misc/futimesat.c: Likewise.
55638 * misc/getdomain.c: Likewise.
55639 * misc/getdtsz.c: Likewise.
55640 * misc/gethostid.c: Likewise.
55641 * misc/gethostname.c: Likewise.
55642 * misc/getloadavg.c: Likewise.
55643 * misc/getpagesize.c: Likewise.
55644 * misc/getsysstats.c: Likewise.
55645 * misc/getxattr.c: Likewise.
55646 * misc/gtty.c: Likewise.
55647 * misc/ioctl.c: Likewise.
55648 * misc/lgetxattr.c: Likewise.
55649 * misc/listxattr.c: Likewise.
55650 * misc/llistxattr.c: Likewise.
55651 * misc/lremovexattr.c: Likewise.
55652 * misc/lsetxattr.c: Likewise.
55653 * misc/lutimes.c: Likewise.
55654 * misc/madvise.c: Likewise.
55655 * misc/mincore.c: Likewise.
55656 * misc/mlock.c: Likewise.
55657 * misc/mlockall.c: Likewise.
55658 * misc/mmap.c: Likewise.
55659 * misc/mprotect.c: Likewise.
55660 * misc/msync.c: Likewise.
55661 * misc/munlock.c: Likewise.
55662 * misc/munlockall.c: Likewise.
55663 * misc/munmap.c: Likewise.
55664 * misc/preadv.c: Likewise.
55665 * misc/preadv64.c: Likewise.
55666 * misc/ptrace.c: Likewise.
55667 * misc/pwritev.c: Likewise.
55668 * misc/pwritev64.c: Likewise.
55669 * misc/readv.c: Likewise.
55670 * misc/reboot.c: Likewise.
55671 * misc/remap_file_pages.c: Likewise.
55672 * misc/removexattr.c: Likewise.
55673 * misc/revoke.c: Likewise.
55674 * misc/select.c: Likewise.
55675 * misc/setdomain.c: Likewise.
55676 * misc/setegid.c: Likewise.
55677 * misc/seteuid.c: Likewise.
55678 * misc/sethostid.c: Likewise.
55679 * misc/sethostname.c: Likewise.
55680 * misc/setregid.c: Likewise.
55681 * misc/setreuid.c: Likewise.
55682 * misc/setxattr.c: Likewise.
55683 * misc/sstk.c: Likewise.
55684 * misc/stty.c: Likewise.
55685 * misc/swapoff.c: Likewise.
55686 * misc/swapon.c: Likewise.
55687 * misc/sync.c: Likewise.
55688 * misc/syncfs.c: Likewise.
55689 * misc/syscall.c: Likewise.
55690 * misc/truncate.c: Likewise.
55691 * misc/ualarm.c: Likewise.
55692 * misc/usleep.c: Likewise.
55693 * misc/ustat.c: Likewise.
55694 * misc/utimes.c: Likewise.
55695 * misc/vhangup.c: Likewise.
55696 * misc/writev.c: Likewise.
55697 * posix/_exit.c: Likewise.
55698 * posix/alarm.c: Likewise.
55699 * posix/execve.c: Likewise.
55700 * posix/fexecve.c: Likewise.
55701 * posix/fork.c: Likewise.
55702 * posix/fpathconf.c: Likewise.
55703 * posix/getaddrinfo.c: Likewise.
55704 * posix/getegid.c: Likewise.
55705 * posix/geteuid.c: Likewise.
55706 * posix/getgid.c: Likewise.
55707 * posix/getgroups.c: Likewise.
55708 * posix/getlogin.c: Likewise.
55709 * posix/getlogin_r.c: Likewise.
55710 * posix/getpgid.c: Likewise.
55711 * posix/getpid.c: Likewise.
55712 * posix/getppid.c: Likewise.
55713 * posix/getresgid.c: Likewise.
55714 * posix/getresuid.c: Likewise.
55715 * posix/getsid.c: Likewise.
55716 * posix/getuid.c: Likewise.
55717 * posix/glob64.c: Likewise.
55718 * posix/nanosleep.c: Likewise.
55719 * posix/pathconf.c: Likewise.
55720 * posix/pause.c: Likewise.
55721 * posix/posix_madvise.c: Likewise.
55722 * posix/pread.c: Likewise.
55723 * posix/pread64.c: Likewise.
55724 * posix/pwrite.c: Likewise.
55725 * posix/pwrite64.c: Likewise.
55726 * posix/sched_getaffinity.c: Likewise.
55727 * posix/sched_getp.c: Likewise.
55728 * posix/sched_gets.c: Likewise.
55729 * posix/sched_primax.c: Likewise.
55730 * posix/sched_primin.c: Likewise.
55731 * posix/sched_rr_gi.c: Likewise.
55732 * posix/sched_setaffinity.c: Likewise.
55733 * posix/sched_setp.c: Likewise.
55734 * posix/sched_sets.c: Likewise.
55735 * posix/sched_yield.c: Likewise.
55736 * posix/setgid.c: Likewise.
55737 * posix/setlogin.c: Likewise.
55738 * posix/setpgid.c: Likewise.
55739 * posix/setresgid.c: Likewise.
55740 * posix/setresuid.c: Likewise.
55741 * posix/setsid.c: Likewise.
55742 * posix/setuid.c: Likewise.
55743 * posix/sleep.c: Likewise.
55744 * posix/spawni.c: Likewise.
55745 * posix/sysconf.c: Likewise.
55746 * posix/times.c: Likewise.
55747 * posix/wait.c: Likewise.
55748 * posix/wait3.c: Likewise.
55749 * posix/wait4.c: Likewise.
55750 * posix/waitpid.c: Likewise.
55751 * resolv/gai_sigqueue.c: Likewise.
55752 * resource/getpriority.c: Likewise.
55753 * resource/getrlimit.c: Likewise.
55754 * resource/getrusage.c: Likewise.
55755 * resource/nice.c: Likewise.
55756 * resource/setpriority.c: Likewise.
55757 * resource/setrlimit.c: Likewise.
55758 * resource/ulimit.c: Likewise.
55759 * rt/aio_cancel.c: Likewise.
55760 * rt/aio_fsync.c: Likewise.
55761 * rt/aio_read.c: Likewise.
55762 * rt/aio_sigqueue.c: Likewise.
55763 * rt/aio_suspend.c: Likewise.
55764 * rt/aio_write.c: Likewise.
55765 * rt/clock_getres.c: Likewise.
55766 * rt/clock_gettime.c: Likewise.
55767 * rt/clock_nanosleep.c: Likewise.
55768 * rt/clock_settime.c: Likewise.
55769 * rt/lio_listio.c: Likewise.
55770 * rt/mq_close.c: Likewise.
55771 * rt/mq_getattr.c: Likewise.
55772 * rt/mq_notify.c: Likewise.
55773 * rt/mq_open.c: Likewise.
55774 * rt/mq_receive.c: Likewise.
55775 * rt/mq_send.c: Likewise.
55776 * rt/mq_setattr.c: Likewise.
55777 * rt/mq_timedreceive.c: Likewise.
55778 * rt/mq_timedsend.c: Likewise.
55779 * rt/mq_unlink.c: Likewise.
55780 * rt/shm_open.c: Likewise.
55781 * rt/shm_unlink.c: Likewise.
55782 * rt/timer_create.c: Likewise.
55783 * rt/timer_delete.c: Likewise.
55784 * rt/timer_getoverr.c: Likewise.
55785 * rt/timer_gettime.c: Likewise.
55786 * rt/timer_settime.c: Likewise.
55787 * setjmp/__longjmp.c: Likewise.
55788 * setjmp/setjmp.c: Likewise.
55789 * signal/kill.c: Likewise.
55790 * signal/killpg.c: Likewise.
55791 * signal/raise.c: Likewise.
55792 * signal/sigaction.c: Likewise.
55793 * signal/sigaltstack.c: Likewise.
55794 * signal/sigblock.c: Likewise.
55795 * signal/sigignore.c: Likewise.
55796 * signal/sigintr.c: Likewise.
55797 * signal/signal.c: Likewise.
55798 * signal/sigpause.c: Likewise.
55799 * signal/sigpending.c: Likewise.
55800 * signal/sigqueue.c: Likewise.
55801 * signal/sigreturn.c: Likewise.
55802 * signal/sigset.c: Likewise.
55803 * signal/sigsetmask.c: Likewise.
55804 * signal/sigstack.c: Likewise.
55805 * signal/sigsuspend.c: Likewise.
55806 * signal/sigtimedwait.c: Likewise.
55807 * signal/sigvec.c: Likewise.
55808 * signal/sigwait.c: Likewise.
55809 * signal/sigwaitinfo.c: Likewise.
55810 * signal/sysv_signal.c: Likewise.
55811 * socket/accept.c: Likewise.
55812 * socket/accept4.c: Likewise.
55813 * socket/bind.c: Likewise.
55814 * socket/connect.c: Likewise.
55815 * socket/getpeername.c: Likewise.
55816 * socket/getsockname.c: Likewise.
55817 * socket/getsockopt.c: Likewise.
55818 * socket/isfdtype.c: Likewise.
55819 * socket/listen.c: Likewise.
55820 * socket/recv.c: Likewise.
55821 * socket/recvfrom.c: Likewise.
55822 * socket/recvmsg.c: Likewise.
55823 * socket/send.c: Likewise.
55824 * socket/sendmsg.c: Likewise.
55825 * socket/sendto.c: Likewise.
55826 * socket/setsockopt.c: Likewise.
55827 * socket/shutdown.c: Likewise.
55828 * socket/sockatmark.c: Likewise.
55829 * socket/socket.c: Likewise.
55830 * socket/socketpair.c: Likewise.
55831 * stdio-common/ctermid.c: Likewise.
55832 * stdio-common/cuserid.c: Likewise.
55833 * stdio-common/remove.c: Likewise.
55834 * stdio-common/rename.c: Likewise.
55835 * stdio-common/renameat.c: Likewise.
55836 * stdio-common/tempname.c: Likewise.
55837 * stdlib/getcontext.c: Likewise.
55838 * stdlib/makecontext.c: Likewise.
55839 * stdlib/setcontext.c: Likewise.
55840 * stdlib/swapcontext.c: Likewise.
55841 * stdlib/system.c: Likewise.
55842 * streams/fattach.c: Likewise.
55843 * streams/fdetach.c: Likewise.
55844 * streams/getmsg.c: Likewise.
55845 * streams/getpmsg.c: Likewise.
55846 * streams/putmsg.c: Likewise.
55847 * streams/putpmsg.c: Likewise.
55848 * sysdeps/unix/bsd/getpt.c: Likewise.
55849 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55850 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55851 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55854 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55855 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55856 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55857 * sysvipc/msgctl.c: Likewise.
55858 * sysvipc/msgget.c: Likewise.
55859 * sysvipc/msgrcv.c: Likewise.
55860 * sysvipc/msgsnd.c: Likewise.
55861 * sysvipc/semctl.c: Likewise.
55862 * sysvipc/semget.c: Likewise.
55863 * sysvipc/semop.c: Likewise.
55864 * sysvipc/semtimedop.c: Likewise.
55865 * sysvipc/shmat.c: Likewise.
55866 * sysvipc/shmctl.c: Likewise.
55867 * sysvipc/shmdt.c: Likewise.
55868 * sysvipc/shmget.c: Likewise.
55869 * termios/tcdrain.c: Likewise.
55870 * termios/tcflow.c: Likewise.
55871 * termios/tcflush.c: Likewise.
55872 * termios/tcgetattr.c: Likewise.
55873 * termios/tcgetpgrp.c: Likewise.
55874 * termios/tcsendbrk.c: Likewise.
55875 * termios/tcsetattr.c: Likewise.
55876 * termios/tcsetpgrp.c: Likewise.
55877 * time/adjtime.c: Likewise.
55878 * time/clock.c: Likewise.
55879 * time/getitimer.c: Likewise.
55880 * time/gettimeofday.c: Likewise.
55881 * time/setitimer.c: Likewise.
55882 * time/settimeofday.c: Likewise.
55883 * time/stime.c: Likewise.
55884 * time/time.c: Likewise.
55886 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
55888 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55891 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55893 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55895 2012-11-03 Joseph Myers <joseph@codesourcery.com>
55898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55899 FE_TONEAREST before applying Dekker multiplication and Knuth
55900 addition. Clear inexact exceptions and check for exact zero
55901 results afterwards.
55902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55903 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55905 * math/libm-test.inc (fma_test): Add more tests.
55906 (fma_test_towardzero): Likewise.
55907 (fma_test_downward): Likewise.
55908 (fma_test_upward): Likewise.
55909 * sysdeps/generic/math_private.h (default_libc_fesetround): New
55911 (libc_fesetround): New macro.
55912 (libc_fesetroundf): Likewise.
55913 (libc_fesetroundl): Likewise.
55914 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55916 (libc_fesetround_387): Likewise.
55917 (libc_fesetroundf): New macro.
55918 (libc_fesetround): Likewise.
55919 (libc_fesetroundl): Likewise.
55920 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55922 (libc_fesetroundf): New macro.
55923 (libc_fesetround): Likewise.
55924 (libc_fesetroundl): Likewise.
55925 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55926 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55927 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55929 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55930 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55932 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55933 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55935 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55939 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55940 integer constant usable in #if and use that to give value to enum
55942 (FE_DIVBYZERO): Likewise.
55943 (FE_UNDERFLOW): Likewise.
55944 (FE_OVERFLOW): Likewise.
55945 (FE_INVALID): Likewise.
55946 (FE_INVALID_SNAN): Likewise.
55947 (FE_INVALID_ISI): Likewise.
55948 (FE_INVALID_IDI): Likewise.
55949 (FE_INVALID_ZDZ): Likewise.
55950 (FE_INVALID_IMZ): Likewise.
55951 (FE_INVALID_COMPARE): Likewise.
55952 (FE_INVALID_SOFTWARE): Likewise.
55953 (FE_INVALID_SQRT): Likewise.
55954 (FE_INVALID_INTEGER_CONVERSION): Likewise.
55955 (FE_TONEAREST): Likewise.
55956 (FE_TOWARDZERO): Likewise.
55957 (FE_UPWARD): Likewise.
55958 (FE_DOWNWARD): Likewise.
55959 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55960 (FE_DIVBYZERO): Likewise.
55961 (FE_OVERFLOW): Likewise.
55962 (FE_UNDERFLOW): Likewise.
55963 (FE_INEXACT): Likewise.
55964 (FE_TONEAREST): Likewise.
55965 (FE_DOWNWARD): Likewise.
55966 (FE_UPWARD): Likewise.
55967 (FE_TOWARDZERO): Likewise.
55968 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55969 (FE_UNDERFLOW): Likewise.
55970 (FE_OVERFLOW): Likewise.
55971 (FE_DIVBYZERO): Likewise.
55972 (FE_INVALID): Likewise.
55973 (FE_TONEAREST): Likewise.
55974 (FE_TOWARDZERO): Likewise.
55975 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55976 (FE_OVERFLOW): Likewise.
55977 (FE_UNDERFLOW): Likewise.
55978 (FE_DIVBYZERO): Likewise.
55979 (FE_INEXACT): Likewise.
55980 (FE_TONEAREST): Likewise.
55981 (FE_TOWARDZERO): Likewise.
55982 (FE_UPWARD): Likewise.
55983 (FE_DOWNWARD): Likewise.
55984 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55985 (FE_DIVBYZERO): Likewise.
55986 (FE_OVERFLOW): Likewise.
55987 (FE_UNDERFLOW): Likewise.
55988 (FE_INEXACT): Likewise.
55989 (FE_TONEAREST): Likewise.
55990 (FE_DOWNWARD): Likewise.
55991 (FE_UPWARD): Likewise.
55992 (FE_TOWARDZERO): Likewise.
55994 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
55996 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55998 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
56000 * scripts/cross-test-ssh.sh (command): Use newlines to separate
56001 commands. Quote $PWD.
56002 (blacklist_exports): Don't use remove_newlines. Replace "declare
56004 (remove_newlines): Remove.
56006 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
56008 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56009 * stdlib/stdlib.h (atof): Moved to ...
56010 * include/bits/stdlib-float.h: Here. New file.
56011 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56012 * stdlib/bits/stdlib-float.h: New file.
56013 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56018 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56020 * conform/conformtest.pl (@headers): Add fenv.h.
56021 * conform/data/fenv.h-data: New file.
56022 * include/fenv.h [_ISOMAC]: Disable all contents of file except
56023 include of <math/fenv.h>.
56025 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56026 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56027 && !UNIX98]. Enables tests for XOPEN2K8.
56028 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56029 POSIX2008]: Likewise.
56031 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56032 (struct rusage): Do not expect type or its members.
56035 * math/math.h (FP_NAN): Define macro to integer constant usable in
56036 #if and use that to give value to enum constant.
56037 (FP_INFINITE): Likewise.
56038 (FP_ZERO): Likewise.
56039 (FP_SUBNORMAL): Likewise.
56040 (FP_NORMAL): Likewise.
56042 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
56044 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56045 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56048 2012-11-02 Roland McGrath <roland@hack.frob.com>
56050 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56051 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56052 autoconf-time if not.
56053 * configure.in: Remove AC_PREREQ.
56055 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56057 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56058 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56059 of the internal implementation.
56061 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56063 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56064 except include of <misc/sys/syslog.h>.
56066 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56069 function returns with a NULL context exit with zero.
56071 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56073 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56075 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
56077 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56078 (run_program_cmd): This.
56079 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56080 (tst_langinfo): New variable. Use it.
56082 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
56084 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56085 floating point opcodes.
56087 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56089 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56092 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56094 * sysdeps/mach/hurd/powerpc: Remove directory.
56095 * sysdeps/mach/powerpc: Likewise.
56097 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56099 * scripts/check-local-headers.sh: Ignore c++ headers.
56101 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56103 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56104 __libc_cleanup_region_start argument.
56106 2012-11-01 Joseph Myers <joseph@codesourcery.com>
56110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56111 x * y using scaling, not as x * y + z.
56112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56114 * math/libm-test.inc (fma_test): Add more tests.
56115 (fma_test_towardzero): Likewise.
56116 (fma_test_downward): Likewise.
56117 (fma_test_upward): Likewise.
56119 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56121 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56123 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56125 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56128 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
56130 * rt/tst-shm.c (worker): Correct checking for mmap failure.
56132 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56139 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56142 Fix the order of the list for glibc 2.17.
56143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56146 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56150 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56154 for low part of x being zero before using __atanl (y).
56155 * math/libm-test.inc (atan2_test): Add another test.
56157 * manual/install.texi (Configuring and compiling): Document
56158 general use of test-wrapper and test-wrapper-env.
56159 * INSTALL: Regenerated.
56161 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56162 (__fma): Do not extract and scale down low bits on after-rounding
56163 systems when result rounded to normal precision would have normal
56165 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56166 (__fmal): Do not extract and scale down low bits on after-rounding
56167 systems when result rounded to normal precision would have normal
56169 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56170 (__fmal): Do not extract and scale down low bits on after-rounding
56171 systems when result rounded to normal precision would have normal
56173 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56175 (fma_test): Add more tests.
56176 (fma_test_towardzero): Likewise.
56177 (fma_test_downward): Likewise.
56178 (fma_test_upward): Likewise.
56180 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
56182 * sysdeps/i386/tininess.h: Renamed to ...
56183 * sysdeps/x86/tininess.h: This.
56184 * sysdeps/x86_64/tininess.h: Removed.
56186 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56188 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56189 input. Use $(build-program-cmd).
56190 ($(objpfx)tst-array1-static.out): Likewise.
56191 ($(objpfx)tst-array2.out): Likewise.
56192 ($(objpfx)tst-array3.out): Likewise.
56193 ($(objpfx)tst-array4.out): Likewise.
56194 ($(objpfx)tst-array5.out): Likewise.
56195 ($(objpfx)tst-array5-static.out): Likewise.
56197 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
56199 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56202 * nss/nsswitch.h (nss_interface_function): Provide new
56203 macro for use with NSS functions.
56204 * grp/initgroups.c: Use new macro.
56205 * nss/getXXbyYY.c: Likewise.
56206 * nss/getXXbyYY_r.c: Likewise.
56207 * nss/getXXent.c: Likewise.
56208 * nss/getXXent_r.c: Likewise.
56209 * sysdeps/posix/getaddrinfo.c: Likewise.
56211 2012-10-30 Andreas Jaeger <aj@suse.de>
56213 * po/ru.po: Update Russion translation from translation project.
56215 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56220 result and shift together with sticky bit instead of replicating
56221 round-to-nearest rounding.
56222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56224 * math/libm-test.inc (fma_test): Add more tests. Do not permit
56225 missing underflow exceptions.
56226 (fma_test_towardzero): Add more tests.
56227 (fma_test_downward): Likewise.
56228 (fma_test_upward): Likewise.
56231 * sysdeps/generic/tininess.h: New file.
56232 * sysdeps/i386/tininess.h: Likewise.
56233 * sysdeps/sh/tininess.h: Likewise.
56234 * sysdeps/x86_64/tininess.h: Likewise.
56235 * stdlib/tst-strtod-underflow.c: Likewise.
56236 * stdlib/tst-tininess.c: Likewise.
56237 * stdlib/strtod_l.c: Include <tininess.h>.
56238 (round_and_return): Do not set errno for exact underflow cases.
56239 Force an underflow exception when setting errno for underflow.
56240 Determine underflow based on rounding to normal precision if
56241 TININESS_AFTER_ROUNDING.
56242 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56243 ERANGE for exact underflow cases.
56244 * stdlib/Makefile (tests): Add tst-tininess and
56245 tst-strtod-underflow.
56246 ($(objpfx)tst-tininess): Use $(link-libm).
56247 ($(objpfx)tst-strtod-underflow): Likewise.
56249 2012-10-30 Andreas Jaeger <aj@suse.de>
56252 * elf/Makefile (tests): Remove conditional for have-initfini-array
56253 since this is now always required and the variable does not exist
56255 (tests-static): Likewise.
56256 (modules-names): Likewise.
56258 * po/eo.po: Add Esperanto translation from translation project.
56260 * elf/tst-array1.c (fini_array): Make writeable so that it can be
56261 merged with constructor/destructor.
56262 (init_array): Likewise.
56263 * elf/tst-array2dep.c (fini_array): Likewise.
56264 (init_array): Likewise.
56266 2012-10-29 Mike Frysinger <vapier@gentoo.org>
56268 * manual/message.texi: Delete @cartouche tags.
56270 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
56272 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56274 * sysdeps/mach/hurd/fsync.c: Likewise.
56276 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56277 [_POSIX_REALTIME_SIGNALS]: Change condition to
56278 [_POSIX_REALTIME_SIGNALS > 0].
56280 2012-10-27 Andreas Jaeger <aj@suse.de>
56282 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56283 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56285 [__WORDSIZE != 64]: Likewise.
56287 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
56289 * iconvdata/tst-table.sh: Remove ${SHELL}.
56290 * iconvdata/tst-tables.sh: Likewise.
56292 2012-10-25 David S. Miller <davem@davemloft.net>
56294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56295 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56300 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56301 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56302 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56305 2012-10-25 Roland McGrath <roland@hack.frob.com>
56307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56308 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56311 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56312 Jim Blandy <jimb@codesourcery.com>
56314 * scripts/cross-test-ssh.sh: New file.
56315 * manual/install.texi (Configuring and compiling): Document use of
56317 * INSTALL: Regenerated.
56319 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
56321 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56324 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56326 * Makeconfig (run-program-prefix): Fix comment.
56328 2012-10-24 Joseph Myers <joseph@codesourcery.com>
56329 Jim Blandy <jimb@codesourcery.com>
56331 * Makeconfig (test-wrapper): New variable,
56332 (test-wrapper-env): Likewise.
56333 [$(cross-compiling) = yes && $(test-wrapper) != ""]
56334 (run-built-tests): Define to yes.
56335 (run-program-prefix): Use $(test-wrapper).
56336 (built-program-cmd): Likewise.
56337 * Rules (make-test-out): Use $(test-wrapper-env) and
56338 $(host-built-program-cmd).
56339 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56340 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56342 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56343 $(test-wrapper-env) to tst-rtld-load-self.sh.
56344 ($(objpfx)order2.out): Use $(test-wrapper).
56345 ($(objpfx)tst-initorder.out): Likewise.
56346 ($(objpfx)tst-initorder2.out): Likewise.
56347 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56348 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56349 (test_wrapper_env): New variable. Use it to run ld.so.
56350 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56351 Use it to run ld.so.
56352 (test_wrapper_env): Likewise.
56353 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56354 $(test-wrapper) to run-iconv-test.sh.
56355 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56356 (ICONV): Use $test_wrapper.
56357 * posix/Makefile ($(objpfx)globtest.out): Pass
56358 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56359 globtest.sh, not $(run-program-prefix).
56360 * posix/globtest.sh (run_via_rtld_prefix): New variable.
56361 (test_wrapper): Likewise.
56362 (test_wrapper_env): Likewise. Use it to run globtest with HOME
56363 set together with run_via_rtld_prefix.
56364 (run_program_prefix): Define in terms of test_wrapper and
56365 run_via_rtld_prefix.
56367 2012-10-24 Roland McGrath <roland@hack.frob.com>
56369 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56370 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56374 * include/time.h: Remove librt_hidden_proto (clock_gettime).
56375 Declare __clock_getres, __clock_gettime, __clock_settime,
56376 __clock_nanosleep, and __clock_getcpuclockid.
56377 * rt/clock_gettime.c: Define __clock_gettime as an alias.
56378 Remove librt_hidden_def (clock_gettime).
56379 * sysdeps/unix/clock_gettime.c: Likewise.
56380 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56381 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56382 * rt/clock_getres.c: Define __clock_getres as an alias.
56383 * sysdeps/posix/clock_getres.c: Likewise.
56384 * rt/clock_settime.c: Define __clock_settime as an alias.
56385 * sysdeps/unix/clock_settime.c: Likewise.
56386 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56387 * sysdeps/unix/clock_nanosleep.c: Likewise.
56388 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56389 * rt/clock-compat.c: New file.
56390 * rt/Makefile (librt-routines): Add clock-compat and move
56391 $(clock-routines) to ...
56392 (routines): ... here, new variable.
56393 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56394 Don't add get_clockfreq here.
56395 * rt/Versions (libc: GLIBC_2.17): New version set.
56396 Add clock_* symbols here.
56397 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
56398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56399 (GLIBC_2.17): Add clock_* symbols.
56400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56411 * NEWS: Mention the move.
56413 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56414 Use __open, __read, __close rather than their public counterparts.
56415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56416 (__get_clockfreq_via_cpuinfo): Likewise.
56417 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56418 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56420 * config.h.in (HAVE_IFUNC): New #undef.
56421 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56423 * configure: Regenerated.
56425 2012-10-24 Mike Frysinger <vapier@gentoo.org>
56427 * configure.in: Move READELF check to start of file.
56428 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56429 libc_cv_asm_gnu_indirect_function in the process.
56430 * configure: Regenerated.
56432 2012-10-24 Mike Frysinger <vapier@gentoo.org>
56434 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56435 send the output to /dev/null.
56436 (libc_cv_cc_with_libunwind): Likewise.
56437 (libc_cv_as_noexecstack): Likewise.
56438 * configure: Regenerate.
56440 2012-10-24 Joseph Myers <joseph@codesourcery.com>
56442 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56444 * posix/globtest.sh (TMPDIR): Do not set.
56445 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56446 (testout): Likewise.
56448 2012-10-24 Andreas Jaeger <aj@suse.de>
56450 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56451 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56452 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56453 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56454 posix_fadvise64, posix_fallocate64.
56456 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56457 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56458 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56460 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56462 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56465 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56466 <bits/fcntl-linux.h>.
56467 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56470 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56471 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56472 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56473 [__WORDSIZE != 64]: Likewise.
56475 2012-10-23 Joseph Myers <joseph@codesourcery.com>
56477 * Makeconfig (run-built-tests): New variable.
56478 * Rules [$(cross-compiling) = yes]: Change condition to
56479 [$(run-built-tests) = no].
56480 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56481 to [$(run-built-tests) = yes].
56482 * elf/Makefile [$(cross-compiling) = no]: Likewise.
56483 * grp/Makefile [$(cross-compiling) = no]: Likewise.
56484 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56485 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56486 * intl/Makefile [$(cross-compiling) = no]: Likewise.
56487 * io/Makefile [$(cross-compiling) = no]: Likewise.
56488 * libio/Makefile [$(cross-compiling) = no]: Likewise.
56489 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56490 * misc/Makefile [$(cross-compiling) = no]: Likewise.
56491 * posix/Makefile [$(cross-compiling) = no]: Likewise.
56492 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56493 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56494 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56495 * string/Makefile [$(cross-compiling) = no]: Likewise.
56497 * posix/Makefile ($(objpfx)globtest.out): Pass
56498 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56499 $(rtld-installed-name).
56500 * posix/globtest.sh (elf_objpfx): Remove variable.
56501 (rtld_installed_name): Likewise.
56502 (library_path): Likewise.
56503 (run_program_prefix): New variable. Use for running globtest
56506 2012-10-23 Jim Blandy <jimb@codesourcery.com>
56507 Joseph Myers <joseph@codesourcery.com>
56509 * Makeconfig (host-built-program-cmd): New variable.
56510 * elf/Makefile (tst-stackguard1-ARGS): Use
56511 $(host-built-program-cmd).
56512 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56513 (tst-spawn-ARGS): Likewise.
56514 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56516 2012-10-23 Joseph Myers <joseph@codesourcery.com>
56517 Jim Blandy <jimb@codesourcery.com>
56519 * Makeconfig (run-via-rtld-prefix): New variable.
56520 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56521 (built-program-cmd): Likewise.
56523 2012-10-22 Andreas Jaeger <aj@suse.de>
56525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56526 __O_RSYNC if it exists, otherwise to O_SYNC.
56528 2012-10-22 Jim Blandy <jimb@codesourcery.com>
56529 Joseph Myers <joseph@codesourcery.com>
56531 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56533 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56535 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56538 2012-10-22 Andreas Jaeger <aj@suse.de>
56540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56545 bits/fcntl-linux.h.
56547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56548 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56555 2012-10-21 Jim Blandy <jimb@codesourcery.com>
56556 Joseph Myers <joseph@codesourcery.com>
56558 * config.make.in (NM): New variable.
56560 2012-10-21 Andreas Jaeger <aj@suse.de>
56562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56563 definitions and declarations that are provided by
56564 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56566 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
56569 * elf/Makefile (tests-static): Add tst-leaks1-static.
56570 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56571 ($(objpfx)tst-leaks1-static): New rule.
56572 ($(objpfx)tst-leaks1-static-mem): Likewise.
56573 (tst-leaks1-static-ENV): New macro.
56574 * elf/dl-open.c (dl_open_worker): Check the main application
56575 only if SHARED is defined.
56576 * elf/tst-leaks1-static.c: New file.
56578 2012-10-20 Andreas Jaeger <aj@suse.de>
56580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56581 generic values for Linux.
56582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56583 and declarations that are provided by <bits/fcntl-linux.h> and
56584 include <bits/fcntl-linux.h>.
56585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56588 2012-10-20 Roland McGrath <roland@hack.frob.com>
56590 * io/fcntl.h: Move include of <bits/types.h> to the top and
56591 include it unconditionally.
56593 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
56595 * wcsmbs/Makefile (tests-ifunc): New variable.
56596 (tests): Add $(tests-ifunc).
56597 * wcsmbs/test-wcschr-ifunc.c: New file.
56598 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56599 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56600 * wcsmbs/test-wcslen-ifunc.c: Likewise.
56601 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56602 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56604 * string/Makefile (tests-ifunc): New variable.
56605 (tests): Add $(tests-ifunc).
56606 * string/test-memccpy.c (TEST_NAME): New macro.
56607 * string/test-memchr.c (TEST_NAME): Likewise.
56608 * string/test-memcmp.c (TEST_NAME): Likewise.
56609 * string/test-memcpy.c (TEST_NAME): Likewise.
56610 * string/test-memmem.c (TEST_NAME): Likewise.
56611 * string/test-memmove.c (TEST_NAME): Likewise.
56612 * string/test-memset.c (TEST_NAME): Likewise.
56613 * string/test-rawmemchr.c (TEST_NAME): Likewise.
56614 * string/test-stpcpy.c (TEST_NAME): Likewise.
56615 * string/test-stpncpy.c (TEST_NAME): Likewise.
56616 * string/test-strcasecmp.c (TEST_NAME): Likewise.
56617 * string/test-strcasestr.c (TEST_NAME): Likewise.
56618 * string/test-strcat.c (TEST_NAME): Likewise.
56619 * string/test-strchr.c (TEST_NAME): Likewise.
56620 * string/test-strcmp.c(TEST_NAME): Likewise.
56621 * string/test-strcpy.c (TEST_NAME): Likewise.
56622 * string/test-strcspn.c (TEST_NAME): Likewise.
56623 * string/test-strlen.c (TEST_NAME): Likewise.
56624 * string/test-strncasecmp.c (TEST_NAME): Likewise.
56625 * string/test-strncmp.c (TEST_NAME): Likewise.
56626 * string/test-strncpy.c (TEST_NAME): Likewise.
56627 * string/test-strnlen.c (TEST_NAME): Likewise.
56628 * string/test-strpbrk.c (TEST_NAME): Likewise.
56629 * string/test-strrchr.c (TEST_NAME): Likewise.
56630 * string/test-strspn.c (TEST_NAME): Likewise.
56631 * string/test-strstr.c (TEST_NAME): Likewise.
56632 * string/test-bcopy-ifunc.c: New file.
56633 * string/test-bzero-ifunc.c: Likewise.
56634 * string/test-memccpy-ifunc.c: Likewise.
56635 * string/test-memchr-ifunc.c: Likewise.
56636 * string/test-memcmp-ifunc.c: Likewise.
56637 * string/test-memcpy-ifunc.c: Likewise.
56638 * string/test-memmem-ifunc.c: Likewise.
56639 * string/test-memmove-ifunc.c: Likewise.
56640 * string/test-mempcpy-ifunc.c: Likewise.
56641 * string/test-memset-ifunc.c: Likewise.
56642 * string/test-rawmemchr-ifunc.c: Likewise.
56643 * string/test-stpcpy-ifunc.c: Likewise.
56644 * string/test-stpncpy-ifunc.c: Likewise.
56645 * string/test-strcasecmp-ifunc.c: Likewise.
56646 * string/test-strcasestr-ifunc.c: Likewise.
56647 * string/test-strcat-ifunc.c: Likewise.
56648 * string/test-strchr-ifunc.c: Likewise.
56649 * string/test-strchrnul-ifunc.c: Likewise.
56650 * string/test-strcmp-ifunc.c: Likewise.
56651 * string/test-strcpy-ifunc.c: Likewise.
56652 * string/test-strcspn-ifunc.c: Likewise.
56653 * string/test-strlen-ifunc.c: Likewise.
56654 * string/test-strncasecmp-ifunc.c: Likewise.
56655 * string/test-strncat-ifunc.c: Likewise.
56656 * string/test-strncmp-ifunc.c: Likewise.
56657 * string/test-strncpy-ifunc.c: Likewise.
56658 * string/test-strnlen-ifunc.c: Likewise.
56659 * string/test-strpbrk-ifunc.c: Likewise.
56660 * string/test-strrchr-ifunc.c: Likewise.
56661 * string/test-strspn-ifunc.c: Likewise.
56662 * string/test-strstr-ifunc.c: Likewise.
56664 * debug/Makefile (tests-ifunc): New variable.
56665 (tests): Add $(tests-ifunc).
56666 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56667 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56668 * debug/test-stpcpy_chk-ifunc.c: New file.
56669 * debug/test-strcpy_chk-ifunc.c: Likewise.
56671 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56674 * elf/dl-load.c (open_verify): Retry read if the entire ELF
56675 header is not read in.
56677 2012-10-19 Joseph Myers <joseph@codesourcery.com>
56679 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
56680 script to $(SHELL) as $<. Pass $(common-objpfx) to script
56681 directly. Pass built executable to script as
56682 $(built-program-cmd).
56683 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
56684 $testprogram without using LD_LIBRARY_PATH and $ldso.
56686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56687 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56688 $(rtld-installed-name).
56689 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56690 (rtld_installed_name): Likewise.
56691 (library_path): Likewise.
56692 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
56693 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56694 $(run-program-prefix) to tst-tables.sh.
56695 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
56696 it to run tst-table-from and tst-table-to.
56697 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56698 Pass it to tst-table.sh.
56699 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56700 $(run-program-prefix) to tst-gettext.sh.
56701 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56703 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56705 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
56706 to run tst-gettext.
56707 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
56708 to run tst-gettext2.
56709 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
56710 to run tst-translit.
56711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56712 $(run-program-prefix) to tst-mtrace.sh.
56713 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
56715 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56716 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56717 $(rtld-installed-name).
56718 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56719 (rtld_installed_name): Likewise.
56720 (run_program_prefix): New variable. Use it to run wordexp-test.
56722 * Makeconfig (ARCH): Remove all definitions.
56723 (machine): Likewise.
56724 [ARCH]: Remove conditional code.
56725 [!objdir]: Give error.
56726 [!objdir] (objpfx): Remove.
56727 [!objdir] (common-objpfx): Likewise.
56728 [!objdir] (common-objdir): Likewise.
56729 * configure.in (config_makefile): Remove. Hardcode Makefile in
56730 AC_CONFIG_FILES call.
56731 * configure: Regenerated.
56734 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56736 (testout): Likewise.
56738 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56739 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56740 $(rtld-installed-name).
56741 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56742 (rtld_installed_name): Likwise.
56743 (runit): Remove function.
56744 (run_getconf): New variable, Use it for running getconf binary.
56746 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
56749 * string/test-memmem.c (check_result): New function.
56750 (do_one_test): Use it.
56751 (check1): New function.
56752 (test_main): Use it.
56754 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
56756 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56758 2012-10-18 Joseph Myers <joseph@codesourcery.com>
56760 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56761 (_G_LSEEK64): Likewise.
56762 (_G_MMAP64): Likewise.
56763 (_G_FSTAT64): Likewise.
56764 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56765 (_G_LSEEK64): Likewise.
56766 (_G_MMAP64): Likewise.
56767 (_G_FSTAT64): Likewise.
56768 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56769 unconditional. Call __mmap64 directly.
56770 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56771 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
56772 __lseek64 directly.
56773 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56774 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
56776 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56777 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
56778 __lseek64 directly.
56779 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56780 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
56781 __lseek64 directly.
56782 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56783 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
56784 __lseek64 directly.
56785 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56786 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
56787 __fxstat64 directly.
56788 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56789 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56791 (freopen64) [!_G_OPEN64]: Remove conditional code.
56792 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56794 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56795 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56797 (ftello64) [!_G_LSEEK64]: Remove conditional code.
56798 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56800 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56801 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56803 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56804 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56806 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56807 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56809 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56810 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56812 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56814 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
56817 * manual/memory.texi (Malloc Tunable Parameters): Add note
56818 about free list pointers overwriting some perturb bytes.
56819 Wording suggested by Roland McGrath.
56821 2012-10-17 Joseph Myers <joseph@codesourcery.com>
56823 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56824 (lgamma_test): Likewise.
56825 (tgamma_test): Likewise.
56827 2012-10-16 Florian Weimer <fweimer@redhat.com>
56830 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56831 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56833 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
56835 * NEWS: Mention BZ #14716.
56836 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56837 when removing AVAILABLE1_USES_J macro.
56839 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
56841 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56842 (__bswap_64): __uint64_t for unsigned 64-bit int.
56844 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
56846 * include/string.h (memmem): Declare libc hidden alias.
56847 * string/memmem.c (memmem): Define libc hidden alias.
56848 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56849 __read, __close instead of open, read, close.
56851 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
56853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56854 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56856 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56857 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56858 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56860 (__rawmemchr_sse2): Likewise.
56861 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56862 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56863 (__strchr_sse2): Likewise.
56864 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56865 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56866 (__strcasecmp_sse2): Likewise.
56867 (__strncasecmp_sse2): Likewise.
56868 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56869 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56870 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56871 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56872 (__strrchr_sse2): Likewise.
56873 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56875 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56876 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56877 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56878 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56879 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56880 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56881 * sysdeps/x86_64/multiarch/memset.S: Likewise.
56882 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56883 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56884 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56885 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56886 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56887 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56888 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56889 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56890 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56891 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56892 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56893 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56894 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56895 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56896 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56897 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56898 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56899 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56900 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56901 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56902 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56903 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56904 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56906 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56908 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56909 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56910 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56911 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56913 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56915 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56916 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56917 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56918 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56920 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56921 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56923 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56924 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56925 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56926 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56927 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56928 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56929 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56930 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56931 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56932 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56933 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56934 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56935 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56936 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56937 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56938 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56939 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56941 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56942 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56943 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56944 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56945 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56946 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56947 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56948 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56950 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56951 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56952 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56953 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56955 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56956 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56957 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56958 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56959 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56960 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56962 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56963 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56964 * include/ifunc-impl-list.h: New file.
56965 * misc/ifunc-impl-list.c: Likewise.
56966 * misc/Makefile (routines): Add ifunc-impl-list.
56967 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56968 * string/test-string.h: Include <ifunc-impl-list.h>.
56969 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56970 TEST_NAME]: New variables.
56971 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56973 (test_init): Call __libc_ifunc_impl_list to initialize
56974 func_list if TEST_IFUNC and TEST_NAME are defined.
56976 * string/Makefile (strop-tests): Add bcopy and bzero.
56977 * string/test-bcopy.c: New file.
56978 * string/test-bzero.c: Likewise.
56979 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56981 * string/test-memset.c: Support bzero test if TEST_BZERO is
56983 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56985 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56987 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56990 2012-10-10 Joseph Myers <joseph@codesourcery.com>
56992 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56993 * configure: Regenerated.
56995 * Makeconfig (+link-static-before-libc): Don't include
56996 $(link-static-libc).
56998 * libio/libio.h (_IO_pos_t): Remove.
57000 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57002 * NEWS: Add note about FIPS mode. Wording suggested by Roland
57005 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57007 * crypt/crypt-entry.c: Include fips-private.h.
57008 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57009 * crypt/md5c-test.c (main): Tolerate disabled MD5.
57010 * sysdeps/unix/sysv/linux/fips-private.h: New file.
57011 * sysdeps/generic/fips-private.h: New file, dummy fallback.
57013 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57015 * crypt/crypt-private.h: Include stdbool.h.
57016 (_ufc_setup_salt_r): Return bool.
57017 * crypt/crypt-entry.c: Include errno.h.
57018 (__crypt_r): Return NULL with EINVAL for bad salt.
57019 * crypt/crypt_util.c (bad_for_salt): New.
57020 (_ufc_setup_salt_r): Check that salt is long enough and within
57021 the specified alphabet.
57022 * crypt/badsalttest.c: New file.
57023 * crypt/Makefile (tests): Add it.
57024 ($(objpfx)badsalttest): New.
57026 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
57028 * NEWS: Add entry for BZ #14602.
57030 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57032 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57034 * math/libm-test.inc: Update comment listing what functions and
57036 (isgreater_test): New function.
57037 (isgreaterequal_test): Likewise.
57038 (isless_test): Likewise.
57039 (islessequal_test): Likewise.
57040 (islessgreater_test): Likewise.
57041 (isunordered_test): Likewise.
57042 (main): Call the new functions.
57044 2012-10-09 Roland McGrath <roland@hack.frob.com>
57046 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57047 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57048 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57049 * sysdeps/i386/configure: Regenerated.
57050 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57051 * sysdeps/mach/configure: Regenerated.
57052 * sysdeps/mach/hurd/configure: Regenerated.
57053 * sysdeps/powerpc/configure: Regenerated.
57054 * sysdeps/powerpc/powerpc32/configure: Regenerated.
57055 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57056 * sysdeps/s390/s390-32/configure: Regenerated.
57057 * sysdeps/s390/s390-64/configure: Regenerated.
57058 * sysdeps/sh/configure: Regenerated.
57059 * sysdeps/sparc/configure: Regenerated.
57060 * sysdeps/unix/sysv/linux/configure: Regenerated.
57061 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57062 * sysdeps/x86_64/configure: Regenerated.
57064 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57065 defined. Don't check if MAP is NULL.
57067 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57069 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57070 (_G_stat64): Likewise.
57071 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57072 (_G_stat64): Likewise.
57073 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57074 instead of struct _G_stat64.
57075 * libio/fileops.c (mmap_remap_check): Likewise.
57076 (decide_maybe_mmap): Likewise.
57077 (_IO_new_file_seekoff): Likewise.
57078 (_IO_file_stat): Likewise.
57079 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57081 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57082 instead of struct _G_stat64.
57083 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57085 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
57088 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57090 (CHECK_EOL): New macro.
57091 (two_way_short_needle): Check beginning of haystack for EOL. Use
57093 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57094 Replace with CHECK_EOL.
57095 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57096 Replace with CHECK_EOL.
57098 2012-10-08 Joseph Myers <joseph@codesourcery.com>
57100 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57102 * math/libm-test.inc: Update comment listing what functions and
57104 (finite_test): New function.
57105 (isinf_test): Likewise.
57106 (isnan_test): Likewise.
57107 (fpclassify_test): Test subnormal input.
57108 (isfinite_test): Likewise.
57109 (isnormal_test): Likewise.
57110 (main): Call the new functions.
57112 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
57115 * Makerules (%.dynsym): Force C locale when running
57116 $(OBJDUMP) --dynamic-syms.
57118 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
57120 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57123 2012-10-06 David S. Miller <davem@davemloft.net>
57125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57126 upper 32-bits of the length value in %o2 since we use branch-on-register
57127 tests which consider the entire 64-bit register.
57129 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
57131 * string/test-strstr.c (check2): Add a test for page boundary.
57133 2012-10-05 David S. Miller <davem@davemloft.net>
57135 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57136 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57138 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57140 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57141 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57142 and bzero when HWCAP_SPARC_CRYPTO is present.
57144 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
57147 * string/test-strstr.c (check2): New function.
57148 (test_main): Call check2.
57150 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57152 * string/bug-strcasestr1.c (do_test): Moved to ...
57153 * string/test-strcasestr.c (check1): Here. New function.
57154 (do_one_test): Break out result checking code into ...
57155 (check_result): This. New function.
57156 (do_one_test): Call check_result.
57157 (test_main): Call check1.
57158 * string/bug-strchr1.c (do_test): Moved to ...
57159 * string/test-strchr.c (check1): Here. New function.
57160 (do_one_test): Break out result checking code into ...
57161 (check_result): This. New function.
57162 (do_one_test): Call check_result.
57163 (test_main): Call check1.
57164 * string/bug-strstr1.c (main): Moved to ...
57165 * string/test-strstr.c (check1): Here. New function.
57166 (do_one_test): Break out result checking code into ...
57167 (check_result): This. New function.
57168 (do_one_test): Call check_result.
57169 (test_main): Call check1.
57170 * string/bug-strcasestr1.c: Removed.
57171 * string/bug-strchr1.c: Likewise.
57172 * string/bug-strstr1.c: Likewise.
57174 * elf/Makefile (dl-routines): Add hwcaps.
57175 * elf/dl-support.c (_dl_important_hwcaps): Removed.
57176 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57177 (_dl_important_hwcaps): Moved to ...
57178 * elf/dl-hwcaps.c: Here. New file.
57179 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57182 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57183 if IS_IN_rtld isn't defined.
57185 * elf/dl-support.c (_dl_sysinfo_map): New.
57186 Include "get-dynamic-info.h" and "setup-vdso.h".
57187 (_dl_non_dynamic_init): Call setup_vdso.
57188 * elf/dynamic-link.h: Don't include <assert.h>.
57189 (elf_get_dynamic_info): Moved to ...
57190 * elf/get-dynamic-info.h: Here. New file.
57191 * elf/dynamic-link.h: Include "get-dynamic-info.h".
57192 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57193 * elf/setup-vdso.h: Here. New file.
57194 * elf/rtld.c: Include "setup-vdso.h".
57195 (dl_main): Call setup_vdso.
57197 2012-10-05 Joseph Myers <joseph@codesourcery.com>
57199 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57200 creal in comment listing functions tested. List finite, isinf,
57201 isnan, isless, islessequal, isgreater, isgreaterequal,
57202 islessgreater, isunordered, lgamma_r and pow10 as functions and
57203 macros not tested. Mention which functions not tested are aliases
57204 for other functions. Fix typo. Note that signs of NaNs are not
57207 * scripts/config.guess: Update from config.git.
57208 * scripts/config.sub: Likewise.
57210 2012-10-04 Roland McGrath <roland@hack.frob.com>
57212 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57213 * misc/madvise.c (madvise): Renamed to __madvise.
57214 Make madvise a weak alias.
57215 * include/sys/mman.h: Declare __madvise.
57216 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57217 * sysdeps/unix/syscalls.list
57218 (madvise): Make __madvise the strong name, and madvise a weak alias.
57219 * sysdeps/unix/sysv/linux/syscalls.list
57220 (madvise, mmap): Remove redundant entries.
57221 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57222 * malloc/malloc.c (mtrim): Likewise.
57223 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57225 2012-10-03 Roland McGrath <roland@hack.frob.com>
57227 * sysdeps/mach/hurd/dl-cache.c: File removed.
57228 * config.h.in (USE_LDCONFIG): New #undef.
57229 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57230 * configure: Regenerated.
57231 * elf/Makefile (dl-routines): Add dl-cache only under
57232 [$(use-ldconfig) = yes].
57233 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57234 cache on [USE_LDCONFIG].
57235 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57237 * elf/rtld.c (dl_main): Likewise.
57239 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
57241 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57242 _SC_LEVEL4_CACHE_LINESIZE.
57244 2012-10-03 Roland McGrath <roland@hack.frob.com>
57246 * sysdeps/unix/bsd/confstr.h: File removed.
57248 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
57250 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57253 2012-10-02 Roland McGrath <roland@hack.frob.com>
57255 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57256 Make 'mapoff' field ElfW(Off) rather than off_t.
57258 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
57260 * nscd/Makefile: Remove nscd-cflags and all its users.
57261 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57262 (CFLAGS-nonlib): Add compiler flags for nscd modules.
57265 * malloc.c (malloc_printerr): Clarify error message.
57267 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
57270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57271 Set bit_FMA_Usable if FMA is supported.
57272 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57274 (bit_FMA4_Usable): Updated.
57275 (index_FMA_Usable): New macro.
57276 (CPUID_FMA): Likewise.
57277 (HAS_FMA): Defined with bit_FMA_Usable.
57279 2012-10-01 Roland McGrath <roland@hack.frob.com>
57281 * bits/types.h (__swblk_t): Type removed.
57282 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57283 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57285 (__SWBLK_T_TYPE): Likewise.
57286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57287 (__SWBLK_T_TYPE): Likewise.
57288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57289 (__SWBLK_T_TYPE): Likewise.
57290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57291 (__SWBLK_T_TYPE): Likewise.
57293 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
57294 Honza Horak <hhorak@redhat.com>
57296 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57297 (xdr_mapname): Use YPMAXMAP as maxsize.
57298 (xdr_peername): Use YPMAXPEER as maxsize.
57299 (xdr_keydat): Use YPAXRECORD as maxsize.
57300 (xdr_valdat): Use YPMAXRECORD as maxsize.
57302 2012-10-01 Roland McGrath <roland@hack.frob.com>
57304 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57306 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57307 * csu/init-first.c: ... here.
57308 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57309 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57310 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57311 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57312 * sysdeps/i386/init-first.c: File removed.
57313 * sysdeps/sh/init-first.c: File removed.
57315 2012-10-01 Joseph Myers <joseph@codesourcery.com>
57318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57319 if x * y might underflow to zero and z is zero.
57320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57322 * math/libm-test.inc (min_subnorm_value): New variable.
57323 (fma_test): Add more tests.
57324 (fma_test_towardzero): Likewise.
57325 (fma_test_downward): Likewise.
57326 (fma_test_upward): Likewise.
57327 (initialize): Set min_subnorm_value.
57329 2012-09-29 Joseph Myers <joseph@codesourcery.com>
57332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57335 mode for addition resulting in exact zero.
57336 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57339 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57341 * math/libm-test.inc (fma_test): Add more tests.
57342 (fma_test_towardzero): New function.
57343 (fma_test_downward): Likewise.
57344 (fma_test_upward): Likewise.
57345 (main): Call the new functions.
57347 2012-09-28 David S. Miller <davem@davemloft.net>
57349 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57351 2012-09-28 Roland McGrath <roland@hack.frob.com>
57353 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57354 instead of SIGALRM.
57356 * sysdeps/gnu/_G_config.h: Moved to ...
57357 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57358 * sysdeps/mach/hurd/_G_config.h: Moved to ...
57359 * sysdeps/generic/_G_config.h: ... here.
57361 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
57363 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57365 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57366 Conditionalize target on [libnss_test1.so-version].
57368 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57370 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57371 (elfobjdir): Move out of conditionals.
57373 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57374 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57375 (__nss_lookup_function): Conditionalize label remove_from_tree on
57376 [!DO_STATIC_NSS || SHARED], matching its only use.
57378 2012-09-28 David S. Miller <davem@davemloft.net>
57380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57381 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57383 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57385 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57387 when HWCAP_SPARC_CRYPTO is present.
57389 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57391 * io/tst-mknodat.c: Create a FIFO instead of a socket.
57393 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
57396 * stdio-common/vfprintf.c (process_string_arg): Revert
57399 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
57401 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57403 * stdio-common/tst-sprintf.c: Include <locale.h>
57404 (main): Test sprintf's handling of incomplete multibyte
57407 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
57409 * elf/dl-runtime.c (VERSYMIDX): Removed.
57410 * elf/dl-version.c (VERSYMIDX): Likewise.
57411 * elf/do-rel.h (VERSYMIDX): Likewise.
57412 (VALIDX): Likewise.
57413 * elf/dynamic-link.h (VERSYMIDX): Likewise.
57414 * elf/rtld.c (VALIDX): Likewise.
57415 (ADDRIDX): Likewise.
57416 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57417 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57418 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57419 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57420 (VALIDX): Likewise.
57421 (ADDRIDX): Likewise.
57423 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57425 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57427 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
57430 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57432 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57433 addresses are in the same scope as 192.0.2/24.
57434 * posix/gai.conf: Document new scope table defaults.
57436 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57439 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57440 for ftell. Compute offsets from write pointers instead.
57441 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57443 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57446 * libio/Makefile (tests): New test case tst-fseek.
57447 * libio/tst-fseek.c: New test case to verify that fseek/ftell
57448 combination works in wide mode.
57449 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57450 state when the external buffer state changes.
57452 2012-09-27 David S. Miller <davem@davemloft.net>
57455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57456 pass reloc->r_addend in as the 'high' argument to
57457 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57461 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57463 * rt/tst-aio2.c: Include <pthread.h>.
57464 * rt/tst-aio3.c: Likewise.
57466 2012-09-27 Steve Ellcey <sellcey@mips.com>
57468 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57470 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
57472 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57473 contents on [SHARED].
57475 2012-09-26 Marek Polacek <polacek@redhat.com>
57479 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57480 for C++ and GCC <4.3 as well as for non GCC compilers.
57482 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57486 2012-09-25 Roland McGrath <roland@hack.frob.com>
57488 * Makefile.in (all, install): Declare with .PHONY.
57489 Reported by Michael Hope <michael.hope@linaro.org>.
57491 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57493 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57494 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57496 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57498 (sydep_routines): Add the new and the internal functions.
57499 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57500 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57502 (GLIBC_2.17): Add the new function.
57503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57504 (GLIBC_2.17): Likewise.
57505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57506 (GLIBC_2.17): Likewise.
57507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57508 (GLIBC_2.17): Likewise.
57509 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57511 2012-09-25 Alan Modra <amodra@gmail.com>
57513 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57514 Add release barrier before setting once_control to say
57515 initialisation is done. Add hints on lwarx. Use macro in
57517 (clear_once_control): Add release barrier.
57519 2012-09-25 Joseph Myers <joseph@codesourcery.com>
57522 * math/s_clog.c (__clog): Handle more values close to |z| = 1
57524 * math/s_clog10.c (__clog10): Likewise.
57525 * math/s_clog10f.c (__clog10f): Likewise.
57526 * math/s_clog10l.c (__clog10l): Likewise.
57527 * math/s_clogf.c (__clogf): Likewise.
57528 * math/s_clogl.c (__clogl): Likewise.
57529 * math/Makefile (libm-calls): Add x2y2m1.
57530 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57531 (__x2y2m1): Likewise.
57532 (__x2y2m1l): Likewise.
57533 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57534 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57535 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57537 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57538 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57539 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57540 * sysdeps/i386/fpu/libm-test-ulps: Update.
57541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57544 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57545 int as type of variable DEPTH.
57546 (glob): Use size_t instead of int as type of variables NEWCOUNT
57549 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57551 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57552 Add s_sincosf-sse2.
57553 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57554 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57555 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57556 macros for using routine as __sincosf_ia32.
57557 Use macro for function declaration and weak_alias.
57558 * sysdeps/i386/fpu/libm-test-ulps: Update.
57560 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57563 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57564 subnormal argument.
57565 * math/s_cexpf.c (__cexpf): Likewise.
57566 * math/s_csinf.c (__csinf): Likewise.
57567 * math/s_csinhf.c (__csinhf): Likewise.
57568 * math/s_ctanf.c (__ctanf): Likewise.
57569 * math/s_ctanhf.c (__ctanhf): Likewise.
57570 * math/s_ccosh.c (__ccoshf): Likewise.
57571 * math/s_cexp.c (__cexpl): Likewise.
57572 * math/s_csin.c (__csin): Likewise.
57573 * math/s_csinh.c (__csinh): Likewise.
57574 * math/s_ctan.c (__ctan): Likewise.
57575 * math/s_ctanh.c (ctanh): Likewise.
57576 * math/s_ccoshl.c (__ccoshl): Likewise.
57577 * math/s_cexpl.c (__cexpl): Likewise.
57578 * math/s_csinl.c (__csinl): Likewise.
57579 * math/s_csinhl.c (__csinhl): Likewise.
57580 * math/s_ctanl.c (__ctanl): Likewise.
57581 * math/s_ctanhl.c (__ctanhl): Likewise.
57583 2012-09-25 Joseph Myers <joseph@codesourcery.com>
57585 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57586 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57587 (_IO_off_t): Define to __off_t, not _G_off_t.
57588 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57589 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57590 (_IO_wint_t): Define to wint_t, not _G_wint_t.
57591 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57592 type of __dummy and __dummy2 fields.
57593 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57594 (_G_ssize_t): Likewise.
57595 (_G_off_t): Likewise.
57596 (_G_pid_t): Likewise.
57597 (_G_uid_t): Likewise.
57598 (_G_wchar_t): Likewise.
57599 (_G_wint_t): Likewise.
57600 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57601 (_G_ssize_t): Likewise.
57602 (_G_off_t): Likewise.
57603 (_G_pid_t): Likewise.
57604 (_G_uid_t): Likewise.
57605 (_G_wchar_t): Likewise.
57606 (_G_wint_t): Likewise.
57607 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57608 (_G_ssize_t): Likewise.
57609 (_G_off_t): Likewise.
57610 (_G_pid_t): Likewise.
57611 (_G_uid_t): Likewise.
57612 (_G_wchar_t): Likewise.
57613 (_G_wint_t): Likewise.
57615 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57617 * malloc/arena.c: Include malloc-sysdep.h.
57618 (shrink_heap): Use check_may_shrink_heap to decide if madvise
57619 is sufficient to shrink the heap or an unmap is needed.
57620 * sysdeps/generic/malloc-sysdep.h: New file. Define
57621 new function check_may_shrink_heap.
57622 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
57623 new function check_may_shrink_heap.
57625 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57627 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57630 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
57632 * catgets/test-gencat.sh: Add "set -e".
57633 * elf/tst-pathopt.sh: Likewise.
57634 * grp/tst_fgetgrent.sh: Likewise.
57635 * iconvdata/run-iconv-test.sh: Likewise.
57636 * intl/tst-gettext.sh: Likewise.
57637 * intl/tst-gettext2.sh: Likewise.
57638 * intl/tst-gettext4.sh: Likewise.
57639 * intl/tst-gettext6.sh: Likewise.
57640 * intl/tst-translit.sh: Likewise.
57641 * io/ftwtest-sh: Likewise.
57642 * libio/test-freopen.sh: Likewise.
57643 * malloc/tst-mtrace.sh: Likewise.
57644 * posix/globtest.sh: Likewise.
57645 * posix/tst-getconf.sh: Likewise.
57646 * posix/wordexp-tst.sh: Likewise.
57647 * stdio-common/tst-printf.sh: Likewise.
57648 * stdio-common/tst-unbputc.sh: Likewise.
57649 * stdlib/tst-fmtmsg.sh: Likewise.
57650 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57651 * catgets/Makefile: Do not specify -e option when running
57652 testsuite shell scripts.
57653 * elf/Makefile: Likewise.
57654 * grp/Makefile: Likewise.
57655 * iconvdata/Makefile: Likewise.
57656 * intl/Makefile: Likewise.
57657 * io/Makefile: Likewise.
57658 * libio/Makefile: Likewise.
57659 * malloc/Makefile: Likewise.
57660 * posix/Makefile: Likewise.
57661 * stdio-common/Makefile: Likewise.
57662 * stdlib/Makefile: Likewise.
57663 * sysdeps/x86_64/Makefile: Likewise.
57665 * io/ftwtest-sh: Add copyright header.
57666 * posix/globtest.sh: Likewise.
57667 * posix/tst-getconf.sh: Likewise.
57668 * posix/wordexp-tst.sh: Likewise.
57669 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57671 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
57674 * Makeconfig (+link): Defined as $(+link-static) if
57675 $(build-shared) isn't yes.
57676 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57678 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57680 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57683 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57684 new chunk size with MALLOC_ALIGN_MASK.
57686 2012-09-24 Joseph Myers <joseph@codesourcery.com>
57689 * stdio-common/printf_fphex.c: Include <stdbool.h> and
57691 (__printf_fphex): Determine rounding using get_rounding_mode and
57693 * stdio-common/tst-printf-round.c (struct hex_test): New
57695 (hex_tests): New variable.
57696 (test_hex_in_one_mode): New function.
57697 (do_test): Also run tests for hex float output.
57699 2012-09-21 Joseph Myers <joseph@codesourcery.com>
57701 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57702 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57703 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57704 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57705 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57706 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57707 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57708 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57710 2012-09-20 Joseph Myers <joseph@codesourcery.com>
57712 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57713 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57714 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57715 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57717 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
57720 * elf/rtld.c (dl_main): Limit the check for self loading to normal
57722 * elf/tst-rtld-load-self.sh: New test.
57723 * elf/Makefile: Run it.
57725 2012-09-18 Joseph Myers <joseph@codesourcery.com>
57727 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57728 (tst-writev-ENV): Remove.
57729 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57731 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
57733 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57735 2012-09-17 Joseph Myers <joseph@codesourcery.com>
57737 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57739 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57741 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57742 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57743 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57746 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
57749 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57750 * config.make.in (have-cpp-asm-debuginfo): Removed.
57751 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57752 * configure: Regenerated.
57754 2012-09-14 Joseph Myers <joseph@codesourcery.com>
57757 * stdio-common/printf_fp.c: Include <stdbool.h> and
57759 (___printf_fp): Determine rounding using get_rounding_mode and
57761 * stdio-common/tst-printf-round.c: New file.
57762 * stdio-common/Makefile (tests): Add tst-printf-round.
57763 (link-libm): New variable.
57764 ($(objpfx)tst-printf-round): Depend in $(link-libm).
57766 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
57769 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57770 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57772 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57775 2012-09-13 Joseph Myers <joseph@codesourcery.com>
57777 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57778 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57779 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57780 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57782 2012-09-12 Joseph Myers <joseph@codesourcery.com>
57785 * include/rounding-mode.h: New file.
57786 * sysdeps/generic/get-rounding-mode.h: Likewise.
57787 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57788 * stdlib/strtod_l.c: Include <rounding-mode.h>.
57789 (MAX_VALUE): New macro.
57790 (MIN_VALUE): Likewise.
57791 (overflow_value): New function.
57792 (underflow_value): Likewise.
57793 (round_and_return): Use overflow_value and underflow_value to
57794 determine return values in overflow and underflow cases. Use
57795 round_away to determine rounding depending on rounding mode.
57796 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57797 determine return values in overflow and underflow cases.
57798 * stdlib/tst-strtod-round.c: Include <fenv.h>.
57799 (struct test_results): New structure.
57800 (struct test): Use struct test_results to store expected results
57801 for all rounding modes.
57802 (TEST): Include expected results for all rounding modes.
57803 (test_in_one_mode): New function.
57804 (do_test): Use test_in_one_mode to compute and check results.
57805 Check results for all rounding modes.
57806 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57809 2012-12-09 Allan McRae <allan@archlinux.org>
57811 * sysdeps/i386/fpu/libm-test-ulps: Update
57813 2012-09-11 Joseph Myers <joseph@codesourcery.com>
57815 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57816 (_G_int32_t): Likewise.
57817 (_G_uint16_t): Likewise.
57818 (_G_uint32_t): Likewise.
57819 (_G_HAVE_BOOL): Likewise.
57820 (_G_HAVE_ATEXIT): Likewise.
57821 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57822 (_G_HAVE_IO_FILE_OPEN): Likewise.
57823 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57824 (_G_int32_t): Likewise.
57825 (_G_uint16_t): Likewise.
57826 (_G_uint32_t): Likewise.
57827 (_G_HAVE_BOOL): Likewise.
57828 (_G_HAVE_ATEXIT): Likewise.
57829 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57830 (_G_HAVE_IO_FILE_OPEN): Likewise.
57831 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57832 (_G_int32_t): Likewise.
57833 (_G_uint16_t): Likewise.
57834 (_G_uint32_t): Likewise.
57835 (_G_HAVE_BOOL): Likewise.
57836 (_G_HAVE_ATEXIT): Likewise.
57837 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57838 (_G_HAVE_IO_FILE_OPEN): Likewise.
57840 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
57842 * csu/libc-tls.c: Update copyright years.
57844 2012-09-10 Joseph Myers <joseph@codesourcery.com>
57846 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57847 [!_G_USING_THUNKS]: Remove conditional code.
57848 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57849 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57851 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57852 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57853 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57854 (_G_VTABLE_LABEL_PREFIX): Likewise.
57855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57856 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57857 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57858 (_G_VTABLE_LABEL_PREFIX): Likewise.
57859 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57860 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57861 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57862 (_G_VTABLE_LABEL_PREFIX): Likewise.
57863 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57865 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
57867 * libio/Makefile: Include ../Makeconfig before tests.
57868 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57869 only if $(build-shared) is yes.
57871 * iconv/gconv_db.c: Update copyright years.
57873 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57875 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57876 unwind info if defined PIC. Fix special cases description.
57877 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57879 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57881 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57883 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
57885 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57887 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57890 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57891 (LDLIBS-tst-chk4): This.
57892 (LDFLAGS-tst-chk5): Renamed to ...
57893 (LDLIBS-tst-chk5): This.
57894 (LDFLAGS-tst-chk6): Renamed to ...
57895 (LDLIBS-tst-chk6): This.
57896 (LDFLAGS-tst-lfschk4): Renamed to ...
57897 (LDLIBS-tst-lfschk4): This.
57898 (LDFLAGS-tst-lfschk5): Renamed to ...
57899 (LDLIBS-tst-lfschk5): This.
57900 (LDFLAGS-tst-lfschk6): Renamed to ...
57901 (LDLIBS-tst-lfschk6): This.
57903 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57904 on $(common-objpfx)soversions.mk.
57906 2012-09-07 Joseph Myers <joseph@codesourcery.com>
57909 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57912 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
57914 * malloc/arena.c (arena_get_retry): New function that gets
57915 another arena for the caller to try its request on.
57916 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57917 current arena cannot fulfill the request.
57918 (__libc_memalign): Likewise.
57919 (__libc_memalign): Likewise.
57920 (__libc_pvalloc): Likewise.
57921 (__libc_calloc): Likewise.
57923 2012-09-05 John Tobey <john.tobey@gmail.com>
57926 * manual/arith.texi (Operations on Complex): Fix description
57927 of carg branch cut.
57929 2012-09-06 Joseph Myers <joseph@codesourcery.com>
57932 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57936 * manual/memory.texi (Memory): Make order of menu items match
57939 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
57941 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57942 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
57943 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57945 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
57947 * csu/libc-tls.c (static_dtv): Renamed to ...
57948 (_dl_static_dtv): This. Make it global.
57949 (_dl_initial_dtv): Removed.
57950 (__libc_setup_tls): Updated.
57951 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57952 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57955 2012-09-06 Petr Machata <pmachata@redhat.com>
57957 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57958 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57959 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57960 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57962 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
57965 * csu/libc-tls.c (_dl_initial_dtv): New variable.
57966 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57969 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
57972 * Makeconfig (link-static-before-libc): Replace $(+prector)
57974 (link-static-after-libc): Replace $(+postctor) with
57976 (link-bounded): Replace $(+prector)/$(+postctor) with
57977 $(+prectorT)/$(+postctorT).
57978 (+prectorT): New macro.
57979 (+postctorT): Likewise.
57981 2012-09-06 Joseph Myers <joseph@codesourcery.com>
57983 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57984 (round_str): Handle values above the maximum for IBM long double
57986 * stdlib/tst-strtod-round.c (tests): Regenerated.
57988 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57990 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57992 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57993 zarch_nohighgprs around the zarch optimized routines.
57994 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57995 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57999 2012-09-05 David S. Miller <davem@davemloft.net>
58001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58003 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58004 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58005 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58006 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58009 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58011 * malloc/arena.c: Fold copyright years.
58012 * malloc/mcheck.c, malloc/memusage.c: Likewise.
58014 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58016 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58018 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58020 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
58022 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58024 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58025 change internal state upon failure.
58027 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58029 * malloc/mcheck.c (mcheck_check_all): Fix typo.
58030 * malloc/memusage.c (mmap): Likewise.
58031 (mmap64, mremap): Likewise. Adjust name in comment.
58033 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58035 * libio/fileops.c: Fix typos in comments.
58036 * libio/oldfileops.c: Likewise.
58037 * libio/wfileops.c: Likewise.
58039 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58042 * malloc/Makefile (tests): Add tst-malloc-usable test case.
58043 (tst-malloc-usable-ENV): Set environment for test case.
58044 * malloc/hooks.c (malloc_check_get_size): New function to get
58046 * malloc/malloc.c (musable): Use malloc_check_get_size.
58047 * malloc/tst-malloc-usable.c: New test case.
58049 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58051 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58053 2012-09-05 Allan McRae <allan@archlinux.org>
58056 * configure.in (CXX_SYSINCLUDES): Use compiler output to
58057 determine header location.
58058 * configure: Regenerated.
58060 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58062 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58064 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58065 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58067 (test): Regenerate.
58069 2012-09-04 David S. Miller <davem@davemloft.net>
58071 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58072 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58073 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58075 2012-09-04 Florian Weimer <fweimer@redhat.com>
58077 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58080 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58082 2012-09-04 Joseph Myers <joseph@codesourcery.com>
58085 * libio/iogetdelim.c: Include <limits.h>.
58086 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58087 + len + 1 would overflow.
58089 2012-09-03 Andreas Jaeger <aj@suse.de>
58091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58092 * sysdeps/i386/fpu/libm-test-ulps: Update.
58094 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58096 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58097 Add s_sinf-sse2, s_conf-sse2.
58099 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58100 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58101 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58102 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58104 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58105 for using routine as __sinf_ia32.
58106 Use macro for function declaration and weak_alias.
58107 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58108 for using routine as __cosf_ia32.
58109 Use macro for function declaration and weak_alias.
58111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58112 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58114 * sysdeps/x86_64/fpu/s_sinf.S: New file.
58115 * sysdeps/x86_64/fpu/s_cosf.S: New file.
58116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58118 * math/libm-test.inc (cos_test): Add more test cases.
58119 (sin_test): Likewise.
58120 (sincos_test): Likewise.
58122 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58124 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58125 (IFUNC_RESOLVE): Make pointers to the specialized implementations
58127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58129 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
58132 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58133 first element of the GOT.
58134 (elf_machine_load_address): Return the difference between
58135 the runtime address of _DYNAMIC and elf_machine_dynamic ().
58137 2012-09-01 Allan McRae <allan@archlinux.org>
58140 * configure.in (AWK): Require gawk version 3.0 or later.
58141 * configure: Regenerated.
58143 2012-09-01 Joseph Myers <joseph@codesourcery.com>
58145 * sysdeps/unix/sysv/linux/kernel-features.h
58146 (__ASSUME_POSIX_CPU_TIMERS): Remove.
58147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58148 [__NR_clock_getres]: Make code unconditional.
58149 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58150 (clock_getcpuclockid): Remove code left unreachable by removal of
58152 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58153 code unconditional.
58154 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58155 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58156 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58157 Make code unconditional.
58158 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58159 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58160 * sysdeps/unix/sysv/linux/clock_settime.c
58161 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58163 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58164 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58166 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
58169 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58170 scripts/test-installation.pl.
58172 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58173 and $ld_so_version if it is set.
58175 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58179 failure if reading from procfs failed.
58180 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58182 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58184 * sysdeps/unix/sysv/linux/kernel-features.h
58185 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58186 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58187 Remove conditional code.
58188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58189 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58190 Remove conditional code.
58191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58192 * sysdeps/unix/sysv/linux/i386/fxstat.c
58193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58195 * sysdeps/unix/sysv/linux/i386/fxstatat.c
58196 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58198 * sysdeps/unix/sysv/linux/i386/lxstat.c
58199 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58201 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58202 Remove conditional code.
58203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58204 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58205 Remove conditional code.
58206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58207 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58208 <kernel-features.h>.
58209 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58211 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58212 Remove conditional code.
58213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58214 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58215 Remove conditional.
58217 2012-08-27 Mike Frysinger <vapier@gentoo.org>
58220 * NEWS: Add fixed bug number.
58222 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58225 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58226 underflowing exponent in case of negative sign.
58227 * stdlib/tst-strtod-round-data: Add more tests.
58228 * stdlib/tst-strtod-round.c (tests): Regenerated.
58231 * stdlib/strtod_l.c (NDIG): Remove.
58232 (HEXNDIG): Likewise.
58233 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58234 smallest representable value.
58235 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58236 lie within an exact representation of 1/2 ulp of the result.
58237 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58239 (TENS_P9_IDX): Define unconditionally.
58240 (TENS_P9_SIZE): Likewise.
58241 (TENS_P10_IDX): Likewise.
58242 (TENS_P10_SIZE): Likewise.
58243 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58244 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58245 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58246 entries for 10^2^13 and 10^2^14.
58247 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58248 (TENS_P13_IDX): Define.
58249 (TENS_P13_SIZE): Likewise.
58250 (TENS_P14_IDX): Likewise.
58251 (TENS_P14_SIZE): Likewise.
58252 (_fpioconst_pow10): Change array size to
58253 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
58255 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58256 1024]: Add entries for 10^2^13 and 10^2^14.
58257 [LAST_POW10 > _LAST_POW10]: Remove #error.
58258 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58259 (_fpioconst_pow10): Change array size to
58260 FPIOCONST_POW10_ARRAY_SIZE.
58261 * stdlib/gen-fpioconst.c: New file.
58262 * stdlib/gen-tst-strtod-round.c: Likewise.
58263 * stdlib/tst-strtod-round-data: Likewise.
58264 * stdlib/tst-strtod-round.c: Likewise.
58265 * stdlib/Makefile (tests): Add tst-strtod-round.
58268 * stdlib/strtod_l.c: Include <stdint.h>.
58269 (NDEBUG): Do not define.
58270 (round_and_return): Change EXPONENT parameter to type intmax_t.
58271 Rearrange calculations to avoid internal overflow possibilities.
58272 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58273 Rearrange calculations to avoid internal overflow possibilities.
58274 Assert that number fits inside MPNSIZE limbs.
58275 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58276 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
58277 calculations and add assertions to avoid internal overflow
58278 possibilities. Add casts to avoid signed/unsigned operations.
58279 * stdlib/tst-strtod-overflow.c: New file.
58280 * stdlib/Makefile (tests): Add tst-strtod-overflow.
58282 2012-08-25 Marek Polacek <polacek@redhat.com>
58284 * time/time.h: Fix some typos in comments.
58286 2012-08-23 Roland McGrath <roland@hack.frob.com>
58288 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58289 * posix/tst-rfc3484-2.c: Likewise.
58290 * posix/tst-rfc3484-3.c: Likewise.
58292 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
58294 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58295 (EF_ARM_ABI_FLOAT_HARD): Likewise.
58297 2012-08-23 Joseph Myers <joseph@codesourcery.com>
58299 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58300 #include of fxstatat64.c.
58302 2012-08-22 Roland McGrath <roland@hack.frob.com>
58304 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58305 * shadow/getspent_r.c: Likewise.
58306 * shadow/getspnam.c: Likewise.
58307 * shadow/getspnam_r.c: Likewise.
58308 * gshadow/getsgent.c: Likewise.
58309 * gshadow/getsgent_r.c: Likewise.
58310 * gshadow/getsgnam.c: Likewise.
58311 * gshadow/getsgnam_r.c: Likewise.
58312 * inet/getnetbyad.c: Likewise.
58313 * inet/getnetbyad_r.c: Likewise.
58314 * inet/getnetbynm.c: Likewise.
58315 * inet/getnetbynm_r.c: Likewise.
58316 * inet/getnetent.c: Likewise.
58317 * inet/getnetent_r.c: Likewise.
58318 * inet/getproto.c: Likewise.
58319 * inet/getproto_r.c: Likewise.
58320 * inet/getprtent.c: Likewise.
58321 * inet/getprtent_r.c: Likewise.
58322 * inet/getprtname.c: Likewise.
58323 * inet/getprtname_r.c: Likewise.
58324 * inet/getrpcbyname.c: Likewise.
58325 * inet/getrpcbyname_r.c: Likewise.
58326 * inet/getrpcbynumber.c: Likewise.
58327 * inet/getrpcbynumber_r.c: Likewise.
58328 * inet/getrpcent.c: Likewise.
58329 * inet/getrpcent_r.c: Likewise.
58330 * inet/getaliasent.c: Likewise.
58331 * inet/getaliasent_r.c: Likewise.
58332 * inet/getaliasname.c: Likewise.
58333 * inet/getaliasname_r.c: Likewise.
58334 * nscd/getgrgid_r.c: Likewise.
58335 * nscd/getgrnam_r.c: Likewise.
58336 * nscd/gethstbyad_r.c: Likewise.
58337 * nscd/gethstbynm3_r.c: Likewise.
58338 * nscd/getpwnam_r.c: Likewise.
58339 * nscd/getpwuid_r.c: Likewise.
58340 * nscd/getsrvbynm_r.c: Likewise.
58341 * nscd/getsrvbypt_r.c: Likewise.
58342 * nscd/gai.c: Likewise.
58344 * configure.in (build_nscd): New substituted variable, set
58345 by --disable-build-nscd and defaults to $use_nscd.
58346 * configure: Regenerated.
58347 * config.make.in (build-nscd): New substituted variable.
58348 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58349 Change conditional to require [$(build-nscd) = yes] as well.
58350 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58353 * configure.in (use_nscd): New substituted variable, set by
58354 --disable-nscd. If enabled, define USE_NSCD.
58355 * configure: Regenerated.
58356 * config.h.in: Add USE_NSCD.
58357 * config.make.in (use-nscd): New substituted variable.
58358 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58359 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58360 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58361 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58362 (CFLAGS-getgrnam_r.c): Likewise.
58363 (CFLAGS-initgroups.c): Likewise.
58364 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58365 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58367 * inet/getnetgrent_r.c
58368 (nscd_setnetgrent): New function, broken out of ...
58369 (setnetgrent): ... here. Call it.
58370 (innetgr): Conditionalize nscd bits on [USE_NSCD].
58371 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58372 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58373 * nscd/Makefile (routines, aux): Move definitions after include of
58374 Makeconfig. Conditionalize on [$(use-nscd) != no].
58375 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58376 Conditionalize on [USE_NSCD].
58377 (is_nscd, nscd_init_cb): Likewise.
58378 (nss_load_library): Conditionalize init callback on [USE_NSCD].
58379 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58380 * nss/nss_db/db-init.c: Likewise.
58381 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58383 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58384 (make_request): Use it.
58385 (cache_valid_p): New function.
58386 (__check_pf): Use it.
58387 * NEWS: Add item for --disable-nscd.
58389 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
58391 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58392 to support sed >= 4.2.1-20-ga9bf076.
58393 * configure: Regenerated.
58395 2012-08-22 Roland McGrath <roland@hack.frob.com>
58397 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58398 Conditionalize whole body on [IREL].
58400 2012-08-22 Jeff Law <law@redhat.com>
58403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58404 if the family is PF_UNSPEC.
58406 2012-08-22 Mike Frysinger <vapier@gentoo.org>
58408 * Makerules (lib-version): Rename from V.
58409 (install-lib-nosubdir): Change V to lib-version.
58411 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
58414 * powerpc32/power6/wcschr.c: New file.
58415 * powerpc32/power6/wcscpy.c: New file.
58416 * powerpc32/power6/wcsrchr.c: New file.
58417 * powerpc64/power6/wcschr.c: New file.
58418 * powerpc64/power6/wcscpy.c: New file.
58419 * powerpc64/power6/wcsrchr.c: New file.
58421 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
58423 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58424 (two_way_short_needle): Use it.
58425 * string/strstr.c (AVAILABLE1_USES_J): Define.
58426 * string/strcasestr.c: Likewise.
58428 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58430 * string/strcasestr.c (TOLOWER): Make side-effect safe.
58433 * NEWS: Add an entry.
58434 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58435 define their defaults.
58436 (two_way_short_needle): Detect end-of-string on-the-fly.
58437 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58438 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58439 * string/bug-strcasestr1.c: New test.
58440 * string/Makefile: Run it.
58442 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
58445 * string/str-two-way.h (two_way_short_needle): Optimize matching of
58446 the first character.
58448 2012-08-21 Roland McGrath <roland@hack.frob.com>
58450 * csu/elf-init.c (__libc_csu_irel): Function removed.
58451 * csu/libc-start.c (apply_irel): New function.
58452 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58454 2012-08-21 Joseph Myers <joseph@codesourcery.com>
58456 * sysdeps/unix/sysv/linux/kernel-features.h
58457 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58458 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58459 <kernel-features.h>.
58460 [__NR_fadvise64_64]: Make code unconditional.
58461 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58462 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58463 !__NR_fadvise64_64)]: Likewise.
58464 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58465 !__NR_fadvise64_64))]: Likewise.
58466 [__NR_fadvise64]: Make code unconditional.
58467 [!__NR_fadvise64]: Remove conditional code.
58468 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58469 <kernel-features.h>.
58470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58475 not include <kernel-features.h>.
58476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58480 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58481 include <kernel-features.h>.
58482 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58484 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58487 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58490 slight instruction rearrangements per scrollpipe analysis.
58491 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58493 2012-08-20 Roland McGrath <roland@hack.frob.com>
58495 * manual/syslog.texi (syslog; vsyslog, closelog):
58496 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58497 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58499 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58500 DSOCAPS to match condition on defining it.
58502 2012-08-20 Joseph Myers <joseph@codesourcery.com>
58504 * sysdeps/unix/sysv/linux/kernel-features.h
58505 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58510 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58511 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58513 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58514 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58516 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58517 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58519 * sysdeps/unix/sysv/linux/kernel-features.h
58520 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58521 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58523 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58524 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58525 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58526 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58527 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58528 Make code unconditional.
58529 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58530 (__mmap64) [!__NR_mmap2]: Likewise.
58531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58532 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58533 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58534 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58535 [__NR_mmap2]: Make code unconditional.
58536 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58537 (__mmap64) [!__NR_mmap2]: Likewise.
58539 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58541 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58543 2012-08-18 Andreas Jaeger <aj@suse.de>
58545 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58547 2012-08-18 Mike Frysinger <vapier@gentoo.org>
58549 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58550 * include/unistd.h (__have_sock_cloexec): Likewise.
58551 (__have_pipe2): Likewise.
58552 (__have_dup3): Likewise.
58554 2012-08-18 Mike Frysinger <vapier@gentoo.org>
58557 * include/unistd.h (__have_pipe2): Change define into an extern int.
58558 (__have_dup3): Likewise.
58559 * socket/have_sock_cloexec.c: Include fcntl.h.
58560 (__have_pipe2): New variable.
58561 (__have_dup3): Likewise.
58563 2012-08-17 Mike Frysinger <vapier@gentoo.org>
58565 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58567 2012-08-17 Marek Polacek <polacek@redhat.com>
58569 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58570 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58572 2012-08-17 Roland McGrath <roland@hack.frob.com>
58574 * configure.in: Add AC_SUBST for sysheaders.
58575 * configure: Regenerated.
58576 * config.make.in (sysheaders): New substituted variable.
58578 * sysdeps/unix/mkfifo.c: Moved ...
58579 * sysdeps/posix/mkfifo.c: ... here.
58580 * sysdeps/unix/mkfifoat.c: Moved ...
58581 * sysdeps/posix/mkfifoat.c: ... here.
58583 * sysdeps/unix/utime.c: Moved ...
58584 * sysdeps/posix/utime.c: ... here.
58586 * sysdeps/unix/time.c: Moved ...
58587 * sysdeps/posix/time.c: ... here.
58588 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58589 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58591 * sysdeps/unix/nice.c: Moved ...
58592 * sysdeps/posix/nice.c: ... here.
58594 * sysdeps/unix/alarm.c: Moved ...
58595 * sysdeps/posix/alarm.c: ... here.
58597 * intl/Makefile ($(codeset_mo)): Depend on the input file.
58599 2012-08-17 Jeff Law <law@redhat.com>
58601 * intl/Makefile (codeset_mo): New variable.
58602 ($(codeset_mo)): New target.
58603 (tst-codeset.out): Depend on that. Remove explicit rule.
58604 (tst-gettext3.out, tst-gettext5.out): Likewise.
58605 (LOCPATH-ENV, tst-codeset-ENV): New variables.
58606 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58607 * intl/tst-codeset.sh: Remove.
58608 * intl/tst-gettext3.sh: Likewise.
58609 * intl/tst-gettext5.sh: Likewise.
58611 2012-08-17 Roland McGrath <roland@hack.frob.com>
58613 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
58614 * sysdeps/unix/syscalls.list: ... here.
58616 * sysdeps/posix/getaddrinfo.c
58617 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58618 (gaiconf_init, gaiconf_reload): Use them.
58619 [!_STATBUF_ST_NSEC]
58620 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58621 Define using time_t rather than struct timespec.
58623 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58624 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58626 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58628 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58629 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58632 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58633 __libc_cleanup_push argument.
58635 * bits/param.h: New file.
58636 * misc/sys/param.h: New file.
58637 * include/sys/param.h: New file.
58638 * misc/Makefile (headers): Add bits/param.h.
58639 * sysdeps/generic/sys/param.h: File removed.
58640 * sysdeps/unix/sysv/linux/bits/param.h: New file.
58641 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58642 * sysdeps/mach/hurd/bits/param.h: New file.
58643 * sysdeps/mach/hurd/sys/param.h: File removed.
58645 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58648 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58650 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58651 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58654 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58655 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58656 rather than -D_IO_MTSAFE_IO conditionally.
58657 * stdio-common/Makefile (CPPFLAGS): Likewise.
58658 * wcsmbs/Makefile (CPPFLAGS): Likewise.
58659 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58660 Use $(libio-mtsafe).
58661 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58662 of -D_IO_MTSAFE_IO.
58663 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58664 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58665 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58666 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58667 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58668 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58669 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58670 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58671 (CFLAGS-fread_u_chk.c): Likewise.
58672 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58673 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58674 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58675 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58676 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58677 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58678 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58679 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58680 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58682 * libio/Makefile: Test [$(libc-reentrant) = yes]
58683 instead of [$(filter %REENTRANT, $(defines)) nonempty].
58686 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58687 * sysdeps/pthread/configure: File removed.
58688 * sysdeps/pthread/Makeconfig: New file.
58689 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58690 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58692 2012-08-16 Gary Benson <gbenson@redhat.com>
58694 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58695 unmapping the first object in a namespace.
58697 2012-08-16 Roland McGrath <roland@hack.frob.com>
58699 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58700 (__internal_setnetgrent): ... this. Add internal_function to
58701 definition. Add libc_hidden_def.
58702 (setnetgrent): Update caller.
58703 (internal_endnetgrent): Renamed to ...
58704 (__internal_endnetgrent): ... this. Add internal_function to
58705 definition. Add libc_hidden_def.
58706 (endnetgrent): Update caller.
58707 (internal_getnetgrent_r): Renamed to ...
58708 (__internal_getnetgrent_r): ... this. Add internal_function to
58709 definition. Add libc_hidden_def.
58710 (__getnetgrent_r): Update caller.
58711 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
58713 2012-08-16 Joseph Myers <joseph@codesourcery.com>
58715 * stdlib/longlong.h: Update from GCC.
58717 2012-08-16 Roland McGrath <roland@hack.frob.com>
58719 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58720 on _QL, which is set by umul_ppmm but never used.
58721 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58722 variables, which are set by GMP macros but never used.
58723 * stdio-common/_itowa.c (_itowa): Likewise.
58724 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58725 * stdlib/mod_1.c (mpn_mod_1): Likewise.
58727 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
58729 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58730 struct La_sh_regs is not constant.
58731 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58732 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58733 and struct La_sparc64_regs are not constant.
58735 2012-08-16 Joseph Myers <joseph@codesourcery.com>
58737 * sysdeps/unix/sysv/linux/kernel-features.h
58738 (__ASSUME_POSIX_TIMERS): Remove.
58739 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58741 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58742 Make code unconditional.
58743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58744 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58745 Make code unconditional.
58746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58747 * sysdeps/unix/sysv/linux/clock_nanosleep.c
58748 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58750 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58751 Make code unconditional.
58752 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58753 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58754 (__libc_missing_posix_timers): Remove.
58756 2012-08-15 Roland McGrath <roland@hack.frob.com>
58758 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58759 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58761 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58763 * elf/dl-sym.c: Include <stdlib.h>.
58765 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58766 constants, which avoids warnings in 32-bit builds.
58768 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58769 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58771 * misc/lseek.c: File moved to ...
58772 * io/lseek.c: ... here.
58774 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58776 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58777 shifting LEN more than 31 bits at once.
58779 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58782 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58783 segmentation fault for a case of two empty input strings.
58784 * string/test-strncasecmp.c (check1): Renamed to...
58785 (bz12205): ...this.
58786 (bz14195): Add new testcase for two empty input strings and N > 0.
58787 (test_main): Call new testcase, adapt for renamed function.
58789 2012-08-15 Andreas Jaeger <aj@suse.de>
58792 * crypt/md5test2.c: New test, based on test supplied by Serge
58793 Belyshev <belyshev@depni.sinp.msu.ru>.
58794 * crypt/Makefile (xtests): Add md5test-giant..
58795 * crypt/Makefile ($(objpfx)md5test-giant): Add.
58797 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
58800 * crypt/md5.c (md5_process_block): Don't assume the buffer
58801 length is less than 2**32.
58802 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58803 length is less than 2**64.
58805 2012-08-15 Roland McGrath <roland@hack.frob.com>
58807 * string/str-two-way.h: Include <sys/param.h>.
58808 (MAX): Macro removed.
58810 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58811 Move #define and #undef of memmove to just before and after
58812 including <string.h>.
58814 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58815 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58816 and after including <string.h>. Move declarations of
58817 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58818 to before #include "string/memmove.c".
58820 * include/dirent.h: Declare __getdirentries.
58822 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58823 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58825 2012-08-14 Mike Frysinger <vapier@gentoo.org>
58827 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58828 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58829 * sysdeps/i386/configure: Regenerated.
58830 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58831 STABS_CURRENT_FILE, and STABS_FUN.
58832 (END): Remove call to STABS_FUN_END.
58833 (STABS_CURRENT_FILE1): Delete.
58834 (STABS_CURRENT_FILE): Likewise.
58835 (STABS_FUN): Likewise.
58836 (STABS_FUN_END): Likewise.
58837 (STABS_FUN2): Likewise.
58838 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58839 * sysdeps/x86_64/configure: Regenerated.
58841 2012-08-14 Roland McGrath <roland@hack.frob.com>
58843 * elf/dl-open.c: Include <atomic.h>.
58844 * elf/dl-lookup.c: Likewise.
58846 2012-08-14 Joseph Myers <joseph@codesourcery.com>
58848 * sysdeps/unix/sysv/linux/kernel-features.h
58849 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58850 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58852 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58854 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58855 condition on __ASSUME_CLONE_THREAD_FLAGS.
58857 2012-08-14 Andreas Jaeger <aj@suse.de>
58859 * sysdeps/i386/fpu/libm-test-ulps: Update.
58861 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
58863 * include/atomic.h (atomic_exchange_and_add): Split into ...
58864 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58867 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
58869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58871 2012-08-13 Jeff Law <law@redhat.com>
58873 * manual/stdio.texi (snprintf): Clarify handling of the trailing
58874 null byte in the output string.
58876 2012-08-10 Joseph Myers <joseph@codesourcery.com>
58878 * sysdeps/unix/sysv/linux/kernel-features.h
58879 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58880 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58881 (__ASSUME_ARG_MAX_STACK_BASED): Define.
58882 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58883 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58884 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
58885 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58887 2012-08-09 Jeff Law <law@redhat.com>
58890 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58891 When avoid_arena is set, don't retry in the that arena. Pick the
58892 next one, whatever it might be.
58893 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58894 (arena_lock): Pass in new parameter to arena_get2.
58895 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58897 (__libc_malloc): Unify retrying after main arena failure with
58898 __libc_memalign version.
58899 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58901 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
58904 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58905 to __redirect_strstr.
58906 (__strstr_sse42): Use typeof __redirect_strstr.
58907 (__strstr_ia32): Likewise.
58908 (__libc_strstr): New prototype.
58909 (strstr): Renamed to ...
58910 (__libc_strstr): This.
58911 (strstr): New strong alias of __libc_strstr.
58912 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58913 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58916 (__libc_time): New prototype.
58917 (time_ifunc): Replace time with __libc_time.
58918 (time): New strong alias and hidden definition of __libc_time.
58919 (__GI_time): Remove strong alias.
58920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58921 Include <stddef.h>.
58922 (memmove): Redefined to __redirect_memmove.
58923 (__memmove_sse2): Use typeof __redirect_memmove.
58924 (__memmove_ssse3): Likewise.
58925 (__memmove_ssse3_back): Likewise.
58926 (__libc_memmove): New prototype.
58927 (memmove): Renamed to ...
58928 (__libc_memmove): This.
58929 (memmove): New strong alias of __libc_memmove.
58931 2012-08-08 Mark Salter <msalter@redhat.com>
58934 (R_MN10300_TLS_GD): Define.
58935 (R_MN10300_TLS_LD): Likewise.
58936 (R_MN10300_TLS_LDO): Likewise.
58937 (R_MN10300_TLS_GOTIE): Likewise.
58938 (R_MN10300_TLS_IE): Likewise.
58939 (R_MN10300_TLS_LE): Likewise.
58940 (R_MN10300_TLS_DTPMOD): Likewise.
58941 (R_MN10300_TLS_DTPOFF): Likewise.
58942 (R_MN10300_TLS_TPOFF): Likewise.
58943 (R_MN10300_SYM_DIFF): Likewise.
58944 (R_MN10300_ALIGN): Likewise.
58945 (R_MN10300_NUM): Update.
58947 2012-08-08 Joseph Myers <joseph@codesourcery.com>
58949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58952 2012-08-08 Roland McGrath <roland@hack.frob.com>
58954 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58956 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58957 sysdeps/unix -> sysdeps/posix move.
58958 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58960 2012-08-07 Allan McRae <allan@archlinux.org>
58963 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58964 (SUNOS_CPP): Likewise.
58965 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58967 (open_input): Call CPP using execvp.
58969 2012-08-07 Joseph Myers <joseph@codesourcery.com>
58971 * sysdeps/unix/sysv/linux/kernel-features.h
58972 (__ASSUME_PROT_GROWSUPDOWN): Remove.
58973 (__ASSUME_NO_CLONE_DETACHED): Likewise.
58974 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58975 (__ASSUME_WAITID_SYSCALL): Likewise.
58976 * sysdeps/unix/sysv/linux/dl-execstack.c
58977 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58978 code unconditional.
58979 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58982 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58983 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58985 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58987 [__ASSUME_WAITID_SYSCALL]: Likewise.
58988 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58990 2012-08-07 Roland McGrath <roland@hack.frob.com>
58992 * sysdeps/unix/closedir.c: Renamed to ...
58993 * sysdeps/posix/closedir.c: ... here.
58994 * sysdeps/unix/dirfd.c: Renamed to ...
58995 * sysdeps/posix/dirfd.c: ... here.
58996 * sysdeps/unix/dirstream.h: Renamed to ...
58997 * sysdeps/posix/dirstream.h: ... here.
58998 * sysdeps/unix/fdopendir.c: Renamed to ...
58999 * sysdeps/posix/fdopendir.c: ... here.
59000 * sysdeps/unix/opendir.c: Renamed to ...
59001 * sysdeps/posix/opendir.c: ... here.
59002 * sysdeps/unix/readdir.c: Renamed to ...
59003 * sysdeps/posix/readdir.c: ... here.
59004 * sysdeps/unix/readdir_r.c: Renamed to ...
59005 * sysdeps/posix/readdir_r.c: ... here.
59006 * sysdeps/unix/rewinddir.c: Renamed to ...
59007 * sysdeps/posix/rewinddir.c: ... here.
59008 * sysdeps/unix/seekdir.c: Renamed to ...
59009 * sysdeps/posix/seekdir.c: ... here.
59010 * sysdeps/unix/telldir.c: Renamed to ...
59011 * sysdeps/posix/telldir.c: ... here.
59012 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59013 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59014 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59015 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59017 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59018 * bits/fcntl.h: ... here.
59020 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59022 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59023 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59024 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59025 (struct flock): Move l_start, l_len to the beginning.
59026 Use __pid_t for l_pid.
59027 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59028 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59029 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59030 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59031 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59032 [__USE_LARGEFILE64] (struct flock64): New type.
59033 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59035 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59036 * bits/dirent.h: ... here.
59038 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59039 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59041 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59044 Change from 2.6.0 to 2.6.16.
59045 * sysdeps/unix/sysv/linux/configure: Regenerated.
59046 * sysdeps/unix/sysv/linux/kernel-features.h
59047 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59048 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59050 (__ASSUME_UTIMES): Likewise.
59051 (__ASSUME_CLONE_STOPPED): Remove.
59052 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59053 architectures, not kernel version.
59054 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59055 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59056 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59057 (__ASSUME_WAITID_SYSCALL): Likewise.
59058 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59059 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59060 * README: State 2.6.16 as minimum Linux kernel version. Do not
59061 refer to older versions.
59063 2012-08-06 Roland McGrath <roland@hack.frob.com>
59065 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59066 Define alphasort64 as an alias.
59067 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59068 Define versionsort64 as an alias.
59069 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59070 Define scandir64 as an alias.
59071 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59072 Define scandirat64 as an alias.
59073 * dirent/alphasort64.c (alphasort64):
59074 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59075 * dirent/versionsort64.c: Likewise.
59076 * dirent/scandir64.c: Likewise.
59077 * dirent/scandirat64.c: Likewise.
59078 * sysdeps/wordsize-64/alphasort.c: File removed.
59079 * sysdeps/wordsize-64/alphasort64.c: File removed.
59080 * sysdeps/wordsize-64/scandir.c: File removed.
59081 * sysdeps/wordsize-64/scandir64.c: File removed.
59082 * sysdeps/wordsize-64/scandirat.c: File removed.
59083 * sysdeps/wordsize-64/scandirat64.c: File removed.
59084 * sysdeps/wordsize-64/versionsort.c: File removed.
59085 * sysdeps/wordsize-64/versionsort64.c: File removed.
59086 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59087 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59088 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59089 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59090 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59091 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59095 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59097 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59099 [defined __arch64__ || defined __sparcv9]
59100 (__INO_T_MATCHES_INO64_T): New macro.
59101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59102 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59103 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59104 * sysdeps/unix/sysv/linux/bits/dirent.h
59105 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59106 (_DIRENT_MATCHES_DIRENT64): New macro.
59108 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59109 Define lockf64 as an alias.
59110 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59111 Define fseeko64 as an alias.
59112 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59113 Define ftello64 as an alias.
59114 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59115 Define _IO_fgetpos64 and fgetpos64 as aliases.
59116 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59117 Define _IO_fsetpos64 and fsetpos64 as aliases.
59118 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59119 Conditionalize body on this.
59120 * libio/fseeko64.c: Likewise.
59121 * libio/ftello64.c: Likewise.
59122 * libio/iofgetpos64.c: Likewise.
59123 * libio/iofsetpos64.c: Likewise.
59124 * sysdeps/wordsize-64/lockf.c: File removed.
59125 * sysdeps/wordsize-64/lockf64.c: File removed.
59126 * sysdeps/wordsize-64/fseeko.c: File removed.
59127 * sysdeps/wordsize-64/fseeko64.c: File removed.
59128 * sysdeps/wordsize-64/ftello.c: File removed.
59129 * sysdeps/wordsize-64/ftello64.c: File removed.
59130 * sysdeps/wordsize-64/iofgetpos.c: File removed.
59131 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59132 * sysdeps/wordsize-64/iofsetpos.c: File removed.
59133 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59135 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59137 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59139 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59143 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59145 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59147 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59149 [defined __arch64__ || defined __sparcv9]
59150 (__OFF_T_MATCHES_OFF64_T): New macro.
59151 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59152 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59154 (__OFF_T_MATCHES_OFF64_T): New macro.
59156 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59158 * stdlib/secure-getenv.c (__secure_getenv): Replace
59159 GLIBC_2_16 with GLIBC_2_17.
59161 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59163 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59166 2012-08-03 David S. Miller <davem@davemloft.net>
59168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59170 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59174 (__ASSUME_CORRECT_SI_PID): Likewise.
59175 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59176 (__ASSUME_TMPFS_NAME): Likewise.
59177 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59178 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59179 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59180 (HAVE_AUX_SECURE): Make definition unconditional.
59181 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59182 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59184 2012-08-03 Roland McGrath <roland@hack.frob.com>
59186 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59187 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59188 * sysdeps/mach/hurd/eloop-threshold.h: New file.
59189 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59190 __eloop_threshold instead of SYMLOOP_MAX.
59192 * sysdeps/generic/eloop-threshold.h: New file.
59193 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59195 * elf/chroot_canon.c (chroot_canon): Likewise.
59197 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59201 Change to 2.6.0 everywhere.
59202 * sysdeps/unix/sysv/linux/configure: Regenerated.
59203 * sysdeps/unix/sysv/linux/kernel-features.h
59204 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59205 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59207 (__ASSUME_POSIX_TIMERS): Define unconditionally.
59208 (__ASSUME_FUTEX_REQUEUE): Remove.
59209 (__ASSUME_STATFS64): Define unconditionally.
59210 (__ASSUME_AT_SECURE): Likewise.
59211 (__ASSUME_CORRECT_SI_PID): Likewise.
59212 (__ASSUME_TGKILL): Define without depending on kernel version for
59214 (__ASSUME_UTIMES): Likewise.
59215 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59217 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59218 (__ASSUME_TMPFS_NAME): Likewise.
59219 * README: Update reference to Linux kernel versions.
59221 2012-08-02 Marek Polacek <polacek@redhat.com>
59224 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
59225 libc_cv_asm_type_prefix with %.
59226 * configure: Regenerated.
59227 * include/libc-symbols.h: Remove comment about
59228 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59229 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59230 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59231 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59232 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59233 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59234 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59235 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59236 * elf/tst-unique2mod1.c: Likewise.
59237 * elf/tst-unique1mod2.c: Likewise.
59238 * elf/tst-unique1mod1.c: Likewise.
59239 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59240 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59241 Replace ASM_TYPE_DIRECTIVE with .type.
59242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59243 * sysdeps/i386/sysdep.h: Likewise.
59244 * sysdeps/x86_64/sysdep.h: Likewise.
59245 * sysdeps/sh/sysdep.h: Likewise.
59246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59247 Do not define ASM_TYPE_DIRECTIVE.
59248 * sysdeps/powerpc/sysdep.h: Likewise.
59249 * sysdeps/powerpc/powerpc32/sysdep.h:
59250 Replace ASM_TYPE_DIRECTIVE with .type.
59251 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59252 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59253 * sysdeps/i386/fpu/e_powf.S: Likewise.
59254 * sysdeps/i386/fpu/e_expl.S: Likewise.
59255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59257 * sysdeps/i386/fpu/e_pow.S: Likewise.
59258 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59260 * sysdeps/i386/fpu/s_expm1.S: Likewise.
59261 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59262 * sysdeps/i386/fpu/e_log2.S: Likewise.
59263 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59265 * sysdeps/i386/fpu/e_powl.S: Likewise.
59266 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59267 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59268 * sysdeps/i386/fpu/e_logl.S: Likewise.
59269 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59270 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59271 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59272 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59273 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59274 * sysdeps/i386/fpu/e_log.S: Likewise.
59275 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59276 * sysdeps/i386/fpu/e_logf.S: Likewise.
59277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59278 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59279 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59280 * sysdeps/i386/fpu/e_log10.S: Likewise.
59281 * sysdeps/i386/fpu/s_frexp.S: Likewise.
59282 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59283 * sysdeps/i386/fpu/s_asinh.S: Likewise.
59284 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59285 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59287 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59288 * sysdeps/i386/i686/strtok.S: Likewise.
59289 * sysdeps/i386/i386-mcount.S: Likewise.
59290 * sysdeps/i386/strtok.S: Likewise.
59291 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59293 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59294 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59295 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59296 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59297 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59298 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59299 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59300 * sysdeps/x86_64/_mcount.S: Likewise.
59301 * sysdeps/x86_64/strtok.S: Likewise.
59302 * sysdeps/sh/_mcount.S: Likewise.
59304 2012-08-01 Roland McGrath <roland@hack.frob.com>
59306 * libio/iofopen.c: Include <fcntl.h>.
59307 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59308 (_IO_fopen64, fopen64): Define as aliases.
59309 * libio/iofopen64.c: Include <fcntl.h>.
59310 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59311 Conditionalize body on this.
59312 * sysdeps/wordsize-64/iofopen.c: File removed.
59313 * sysdeps/wordsize-64/iofopen64.c: File removed.
59315 2012-08-01 Marek Polacek <polacek@redhat.com>
59317 * libc/Makeconfig: Use elf in place of binfmt-subdir.
59318 Use dlfcn directly instead of a variable.
59319 (binfmt-subdir): Do not define.
59322 2012-08-01 Joseph Myers <joseph@codesourcery.com>
59324 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59325 Remove all definitions.
59326 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59327 <kernel-features.h>.
59328 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59329 (miss_F_GETOWN_EX): Remove all definitions.
59330 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59332 [!__ASSUME_FCNTL64]: Remove conditional code.
59333 [__ASSUME_FCNTL64]: Make code unconditional.
59334 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59335 <kernel-features.h>.
59336 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59337 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59338 (lockf64) [__NR_fcntl64]: Make code unconditional.
59339 (lockf64) [__ASSUME_FCNTL64]: Likewise.
59341 * sysdeps/unix/sysv/linux/kernel-features.h
59342 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59343 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59344 Make code unconditional.
59345 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59346 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59348 [__NR_vfork]: Make code unconditional.
59349 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59350 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59352 [__NR_vfork]: Make code unconditional.
59353 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59354 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59356 2012-08-01 Roland McGrath <roland@hack.frob.com>
59358 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59359 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59361 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59362 Define mkstemp64 as an alias.
59363 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59364 Define mkstemps64 as an alias.
59365 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59366 Define mkostemp64 as an alias.
59367 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59368 Define mkostemps64 as an alias.
59369 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59370 Conditionalize body on this.
59371 * misc/mkostemp64.c: Likewise.
59372 * misc/mkostemps64.c: Likewise.
59373 * misc/mkstemps64.c: Likewise.
59374 * sysdeps/wordsize-64/mkstemp64.c: File removed.
59375 * sysdeps/wordsize-64/mkostemp64.c: File removed.
59376 * sysdeps/wordsize-64/mkostemp.c: File removed.
59377 * sysdeps/wordsize-64/mkstemp.c: File removed.
59378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59381 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59384 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59385 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59386 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59387 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59389 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59390 compat_symbol macros from <shlib-compat.h> rather than the underlying
59391 default_symbol_version and symbol_version macros, so that DEFAULT
59392 lines in shlib-versions are respected.
59393 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59395 2012-08-01 Florian Weimer <fweimer@redhat.com>
59397 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59398 Declare with warn_unused_result.
59399 (setgid, setregid, setegid, setresgid): Likewise.
59400 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59402 * WUR-REPORT: Remove set*id functions.
59404 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
59406 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59408 2012-07-31 Roland McGrath <roland@hack.frob.com>
59411 * include/sys/socket.h (__libc_accept, __libc_accept4):
59412 Add attribute_hidden.
59413 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59415 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59417 * inet/getnetgrent_r.c (setup): Likewise.
59419 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59421 2012-07-31 David S. Miller <davem@davemloft.net>
59423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59425 2012-07-31 Joseph Myers <joseph@codesourcery.com>
59428 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59429 value between 1.0 and 2.0 and smaller part has absolute value less
59431 * math/s_clog10.c (__clog10): Likewise.
59432 * math/s_clog10f.c (__clog10f): Likewise.
59433 * math/s_clog10l.c (__clog10l): Likewise.
59434 * math/s_clogf.c (__clogf): Likewise.
59435 * math/s_clogl.c (__clogl): Likewise.
59436 * math/libm-test.inc (clog_test): Add more tests.
59437 (clog10_test): Likewise.
59438 * sysdeps/i386/fpu/libm-test-ulps: Update.
59439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59441 2012-07-31 Florian Weimer <fweimer@redhat.com>
59443 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59444 Exit with zero in case no suitable GID is found, and write a
59445 message to standard error.
59447 2012-07-30 Roland McGrath <roland@hack.frob.com>
59449 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59451 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59452 (MAXPATHLEN): Removed.
59453 (NOGROUP, NODEV): New macros.
59454 (setbit, clrbit, isset, isclr): New macros.
59455 (howmany, roundup, powerof2): New macros.
59456 (DEV_BSIZE): New macro.
59458 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59459 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59461 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59462 definition on [!__NO_LONG_DOUBLE_MATH].
59464 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59465 PTR_MANGLE and PTR_DEMANGLE.
59467 * socket/accept4.c (accept4): Rename to __libc_accept4.
59468 Define accept4 as a weak alias.
59470 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59471 on [_DIRENT_HAVE_D_TYPE].
59472 * io/ftw.c (ftw_dir): Likewise.
59474 * io/xmknod.c (__xmknod): Don't check PATH for being null.
59476 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59478 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59479 Use the BSD numbers rather than the arbitrary ones we had.
59480 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59481 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59482 (SIGXCPU, SIGXFSZ): New macros.
59485 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59486 initializer on [_LIBC_REENTRANT].
59488 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59489 definitions inside [_POSIX_MAPPED_FILES].
59491 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59493 * dirent/opendir.c: Include <fcntl.h>.
59495 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59496 (__libc_getspecific): Likewise.
59497 (__libc_key_create): Likewise.
59499 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59500 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59501 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59502 (tmpfile64): Define as alias.
59503 * sysdeps/wordsize-64/tmpfile.c: File removed.
59504 * sysdeps/wordsize-64/tmpfile64.c: File removed.
59505 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59506 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59508 * stdio-common/vfscanf.c: Include <stdbool.h>.
59509 * nss/makedb.c: Likewise.
59510 * stdio-common/_i18n_number.h: Likewise.
59511 * argp/argp-help.c: Likewise.
59512 * posix/wordexp.c: Likewise.
59513 * sysdeps/posix/spawni.c: Likewise.
59514 * nss/nss_files/files-initgroups.c: Likewise.
59515 * stdio-common/reg-modifier.c: Include <stdlib.h>.
59516 * nss/nss_files/files-initgroups.c: Likewise.
59517 * nss/nss_db/db-netgrp.c: Likewise.
59518 * nss/nss_db/db-initgroups.c: Likewise.
59519 * io/fchmodat.c: Include <sys/stat.h>.
59521 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59522 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59524 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59527 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59528 Add multiple inclusion protection.
59530 2012-07-27 David S. Miller <davem@davemloft.net>
59532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59534 2012-07-27 Gary Benson <gbenson@redhat.com>
59537 * elf/rtld.c: Include <stap-probe.h>.
59538 (dl_main): Added static probes "init_start" and "init_complete".
59539 * elf/dl-load.c: Include <stap-probe.h>.
59540 (lose): Take new parameter "nsid".
59541 Added static probe "map_failed".
59542 (_dl_map_object_from_fd): Pass namespace id to lose.
59543 Added static probe "map_start".
59544 (open_verify): Pass namespace id to lose.
59545 * elf/dl-open.c: Include <stap-probe.h>.
59546 (dl_open_worker) Added static probes "map_complete", "reloc_start"
59547 and "reloc_complete".
59548 * elf/dl-close.c: Include <stap-probe.h>.
59549 (_dl_close_worker): Added static probes "unmap_start" and
59551 * elf/rtld-debugger-interface.txt: New file documenting the above.
59553 2012-07-26 Roland McGrath <roland@hack.frob.com>
59555 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59556 rather than a string variable.
59557 * sunrpc/rpc_main.c (h_output): Likewise.
59558 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59560 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
59562 * inet/check_native.c: New file.
59564 2012-07-26 Joseph Myers <joseph@codesourcery.com>
59567 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59568 if larger part has absolute value 1.0.
59569 * math/s_clog10.c (__clog10): Likewise.
59570 * math/s_clog10f.c (__clog10f): Likewise.
59571 * math/s_clog10l.c (__clog10l): Likewise.
59572 * math/s_clogf.c (__clogf): Likewise.
59573 * math/s_clogl.c (__clogl): Likewise.
59574 * math/libm-test.inc (clog_test): Add more tests.
59575 (clog10_test): Likewise.
59576 * sysdeps/i386/fpu/libm-test-ulps: Update.
59577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59579 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59580 (pltexit): Likewise.
59581 (La_regs): Likewise.
59582 (La_retval): Likewise.
59583 (int_retval): Likewise.
59584 Update #error for removed macros to refer only to definitions in
59586 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59588 (pltexit): Likewise.
59589 (La_regs): Likewise.
59590 (La_retval): Likewise.
59591 (int_retval): Likewise.
59592 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59594 (pltexit): Likewise.
59595 (La_regs): Likewise.
59596 (La_retval): Likewise.
59597 (int_retval): Likewise.
59598 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59600 (pltexit): Likewise.
59601 (La_regs): Likewise.
59602 (La_retval): Likewise.
59603 (int_retval): Likewise.
59604 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59606 (pltexit): Likewise.
59607 (La_regs): Likewise.
59608 (La_retval): Likewise.
59609 (int_retval): Likewise.
59610 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59612 (pltexit): Likewise.
59613 (La_regs): Likewise.
59614 (La_retval): Likewise.
59615 (int_retval): Likewise.
59616 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59618 (pltexit): Likewise.
59619 (La_regs): Likewise.
59620 (La_retval): Likewise.
59621 (int_retval): Likewise.
59622 * sysdeps/generic/tst-audit.h: Update comment to refer only to
59623 macro definitions in tst-audit.h.
59624 * sysdeps/i386/tst-audit.h: New file.
59625 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59626 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59627 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59628 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59629 * sysdeps/sh/tst-audit.h: Likewise.
59630 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59631 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59632 * sysdeps/x86_64/tst-audit.h: Likewise.
59634 2012-07-26 Andreas Jaeger <aj@suse.de>
59636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59639 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59640 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59641 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59643 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59644 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59645 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59647 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59650 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59652 (si_call_addr, si_syscall, si_arch): Define new macro.
59653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59655 (si_call_addr, si_syscall, si_arch): Define new marcro.
59656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59658 (si_call_addr, si_syscall, si_arch): Define new macro.
59659 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59661 (si_call_addr, si_syscall, si_arch): Define new macro.
59663 2012-07-25 Joseph Myers <joseph@codesourcery.com>
59666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59667 Change to 2.4.21 where previously 2.4.1.
59668 * sysdeps/unix/sysv/linux/configure: Regenerated.
59669 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59670 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59671 Linux kernel version.
59672 (__ASSUME_STD_AUXV): Remove.
59673 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59675 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59676 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59677 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59678 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59679 (__ASSUME_NETLINK_SUPPORT): Likewise.
59680 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59681 (__no_netlink_support): Remove conditional definition.
59682 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59684 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59685 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59686 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59687 (if_nameindex_ioctl): Remove.
59688 (if_nameindex_netlink): Do not handle __no_netlink_support.
59689 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59691 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59692 Remove conditional code.
59693 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59695 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59697 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59698 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59699 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59701 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59702 [!__ASSUME_STD_AUXV]: Remove conditional code.
59703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59704 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59705 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59707 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59708 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59710 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59712 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59713 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59715 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59717 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59720 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59723 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59724 code unconditional.
59725 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59727 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59729 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59732 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59734 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59737 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59738 code unconditional.
59739 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59741 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59743 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59746 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59747 code unconditional.
59748 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59750 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59752 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59755 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
59757 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59758 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59759 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59760 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59761 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59762 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59763 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59764 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59765 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59766 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59767 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59768 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59769 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59770 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59773 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59774 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59775 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59777 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59778 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59781 2012-07-25 Florian Weimer <fweimer@redhat.com>
59783 * Versions.def: Add GLIBC_2.17.
59784 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59785 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59786 Introduce __libc_secure_getenv.
59787 * stdlib/Versions (2.17): Add secure_getenv
59788 (GLIBC_PRIVATE): Add __libc_secure_getenv.
59789 * stdlib/secure-getenv.c: Rename __secure_getenv to
59790 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
59791 symbol __secure_getenv for GLIBC_2.0.
59792 * stdlib/tst-secure-getenv.c: New.
59793 * stdlib/Makefile (tests): Add testcase.
59794 * manual/startup.texi (Environment Access): Document
59796 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59797 __libc_secure_getenv.
59798 * inet/ruserpass.c (ruserpass): Likewise.
59799 * malloc/mtrace.c (mtrace): Likewise.
59800 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59801 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59802 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59803 * sysdeps/posix/tempname.c: Likewise. Evaluate
59804 HAVE_SECURE_GETENV.
59805 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59806 __secure_getenv to __libc_secure_getenv.
59807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59820 2012-07-25 Joseph Myers <joseph@codesourcery.com>
59822 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59823 (struct La_i86_retval): Likewise.
59824 (struct La_x86_64_regs): Likewise.
59825 (struct La_x86_64_retval): Likewise.
59826 (struct La_x32_regs): Likewise.
59827 (struct La_x32_retval): Likewise.
59828 (struct La_ppc32_regs): Likewise.
59829 (struct La_ppc32_retval): Likewise.
59830 (struct La_ppc64_regs): Likewise.
59831 (struct La_ppc64_retval): Likewise.
59832 (struct La_sh_regs): Likewise.
59833 (struct La_sh_retval): Likewise.
59834 (struct La_s390_32_regs): Likewise.
59835 (struct La_s390_32_retval): Likewise.
59836 (struct La_s390_64_regs): Likewise.
59837 (struct La_s390_64_retval): Likewise.
59838 (struct La_sparc32_regs): Likewise.
59839 (struct La_sparc32_retval): Likewise.
59840 (struct La_sparc64_regs): Likewise.
59841 (struct La_sparc64_retval): Likewise.
59842 (struct audit_ifaces): Remove architecture-specific pltenter and
59844 * sysdeps/i386/ldsodefs.h: New file.
59845 * sysdeps/powerpc/ldsodefs.h: Likewise.
59846 * sysdeps/s390/ldsodefs.h: Likewise.
59847 * sysdeps/sh/ldsodefs.h: Likewise.
59848 * sysdeps/sparc/ldsodefs.h: Likewise.
59849 * sysdeps/x86_64/ldsodefs.h: Likewise.
59851 2012-07-25 Marek Polacek <polacek@redhat.com>
59854 * math/libm-test.inc (yn_test): Add another test.
59855 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59856 to ERANGE when the result is +-Inf.
59857 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59858 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59859 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59860 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59862 2012-07-24 Joseph Myers <joseph@codesourcery.com>
59864 * conform/data/time.h-data (NULL): Use macro-constant. Require
59866 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
59868 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
59870 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
59872 * configure.in <sysdeps resolving>: Correct printing
59874 * configure: Regenerate.
59876 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
59878 * math/w_ilogb.c: Include <limits.h>.
59879 * math/w_ilogbl.c: Likewise.
59881 2012-07-20 Joseph Myers <joseph@codesourcery.com>
59883 * manual/lang.texi (__va_copy): Document primarily as ISO C99
59884 va_copy. Document allowing for unavailable va_copy only as
59885 pre-C99 compatibility.
59886 * manual/string.texi (Copying and Concatenation): Use va_copy
59887 instead of __va_copy in concat example.
59889 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
59891 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59892 (__sendto): Use create_address_port. Initialize APORT and deallocate
59895 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59896 with O_NOLINK passed to __file_name_lookup.
59898 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59899 with O_NOLINK passed to __file_name_lookup.
59901 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59902 negative N or less than NGIDS.
59904 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59905 type to string_t. Set ERANGE as errno and return it if NAME is not big
59906 enough. Use memcpy instead of strncpy.
59908 2012-07-20 Joseph Myers <joseph@codesourcery.com>
59910 * elf/Makefile (check-data): Remove.
59911 (localplt.data): New vpath directive.
59912 ($(objpfx)check-localplt.out): Use localplt.data from vpath
59913 instead of $(check-data).
59914 * scripts/data/localplt-generic.data: Move to ...
59915 * sysdeps/generic/localplt.data: ... here.
59916 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59917 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59918 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59921 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59924 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59927 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59930 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59933 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59937 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59939 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59940 PPC32 and PPC64 files.
59941 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59942 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59944 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59946 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59947 __makecontext_ret to ...
59948 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59949 ... here and call exit if uc_link is NULL. New file.
59950 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59951 __makecontext_ret.S.
59952 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59953 __makecontext_ret to ...
59954 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59955 ... here and call exit if uc_link is NULL. New file.
59956 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59957 __makecontext_ret.S.
59959 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59961 * elf/elf.h (R_390_IRELATIVE): New definition.
59962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59963 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
59964 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59966 (elf_machine_lazy_rel): Likewise.
59967 * sysdeps/s390/dl-irel.h: New file.
59968 * sysdeps/s390/s390-64/memcpy.S: New asm code.
59969 * sysdeps/s390/s390-64/memset.S: New asm code.
59970 * sysdeps/s390/s390-64/memcmp.S: New asm code.
59971 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59972 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59973 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59974 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59975 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59976 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59977 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59978 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59979 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59980 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59981 * sysdeps/s390/s390-32/memcpy.S: New asm code.
59982 * sysdeps/s390/s390-32/memset.S: New asm code.
59983 * sysdeps/s390/s390-32/memcmp.S: New asm code.
59985 2012-07-17 Marek Polacek <polacek@redhat.com>
59988 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59989 * sysdeps/s390/s390-64/configure.in: Likewise.
59990 * sysdeps/sparc/configure.in: Likewise.
59991 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59992 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59993 * sysdeps/i386/configure.in: Likewise.
59994 * sysdeps/x86_64/configure.in: Likewise.
59995 * sysdeps/sh/configure.in: Likewise.
59996 * sysdeps/s390/s390-32/configure: Regenerated.
59997 * sysdeps/s390/s390-64/configure: Likewise.
59998 * sysdeps/x86_64/configure: Likewise.
59999 * sysdeps/sh/configure: Likewise.
60000 * sysdeps/powerpc/powerpc64/configure: Likewise.
60001 * sysdeps/powerpc/powerpc32/configure: Likewise.
60002 * sysdeps/sparc/configure: Likwise.
60003 * sysdeps/i386/configure: Likewise.
60005 * elf/dl-open.c: Comment fixes.
60007 2012-07-17 Joseph Myers <joseph@codesourcery.com>
60009 * Makefile [CXX] (check-data): Remove.
60010 [CXX] (c++-types.data): New vpath directive.
60011 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60012 vpath. Do not allow for C++ type data being missing.
60013 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60014 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60015 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60016 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60017 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60018 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60019 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60022 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60025 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60028 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60031 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60034 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60037 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60040 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60043 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60044 definitions to architecture-specific files.
60045 (TLS_IE): Likewise.
60046 (TLS_LD): Likewise.
60047 (TLS_GD): Likewise.
60048 * sysdeps/i386/tls-macros.h: New file.
60049 * sysdeps/powerpc/tls-macros.h: Likewise.
60050 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60051 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60052 * sysdeps/sh/tls-macros.h: Likewise.
60053 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60054 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60055 * sysdeps/x86_64/tls-macros.h: Likewise.
60057 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60060 zero value for regular exit case.
60062 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60063 (__start_context): Preserve zero value for regular exit case.
60065 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60066 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60068 * manual/setjmp.texi (setcontext): Clarify normal process
60069 termination when uc_link is the null pointer.
60070 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60073 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
60075 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60076 preprocessor. Test for each exception mask separately.
60078 2012-07-16 Andreas Jaeger <aj@suse.de>
60080 * po/ru.po: Update from translation team.
60082 2012-07-15 Joseph Myers <joseph@codesourcery.com>
60084 * conform/data/string.h-data (NULL): Use macro-constant. Require
60086 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60087 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60088 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60089 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60092 2012-07-13 Andreas Jaeger <aj@suse.de>
60094 * po/fr.po: Update from translation team.
60096 2012-07-12 Marek Polacek <polacek@redhat.com>
60099 * math/libm-test.inc (yn_test): Add test for BZ #14173.
60100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60103 2012-07-12 Joseph Myers <joseph@codesourcery.com>
60106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60107 Change to 2.4.1 where previously 2.4.0.
60108 * sysdeps/unix/sysv/linux/configure: Regenerated.
60109 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60110 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60112 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60113 (__ASSUME_AT_CLKTCK): Remove.
60114 (__ASSUME_AT_PAGESIZE): Likewise.
60115 (__ASSUME_AT_XID): Likewise.
60116 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60117 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60118 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60120 (HAVE_AUX_PAGESIZE): Likewise.
60121 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60122 [__ASSUME_AT_CLKTCK]: Make code unconditional.
60123 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60125 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
60128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60129 the temporary buffer used to invoke __gethostbyname2_r,
60130 __gethostbyaddr_r and gethostbyname4_r to make room for struct
60131 host_data / struct gaih_addrtuple.
60132 * resolv/nss_dns/dns-host.c (global scope): Move definition of
60133 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60134 header file nss/nsswitch.h.
60135 * nss/nsswitch.h (global scope): Add definition of implementation
60136 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60137 resolv/nss_dns/dns-host.c).
60139 2012-07-11 Andreas Jaeger <aj@suse.de>
60141 * po/fr.po: Update from translation team.
60143 * po/sv.po: Update from translation team
60144 * po/fr.po: Another update from translation team.
60146 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60149 for subnormals or multiply small sinh result by itself.
60150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60153 2012-07-11 David S. Miller <davem@davemloft.net>
60155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60157 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
60160 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60161 (INTERNAL_MARK): Shift it here.
60163 2012-07-10 Marek Polacek <polacek@redhat.com>
60166 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
60167 libc_cv_asm_global_directive with .globl.
60168 * configure: Regenerated.
60169 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60171 * sysdeps/i386/configure: Regenerated.
60172 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60174 * sysdeps/x86_64/configure: Regenerated.
60175 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60176 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60177 * elf/tst-unique2mod2.c: Likewise.
60178 * elf/tst-unique2mod1.c: Likewise.
60179 * elf/tst-unique1mod2.c: Likewise.
60180 * elf/tst-unique1mod1.c: Likewise.
60181 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60182 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60184 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60185 * sysdeps/mach/sysdep.h: Likewise.
60186 * sysdeps/i386/sysdep.h: Likewise.
60187 * sysdeps/i386/i386-mcount.S: Likewise.
60188 * sysdeps/x86_64/_mcount.S: Likewise.
60189 * sysdeps/x86_64/sysdep.h: Likewise.
60190 * sysdeps/sh/_mcount.S: Likewise.
60191 * sysdeps/sh/sysdep.h: Likewise.
60192 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60193 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60194 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60196 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60197 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60198 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60199 * locale/localeinfo.h: Likewise.
60200 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60201 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60203 2012-07-09 Roland McGrath <roland@hack.frob.com>
60206 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60208 * manual/message.texi (The Uniforum approach): Likewise.
60209 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60210 (glibc iconv Implementation): Likewise.
60212 2012-07-09 Joseph Myers <joseph@codesourcery.com>
60215 * math/s_clog.c (__clog): Avoid scaling a value down where that
60216 could result in underflow.
60217 * math/s_clog10.c (__clog10): Likewise.
60218 * math/s_clog10f.c (__clog10f): Likewise.
60219 * math/s_clog10l.c (__clog10l): Likewise.
60220 * math/s_clogf.c (__clogf): Likewise.
60221 * math/s_clogl.c (__clogl): Likewise.
60222 * math/libm-test.inc (clog_test): Add more tests.
60223 (clog10_test): Likewise.
60224 * sysdeps/i386/fpu/libm-test-ulps: Update.
60225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60227 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
60230 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60231 by 7 not 8 to examine high bit of fractional part.
60234 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60235 for call to __mcount_internal.
60236 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60237 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60238 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60240 2012-07-06 Joseph Myers <joseph@codesourcery.com>
60243 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60244 approximation for values within 0x1p-13f of an odd multiple of
60246 * math/libm-test.inc (tan_test): Do not allow spurious underflow
60247 exception. Add more tests.
60248 * sysdeps/i386/fpu/libm-test-ulps: Update.
60251 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60252 inputs and return -1 for them. Do not check for +Inf in case not
60253 reachable for +Inf.
60254 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60255 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60257 and return -1 for them. Do not check for +Inf in case not
60258 reachable for +Inf.
60259 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60262 and return -1 for them. Do not check for +Inf in case not
60263 reachable for +Inf.
60264 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
60265 spurious underflow.
60266 * sysdeps/i386/fpu/libm-test-ulps: Update.
60267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60269 2012-07-06 Mike Frysinger <vapier@gentoo.org>
60271 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60273 2012-07-05 Joseph Myers <joseph@codesourcery.com>
60277 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60278 could result in spurious underflow. Scale down values above
60279 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60280 * math/s_csqrtf.c (__csqrtf): Likewise.
60281 * math/s_csqrtl.c (__csqrtl): Likewise.
60282 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
60283 spurious underflow.
60284 * sysdeps/i386/fpu/libm-test-ulps: Update.
60285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60287 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
60289 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60291 * catgets/xopen-msg.awk: New file.
60292 * catgets/xopen-msg.sed: Removed.
60294 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60296 * intl/po2test.awk: New file.
60297 * intl/po2test.sed: Removed.
60299 2012-07-04 Joseph Myers <joseph@codesourcery.com>
60302 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60303 or multiply small sinh result by itself.
60304 * math/s_ctanf.c (__ctanf): Likewise.
60305 * math/s_ctanh.c (__ctanh): Likewise.
60306 * math/s_ctanhf.c (__ctanhf): Likewise.
60307 * math/s_ctanhl.c (__ctanhl): Likewise.
60308 * math/s_ctanl.c (__ctanl): Likewise.
60309 * math/libm-test.inc (ctan_test_tonearest): New function.
60310 (ctan_test_towardzero): Likewise.
60311 (ctan_test_downward): Likewise.
60312 (ctan_test_upward): Likewise.
60313 (ctanh_test_tonearest): Likewise.
60314 (ctanh_test_towardzero): Likewise.
60315 (ctanh_test_downward): Likewise.
60316 (ctanh_test_upward): Likewise.
60317 (main): Call these new functions.
60318 * sysdeps/i386/fpu/libm-test-ulps: Update.
60319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60321 2012-07-03 Mike Frysinger <vapier@gentoo.org>
60323 * .gitignore: Delete /ports entry.
60325 2012-07-03 Andreas Jaeger <aj@suse.de>
60327 * po/bg.po: Update from translation team.
60328 * po/cs.po: Likewise.
60329 * po/de.po: Likewise.
60330 * po/hr.po: Likewise.
60331 * po/nl.pl: Likewise.
60332 * po/pl.po: Likewise.
60333 * po/vi.po: Likewise.
60335 2012-07-03 Joseph Myers <joseph@codesourcery.com>
60337 * Makeconfig [!+link] (+link-before-libc): New variable.
60338 [!+link] (+link-after-libc): Likewise.
60339 [!+link] (+link-tests): Likewise.
60340 [!+link] (+link): Define in terms of $(+link-before-libc) and
60341 $(+link-after-libc).
60342 [!+link-static] (+link-static-before-libc): New variable.
60343 [!+link-static] (+link-static-after-libc): Likewise.
60344 [!+link-static] (+link-static-tests): Likewise.
60345 [!+link-static] (+link-static): Define in terms of
60346 $(+link-static-before-libc) and $(+link-static-after-libc).
60347 [build-shared] (link-libc-before-gnulib): New variable.
60348 [build-shared] (link-libc-tests): Likewise.
60349 [build-shared] (link-libc): Define in terms of
60350 $(link-libc-before-gnulib).
60351 [!build-shared] (link-libc-tests): New variable.
60352 (link-libc-static-tests): New variable.
60353 [!gnulib] (gnulib-arch): New variable.
60354 [!gnulib] (gnulib-tests): Likewise.
60355 [!gnulib] (static-gnulib-arch): Likewise.
60356 [!gnulib] (static-gnulib-tests): Likewise.
60357 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
60358 Define with "=" instead of ":=".
60359 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
60360 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
60361 * Rules (binaries-all-notests): New variable.
60362 (binaries-all-tests): Likewise.
60363 (binaries-static-notests): Likewise.
60364 (binaries-static-tests): Likewise.
60365 (binaries-all): Define using $(binaries-all-notests) and
60366 $(binaries-all-tests).
60367 (binaries-static): Define using $(binaries-static-notests) and
60368 $(binaries-static-tests).
60369 (binaries-shared-tests): New variable.
60370 (binaries-shared-notests): Likewise.
60371 (binaries-shared): Remove variable.
60372 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60373 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60374 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60375 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60376 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60377 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60378 * elf/Makefile (sln-modules): New variable.
60379 (extra-objs): Add $(sln-modules:=.o).
60380 (ldconfig-modules): Add static-stubs.
60381 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60382 * elf/static-stubs.c: New file.
60385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60386 by 7 not 8 to examine high bit of fractional part. Use volatile
60387 variables when splitting into final array of floats if
60388 __FLT_EVAL_METHOD__ != 0.
60389 * math/libm-test.inc (cos_test): Add another test.
60390 (sin_test): Likewise.
60391 * sysdeps/i386/fpu/libm-test-ulps: Update.
60394 * math/libm-test.inc (cosh_test): Add more tests.
60396 * version.h (RELEASE): Set to "development".
60397 (VERSION): Set to "2.16.90".
60399 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
60401 * NEWS: Update copyright. Remove last-updated date.
60402 Mention math library bug fixes and timezone data changes.
60403 * README: Mention GNU/Hurd, x32, and HPPA support status.
60405 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
60407 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60409 2012-06-27 Andreas Jaeger <aj@suse.de>
60411 * manual/contrib.texi (Contributors): Add Samuel Thibault.
60413 2012-06-25 Andreas Jaeger <aj@suse.de>
60415 * sysdeps/s390/fpu/libm-test-ulps: Update.
60417 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
60418 Thomas Schwinge <thomas@codesourcery.com>
60420 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60421 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60425 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
60427 * sysdeps/mach/start.c: Remove file.
60428 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60429 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60430 * sysdeps/sh/init-first.c: Likewise.
60432 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60433 registers for frame unwinding purposes, add CFI directives.
60434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60436 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60439 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60440 __fortify_fail returning.
60441 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60444 sysdeps/sh/____longjmp_chk.S.
60445 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60446 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60447 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60448 (gen-as-const-headers): Append sigaltstack-offsets.sym.
60450 * sysdeps/sh/abort-instr.h: New file.
60451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60452 process in case exit returns.
60454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60455 initialize the GOT register before use.
60457 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60458 calculation of ARGC > 4.
60460 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60461 meaningful names to some local labels.
60463 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60464 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60466 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60467 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60468 (__arch_compare_and_exchange_val_16_acq): Likewise.
60469 (__arch_compare_and_exchange_val_32_acq): Likewise.
60470 (atomic_exchange_and_add): Fix gUSA sequence.
60471 (atomic_add): Likewise.
60472 (atomic_add_negative): Likewise.
60473 (atomic_add_zero): Likewise.
60474 (atomic_bit_test_set): Likewise.
60476 2012-06-22 Andreas Schwab <schwab@redhat.com>
60479 * include/link.h (struct link_map): Add l_free_initfini.
60480 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60482 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60483 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60484 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60487 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
60489 * configure.in: Use AC_LANG_SOURCE.
60490 * configure: Regenerate.
60492 2012-06-22 Roland McGrath <roland@hack.frob.com>
60494 * configure.in (libc_cv_localstatedir): New substituted variable.
60495 * configure: Regenerated.
60496 * config.make.in (localstatedir): New variable, substituted from
60497 libc_cv_localstatedir.
60498 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60499 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60500 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60501 * sysdeps/gnu/configure: Regenerated.
60503 2012-06-21 Jeff Law <law@redhat.com>
60506 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60507 free. Simplify list management for _LIBC case.
60509 2012-06-21 Joseph Myers <joseph@codesourcery.com>
60512 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60513 Clear sign bit of 64-bit integer value before comparing against
60516 * sysdeps/mach/configure: Regenerated.
60518 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
60521 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60523 2012-06-21 Jeff Law <law@redhat.com>
60526 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
60527 uint16_t for elements in the "seen" array to avoid char overflows.
60528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60529 * elf/dl-open.c (dl_open_worker): Likewise.
60531 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
60533 * scripts/list-sources.sh: Scan PORTS for translations.
60534 * po/libc.pot: Regenerated.
60536 2012-06-21 Andreas Jaeger <aj@suse.de>
60539 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60541 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60542 * bits/byteswap-16.h (__bswap_16): Likewise.
60543 * bits/byteswap.h (__bswap_constant_16): Likewise.
60545 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
60548 * sysdeps/i386/fpu_control.h: Removed.
60549 * sysdeps/x86_64/fpu_control.h: Moved to ...
60550 * sysdeps/x86/fpu_control.h: Here.
60552 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60553 (_FPU_SETCW): Likewise.
60555 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
60558 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60559 * sysdeps/x86/fpu/bits/mathinline.h: This.
60560 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60564 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60565 functions if __x86_64__ is defined.
60567 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
60569 * string/endian.h: Add !__ASSEMBLER__ condition for including
60570 conversion interfaces.
60572 2012-06-15 Joseph Myers <joseph@codesourcery.com>
60575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60576 of ABS(x) in calculating zero to negative powers other than odd
60578 * math/libm-test.inc (pow_test): Add more tests.
60580 2012-06-15 Andreas Jaeger <aj@suse.de>
60582 * manual/contrib.texi (Contributors): Update entry of Liubov
60583 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60586 2012-06-15 Cyril Hrubis <metan@ucw.cz>
60588 * string/string.h: Add __wur to GNU version of strerror_r.
60590 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
60593 * string/Makefile (tests): Add tst-strtok_r.
60594 * string/tst-strtok_r.c: New file.
60595 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60596 RAX_LP/RDX_LP on SAVE_PTR.
60598 2012-06-14 Roland McGrath <roland@hack.frob.com>
60600 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60602 2012-06-14 Joseph Myers <joseph@codesourcery.com>
60604 * libm_test.inc (csqrt_test): Allow more spurious underflow
60606 (j0_test): Likewise.
60607 (j1_test): Likewise.
60608 (y0_test): Likewise.
60609 (y1_test): Likewise.
60611 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
60613 * po/Makefile (libc.pot): Use UTF-8 charset.
60615 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
60618 Suppress sign-conversion warning from FD_SET.
60619 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60620 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60621 not unsigned long int.
60622 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60624 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
60628 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60629 __extern_always_inline instead of __extern_inline.
60630 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60631 (__signbit): Likewise.
60632 (__signbitl): Support C++ namespace.
60633 (lrintf): New inline function.
60635 (llrintf): Likewise.
60636 (llrint): Likewise.
60646 (floorf): Likewise.
60647 (nearbyint): Likewise.
60648 (nearbyintf): Likewise.
60650 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
60652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60653 non-default versions.
60655 2012-06-11 Roland McGrath <roland@hack.frob.com>
60658 * manual/argp.texi (Argp): Reword argp_parse description slightly.
60660 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
60662 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60663 (FE_UPWARD, FE_DOWNWARD): Don't define.
60664 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60667 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60669 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60672 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60674 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60676 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60677 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60679 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
60682 * sysdeps/i386/fpu/bits/fenv.h: Removed.
60683 * sysdeps/i386/fpu/Implies: New file.
60684 * sysdeps/x86_64/fpu/Implies: Likewise.
60685 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60686 * sysdeps/x86/fpu/bits/fenv.h: This.
60688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60691 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60694 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60695 character 0xffff that matches the last element of the
60698 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60703 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60706 values higher than 25.6283.
60708 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60711 subnormal exponent extraction and add some __builtin_expect.
60712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60713 Fix for subnormal mantissa calculation.
60715 2012-06-04 Mike Frysinger <vapier@gentoo.org>
60717 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60718 cpu2 is -1 and errno is not ENOSYS.
60720 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
60723 * sysdeps/i386/i486/bits/string.h: Renamed to ...
60724 * sysdeps/x86/bits/string.h: This.
60725 * sysdeps/x86_64/bits/string.h: Removed.
60727 * sysdeps/i386/i486/bits/string.h: Define inline functions only
60728 if not compiling for x86-64, but compiling for >= i486.
60730 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60731 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60733 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60734 New macro from Linux kernel 3.4.0.
60735 (FP_XSTATE_MAGIC2): Likewise.
60736 (FP_XSTATE_MAGIC2_SIZE): Likewise.
60737 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60738 (struct _fpx_sw_bytes): New struct.
60739 (struct _xsave_hdr): Likewise.
60740 (struct _ymmh_state): Likewise.
60741 (struct _xstate): Likewise.
60743 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60744 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60745 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60746 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60747 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60748 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60750 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60751 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60752 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60753 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60754 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60755 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60757 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60760 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60761 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60762 (sysdep_headers): Include sys/platform/ppc.h.
60763 * sysdeps/powerpc/test-gettimebase.c: Test for
60764 __ppc_get_timebase() to catch future ISA opcode/insn changes.
60765 * manual/Makefile (appendices): Include platform.texi.
60766 * manual/contrib.texi (Contributors): Update @node pointers.
60767 * manual/maint.texi (Maintenance): Likewise.
60768 (Platform): New node.
60769 * manual/platform.texi: New file. Document the new features.
60771 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60772 Jakub Jelinek <jakub@redhat.com>
60775 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60776 where __builtin_expect is unavailable.
60778 2012-06-03 David S. Miller <davem@davemloft.net>
60780 * stdlib/longlong.h: Updated from GCC.
60782 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
60785 * sysdeps/powerpc/powerpc32/mcount.c: New file.
60786 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60789 (GLIBC_2.16): Likewise.
60791 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
60793 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60795 2012-06-01 Joseph Myers <joseph@codesourcery.com>
60797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60798 (default-abi): New variable.
60799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60800 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60802 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60804 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60806 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60809 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60810 definition. Document in comment.
60812 2012-06-01 David S. Miller <davem@davemloft.net>
60814 * stdlib/longlong.h: Updated from GCC.
60816 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
60819 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60820 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60821 sys/debugreg.h sys/io.h here.
60822 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60823 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60825 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60826 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60827 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60828 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60829 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60830 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60832 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60833 Define only if __x86_64__ is defined.
60835 2012-06-01 Joseph Myers <joseph@codesourcery.com>
60838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60839 Use int64_t for variable i.
60840 * math/libm-test.inc (fmod_test): Add more tests.
60842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60843 z computation is not scheduled after fetestexcept.
60844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60845 Use math_force_eval instead of asm to ensure calculation scheduled
60846 before exception test.
60847 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60848 Ensure a1 + u.d computation is not scheduled after fetestexcept.
60850 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
60852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60853 computation is not scheduled after fetestexcept.
60855 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
60858 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60859 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60861 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60863 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60864 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60866 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
60869 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60871 (__WCHAR_MIN): Support __WORDSIZE == 64.
60872 (__WCHAR_MAX): Likewise.
60874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60878 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60879 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60882 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60883 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60886 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60888 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60889 Defined to 1 if __x86_64__ isn't defined.
60890 (_STAT_VER_LINUX_OLD): New.
60891 (st_atime): Remove duplicate.
60892 (st_mtime): Likewise.
60893 (st_ctime): Likewise.
60895 2012-05-31 David S. Miller <davem@davemloft.net>
60897 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60900 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
60902 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60906 * elf/dl-reloc.c: Include <_itoa.h>.
60907 (_dl_reloc_bad_type): Remove use of INTUSE.
60908 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60909 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60910 * stdio-common/psiginfo.c (psiginfo): Likewise.
60911 * stdio-common/psignal.c (psignal): Likewise.
60912 * string/strsignal.c (strsignal): Likewise.
60913 * include/signal.h (_sys_siglist): Declare hidden proto.
60914 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
60915 INTVARDEF with libc_hidden_data_def.
60916 * stdio-common/itoa-udigits.c: Likewise.
60917 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60918 (_itoa_lower_digits_internal): Remove declaration.
60919 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60920 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60921 (_sys_sigabbrev_internal): Remove aliases.
60922 (_sys_siglist): Define hidden alias.
60924 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
60926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60929 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
60932 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60933 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60935 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60936 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60937 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60938 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60940 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60942 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60944 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60954 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60958 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60959 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60961 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60962 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60966 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60968 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60969 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60975 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60976 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60978 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60980 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60981 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60982 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60984 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60986 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60988 2012-05-31 Joseph Myers <joseph@codesourcery.com>
60990 * math/math.h (M_El): Use two more decimal places.
60991 (M_LOG2El): Likewise.
60992 (M_LOG10El): Likewise.
60993 (M_LN2l): Likewise.
60994 (M_LN10l): Likewise.
60996 (M_PI_2l): Likewise.
60997 (M_PI_4l): Likewise.
60998 (M_1_PIl): Likewise.
60999 (M_2_PIl): Likewise.
61000 (M_2_SQRTPIl): Likewise.
61001 (M_SQRT2l): Likewise.
61002 (M_SQRT1_2l): Likewise.
61004 2012-05-31 David S. Miller <davem@davemloft.net>
61006 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61007 values between float registers.
61008 * sysdeps/sparc/sparc64/memset.S: Likewise.
61009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61011 2012-05-31 Mike Frysinger <vapier@gentoo.org>
61013 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61014 -D_FORTIFY_SOURCE=1.
61015 (CPPFLAGS-tst-longjmp_chk.c): Define.
61016 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61017 (CPPFLAGS-tst-longjmp_chk2.c): Define.
61018 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61019 CFLAGS-tst-wchar-h.c.
61021 2012-05-31 Marek Polacek <polacek@redhat.com>
61024 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61025 __endmntent_internal): Remove declaration.
61026 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61027 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61028 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61030 2012-05-30 David S. Miller <davem@davemloft.net>
61032 * sysdeps/sparc/sparc32/soft-fp/q_util.c
61033 (___Q_simulate_exceptions): Use real FP ops rather than writing
61035 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61038 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61041 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61042 * sysdeps/x86/bits/xtitypes.h: This.
61044 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61045 * sysdeps/x86/bits/wordsize.h: This.
61047 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61048 * sysdeps/x86/bits/huge_vall.h: This.
61050 * sysdeps/i386/bits/select.h: Removed.
61051 * sysdeps/x86_64/bits/select.h: Renamed to ...
61052 * sysdeps/x86/bits/select.h: This.
61054 * sysdeps/i386/bits/setjmp.h: Removed.
61055 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61056 * sysdeps/x86/bits/setjmp.h: This.
61058 * sysdeps/i386/bits/mathdef.h: Removed.
61059 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61060 * sysdeps/x86/bits/mathdef.h: This.
61062 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
61065 * include/sys/socket.h (__connect_internal)
61066 (__libc_sa_len_internal): Remove declaration.
61067 (__connect, __libc_sa_len): Declare hidden_proto.
61068 (SA_LEN): Remove use of INTUSE.
61069 * socket/connect.c: Add libc_hidden_def.
61070 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61071 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61072 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61074 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61075 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61076 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61077 of adding _internal alias.
61079 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61082 * sysdeps/i386/bits/link.h: Removed.
61083 * sysdeps/i386/bits/linkmap.h: Likewise.
61084 * sysdeps/x86_64/bits/link.h: Renamed to ...
61085 * sysdeps/x86/bits/link.h: This.
61086 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61087 * sysdeps/x86/bits/linkmap.h: This.
61089 * sysdeps/i386/bits/endian.h: Removed.
61090 * sysdeps/x86_64/bits/endian.h: Renamed to ...
61091 * sysdeps/x86/bits/endian.h: This.
61093 * sysdeps/i386/bits/byteswap.h: Removed.
61094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61095 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61096 * sysdeps/x86/bits/byteswap.h: This.
61097 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61098 * sysdeps/x86/bits/byteswap-16.h: This.
61099 * sysdeps/i386/Implies: Add x86.
61100 * sysdeps/x86_64/Implies: Likewise.
61102 2012-05-30 David S. Miller <davem@davemloft.net>
61104 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61105 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61107 (FP_TRAPPING_EXCEPTIONS): Define.
61108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61109 (FP_TRAPPING_EXCEPTIONS): Define.
61110 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61111 subnormals only when inexact has been signalled or underflow
61112 exceptions are enabled.
61113 (_FP_PACK_CANONICAL): Likewise.
61115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61119 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61121 2012-05-30 Richard Henderson <rth@twiddle.net>
61123 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61124 with #ifndef NOT_IN_libc.
61126 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
61127 marked to avoid plt entry.
61129 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61132 * Makeconfig (default-abi): New macro.
61133 (abi-includes): Likewise.
61134 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
61135 $(abi-$(default-abi)-lib-soname) for soname if defined.
61136 ($(common-objpfx)gnu/lib-names.stmp): Generate from
61138 * Makefile (installed-stubs): Likewise.
61139 * include/stubs-biarch.h: Removed.
61140 * scripts/lib-names.awk: Only handle one library at a time.
61141 * scripts/soversions.awk: Remove WORDSIZE support.
61142 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61144 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61146 (syscall-list-default-condition): Likewise.
61147 (syscall-list-default-condition): Likewise.
61148 (syscall-list-includes): Likewise.
61149 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61150 syscall-list-* with abi-*. Handle undefined abi-variants.
61151 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61152 * sysdeps/unix/sysv/linux/i386/Implies: New file.
61153 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61154 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61155 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61156 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61158 (syscall-list-32-options): Likewise.
61159 (syscall-list-32-condition): Likewise.
61160 (syscall-list-64-options): Likewise.
61161 (syscall-list-64-condition): Likewise.
61162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61164 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61167 (abi-64-ld-soname): New macro.
61168 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61169 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61172 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61173 * sysdeps/x86_64/x32/shlib-versions: Likewise.
61175 2012-05-30 Joseph Myers <joseph@codesourcery.com>
61177 * sysdeps/unix/sysv/linux/kernel-features.h
61178 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61179 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61180 include <kernel-features.h>.
61181 [!__NR_ftruncate64]: Remove conditional code.
61182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61183 [__NR_ftruncate64]: Make code unconditional.
61184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61185 * sysdeps/unix/sysv/linux/truncate64.c: Do not
61186 include <kernel-features.h>.
61187 [!__NR_ftruncate64]: Remove conditional code.
61188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61189 [__NR_ftruncate64]: Make code unconditional.
61190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61192 include <kernel-features.h>.
61193 [!__NR_ftruncate64]: Remove conditional code.
61194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61195 [__NR_ftruncate64]: Make code unconditional.
61196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61198 include <kernel-features.h>.
61199 [!__NR_ftruncate64]: Remove conditional code.
61200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61201 [__NR_ftruncate64]: Make code unconditional.
61202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61204 * configure.in (libc_cv_fpie): Weaken to a compile test using
61205 LIBC_TRY_CC_OPTION.
61206 * configure: Regenerated.
61208 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61223 2012-05-27 David S. Miller <davem@davemloft.net>
61225 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61227 (__Q_simulate_exceptions): Return void. Change to simulate
61228 exceptions by writing into the %fsr.
61229 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61230 (__Qp_handle_exceptions): Likewise.
61232 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61233 __Qp_handle_exceptions.
61234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61235 __Qp_handle_exceptions.
61236 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61237 as unused and give dummy FP_RND_NEAREST initializer.
61238 (FP_INHIBIT_RESULTS): Define.
61239 (___Q_simulate_exceptions): Update declaration.
61240 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61243 as unused and give dummy FP_RND_NEAREST initializer.
61244 (__Qp_handle_exceptions): Update declaration.
61245 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61248 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
61250 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61251 the temporary FPU control word.
61252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61253 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61254 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61255 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61258 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61259 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61260 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61261 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61262 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61264 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61266 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61269 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
61271 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61272 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61273 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61274 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61276 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61277 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61280 2012-05-27 Ulrich Drepper <drepper@gmail.com>
61282 * po/h.po: Update from translation team.
61284 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
61286 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61288 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61289 handling of denormals.
61290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61291 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61299 2012-05-26 Marek Polacek <polacek@redhat.com>
61302 * math/libm-test.inc (fma_test): Don't always expect underflow
61305 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61308 * elf/tst-execstack.c: Include stackinfo.h.
61309 (do_test): Adjust test case to ensure that pthread_getattr_np
61310 behaviour remains the same after marking stack executable.
61312 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61314 * sysdeps/unix/sysv/linux/kernel-features.h
61315 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61318 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61319 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61320 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61322 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61323 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61325 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
61327 * configure.in: Define the default includes to being none.
61328 * configure: Regenerated.
61330 2012-05-25 Roland McGrath <roland@hack.frob.com>
61332 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61333 * sysdeps/x86_64/setjmp.S: Likewise.
61334 * sysdeps/i386/bsd-setjmp.S: Likewise.
61335 * sysdeps/i386/bsd-_setjmp.S: Likewise.
61336 * sysdeps/i386/setjmp.S: Likewise.
61337 * sysdeps/i386/__longjmp.S: Likewise.
61338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61339 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61341 * include/stap-probe.h: New file.
61342 * configure.in: Handle --enable-systemtap.
61343 * configure: Regenerated.
61344 * config.h.in (USE_STAP_PROBE): New #undef.
61345 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61346 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61347 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61349 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61353 to 2.4.0 where earlier.
61354 * sysdeps/unix/sysv/linux/configure: Regenerated.
61355 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
61364 [__ASSUME_32BITUIDS]: Make code unconditional.
61365 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61366 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61367 <kernel-features.h>.
61368 [__ASSUME_32BITUIDS]: Make code unconditional.
61369 [!__ASSUME_32BITUIDS]: Remove conditional code.
61370 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61371 <kernel-features.h>.
61372 [__ASSUME_32BITUIDS]: Make code unconditional.
61373 [!__ASSUME_32BITUIDS]: Remove conditional code.
61374 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61375 <kernel-features.h>.
61376 [__ASSUME_32BITUIDS]: Make code unconditional.
61377 [!__ASSUME_32BITUIDS]: Remove conditional code.
61378 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61379 <kernel-features.h>.
61380 [__ASSUME_32BITUIDS]: Make code unconditional.
61381 [!__ASSUME_32BITUIDS]: Remove conditional code.
61382 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61383 <kernel-features.h>.
61384 [__ASSUME_32BITUIDS]: Make code unconditional.
61385 [!__ASSUME_32BITUIDS]: Remove conditional code.
61386 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61387 <kernel-features.h>.
61388 [__ASSUME_32BITUIDS]: Make code unconditional.
61389 [!__ASSUME_32BITUIDS]: Remove conditional code.
61390 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61391 <kernel-features.h>.
61392 [__ASSUME_32BITUIDS]: Make code unconditional.
61393 [!__ASSUME_32BITUIDS]: Remove conditional code.
61394 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61395 <kernel-features.h>.
61396 [__ASSUME_32BITUIDS]: Make code unconditional.
61397 [!__ASSUME_32BITUIDS]: Remove conditional code.
61398 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61399 <kernel-features.h>.
61400 [__ASSUME_32BITUIDS]: Make code unconditional.
61401 [!__ASSUME_32BITUIDS]: Remove conditional code.
61402 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61403 <kernel-features.h>.
61404 [__ASSUME_32BITUIDS]: Make code unconditional.
61405 [!__ASSUME_32BITUIDS]: Remove conditional code.
61406 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61407 <kernel-features.h>.
61408 [__NR_setresgid] (__setresgid): Do not declare.
61409 [__ASSUME_32BITUIDS]: Make code unconditional.
61410 [!__ASSUME_32BITUIDS]: Remove conditional code.
61411 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61412 <kernel-features.h>.
61413 [__NR_setresuid] (__setresuid): Do not declare.
61414 [__ASSUME_32BITUIDS]: Make code unconditional.
61415 [!__ASSUME_32BITUIDS]: Remove conditional code.
61416 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61417 <kernel-features.h>.
61418 [__ASSUME_32BITUIDS]: Make code unconditional.
61419 [!__ASSUME_32BITUIDS]: Remove conditional code.
61420 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61421 <kernel-features.h>.
61422 [__ASSUME_32BITUIDS]: Make code unconditional.
61423 [!__ASSUME_32BITUIDS]: Remove conditional code.
61424 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61425 <kernel-features.h>.
61426 [__ASSUME_32BITUIDS]: Make code unconditional.
61427 [!__ASSUME_32BITUIDS]: Remove conditional code.
61428 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61429 <kernel-features.h>.
61430 [__ASSUME_32BITUIDS]: Make code unconditional.
61431 [!__ASSUME_32BITUIDS]: Remove conditional code.
61432 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61433 <kernel-features.h>.
61434 [__ASSUME_32BITUIDS]: Make code unconditional.
61435 [!__ASSUME_32BITUIDS]: Remove conditional code.
61436 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61437 <kernel-features.h>.
61438 [__ASSUME_32BITUIDS]: Make code unconditional.
61439 [!__ASSUME_32BITUIDS]: Remove conditional code.
61440 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61441 <kernel-features.h>.
61442 [__ASSUME_32BITUIDS]: Make code unconditional.
61443 [!__ASSUME_32BITUIDS]: Remove conditional code.
61444 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61445 <kernel-features.h>.
61446 [__ASSUME_32BITUIDS]: Make code unconditional.
61447 [!__ASSUME_32BITUIDS]: Remove conditional code.
61448 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61449 <kernel-features.h>.
61450 [__ASSUME_32BITUIDS]: Make code unconditional.
61451 [!__ASSUME_32BITUIDS]: Remove conditional code.
61452 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61453 <kernel-features.h>.
61454 [__ASSUME_32BITUIDS]: Make code unconditional.
61455 [!__ASSUME_32BITUIDS]: Remove conditional code.
61456 * sysdeps/unix/sysv/linux/kernel-features.h
61457 (__ASSUME_SETRESUID_SYSCALL): Remove.
61458 (__ASSUME_SETRESGID_SYSCALL): Likewise.
61459 (__ASSUME_32BITUIDS): Likewise.
61460 (__ASSUME_LDT_WORKS): Likewise.
61461 (__ASSUME_O_DIRECTORY): Likewise.
61462 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61463 architecture but not kernel version.
61464 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61465 (__ASSUME_MMAP2_SYSCALL): Likewise.
61466 (__ASSUME_STAT64_SYSCALL): Likewise.
61467 (__ASSUME_IPC64): Likewise.
61468 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61469 <kernel-features.h>.
61470 [__ASSUME_32BITUIDS]: Make code unconditional.
61471 [!__ASSUME_32BITUIDS]: Remove conditional code.
61472 * sysdeps/unix/sysv/linux/opendir.c: Do not include
61473 <kernel-features.h>.
61474 [__ASSUME_O_DIRECTORY]: Make code unconditional.
61475 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61476 132096]: Remove conditional code.
61477 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61478 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61479 <kernel-features.h>.
61480 [__ASSUME_32BITUIDS]: Make code unconditional.
61481 [!__ASSUME_32BITUIDS]: Remove conditional code.
61482 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61483 <kernel-features.h>.
61484 [__ASSUME_32BITUIDS]: Make code unconditional.
61485 [!__ASSUME_32BITUIDS]: Remove conditional code.
61486 * sysdeps/unix/sysv/linux/setegid.c: Do not include
61487 <kernel-features.h>.
61488 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61490 (__setresgid): Do not declare.
61491 [__ASSUME_32BITUIDS]: Make code unconditional.
61492 [!__ASSUME_32BITUIDS]: Remove conditional code.
61493 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61494 <kernel-features.h>.
61495 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61497 (__setresuid): Do not declare.
61498 [__ASSUME_32BITUIDS]: Make code unconditional.
61499 [!__ASSUME_32BITUIDS]: Remove conditional code.
61500 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61501 <kernel-features.h>.
61502 [__ASSUME_32BITUIDS]: Make code unconditional.
61503 [!__ASSUME_32BITUIDS]: Remove conditional code.
61504 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61505 <kernel-features.h>.
61506 [__ASSUME_32BITUIDS]: Make code unconditional.
61507 [!__ASSUME_32BITUIDS]: Remove conditional code.
61509 2012-05-25 Richard Henderson <rth@twiddle.net>
61511 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61512 dl_hwcap to ifunc resolver.
61513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61515 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61516 dl_hwcap to ifunc resolver.
61517 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61519 2012-05-24 Joseph Myers <joseph@codesourcery.com>
61522 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61523 for |x| <= 2**-26, not 2**-57.
61524 * math/libm-test.inc (acos_test): Do not allow spurious underflow
61527 2012-05-24 Jeff Law <law@redhat.com>
61529 * stdio-common/Makefile (tests): Add bug25.
61530 * stdio-common/bug25.c: New test.
61532 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
61535 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61536 multiple of MALLOC_ALIGNMENT in size.
61537 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
61541 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61543 (FILENAME_MAX): Use macro-int-constant.
61544 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
61545 (_IOFBF): Use macro-int-constant.
61546 (_IOLBF): Likewise.
61547 (_IONBF): Likewise.
61548 (SEEK_CUR): Likewise.
61549 (SEEK_END): Likewise.
61550 (SEEK_SET): Likewise.
61551 (TMP_MAX): Likewise.
61552 (EOF): Use macro-int-constant. Require < 0.
61553 (NULL): Use macro-constant. Require == 0.
61554 (stdin): Require type to be FILE *.
61555 (stdout): Likewise.
61556 (stderr): Likewise.
61557 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61558 macro-int-constant.
61559 (EXIT_SUCCESS): Likewise.
61560 (NULL): Use macro-constant. Require == 0.
61561 (RAND_MAX): Use macro-int-constant.
61562 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61563 [C99-based standards] (strtof): Require function.
61564 [C99-based standards] (strtold): Likewise.
61565 [C99-based standards] (strtoll): Likewise.
61566 [C99-based standards] (strtoull): Likewise.
61567 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61568 [ISO || ISO99 || ISO11] (limits.h): Likewise.
61569 [ISO || ISO99 || ISO11] (math.h): Likewise.
61570 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61571 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61572 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61574 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
61577 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61578 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61579 * intl/dgettext.c (DCGETTEXT): Likewise.
61580 * intl/gettext.c (DCGETTEXT): Likewise.
61581 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61582 * posix/regex_internal.h (gettext): Likewise.
61583 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61584 Remove declaration.
61585 * include/argz.h (__argz_count_internal)
61586 (__argz_stringify_internal): Remove declaration.
61587 (__argz_count, __argz_stringify): Declare hidden proto.
61588 * intl/dcgettext.c: Remove use of INTDEF.
61589 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61590 * string/argz-stringify.c: Likewise.
61591 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61592 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61593 Declare hidden proto.
61594 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61595 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61596 Declare hidden proto.
61597 * include/stdio.h (__asprintf_internal): Don't declare.
61598 (__asprintf): Don't define as macro. Declare hidden proto.
61599 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61600 (__fsetlocking): Declare hidden proto.
61601 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61602 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61604 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61605 (_IO_setlinebuf): Remove use of INTUSE.
61606 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61607 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61608 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61609 Remove declaration.
61610 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61611 (_IO_do_flush): Remove use of INTUSE.
61612 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61613 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61614 (_IO_adjust_column, _IO_least_wmarker)
61615 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61616 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61617 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61618 (_IO_default_doallocate, _IO_wdefault_doallocate)
61619 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61620 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61621 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61622 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61623 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61624 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61625 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61626 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61627 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61628 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61629 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61630 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61631 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61633 (_IO_flush_all_internal, _IO_adjust_column_internal)
61634 (_IO_default_uflow_internal, _IO_default_finish_internal)
61635 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61636 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61637 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61638 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61639 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61640 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61641 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61642 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61643 (_IO_file_close_internal, _IO_file_close_it_internal)
61644 (_IO_file_underflow_internal, _IO_file_overflow_internal)
61645 (_IO_file_init_internal, _IO_file_attach_internal)
61646 (_IO_file_fopen_internal, _IO_file_read_internal)
61647 (_IO_file_sync_internal, _IO_file_seek_internal)
61648 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61649 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61650 (_IO_str_underflow_internal, _IO_str_overflow_internal)
61651 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61652 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61653 (_IO_list_all_internal, _IO_link_in_internal)
61654 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61655 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61656 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61657 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61658 (_IO_do_write_internal, _IO_padn_internal)
61659 (_IO_getline_info_internal, _IO_getline_internal)
61660 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61661 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61662 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61663 (_IO_vfscanf_internal, _IO_vfprintf_internal)
61664 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61665 (_IO_init_internal, _IO_un_link_internal): Don't declare.
61666 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61667 with libc_hidden_ver, remove use of INTUSE.
61668 * libio/genops.c: Likewise.
61669 * libio/freopen.c: Likewise.
61670 * libio/freopen64.c: Likewise.
61671 * libio/iofclose.c: Likewise.
61672 * libio/iofdopen.c: Likewise.
61673 * libio/iofflush.c: Likewise.
61674 * libio/iofflush_u.c: Likewise.
61675 * libio/iofgets.c: Likewise.
61676 * libio/iofgets_u.c: Likewise.
61677 * libio/iofopen.c: Likewise.
61678 * libio/iofopncook.c: Likewise.
61679 * libio/iofread.c: Likewise.
61680 * libio/iofread_u.c: Likewise.
61681 * libio/ioftell.c: Likewise.
61682 * libio/iofwrite.c: Likewise.
61683 * libio/iogetline.c: Likewise.
61684 * libio/iogets.c: Likewise.
61685 * libio/iogetwline.c: Likewise.
61686 * libio/iopadn.c: Likewise.
61687 * libio/iopopen.c: Likewise.
61688 * libio/ioseekoff.c: Likewise.
61689 * libio/ioseekpos.c: Likewise.
61690 * libio/iosetbuffer.c: Likewise.
61691 * libio/iosetvbuf.c: Likewise.
61692 * libio/ioungetc.c: Likewise.
61693 * libio/ioungetwc.c: Likewise.
61694 * libio/iovdprintf.c: Likewise.
61695 * libio/iovsprintf.c: Likewise.
61696 * libio/iovsscanf.c: Likewise.
61697 * libio/memstream.c: Likewise.
61698 * libio/obprintf.c: Likewise.
61699 * libio/oldfileops.c: Likewise.
61700 * libio/oldiofclose.c: Likewise.
61701 * libio/oldiofdopen.c: Likewise.
61702 * libio/oldiofopen.c: Likewise.
61703 * libio/oldiopopen.c: Likewise.
61704 * libio/oldstdfiles.c: Likewise.
61705 * libio/putc.c: Likewise.
61706 * libio/setbuf.c: Likewise.
61707 * libio/setlinebuf.c: Likewise.
61708 * libio/stdfiles.c: Likewise.
61709 * libio/strops.c: Likewise.
61710 * libio/vasprintf.c: Likewise.
61711 * libio/vscanf.c: Likewise.
61712 * libio/vsnprintf.c: Likewise.
61713 * libio/vswprintf.c: Likewise.
61714 * libio/wfiledoalloc.c: Likewise.
61715 * libio/wfileops.c: Likewise.
61716 * libio/wgenops.c: Likewise.
61717 * libio/wmemstream.c: Likewise.
61718 * libio/wstrops.c: Likewise.
61719 * libio/__fpurge.c: Likewise.
61720 * libio/__fsetlocking.c: Likewise.
61721 * assert/assert.c: Likewise.
61722 * debug/fgets_chk.c: Likewise.
61723 * debug/fgets_u_chk.c: Likewise.
61724 * debug/fread_chk.c: Likewise.
61725 * debug/fread_u_chk.c: Likewise.
61726 * debug/gets_chk.c: Likewise.
61727 * debug/obprintf_chk.c: Likewise.
61728 * debug/vasprintf_chk.c: Likewise.
61729 * debug/vdprintf_chk.c: Likewise.
61730 * debug/vsnprintf_chk.c: Likewise.
61731 * debug/vsprintf_chk.c: Likewise.
61732 * malloc/mtrace.c: Likewise.
61733 * misc/error.c: Likewise.
61734 * misc/syslog.c: Likewise.
61735 * stdio-common/asprintf.c: Likewise.
61736 * stdio-common/fxprintf.c: Likewise.
61737 * stdio-common/getw.c: Likewise.
61738 * stdio-common/isoc99_fscanf.c: Likewise.
61739 * stdio-common/isoc99_scanf.c: Likewise.
61740 * stdio-common/isoc99_vfscanf.c: Likewise.
61741 * stdio-common/isoc99_vscanf.c: Likewise.
61742 * stdio-common/isoc99_vsscanf.c: Likewise.
61743 * stdio-common/printf-prs.c: Likewise.
61744 * stdio-common/printf_fp.c: Likewise.
61745 * stdio-common/printf_fphex.c: Likewise.
61746 * stdio-common/printf_size.c: Likewise.
61747 * stdio-common/putw.c: Likewise.
61748 * stdio-common/scanf.c: Likewise.
61749 * stdio-common/sprintf.c: Likewise.
61750 * stdio-common/tmpfile.c: Likewise.
61751 * stdio-common/vfprintf.c: Likewise.
61752 * stdio-common/vfscanf.c: Likewise.
61753 * stdlib/strfmon_l.c: Likewise.
61754 * sunrpc/openchild.c: Likewise.
61755 * sunrpc/xdr_stdio.c: Likewise.
61756 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61757 * sysdeps/mach/hurd/tmpfile.c: Likewise.
61759 2012-05-24 Roland McGrath <roland@hack.frob.com>
61761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61763 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61764 in the third column, to generate for the shared library an IFUNC
61765 that uses _dl_vdso_vsym.
61766 * Makerules (COMPILE.c, compile-stdin.c): New variables.
61767 * Makeconfig (object-suffixes-noshared): New variable.
61769 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61770 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61771 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61772 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61775 * include/sys/time.h (__gettimeofday): Remove macro.
61776 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61777 * time/gettimeofday.c (__gettimeofday): Remove #undef.
61779 (__gettimeofday): Add libc_hidden_def.
61780 (gettimeofday): Add libc_hidden_weak.
61781 * sysdeps/mach/gettimeofday.c: Likewise.
61782 * sysdeps/posix/gettimeofday.c: Likewise.
61783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61784 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61786 (__gettimeofday_internal): Remove strong_alias.
61787 (__gettimeofday): Add libc_hidden_def.
61788 (gettimeofday): Add libc_hidden_weak.
61789 * sysdeps/unix/syscalls.list (gettimeofday):
61790 Remove __gettimeofday_internal alias.
61792 2012-05-24 Daniel Jacobowitz <drow@false.org>
61793 H.J. Lu <hongjiu.lu@intel.com>
61796 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61797 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61798 (largebin_index_32_big): New.
61799 (largebin_index): Use it for 16-byte alignment.
61800 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
61801 correction with front_misalign.
61803 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
61805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61831 * scripts/data/c++-types-x32-linux-gnu.data: New file.
61832 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61834 2012-05-24 Joseph Myers <joseph@codesourcery.com>
61838 * math/libm-test.inc (exp_test): Add test from bug 14036.
61839 (pow_test): Add test from bug 10846.
61841 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61843 (special_function): Do not include flags in test name.
61844 (parse_args): Likewise.
61845 * sysdeps/i386/fpu/libm-test-ulps: Update.
61846 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61848 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61851 * math/gen-libm-test.pl (%beautify): Add entries for underflow
61853 * math/libm-test.inc ("Philosophy"): Update comment about
61855 (UNDERFLOW_EXCEPTION): New macro.
61856 (UNDERFLOW_EXCEPTION_OK): Likewise.
61857 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61858 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61859 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61860 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61861 (INVALID_EXCEPTION_OK): Update value.
61862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61863 (OVERFLOW_EXCEPTION_OK): Likewise.
61864 (IGNORE_ZERO_INF_SIGN): Likewise.
61865 (test_exceptions): Handle underflow exceptions.
61866 (acos_test): Update for underflow exception expectations.
61867 (cexp_test): Likewise.
61868 (clog_test): Likewise.
61869 (clog10_test): Likewise.
61870 (csqrt_test): Likewise.
61871 (ctan_test): Likewise.
61872 (ctanh_test): Likewise.
61873 (exp_test): Likewise.
61874 (exp10_test): Likewise.
61875 (exp2_test): Likewise.
61876 (expm1_test): Likewise.
61877 (fma_test): Likewise.
61878 (j0_test): Likewise.
61879 (jn_test): Likewise.
61880 (nexttoward_test): Likewise.
61881 (pow_test): Likewise.
61882 (scalbn_test): Likewise.
61883 (scalbln_test): Likewise.
61884 (tan_test): Likewise.
61885 (y1_test): Likewise.
61886 * sysdeps/i386/fpu/libm-test-ulps: Update.
61887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61889 2012-05-23 David S. Miller <davem@davemloft.net>
61891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61892 (__libc_sigaction): Remove unused local variables.
61894 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
61896 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61898 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
61900 mktime: avoid signed integer overflow
61901 * time/mktime.c (__mktime_internal): Do not mishandle the case
61902 where diff == INT_MIN.
61904 mktime: simplify computation of average
61905 * time/mktime.c (ranged_convert): Use new time_t_avg function
61906 instead of rolling our own (probably-slower) code.
61908 mktime: do not assume signed right shift propagates sign bit
61909 * time/mktime.c (isdst_differ): New static function.
61910 (__mktime_internal): No need to normalize tm_isdst now.
61911 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61914 mktime: merge another wrapv change from gnulib
61915 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61916 from some compilers.
61918 mktime: remove incorrect attempt at unusual arithmetics
61919 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61920 The code didn't really work on such machines anyway.
61921 (TYPE_MINIMUM): Assume two's complement.
61922 (twos_complement_arithmetic): Verify that long_int and time_t
61923 are two's complement (or unsigned, in the latter case).
61925 mktime: check signed shifts on long_int and time_t, too
61926 * time/mktime.c (SHR): Check that shifts work as desired
61927 on the types long_int and time_t too, as SHR is used on
61930 mktime: do not assume 'long' is wide enough
61931 * time/mktime.c (verify): Move decl up.
61932 (long_int): New type.
61933 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61934 to remove assumption in the code that 'long' is wide enough to
61935 store year values. This assumption is not true on x32 and on
61936 some non-glibc platforms.
61938 mktime: merge wrapv change from gnulib
61939 * time/mktime.c (WRAPV): New macro.
61940 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61941 (guess_time_tm, __mktime_internal): Do not assume that signed
61942 integer overflow wraps around; modern compilers generate code
61943 where this assumption is no longer valid.
61945 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
61947 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61948 Replace "jmp L(pseudo_end)" with "ret".
61949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61952 2012-05-23 Andreas Jaeger <aj@suse.de>
61954 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61955 * sysdeps/unix/sysv/linux/poll.c: Remove file.
61957 2012-05-23 Andreas Jaeger <aj@suse.de>
61958 Maximilian Attems <max@stro.at>
61960 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61963 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
61965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61966 code so that pseudo_end is just ret and the stack pointer is
61967 correct also for static library in error case.
61969 2012-05-23 Joseph Myers <joseph@codesourcery.com>
61971 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61972 move to syscalls.list.
61973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61978 * manual/install.texi (Running make install): Do not mention Linux
61979 kernel version for which pt_chown is not needed.
61980 (Linux): Do not mention problems with nscd with 2.0 kernels.
61981 * INSTALL: Regenerated.
61983 2012-05-23 Andreas Jaeger <aj@suse.de>
61985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61986 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61988 * sysdeps/unix/sysv/linux/s390/bits/mman.h
61989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61990 * sysdeps/unix/sysv/linux/sh/bits/mman.h
61991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61992 * sysdeps/unix/sysv/linux/i386/bits/mman.h
61993 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61996 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61998 * sysdeps/unix/sysv/linux/bits/in.h
61999 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62001 2012-05-22 Roland McGrath <roland@hack.frob.com>
62003 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62004 (PREPARE_VERSION): Just use assert instead, it will be elided
62005 under [NDEBUG] anyway.
62007 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62009 * sysdeps/unix/sysv/linux/Makefile: Include
62010 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62011 (sysdep_routines): Remove sysctl.
62012 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62013 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62014 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62015 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62016 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62018 2012-05-22 Andreas Jaeger <aj@suse.de>
62020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62021 that pseudo_end is just ret and the stack pointer is correct also
62022 for static library in error case.
62024 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
62027 * nss/nsswitch.c (defconfig_entries): New variable.
62028 (__nss_database_lookup): Don't leak defconfig entries.
62029 (nss_parse_service_list): Don't leak on error paths.
62030 (free_database_entries): New function.
62031 (free_defconfig): New function.
62032 (free_mem): Move common code to free_database_entries.
62034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62036 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62038 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62040 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62041 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62044 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62045 (INTERNAL_SYSCALL_TYPES): Likewise.
62046 (LOAD_ARGS_TYPES_[1-6]): Likewise.
62047 (LOAD_REGS_TYPES_[1-6]): Likewise.
62048 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62049 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62051 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62054 copysignl for GLIBC_2_0.
62055 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62056 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62058 logbl for GLIBC_2_0.
62059 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62060 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62062 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62065 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62067 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62070 * time/mktime.c: Update copyright years.
62072 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
62074 mktime: merge comment-quoting-style change from gnulib
62075 * time/mktime.c: Quote 'like this' in comments.
62076 The GNU coding standards suggest that we no longer quote `like this',
62077 as "`" and "'" are typically rendered asymmetrically nowadays.
62078 The typical gnulib style is to quote 'like this' when quoting
62079 code, and "like this" when quoting English.
62081 * time/mktime.c (compile-command): Add "-I.".
62083 mktime: merge mktime-internal.h change from gnulib
62084 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62086 mktime: merge time_r change from gnulib
62087 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62089 mktime: merge DEBUG change from gnulib
62090 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62091 case system <time.h> has a #define.
62093 mktime: merge <sys/types.h> change from gnulib
62094 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62095 since <time.t> is now guaranteed to define time_t.
62097 mktime: merge HAVE_CONFIG_H change from gnulib
62098 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62100 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62107 (struct rusage): Use anonymous union to pad each field to
62110 2012-05-21 David S. Miller <davem@davemloft.net>
62112 * Makefules (o-iterator): Remove .s cases.
62113 (compile-command.s): Delete.
62114 (COMPILE.s): Delete.
62115 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62117 2012-05-21 Joseph Myers <joseph@codesourcery.com>
62119 * configure.in (libc_cv_predef_stack_protector): Only consider
62120 "foobar" and "__stack_chk_fail" lines in libc_undefs.
62121 * configure: Regenerated.
62123 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62126 New macro. Use R*LP on int and pointer.
62127 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62128 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62129 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62130 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62132 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62133 [__WORDSIZE_TIME64_COMPAT32] instead of
62134 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62135 (struct utmp): Likewise.
62136 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62137 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62139 (__WORDSIZE_TIME64_COMPAT32): This.
62140 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62141 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62142 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62143 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62145 (__WORDSIZE_TIME64_COMPAT32): New macro.
62147 2012-05-21 Andreas Jaeger <aj@suse.de>
62149 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62150 only if [SHARED]. Add prototype for __wcschr_ia32.
62152 2012-05-21 Roland McGrath <roland@hack.frob.com>
62154 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62155 of %rbp unmolested in the jmp_buf while mangling the low bits.
62156 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62157 unmolested high bits of %rbp while demangling the low bits.
62158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62160 2012-05-21 Andreas Jaeger <aj@suse.de>
62162 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62163 * sunrpc/svc_simple.c: Use it for registerrpc.
62164 * sunrpc/xcrypt.c: Use it for passwd2des.
62166 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62168 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62170 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62171 Don't define if [__SYSCALL_WORDSIZE != 32].
62172 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62175 2012-05-21 Bruno Haible <bruno@clisp.org>
62176 Andreas Jaeger <aj@suse.de>
62178 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62179 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62180 inptr and inend for must_buffer_ch.
62181 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62182 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62183 * stdio-common/Makefile (tests): Remove bug15.
62184 (bug15-ENV): Remove macro.
62185 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62188 2012-05-19 Andreas Jaeger <aj@suse.de>
62189 Roland McGrath <roland@hack.frob.com>
62191 * manual/contrib.texi: Completely rewritten. It contains now an
62192 alphabetical list of contributors and their contributions.
62194 2012-05-21 Richard Henderson <rth@twiddle.net>
62196 * misc/getauxval.c (__getauxval): Use unsigned long int.
62197 * misc/sys/auxv.h: Include <sys/cdefs.h>.
62198 (getauxval): Use unsigned long int.
62200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62204 2012-05-21 Roland McGrath <roland@hack.frob.com>
62206 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62207 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62208 __alignof__ (long double).
62210 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62214 2012-05-20 Richard Henderson <rth@twiddle.net>
62216 * misc/getauxval.c: New file.
62217 * misc/sys/auxv.h: New file.
62218 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62219 (routines): Add getauxval.
62220 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62222 * elf/dl-sysdep.c (_dl_auxv): Remove.
62223 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62224 * elf/dl-support.c (_dl_auxv): New variable.
62225 (_dl_aux_init): Initialize it.
62226 * manual/startup.texi (Auxiliary Vector): New node.
62227 * sysdeps/generic/bits/hwcap.h: New file.
62228 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62229 * sysdeps/powerpc/sysdep.h: ... here. Include it.
62230 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62231 * sysdeps/sparc/sysdep.h: ... here. Include it.
62232 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62245 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62249 2012-05-19 David S. Miller <davem@davemloft.net>
62251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62253 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62256 * math/s_ccosh.c: Include <float.h>
62257 (__ccosh): Avoid internal overflow calculating sinh and cosh
62258 values before multiplying by sin and cos values.
62259 * math/s_ccoshf.c: Likewise.
62260 * math/s_ccoshl.c: Likewise.
62261 * math/s_csin.c: Likewise.
62262 * math/s_csinf.c: Likewise.
62263 * math/s_csinl.c: Likewise.
62264 * math/s_csinh.c: Likewise.
62265 * math/s_csinhf.c: Likewise.
62266 * math/s_csinhl.c: Likewise.
62267 * math/libm-test.inc (ccos_test): Add more tests.
62268 (ccosh_test): Likewise.
62269 (csin_test): Likewise.
62270 (csinh_test): Likewise.
62271 * sysdeps/i386/fpu/libm-test-ulps: Update.
62272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62274 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
62276 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62277 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62279 * sysdeps/x86_64/x32/_itoa.h: Add comment.
62281 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62283 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62284 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62285 * sysdeps/powerpc/soft-fp/Versions: Likewise.
62286 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62287 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62288 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62289 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62290 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62291 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62292 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62293 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62294 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62295 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62296 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62297 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62298 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62299 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62300 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62301 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62302 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62303 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62304 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62305 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62306 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62307 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62308 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62309 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62310 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62311 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62312 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62313 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62315 2012-05-18 Andreas Jaeger <aj@suse.de>
62317 * csu/.gitignore: Delete.
62319 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62321 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62322 (timex): Use __syscall_slong_t.
62324 2012-05-18 Andreas Jaeger <aj@suse.de>
62325 Carlos O'Donell <carlos_odonell@mentor.com>
62327 * manual/install.texi (Configuring and compiling): Update
62328 description about files modified in the source directory.
62329 * INSTALL: Regenerated.
62331 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62333 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62334 value. Use "or" to set return value to -1.
62335 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62336 negate return value.
62338 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62340 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62341 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62342 failure if the compiler has Graphite support disabled.
62343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62345 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62346 (CFLAGS-memmove.c): Likewise.
62347 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62350 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62352 * sysdeps/x86_64/x32/_itoa.h: New file.
62354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62355 getdents system call only if kernel and user dirents have the
62356 same d_ino and d_off.
62358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62359 LLONG_MAX != LONG_MAX.
62360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62361 (_fitoa_word): Likewise.
62363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62365 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62369 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62370 include <bits/wordsize.h>. Check __x86_64__ instead of
62372 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62373 if __x86_64__ is defined. Use anonymous union on fpstate.
62375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62378 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
62380 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62381 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62382 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62383 Refer to _rtld_local_ro instead of _rtld_global_ro.
62384 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62386 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62388 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62390 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62391 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62392 of _rtld_global, and rtld_progname instead of _dl_argv[0].
62395 * sysdeps/powerpc/powerpc32/dl-machine.c
62396 (__elf_machine_runtime_setup) [PROF]: Don't reference
62399 2012-05-18 Andreas Jaeger <aj@suse.de>
62401 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62402 function only available for GCCs before 3.4 since GCC 3.4
62403 introduced a builtin.
62405 (llrintf): Likewise.
62406 (llrint): Likewise.
62413 (nearbyint): Likewise.
62414 (nearbyintf): Likewise.
62418 (floorf): Likewise.
62420 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62422 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62423 on both fields and cast pointer to __syscall_ulong_t.
62425 * bits/types.h (__fsword_t): New type.
62426 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62427 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62429 (__FSWORD_T_TYPE): Likewise.
62430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62431 (__FSWORD_T_TYPE): Likewise.
62432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62433 (__FSWORD_T_TYPE): Likewise.
62434 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62435 (__FSWORD_T_TYPE): Likewise.
62436 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62437 __SWORD_TYPE with __fsword_t.
62438 (statfs64): Likewise.
62440 2012-05-17 David S. Miller <davem@davemloft.net>
62442 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62444 2012-05-17 Andreas Jaeger <aj@suse.de>
62446 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62449 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62451 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62453 2012-05-17 Andreas Jaeger <aj@suse.de>
62455 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62458 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
62460 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62462 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62464 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62465 * sysdeps/x86_64/tst-mallocalign1.c: New file.
62467 2012-05-17 Andreas Jaeger <aj@suse.de>
62468 Carlos O'Donell <carlos_odonell@mentor.com>
62471 * sysdeps/x86_64/multiarch/init-arch.h
62472 (bit_YMM_Usable): Rename to...
62473 (bit_AVX_Usable): ... this.
62474 (bit_FMA4_Usable): New macro.
62475 (bit_XMM_state): New macro.
62476 (bit_YMM_state): New macro.
62477 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62478 [__ASSEMBLER__] (index_AVX_Usable): ... this.
62479 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62480 (CPUID_OSXSAVE): New macro.
62481 (CPUID_AVX): New macro.
62482 (CPUID_FMA4): New macro.
62483 (index_YMM_Usable): Rename to...
62484 (index_AVX_Usable): ... this.
62485 (HAS_AVX): Use HAS_ARCH_FEATURE.
62486 (HAS_FMA4): Likewise.
62487 (HAS_YMM_USABLE): Remove.
62488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62489 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62491 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62492 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62493 * sysdeps/x86_64/multiarch/Makefile: Likewise.
62494 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62495 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62497 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
62499 * math/libm-test.c: Support platforms without multiple rounding modes.
62500 * math/bug-nextafter.c: Support platforms without FP exceptions.
62501 * math/bug-nexttoward.c: Likewise.
62502 * math/test-fenv.c: Likewise.
62503 * math/test-misc.c: Likewise.
62504 * stdlib/bug-getcontext.c: Likewise.
62506 2012-05-17 Andreas Jaeger <aj@suse.de>
62508 * manual/examples/search.c (critter_cmp): Change signature to
62510 * manual/string.texi (Collation Functions): Likewise.
62512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62514 * bits/types.h: Fold copyright years.
62515 * bits/typesizes.h: Likewise.
62516 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62517 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62520 * time/time.h: Likewise.
62522 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
62525 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62526 in instead of returning them. Return void.
62527 (__libc_mallinfo): Accumulate over all arenas.
62528 (__malloc_stats): Adjust for change in int_mallinfo interface.
62530 2012-05-16 Roland McGrath <roland@hack.frob.com>
62533 * configure.in (NM): Add AC_CHECK_TOOL for it.
62534 (libc_extra_cflags): New substituted variable.
62535 Check for -fstack-protector being used implicitly.
62536 * configure: Regenerated.
62537 * config.make.in (config-extra-cflags): New variable,
62538 gets @libc_extra_cflags@.
62539 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62542 * configure.in: Check for _FORTIFY_SOURCE being predefined.
62543 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62544 * configure: Regenerated.
62545 * config.make.in (CPPUNDEFS): New substituted variable.
62546 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62547 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62548 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62550 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62552 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62553 (mq_attr): Use __syscall_slong_t.
62555 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62557 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62558 Check __x86_64__ instead of __WORDSIZE.
62559 (_STAT_VER_LINUX): Likewise.
62560 (stat): Check __x86_64__ instead of __WORDSIZE. Use
62561 __syscall_ulong_t and __syscall_slong_t.
62562 (stat64): Likewise.
62564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62566 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62570 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62572 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62574 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62577 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62578 include <bits/wordsize.h>. Check __x86_64__ instead of
62580 (greg_t): Use "__extension__ long long int" if __x86_64__ is
62582 (mcontext_t): Replace "unsigned long" with "unsigned long long".
62584 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62585 include <bits/wordsize.h>. Check __x86_64__ instead of
62587 (user_regs_struct): Use "__extension__ unsigned long long"
62588 instead of "unsigned long" if __x86_64__ is defined.
62589 (user): Likewise. Pad after pointer field if __ILP32__ is
62592 2012-05-16 Joseph Myers <joseph@codesourcery.com>
62594 * configure.in (makeinfo): Require version 4.5 or later. Allow
62596 * configure: Regenerated.
62597 * manual/install.texi (texinfo): Increase version requirement to
62599 * INSTALL: Regenerated.
62601 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62603 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62605 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62607 * sysdeps/x86_64/x32/ffs.c: New file.
62609 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62611 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62612 defined. Use __syscall_ulong_t.
62613 (shminfo): Use __syscall_ulong_t.
62614 (shm_info): Likewise.
62616 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62619 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62621 (msgqnum_t): Use __syscall_ulong_t.
62622 (msglen_t): Likewise.
62623 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
62626 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62629 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62631 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62632 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62634 * sysvipc/sys/msg.h (msgbuf): Replace long int with
62637 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62638 include <bits/wordsize.h>. Check __x86_64__ instead of
62641 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62642 "unsigned long long int" if __x86_64__ is defined.
62643 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62646 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62647 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62649 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62651 (GET_PC): Cast to uintptr_t first.
62652 (GET_FRAME): Likewise.
62653 (GET_STACK): Likewise.
62655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62661 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62662 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62663 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62667 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62671 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62672 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62673 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62674 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62675 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62676 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62677 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62678 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62679 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62681 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62683 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62685 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
62687 * Makerules (+depfiles): Also collect depfiles from .oS in
62689 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62690 .oS, $(libnldbl-routines)).
62692 * Makerules (native-compile-mkdep-flags): Define.
62693 * sunrpc/Makefile (extra-objs): Add $(addprefix
62694 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62695 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62696 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
62697 calling $(make-target-directory).
62699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62701 * bits/types.h (__snseconds_t): Removed.
62702 * time/time.h (struct timespec): Replace __snseconds_t with
62704 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62705 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62708 (__SNSECONDS_T_TYPE): Likewise.
62709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62710 (__SNSECONDS_T_TYPE): Likewise.
62711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62712 (__SNSECONDS_T_TYPE): Likewise.
62714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62716 * sysdeps/mach/hurd/bits/typesizes.h
62717 (__SYSCALL_SLONG_TYPE): New macro.
62718 (__SYSCALL_ULONG_TYPE): Likewise.
62720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62722 * bits/types.h (__syscall_slong_t): New type.
62723 (__syscall_ulong_t): Likewise.
62725 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62726 (__SYSCALL_ULONG_TYPE): Likewise.
62727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62728 (__SYSCALL_SLONG_TYPE): Likewise.
62729 (__SYSCALL_ULONG_TYPE): Likewise.
62730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62731 (__SYSCALL_SLONG_TYPE): Likewise.
62732 (__SYSCALL_ULONG_TYPE): Likewise.
62733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62734 (__SYSCALL_SLONG_TYPE): Likewise.
62735 (__SYSCALL_ULONG_TYPE): Likewise.
62737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62739 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62740 Add sigaltstack-offsets.sym.
62741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62742 <sigaltstack-offsets.h>.
62743 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
62744 longjmp_msg pointer.
62745 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
62746 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62748 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62750 2012-05-15 Joseph Myers <joseph@codesourcery.com>
62752 * elf/stackguard-macros.h: Remove file.
62753 * sysdeps/generic/stackguard-macros.h: New file.
62754 * sysdeps/i386/stackguard-macros.h: Likewise.
62755 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62756 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62757 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62758 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62759 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62760 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62761 * sysdeps/x86_64/stackguard-macros.h: Likewise.
62762 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62763 <elf/stackguard-macros.h>.
62766 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62767 __aligned__ in attribute.
62768 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62769 (gregset_t): Likewise.
62771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62773 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62774 * sysdeps/x86_64/64/Implies-after: Here. New file.
62775 * sysdeps/x86_64/x32/Implies-after: New file.
62777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62779 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62780 and access return value for _dl_profile_fixup. Use R10_LP to
62783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62785 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62789 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62790 * sysdeps/x86_64/x32/sysdep.h: New file.
62792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62794 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62795 * sysdeps/x86_64/setjmp.S: Likewise.
62797 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62801 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62802 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62803 remove unused global constant.
62805 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
62807 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62808 include of <not-cancel.h>.
62810 2012-05-15 Roland McGrath <roland@hack.frob.com>
62812 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62814 2012-05-15 Jeff Law <law@redhat.com>
62815 Andreas Jaeger <aj@suse.de>
62818 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62820 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62821 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62822 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62823 code changing __hst_map_handle.map.
62825 2012-05-15 Roland McGrath <roland@hack.frob.com>
62827 * configure.in (sysnames): Look for Implies-before and Implies-after
62829 * configure: Regenerated.
62831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62833 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62834 8-byte data alignment with LP_SIZE alignment.
62836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62838 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62843 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62847 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62848 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62851 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62855 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62856 (stackinfo_sub_sp): Likewise.
62858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62860 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62875 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62879 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62880 into R11_LP and load __x86_64_shared_cache_size_half into
62883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62888 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62897 powerpc32/power7/fpu/s_logb.c via #include.
62898 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62899 powerpc32/power7/fpu/s_logbf.c via #include.
62900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62901 powerpc32/power7/fpu/s_logbl.c via #include.
62903 2012-05-15 Joseph Myers <joseph@codesourcery.com>
62905 * README.libm: Remove file.
62907 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62909 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62910 count for x32. Use R*_LP and omit operand-size suffix.
62912 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62914 * shlib-versions: Move x86_64-.*-linux.* entries to ...
62915 * sysdeps/x86_64/64/shlib-versions: Here. New file.
62916 * sysdeps/x86_64/x32/shlib-versions: New file.
62918 2012-05-14 Roland McGrath <roland@hack.frob.com>
62920 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62921 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62922 Use _dl_fatal_printf instead.
62924 2012-05-14 Joseph Myers <joseph@codesourcery.com>
62926 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62927 set if not set by the user. Do not allow for being unset.
62928 * sysdeps/unix/sysv/linux/configure: Regenerated.
62930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62932 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62933 the `q' suffix from lea and replace .quad with ASM_ADDR.
62935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62938 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
62940 (PTR_DEMANGLE): Likewise.
62942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62944 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62946 (ASM_ADDR): Likewise.
62947 (RAX_LP): Likewise.
62948 (RBP_LP): Likewise.
62949 (RBX_LP): Likewise.
62950 (RCX_LP): Likewise.
62951 (RDI_LP): Likewise.
62952 (RSI_LP): Likewise.
62953 (RSP_LP): Likewise.
62956 (R10_LP): Likewise.
62957 (R10_LP): Likewise.
62958 (R11_LP): Likewise.
62959 (R12_LP): Likewise.
62960 (R13_LP): Likewise.
62961 (R14_LP): Likewise.
62962 (R15_LP): Likewise.
62964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
62966 * sysdeps/x86_64/x32/dl-machine.h: New file.
62968 2012-05-14 Andreas Jaeger <aj@suse.de>
62970 * manual/Makefile (subdir): Remove export of subdir.
62971 (all): Remove target.
62972 (.PHONY): Remove all from list.
62973 (mkinstalldirs): Remove.
62974 (.PHONY): Remove installdirs from list.
62975 ($(inst_infodir)/libc.info): Use make-target-directory.
62976 (installdirs): Remove.
62977 (subdir_%): Remove.
62978 (glibc-targets): Remove.
62981 ($(objpfx)stubs ../po/manual.pot): Remove.
62982 ($(objpfx)stamp%): Remove.
62983 (make-target-directory): Remove.
62984 (subdir_install): Remove.
62985 (routines): Remove.
62992 * manual/.gitignore: Remove, it's not needed anymore.
62993 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62995 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62997 (texis): Renamed to $(objpfx)texis.
62998 (texis-path): New, contains path to generated files.
62999 (chapters.%): Use texis-path for complete path, add extra argument
63001 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63002 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63003 (summary,texi, stamp-summary): Use complete path of
63004 files. Generate files in build dir.
63005 (dir-add.texi): Build in build dir.
63006 (libm-err.texi,stamp-libm-err): Likewise.
63007 (version.texi, stamp-version): Likewise.
63008 (.%c.texi): Likewise.
63009 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63010 (mostlyclean): Remove target.
63011 (realclean): Remove target.
63012 (generated): Add new variable with contents from mostlyclean and
63013 realclean, remove entries duplicated in common-mostlyclean, add
63014 stamp-libm-err and stamp-version.
63015 (generated-dirs): Add libc directory.
63016 ($(inst_infodir)/libc.info): Install files from build dir.
63018 * manual/install.texi (Configuring and compiling): Adjust since
63019 the info files are not part of the tar ball anymore.
63021 2012-05-14 Andreas Jaeger <aj@suse.de>
63023 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63026 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63030 to 2.2.0 where earlier.
63031 * sysdeps/unix/sysv/linux/configure: Regenerated.
63032 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63033 Remove conditional code.
63034 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63035 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63036 Remove conditional code.
63037 [!__NR_lchown]: Likewise.
63038 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63039 [__NR_lchown]: Likewise.
63040 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63041 comment referencing __ASSUME_LCHOWN_SYSCALL.
63042 * sysdeps/unix/sysv/linux/i386/sigaction.c
63043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63045 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63046 Remove conditional code.
63047 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63048 (__protocol_available): Remove #if 0 code.
63049 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63051 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63052 * sysdeps/unix/sysv/linux/kernel-features.h
63053 (__ASSUME_GETCWD_SYSCALL): Don't define.
63054 (__ASSUME_REALTIME_SIGNALS): Likewise.
63055 (__ASSUME_PREAD_SYSCALL): Likewise.
63056 (__ASSUME_PWRITE_SYSCALL): Likewise.
63057 (__ASSUME_POLL_SYSCALL): Likewise.
63058 (__ASSUME_LCHOWN_SYSCALL): Likewise.
63059 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63061 (__ASSUME_SIOCGIFNAME): Don't define.
63062 (__ASSUME_MSG_NOSIGNAL): Likewise.
63063 (__ASSUME_SENDFILE): Define unconditionally.
63064 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63065 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63067 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63068 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63069 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63070 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63071 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63072 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63073 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63075 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63076 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63078 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63079 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63081 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63084 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63085 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63087 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63090 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63096 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63098 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63099 Remove conditional code.
63100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63101 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63102 Remove conditional code.
63103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63104 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63105 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63106 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63107 Remove conditional code.
63108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63109 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63110 Remove conditional code.
63111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63112 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63113 Remove conditional code.
63114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63115 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63116 Remove conditional code.
63117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63118 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63119 Remove conditional code.
63120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63121 * sysdeps/unix/sysv/linux/sh/pwrite64.c
63122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63124 * sysdeps/unix/sysv/linux/sigaction.c
63125 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63126 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63127 * sysdeps/unix/sysv/linux/sigpending.c
63128 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63129 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63130 * sysdeps/unix/sysv/linux/sigprocmask.c
63131 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63132 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63133 * sysdeps/unix/sysv/linux/sigsuspend.c
63134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63137 (__libc_missing_rt_sigs): Remove.
63138 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63139 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63140 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63141 Remove conditional code.
63142 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63143 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63145 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63146 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63147 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63148 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63150 2012-05-14 Andreas Jaeger <aj@suse.de>
63152 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63153 it's not used in glibc.
63154 (__coshm1): Likewise.
63155 (__acosh1p): Likewise.
63158 * manual/string.texi (Copying and Concatenation): Add missing
63159 variable in concat example.
63160 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63165 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63166 __builtin_clzl with __builtin_clzll.
63168 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63171 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63174 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63176 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63177 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63178 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63181 2012-05-14 Mike Frysinger <vapier@gentoo.org>
63183 * NEWS: Update ia64 info.
63185 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
63187 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63190 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
63192 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63193 * sysdeps/unix/syscalls.list (dup3): Likewise.
63194 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63195 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63197 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63199 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63200 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63202 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63204 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63206 (TLS_IE): Use mov/add instead of movq/addq to load thread
63208 (TLS_GD_PREFIX): New.
63211 2012-05-11 David S. Miller <davem@davemloft.net>
63213 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63214 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63215 (_FPU_SETCW): Likewise.
63217 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63219 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63220 is 32-byte aligned.
63222 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
63225 * iconvdata/gb18030.c: Update tables.
63226 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
63227 characters specially.
63228 (BODY for TO_LOOP): Add encoding of missing ranges.
63230 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
63233 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63234 * sysdeps/mach/hurd/dup3.c: Likewise.
63235 * sysdeps/mach/hurd/readlinkat.c: Likewise.
63236 * sysdeps/powerpc/memmove.c:: Likewise.
63238 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63241 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63245 * elf/elf.h (R_X86_64_RELATIVE64): New.
63246 (R_X86_64_NUM): Updated.
63247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63248 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
63249 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63250 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63251 tst-quad1pie tst-quad2pie
63252 (modules-names): Add tst-quadmod1 tst-quadmod2.
63253 ($(objpfx)tst-quad1): New dependency.
63254 ($(objpfx)tst-quad2): Likewise.
63255 ($(objpfx)tst-quad1pie): Likewise.
63256 ($(objpfx)tst-quad2pie): Likewise.
63257 * sysdeps/x86_64/tst-quad1.c: New file.
63258 * sysdeps/x86_64/tst-quad1pie.c: New file.
63259 * sysdeps/x86_64/tst-quad2.c: Likewise.
63260 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63261 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63262 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63263 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63264 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63268 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63269 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63270 * streams/stropts.h (t_scalar_t): Define type.
63272 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63273 (_PATH_PRESERVE): Set to "/var/lib".
63274 (_PATH_RWHODIR): Set to "/var/spool/rwho".
63276 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63279 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63280 if __dir_mkfile succeeded.
63282 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63283 checking for _hurd_dtablesize. Unlock it right after having
63284 finished _hurd_dtable allocation.
63286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63288 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63289 * sysdeps/mach/hurd/configure: Regenerated.
63290 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63291 special-casing to...
63292 * sysdeps/gnu/configure.in: ... this new file.
63293 * sysdeps/unix/sysv/linux/configure: Regenerated.
63294 * sysdeps/gnu/configure: New generated file.
63296 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63297 for Linux: use nsec instead of usec, as well as:
63298 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63299 members of type struct timespec.
63300 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63302 (struct stat64): Likewise.
63303 (_STATBUF_ST_NSEC): New macro.
63304 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63306 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63307 __strtoul_internal rather than strtoul.
63309 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63311 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63314 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63316 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63317 which preserves existing values.
63318 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63320 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63322 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63323 TIMEOUT values. Return EINVAL for NFDS values either negative or
63324 greater than FD_SETSIZE.
63326 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63328 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63329 allocated, call __vm_protect to finish enabling the existing space, and
63330 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63331 allocate the remainder.
63333 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63335 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63336 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
63338 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63340 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63341 sysdeps/mach/hurd/readlink.c.
63343 * posix/tst-sysconf.c (posix_options): Only use
63344 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63345 _POSIX_SYNCHRONIZED_IO when they are defined
63346 * sysdeps/mach/hurd/bits/posix_opt.h:
63347 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63348 (_XOPEN_REALTIME): Undefine macro.
63349 (_XOPEN_REALTIME_THREADS): Undefine macro.
63350 (_XOPEN_SHM): Undefine macro.
63351 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63353 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63355 (_POSIX_ASYNC_IO): Undefine macro.
63356 (_POSIX_PRIORITIZED_IO): Undefine macro.
63357 (_POSIX_SPIN_LOCKS): Define macro to -1.
63359 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63360 SA_NODEFER, SA_RESETHAND.
63361 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63362 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63367 * elf/Makefile (pldd-modules): Define unconditionally.
63369 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63371 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63375 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63376 Return ENOENT when name is empty.
63377 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63381 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63383 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63387 Fix mlock in all cases except non-readable pages.
63388 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63389 instead of VM_PROT_ALL as parameter to __vm_wire function.
63391 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63392 (__mkdir): When path is `/', just fail with EEXIST.
63393 * sysdeps/mach/hurd/mkdirat.c: Likewise.
63395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63397 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63398 <sys/uio.h> (for writev).
63399 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63400 and <sys/param.h> (for MIN).
63402 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63404 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63405 REQUESTED_TIME. Properly set the remaining time and return EINTR
63408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63410 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63411 Depend on against $(link-rpcuserlibs).
63413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63415 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63416 (__libc_stack_end): Do not use attribute_relro.
63417 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63418 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63419 to libthread-provided value.
63420 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63426 * bits/libc-lock.h (__libc_once_get): New macro.
63427 * sysdeps/mach/bits/libc-lock.h: Likewise.
63428 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63430 instead of using implementation details.
63432 * libio/fileops.c: Unconditionally include <kernel-features.h>.
63433 * libio/freopen.c: Likewise.
63434 * libio/freopen64.c: Likewise.
63435 * misc/syslog.c: Likewise.
63436 * nscd/connections.c: Likewise.
63437 * nscd/netgroupcache.c: Likewise.
63438 * sysdeps/posix/getcwd.c: Likewise.
63440 2012-05-10 Roland McGrath <roland@hack.frob.com>
63442 * math/w_ilogbf.c: Add #include <limits.h>.
63444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63446 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63447 path instead of returning without unlocking.
63449 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63450 immediate-write ioctls.
63451 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63455 * sysdeps/mach/hurd/i386/init-first.c (init): Use
63456 __builtin_frame_address instead of making assumptions about the
63457 location of the return address relative to DATA. Force early load of
63458 the return address.
63459 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63460 __builtin_frame_address.
63463 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63464 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
63465 implement dup3 and do some further code clean-ups.
63466 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63467 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63471 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63473 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63474 HURD_CRITICAL_END around holding _hurd_dtable_lock.
63475 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63476 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63477 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63480 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63481 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
63482 when handler == SIG_ERR, not when handler != SIG_ERR.
63484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63486 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63487 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63490 accept4 for GNU Hurd.
63491 * include/sys/socket.h (__libc_accept4): New prototype.
63492 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
63493 to implement __libc_accept4.
63494 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63496 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63498 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63499 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63500 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63501 signal-defines.sym.
63503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63505 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63509 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63510 assertion on O_CLOEXEC flag.
63511 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63512 * hurd/intern-fd.c: Likewise.
63513 * hurd/port2fd.c: Likewise.
63515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63518 * bits/in.h (IPV6_PKTINFO): Define new macro.
63519 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63521 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63526 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63527 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63528 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63529 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63530 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63531 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63532 * math/libm-test.inc (logb_test) : Additional logb tests.
63534 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
63535 Andreas Jaeger <aj@suse.de>
63537 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63538 * configure: Regenerated.
63539 * config.h.in (LINK_OBSOLETE_RPC): New macro.
63540 * config.make.in (link-obsolete-rpc): New substituted variable.
63541 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63542 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63543 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63544 (shared-only-routines): Don't set it under [link-obsolete-rpc],
63545 so that libc.a contains the symbols.
63546 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63547 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63548 * sunrpc/auth_none.c: Likewise.
63549 * sunrpc/auth_unix.c: Likewise.
63550 * sunrpc/authdes_prot.c: Likewise.
63551 * sunrpc/authuxprot.c: Likewise.
63552 * sunrpc/clnt_gen.c: Likewise.
63553 * sunrpc/clnt_perr.c: Likewise.
63554 * sunrpc/clnt_raw.c: Likewise.
63555 * sunrpc/clnt_simp.c: Likewise.
63556 * sunrpc/clnt_tcp.c: Likewise.
63557 * sunrpc/clnt_udp.c: Likewise.
63558 * sunrpc/clnt_unix.c: Likewise.
63559 * sunrpc/des_crypt.c: Likewise.
63560 * sunrpc/des_soft.c: Likewise.
63561 * sunrpc/get_myaddr.c: Likewise.
63562 * sunrpc/key_call.c: Likewise.
63563 * sunrpc/key_prot.c: Likewise.
63564 * sunrpc/netname.c: Likewise.
63565 * sunrpc/pm_getmaps.c: Likewise.
63566 * sunrpc/pm_getport.c: Likewise.
63567 * sunrpc/pmap_clnt.c: Likewise.
63568 * sunrpc/pmap_prot.c: Likewise.
63569 * sunrpc/pmap_prot2.c: Likewise.
63570 * sunrpc/pmap_rmt.c: Likewise.
63571 * sunrpc/publickey.c: Likewise.
63572 * sunrpc/rpc_cmsg.c: Likewise.
63573 * sunrpc/rpc_common.c: Likewise.
63574 * sunrpc/rpc_dtable.c: Likewise.
63575 * sunrpc/rpc_prot.c: Likewise.
63576 * sunrpc/rpc_thread.c: Likewise.
63577 * sunrpc/rtime.c: Likewise.
63578 * sunrpc/svc.c: Likewise.
63579 * sunrpc/svc_auth.c: Likewise.
63580 * sunrpc/svc_raw.c: Likewise.
63581 * sunrpc/svc_run.c: Likewise.
63582 * sunrpc/svc_tcp.c: Likewise.
63583 * sunrpc/svc_udp.c: Likewise.
63584 * sunrpc/svc_unix.c: Likewise.
63585 * sunrpc/svcauth_des.c: Likewise.
63586 * sunrpc/xcrypt.c: Likewise.
63587 * sunrpc/xdr.c: Likewise.
63588 * sunrpc/xdr_array.c: Likewise.
63589 * sunrpc/xdr_float.c: Likewise.
63590 * sunrpc/xdr_intXX_t.c: Likewise.
63591 * sunrpc/xdr_mem.c: Likewise.
63592 * sunrpc/xdr_rec.c: Likewise.
63593 * sunrpc/xdr_ref.c: Likewise.
63594 * sunrpc/xdr_sizeof.c: Likewise.
63595 * sunrpc/xdr_stdio.c: Likewise.
63597 2012-05-10 Roland McGrath <roland@hack.frob.com>
63599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63600 change. Update copyright years.
63602 2012-05-10 Joseph Myers <joseph@codesourcery.com>
63604 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63606 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
63607 Joseph Myers <joseph@codesourcery.com>
63608 Paul Pluzhnikov <ppluzhnikov@google.com>
63611 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63613 [cross-compiling] (extra-libs): Likewise.
63614 [cross-compiling] (extra-libs-others): Likewise.
63615 [cross-compiling] (librpcsvc-routines): Likewise.
63616 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63617 [cross-compiling] (omit-deps): Likewise.
63618 (sunrpc-CPPFLAGS): New variable.
63619 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63620 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63621 (cross-rpcgen-objs): New variable.
63622 (extra-objs): Append $(cross-rpcgen-objs).
63623 ($(cross-rpcgen-objs)): New rule.
63624 ($(objpfx)cross-rpcgen): Likewise.
63625 (rpcgen-cmd): Define to use $(built-program-file). Expand
63627 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63628 ($(objpfx)x%.stmp): Likewise.
63629 * sunrpc/proto.h [IS_IN_build] (_): Define.
63630 [IS_IN_build] (_libc_intl_domainname): Likewise.
63632 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63635 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63636 and R_X86_64_TPOFF64.
63638 2012-05-10 Joseph Myers <joseph@codesourcery.com>
63640 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63641 sysdeps/unix/sysv/syscalls.list.
63644 * sysdeps/unix/sysv/syscalls.list: Remove file.
63646 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
63649 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63650 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63651 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63652 (__LC_IDENTIFICATION): Make these macros useful in #if
63653 expressions, as required by C99.
63655 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
63657 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63658 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
63661 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
63663 * stdlib/longlong.h: Updated from GCC.
63665 2012-05-09 Andreas Jaeger <aj@suse.de>
63667 * nscd/nscd.c (run_modes): Make named enum, reorder so that
63668 default is first entry.
63669 (run_mode): Set type.
63670 (main): Remove informal message about syslog.
63671 (options): Fix typo.
63674 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63677 (llrintf): Likewise.
63678 (llrint): Likewise.
63681 (nearbyint): Likewise.
63682 (nearbyintf): Likewise.
63684 2012-05-09 Andreas Jaeger <aj@suse.de>
63685 Pedro Alves <palves@redhat.com>
63687 * nscd/nscd.c (run_mode): Use enum.
63688 (main): Cleanup coding style issue.
63690 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
63691 Andreas Jaeger <aj@suse.de>
63693 * nscd/nscd.c (go_background): Replaced with...
63694 (run_mode): ... this.
63695 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63696 (options): Add -F --foreground.
63697 (main): Implement it.
63698 (parse_opt): Parse it.
63700 2012-05-09 Andreas Jaeger <aj@suse.de>
63703 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63704 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63705 -Wconversion warning.
63706 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63709 2012-05-09 Joseph Myers <joseph@codesourcery.com>
63711 * conform/data/locale.h-data (NULL): Use macro-constant. Require
63713 (LC_ALL): Use macro-int-constant.
63714 (LC_COLLATE): Likewise.
63715 (LC_CTYPE): Likewise.
63716 (LC_MESSAGES): Likewise.
63717 (LC_MONETARY): Likewise.
63718 (LC_NUMERIC): Likewise.
63719 (LC_TIME): Likewise.
63720 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63721 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63722 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63723 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63725 [C99-based standards] (float_t): Expect type.
63726 [C99-based standards] (double_t): Expect type.
63727 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
63729 [C99-based standards] (HUGE_VALL): Likewise.
63730 [C99-based standards] (INFINITY): Likewise.
63731 [C99-based standards] (NAN): Likewise.
63732 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63733 [C99-based standards] (FP_NAN): Likewise.
63734 [C99-based standards] (FP_NORMAL): Likewise.
63735 [C99-based standards] (FP_SUBNORMAL): Likewise.
63736 [C99-based standards] (FP_ZERO): Likewise.
63737 [C99-based standards] (FP_FAST_FMA): Use
63738 optional-macro-int-constant. Specify type. Require == 1.
63739 [C99-based standards] (FP_FAST_FMAF): Likewise.
63740 [C99-based standards] (FP_FAST_FMAL): Likewise.
63741 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63742 [C99-based standards] (FP_ILOGBNAN): Likewise.
63743 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63745 [C99-based standards] (MATH_ERREXCEPT): Likewise.
63746 [C99-based standards] (math_errhandling): Specify type.
63747 [ISO99 || ISO11] (signgam): Do not allow.
63748 [non-C99-based standards] (copysignf): Do not allow.
63749 [non-C99-based standards] (exp2f): Likewise.
63750 [non-C99-based standards] (log2f): Likewise.
63751 [non-C99-based standards] (modff): Allow.
63752 [non-C99-based standards] (erff): Do not allow.
63753 [non-C99-based standards] (erfcf): Likewise.
63754 [non-C99-based standards] (gammaf): Likewise.
63755 [non-C99-based standards] (hypotf): Likewise.
63756 [non-C99-based standards] (j0f): Likewise.
63757 [non-C99-based standards] (j1f): Likewise.
63758 [non-C99-based standards] (jnf): Likewise.
63759 [non-C99-based standards] (lgammaf): Likewise.
63760 [non-C99-based standards] (tgammaf): Likewise.
63761 [non-C99-based standards] (y0f): Likewise.
63762 [non-C99-based standards] (y1f): Likewise.
63763 [non-C99-based standards] (ynf): Likewise.
63764 [non-C99-based standards] (isnanf): Likewise.
63765 [non-C99-based standards] (acoshf): Likewise.
63766 [non-C99-based standards] (asinhf): Likewise.
63767 [non-C99-based standards] (atanhf): Likewise.
63768 [non-C99-based standards] (cbrtf): Likewise.
63769 [non-C99-based standards] (expm1f): Likewise.
63770 [non-C99-based standards] (ilogbf): Likewise.
63771 [non-C99-based standards] (log1pf): Likewise.
63772 [non-C99-based standards] (logbf): Likewise.
63773 [non-C99-based standards] (nextafterf): Likewise.
63774 [non-C99-based standards] (remainderf): Likewise.
63775 [non-C99-based standards] (rintf): Likewise.
63776 [non-C99-based standards] (scalbf): Likewise.
63777 [non-C99-based standards] (copysignl): Likewise.
63778 [non-C99-based standards] (exp2l): Likewise.
63779 [non-C99-based standards] (log2l): Likewise.
63780 [non-C99-based standards] (modfl): Allow.
63781 [non-C99-based standards] (erfl): Do not allow.
63782 [non-C99-based standards] (erfcl): Likewise.
63783 [non-C99-based standards] (gammal): Likewise.
63784 [non-C99-based standards] (hypotl): Likewise.
63785 [non-C99-based standards] (j0l): Likewise.
63786 [non-C99-based standards] (j1l): Likewise.
63787 [non-C99-based standards] (jnl): Likewise.
63788 [non-C99-based standards] (lgammal): Likewise.
63789 [non-C99-based standards] (tgammal): Likewise.
63790 [non-C99-based standards] (y0l): Likewise.
63791 [non-C99-based standards] (y1l): Likewise.
63792 [non-C99-based standards] (ynl): Likewise.
63793 [non-C99-based standards] (isnanl): Likewise.
63794 [non-C99-based standards] (acoshl): Likewise.
63795 [non-C99-based standards] (asinhl): Likewise.
63796 [non-C99-based standards] (atanhl): Likewise.
63797 [non-C99-based standards] (cbrtl): Likewise.
63798 [non-C99-based standards] (expm1l): Likewise.
63799 [non-C99-based standards] (ilogbl): Likewise.
63800 [non-C99-based standards] (log1pl): Likewise.
63801 [non-C99-based standards] (logbl): Likewise.
63802 [non-C99-based standards] (nextafterl): Likewise.
63803 [non-C99-based standards] (remainderl): Likewise.
63804 [non-C99-based standards] (rintl): Likewise.
63805 [non-C99-based standards] (scalbl): Likewise.
63806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63807 [non-C99-based standards] (FP_*): Do not allow.
63808 [C99-based standards] (FP_*): Change to
63809 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63810 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63812 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63813 (SIG_ERR): Likewise.
63814 [X/Open-based standards] (SIG_HOLD): Likewise.
63815 (SIG_IGN): Likewise.
63816 (SIGABRT): Use macro-int-constant. Specify type. Require
63818 (SIGFPE): Likewise.
63819 (SIGILL): Likewise.
63820 (SIGINT): Likewise.
63821 (SIGSEGV): Likewise.
63822 (SIGTER): Likewise.
63823 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63824 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63825 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63826 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63827 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63828 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63829 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63830 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63831 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63832 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63833 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63834 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63835 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63836 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63837 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63838 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63839 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63840 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63841 [X/Open-based standards] (SIGTRAP): Likewise.
63842 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63843 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63844 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63845 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63846 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63849 2012-05-08 Ian Wienand <ianw@vmware.com>
63852 * time/tzset.c (__tzset_parse_tz): Update default rules for
63853 daylight time changes in the Energy Policy Act of 2005.
63855 2012-05-09 Andreas Jaeger <aj@suse.de>
63858 * elf/ldconfig.c (parse_conf): Change string to make clear that
63859 ldconfig only issued a warning if ld.so.conf does not exist.
63861 2012-05-08 David S. Miller <davem@davemloft.net>
63863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63864 movxtod instead of popping the value on the stack.
63866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63868 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
63870 * config.h.in: Add HAVE_ARM_PCS_VFP.
63872 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
63875 * include/features.h: Warn if user requests __FORTIFY_SOURCE
63876 checking but the checks are disabled for any reason.
63878 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
63880 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63881 and ELF64_R_TYPE with ELFW(R_TYPE).
63883 2012-05-08 Joseph Myers <joseph@codesourcery.com>
63885 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63886 (ulimit): Likewise.
63888 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63889 (settimeofday): Likewise.
63891 2012-05-08 Mike Frysinger <vapier@gentoo.org>
63893 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
63894 a struct th_u2 inside the union, and move tu_block/tu_code into
63895 a new th_u3 union of tu_block/tu_code inside of that. Move
63896 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
63897 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
63898 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63899 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63900 (th_stuff): Change to th_u1.tu_stuff.
63902 (th_msg): Change to th_u1.th_u2.tu_data.
63904 2012-05-07 David S. Miller <davem@davemloft.net>
63906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63909 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63910 (SETUP_PIC_REG): Use it.
63911 (SETUP_PIC_REG_LEAF): Use it.
63913 2012-05-07 Joseph Myers <joseph@codesourcery.com>
63917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63919 (EXPL_FINITE): Likewise.
63920 (FLDLOG): Likewise.
63921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63922 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63924 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63926 (EXPL_FINITE): Likewise.
63927 (FLDLOG): Likewise.
63928 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63929 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63931 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
63932 test of -max_value argument for long double.
63933 * sysdeps/i386/fpu/libm-test-ulps: Update.
63934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63936 2012-05-06 David S. Miller <davem@davemloft.net>
63938 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63939 quad soft-float symbols whose references which are compiler
63941 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63943 2012-05-06 Joseph Myers <joseph@codesourcery.com>
63947 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63949 (EXPL_FINITE): Likewise.
63950 (FLDLOG): Likewise.
63953 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
63954 Adjust comments for base varying.
63955 (__expl_finite): Change alias to EXPL_FINITE.
63956 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63958 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63959 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63960 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63961 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63964 (EXPL_FINITE): Likewise.
63965 (FLDLOG): Likewise.
63968 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
63969 Adjust comments for base varying.
63970 (__expl_finite): Change alias to EXPL_FINITE.
63971 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
63973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63976 * math/libm-test.inc (check_float_internal): Correct ulp
63977 calculation for subnormal expected results.
63979 2012-05-06 Andreas Jaeger <aj@suse.de>
63981 * Makeconfig (+math-flags): New, set to -frounding-math.
63982 (+cflags): Add +math-flags so that all of glibc gets compiled with
63985 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63987 2012-05-05 Joseph Myers <joseph@codesourcery.com>
63989 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63995 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63996 (__ieee754_expl): Allow for and saturate large arguments.
63997 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63998 (u_threshold): Likewise.
63999 (__exp): Call __ieee754_exp before checking for overflow and
64001 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64002 (u_threshold): Likewise.
64003 (__expf): Call __ieee754_expf before checking for overflow and
64005 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64006 (u_threshold): Likewise.
64007 (__expl): Call __ieee754_expl before checking for overflow and
64009 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64010 (__ieee754_expl): Allow for and saturate large arguments.
64011 * math/libm-test.inc (exp_test): Add another test. Do not allow
64012 missing overflow exception on overflow.
64013 (expm1_test): Do not allow missing overflow exception on overflow.
64015 * sysdeps/i386/fpu/e_expl.c: Move to ...
64016 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
64017 rather than using inline asm.
64018 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64019 * sysdeps/x86_64/fpu/e_expl.S: Copy from
64020 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64022 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64025 (signal): Likewise.
64029 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64031 * sysdeps/unix/syscalls.list (adjtime): Add entry from
64032 sysdeps/unix/common/syscalls.list.
64033 (fchmod): Likewise.
64034 (fchown): Likewise.
64035 (ftruncate): Likewise.
64036 (getrusage): Likewise.
64037 (gettimeofday): Likewise.
64038 (setpgid): Likewise.
64039 (setregid): Likewise.
64040 (setreuid): Likewise.
64041 (sigaction): Likewise.
64042 (truncate): Likewise.
64043 (vhangup): Likewise.
64044 * sysdeps/unix/common/syscalls.list: Remove file.
64045 * sysdeps/unix/bsd/Implies: Don't include unix/common.
64046 * sysdeps/unix/sysv/linux/Implies: Likewise.
64048 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
64050 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64052 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64056 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64059 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64062 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64065 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64068 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64071 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64074 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64078 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64082 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64085 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64089 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64093 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64095 * sysdeps/unix/common/bits/dirent.h: Remove file.
64096 * sysdeps/unix/common/bits/fcntl.h: Likewise.
64098 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64099 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64100 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64101 * sysdeps/unix/bsd/isatty.c: Likewise.
64102 * sysdeps/unix/bsd/tcdrain.c: Likewise.
64103 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64104 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64106 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64110 long double comparison inaccuracies.
64111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64114 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
64116 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64119 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64122 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64123 nonzero digits before rounding a hex value.
64124 * stdlib/tst-strtod.c (tests): Add another test.
64126 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64128 * sysdeps/s390/fpu/libm-test-ulps: Update.
64130 2012-05-03 Andreas Jaeger <aj@suse.de>
64132 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64133 does not get optimized out.
64134 (malloc_opt_barrier): New.
64136 2012-05-03 Andreas Jaeger <aj@suse.de>
64137 Roland McGrath <roland@hack.frob.com>
64139 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64140 intermediate file deletion.
64141 (generated): Add .symlist files.
64143 2012-05-03 Joseph Myers <joseph@codesourcery.com>
64146 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64147 Redirect under this condition.
64148 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64149 [__USE_GNU] (__dprintf_chk): Not under this condition.
64150 [__USE_GNU] (__vdprintf_chk): Likewise.
64151 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64152 under this condition.
64153 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64154 [__USE_XOPEN2K8] (dprintf): Define under this condition.
64155 [__USE_XOPEN2K8] (vdprintf): Likewise.
64156 [__USE_GNU] (__dprintf_chk): Not under this condition.
64157 [__USE_GNU] (__vdprintf_chk): Likewise.
64158 [__USE_GNU] (dprintf): Likewise.
64159 [__USE_GNU] (vdprintf): Likewise.
64161 2012-05-03 Roland McGrath <roland@hack.frob.com>
64163 * elf/Makefile (common-generated): Set this instead of generated for
64164 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
64165 $(all-built-dso)-derived lists.
64167 2012-05-03 Andreas Jaeger <aj@suse.de>
64169 * sysdeps/i386/fpu/libm-test-ulps: Update.
64172 * FAQ.in: Likewise.
64173 * scripts/gen-FAQ.pl: Likewise.
64174 * manual/install.texi (Installation): Point to online location of
64176 * Makefile (files-for-dist): Remove FAQ.
64179 2012-05-02 Allan McRae <allan@archlinux.org>
64181 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64182 (LDFLAGS-reldepmod5.so): Likewise.
64183 (LDFLAGS-reldep6mod1.so): Likewise.
64184 (LDFLAGS-reldep6mod4.so): Likewise.
64185 (LDFLAGS-reldep8mod3.so): Likewise.
64186 (LDFLAGS-unload4mod1.so): Likewise.
64187 (LDFLAGS-unload4mod2.so): Likewise.
64188 (LDFLAGS-tst-initorder): Likewise.
64189 (LDFLAGS-tst-initordera2.so): Likewise.
64190 (LDFLAGS-tst-initordera3.so): Likewise.
64191 (LDFLAGS-tst-initordera4.so): Likewise.
64192 (LDFLAGS-tst-initorderb2.so): Likewise.
64193 (LDFLAGS-noload): Likewise.
64194 (LDFLAGS-next): Likewise.
64195 (LDFLAGS-order2mod1.so): Likewise.
64196 (LDFLAGS-order2mod2.so): Likewise.
64197 (LDFLAGS-tst-initorder2): Likewise.
64198 (LDFLAGS-tst-initorder2a.so): Likewise.
64199 (LDFLAGS-tst-initorder2b.so): Likewise.
64200 (LDFLAGS-tst-initorder2c.so): Likewise.
64201 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64203 2012-05-02 David S. Miller <davem@davemloft.net>
64205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64207 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
64210 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64212 2012-05-02 Andreas Jaeger <aj@suse.de>
64214 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64215 since we manipulate rounding mode.
64216 (CPPFLAGS-test-idouble.c): Likewise.
64217 (CPPFLAGS-test-ifloat.c): Likewise.
64218 (CFLAGS-test-ldouble.c): Likewise.
64219 (CFLAGS-test-double.c): Likewise.
64220 (CFLAGS-test-float.c): Likewise.
64221 (CFLAGS-test-misc.c): Likewise.
64222 (CFLAGS-test-test-fenv.c): Likewise.
64224 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64229 comparisons to determine direction to adjust input.
64231 2012-05-01 Roland McGrath <roland@hack.frob.com>
64233 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64234 output to the target.
64236 * scripts/localplt.awk: New file.
64237 * elf/Makefile ($(objpfx)check-localplt): Target removed.
64238 (check-localplt-CFLAGS): Variable removed.
64239 ($(all-built-dso:=.jmprel)): New static pattern rule.
64240 (generated): Add those targets.
64241 (localplt-built-dso): New variable.
64242 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64244 * elf/check-localplt.c: File removed.
64246 * scripts/check-execstack.awk: New file.
64247 * elf/Makefile ($(objpfx)check-execstack): Target removed.
64248 (check-execstack-CFLAGS): Variable removed.
64249 ($(objpfx)check-execstack.h): Target removed.
64250 ($(objpfx)execstack-default): New target.
64251 (generated): Add that instead of check-execstack.h.
64252 ($(all-built-dso:=.phdr)): New static pattern rule.
64253 (generated): Add those targets.
64254 * elf/check-execstack.c: File removed.
64256 * scripts/check-textrel.awk: New file.
64257 * elf/Makefile ($(objpfx)check-textrel): Target removed.
64258 (check-textrel-CFLAGS): Variable removed.
64259 (all-built-dso): Use := to define.o
64260 ($(all-built-dso:=.dyn)): New static pattern rule.
64261 (generated): Add those targets.
64262 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64263 * config.make.in (READELF): New substituted variable.
64264 * elf/check-textrel.c: File removed.
64266 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64268 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64270 * conform/data/ctype.h-data [C99-based standards] (isblank):
64272 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64273 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64275 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64276 Specify type. Require positive value.
64277 (EILSEQ): Likewise.
64278 (ERANGE): Likewise.
64279 [ISO || POSIX] (EILSEQ): Do not expect.
64280 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64281 Specify type. Require positive value.
64282 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64283 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64284 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64285 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64286 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64287 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64288 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64289 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64290 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64291 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64292 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64293 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64294 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64295 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64296 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64297 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64298 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64299 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64300 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64301 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64302 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64303 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64304 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64305 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64306 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64307 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64308 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64309 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64310 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64311 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64312 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64313 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64314 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64315 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64316 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64317 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64318 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64319 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64320 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64321 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64322 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64323 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64324 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64325 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64326 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64327 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64328 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64329 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64330 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64331 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64332 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64333 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64334 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64335 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64336 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64337 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64338 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64339 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64340 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64341 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64342 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64343 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64344 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64345 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64346 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64347 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64348 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64349 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64350 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64351 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64352 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64353 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64354 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64355 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64356 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64357 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64358 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64360 (FLT_ROUNDS): Expect as macro, not constant.
64361 (FLT_MANT_DIG): Use macro-int-constant.
64362 (DBL_MANT_DIG): Likewise.
64363 (LDBL_MANT_DIG): Likewise.
64364 (FLT_DIG): Likewise.
64365 (DBL_DIG): Likewise.
64366 (LDBL_DIG): Likewise.
64367 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
64368 (DBL_MIN_EXP): Likewise.
64369 (LDBL_MIN_EXP): Likewise.
64370 (FLT_MAX_EXP): Use macro-int-constant.
64371 (DBL_MAX_EXP): Likewise.
64372 (LDBL_MAX_EXP): Likewise.
64373 (FLT_MAX_10_EXP): Likewise.
64374 (DBL_MAX_10_EXP): Likewise.
64375 (LDBL_MAX_10_EXP): Likewise.
64376 (FLT_MAX): Use macro-constant.
64377 (DBL_MAX): Likewise.
64378 (LDBL_MAX): Likewise.
64379 (FLT_EPSILON): Use macro-constant. Give upper bound.
64380 (DBL_EPSILON): Likewise.
64381 (LDBL_EPSILON): Likewise.
64382 (FLT_MIN): Likewise.
64383 (DBL_MIN): Likewise.
64384 (LDBL_MIN): Likewise.
64385 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64386 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64387 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64388 [ISO11] (FLT_HAS_SUBNORM): Likewise.
64389 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64390 [ISO11] (DBL_DECIMAL_DIG): Likewise.
64391 [ISO11] (FLT_DECIMAL_DIG): Likewise.
64392 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64393 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64394 [ISO11] (FLT_TRUE_MIN): Likewise.
64395 [ISO11] (LDBL_TRUE_MIN): Likewise.
64396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64397 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64398 (SCHAR_MIN): Use macro-int-constant. Specify type.
64399 (SCHAR_MAX): Likewise.
64400 (UCHAR_MAX): Likewise.
64401 (CHAR_MIN): Likewise.
64402 (CHAR_MAX): Likewise.
64403 (MB_LEN_MAX): Use macro-int-constant.
64404 (SHRT_MIN): Use macro-int-constant. Specify type.
64405 (SHRT_MAX): Likewise.
64406 (USHRT_MAX): Likewise.
64407 (INT_MAX): Likewise.
64408 (INT_MIN): Use macro-int-constant. Specify type. Make upper
64410 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
64412 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
64414 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
64415 bound negative. Suffix upper bound with "L".
64416 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
64418 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64420 [C99-based standards] (LLONG_MAX): Likewise.
64421 [C99-based standards] (ULLONG_MAX): Likewise.
64422 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
64424 [ISO11] (max_align_t): Require type.
64425 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64427 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64428 from $CFLAGS, without defining away __attribute__ calls.
64429 (checknamespace): Use $CFLAGS_namespace.
64431 * conform/conformtest.pl (@keywords): Only include C99 keywords
64432 for standards based on C99 or C11.
64434 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64436 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64439 * conform/conformtest.pl: Handle "macro-int-constant" and test for
64440 usability of symbols in #if.
64442 * conform/conformtest.pl: If macro or constant types start
64443 "promoted:", expect the symbol to be of the following type
64444 promoted by the integer promotions.
64446 * conform/conformtest.pl: Parse all "constant" and "macro" lines
64447 in one place. Also handle "macro-constant".
64449 * conform/conformtest.pl: Only accept expected macro values with
64450 "==". Parse all "macro" lines in one place.
64451 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64453 * conform/conformtest.pl: Handle braced types on "constant" lines
64454 instead of handling "typed-constant".
64455 * conform/data/signal.h-data: Use "constant" instead of
64458 * conform/conformtest.pl: Handle "optional-" at start of lines in
64459 one place rather than duplicating several cases. Handle each
64460 format of "macro" line with initial "optional-".
64462 * conform/conformtest.pl: Only accept expected constant or
64463 optional-constant values with "==". Parse all "constant" lines in
64464 one place. Parse all "optional-constant" lines in one place.
64465 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64466 * conform/data/fmtmsg.h-data: Likewise.
64467 * conform/data/netinet/in.h-data: Likewise.
64468 * conform/data/tar.h-data: Likewise.
64469 * conform/data/limits.h-data: Use "==" form on "constant" and
64470 "optional-constant" lines.
64472 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64473 Use -std=c99 for XOPEN2K.
64474 (@knownproblems): Remove.
64475 (newtoken): Don't check %isknown.
64477 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64478 Do not expect macro.
64479 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64480 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64481 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64482 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64483 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64484 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64485 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64486 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64487 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64488 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64489 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64490 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64491 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64492 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64493 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64494 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64495 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64496 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64497 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64498 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64499 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64500 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64501 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64502 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64503 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64504 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64505 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64506 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64507 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64508 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64509 [XPG3] (acosh): Likewise.
64510 [XPG3] (asinh): Likewise.
64511 [XPG3] (atanh): Likewise.
64512 [XPG3] (cbrt): Likewise.
64513 [XPG3] (expm1): Likewise.
64514 [XPG3] (ilogb): Likewise.
64515 [XPG3] (log1p): Likewise.
64516 [XPG3] (logb): Likewise.
64517 [XPG3] (nextafter): Likewise.
64518 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64519 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64520 [XPG3] (remainder): Likewise.
64521 [XPG3] (rint): Likewise.
64522 [XPG3 || XPG4 || UNIX98] (round): Likewise.
64523 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64524 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64525 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64526 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64527 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64528 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64529 [UNIX98 || XOPEN2K] (scalb): Expect.
64530 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64531 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64532 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64533 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64534 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64535 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64536 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64537 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64538 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64539 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64540 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64541 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64542 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64543 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64544 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64545 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64546 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64547 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64548 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64549 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64550 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64551 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64552 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64553 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64554 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64555 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64556 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64557 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64558 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64559 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64560 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64561 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64562 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64563 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64564 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64565 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64566 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64567 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64568 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64569 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64570 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64571 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64572 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64573 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64574 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64575 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64576 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64577 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64578 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64579 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64580 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64581 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64582 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64583 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64584 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64585 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64586 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64587 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64588 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64589 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64590 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64591 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64592 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64593 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64594 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64595 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64596 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64597 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64598 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64599 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64600 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64601 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64602 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64603 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64604 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64605 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64606 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64607 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64608 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64609 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64610 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64611 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64612 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64613 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64614 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64615 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64616 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64617 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64618 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64619 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64620 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64621 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64622 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64623 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64624 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64625 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64626 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64627 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64628 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64629 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64630 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64631 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64632 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64633 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64634 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64635 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64636 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64637 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64638 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64639 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64640 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64641 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64642 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64643 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64644 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64645 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64646 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64647 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64648 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64649 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64650 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64651 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64652 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64653 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64654 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64655 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64656 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64657 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64658 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64659 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64660 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64661 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64662 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64663 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64664 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64665 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64666 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64668 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64669 _XOPEN_SOURCE_EXTENDED for XPG4.
64671 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64673 * Makeconfig (localtime): Remove variable.
64674 (inst_localtime-file): Likewise.
64676 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
64678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64697 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64701 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64702 comparisons to determine direction to adjust input.
64703 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64704 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64707 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64714 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64716 * math/libm-test.inc (nexttoward_test): Add more tests.
64718 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
64721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64722 in version GLIBC_2.1, not GLIBC_2.0.
64723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64726 2012-04-30 Joseph Myers <joseph@codesourcery.com>
64729 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64731 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64732 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64733 * math/libm-test.inc (acos_test): Add more tests.
64734 (asin_test): Likewise.
64735 * sysdeps/i386/fpu/libm-test-ulps: Update.
64736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64739 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64741 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64742 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64743 * math/libm-test.inc (acos_test_tonearest): New function.
64744 (acos_test_towardzero): Likewise.
64745 (acos_test_downward): Likewise.
64746 (acos_test_upward): Likewise.
64747 (asin_test_tonearest): Likewise.
64748 (asin_test_towardzero): Likewise.
64749 (asin_test_downward): Likewise.
64750 (asin_test_upward): Likewise.
64751 (main): Call the new functions.
64752 * sysdeps/i386/fpu/libm-test-ulps: Update.
64753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64757 * math/e_exp10.c: Include <float.h>.
64758 (__ieee754_exp10): Handle underflow here rather than multiplying
64759 large negative argument by M_LN10.
64760 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64762 * math/e_exp10l.c: Include <float.h>.
64763 (__ieee754_exp10l): Handle underflow here rather than multiplying
64764 large negative argument by M_LN10l.
64765 * math/libm-test.inc (exp10_test): Add another test. Do not allow
64766 spurious overflow exception on underflow.
64768 2012-04-29 Marek Polacek <polacek@redhat.com>
64770 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64771 (__fortify_function): New macro.
64772 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64773 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64774 __extern_always_inline.
64775 * libio/bits/stdio2.h: Likewise.
64776 * libio/bits/stdio.h: Likewise.
64777 * string/string.h: Likewise.
64778 * string/bits/string3.h: Likewise.
64779 * include/stdio.h: Likewise.
64780 * stdlib/bits/stdlib.h: Likewise.
64781 * stdlib/stdlib.h: Likewise.
64782 * rt/bits/mqueue2.h: Likewise.
64783 * rt/mqueue.h: Likewise.
64784 * posix/bits/unistd.h: Likewise.
64785 * posix/unistd.h: Likewise.
64786 * io/bits/poll2.h: Likewise.
64787 * io/bits/fcntl2.h: Likewise.
64788 * io/fcntl.h: Likewise.
64789 * io/sys/poll.h: Likewise.
64790 * misc/bits/syslog.h: Likewise.
64791 * misc/bits/syslog-ldbl.h: Likewise.
64792 * misc/sys/syslog.h: Likewise.
64793 * socket/bits/socket2.h: Likewise.
64794 * socket/sys/socket.h: Likewise.
64795 * debug/tst-chk1.c: Likewise.
64796 * wcsmbs/bits/wchar2.h: Likewise.
64797 * wcsmbs/bits/wchar-ldbl.h: Likewise.
64798 * wcsmbs/wchar.h: Likewise.
64800 2012-04-29 Andreas Jaeger <aj@suse.de>
64802 * Makerules (tests): Remove enable-check-abi protection.
64803 (check-abi-warn): Remove.
64804 (check-abi-%): Remove check-abi-warn usage.
64806 * configure.in: Remove check-abi configure option.
64807 * configure: Regenerated.
64808 * config.make.in (enable-check-abi): Remove.
64810 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
64813 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64814 double functions to double *_finite functions.
64817 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64818 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64820 * stdio-common/Makefile (tests): Add tst-sprintf3.
64821 * stdio-common/tst-sprintf3.c: New file.
64823 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64824 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64826 2012-04-28 Joseph Myers <joseph@codesourcery.com>
64828 * conform/conformtest.pl: Remove duplicate typed-constant
64831 2012-04-28 David S. Miller <davem@davemloft.net>
64833 * Makerules (%.abilist): Add vpath on sysdep_dirs.
64834 (check-abi-%): Remove AWK script prerequisite and explicit
64836 (check-abi): Rewrite to just diff the symlist with the abilist.
64837 (config-tls, config-abi-config): Delete, no longer used.
64838 (update-abi-%): Remove AWK script and explicit abilist directory.
64839 (update-abi): Rewrite to simply compare and conditionally copy the
64840 symlist and the sysdep abilist file. Remove update-abi-config
64842 * abilist/ld.abilist: Remove.
64843 * abilist/libBrokenLocale.abilist: Remove.
64844 * abilist/libanl.abilist: Remove.
64845 * abilist/libcrypt.abilist: Remove.
64846 * abilist/libdl.abilist: Remove.
64847 * abilist/librt.abilist: Remove.
64848 * abilist/libthread_db.abilist: Remove.
64849 * abilist/libutil.abilist: Remove.
64850 * scripts/extract-abilist.awk: Remove.
64851 * scripts/merge-abilist.awk: Remove.
64852 * sysdeps/generic/libcidn.abilist: New file.
64853 * sysdeps/generic/libnss_compat.abilist: New file.
64854 * sysdeps/generic/libnss_db.abilist: New file.
64855 * sysdeps/generic/libnss_dns.abilist: New file.
64856 * sysdeps/generic/libnss_files.abilist: New file.
64857 * sysdeps/generic/libnss_hesiod.abilist: New file.
64858 * sysdeps/generic/libnss_nis.abilist: New file.
64859 * sysdeps/generic/libnss_nisplus.abilist: New file.
64860 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64861 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64862 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64864 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64865 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64866 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64867 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64868 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64869 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64870 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64871 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64872 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64874 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64875 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64876 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64877 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64879 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64880 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64881 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64882 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64883 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64884 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64886 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64887 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64888 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64890 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64993 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64994 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64995 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64998 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64999 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65000 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65001 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65002 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65003 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65004 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65005 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65006 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65058 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65060 * conform/conformtest.pl: Fix typo in handling typed-constant from
65063 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65065 * README: Cut down references to pre-2.6 Linux kernels and
65066 Linuxthreads. Update lists of configurations in libc and ports
65067 and sort alphabetically. Say "or newer" with Linux kernel version
65070 * config.h.in [IS_IN_build]: Allow compiling without optimization.
65072 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65075 * math/libm-test.inc (logb_test_downward): New test to expose
65076 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65079 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65082 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65084 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65085 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65087 2012-04-26 Joseph Myers <joseph@codesourcery.com>
65089 * sysdeps/unix/i386/brk.S: Remove file.
65090 * sysdeps/unix/i386/dl-brk.S: Likewise.
65091 * sysdeps/unix/i386/pipe.S: Likewise.
65092 * sysdeps/unix/i386/sigreturn.S: Likewise.
65093 * sysdeps/unix/i386/syscall.S: Likewise.
65094 * sysdeps/unix/i386/vfork.S: Likewise.
65095 * sysdeps/unix/i386/wait.S: Likewise.
65097 * sysdeps/unix/common/tcsendbrk.c: Move to ...
65098 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65100 * configure.in (arm*-none*): Do not allow without
65101 --enable-hacker-mode.
65102 (netbsd*): Remove case setting base_os.
65103 (386bsd*): Likewise.
65104 (freebsd*): Likewise.
65107 (sunos*): Likewise.
65108 (ultrix*): Likewise.
65109 (newsos*): Likewise.
65110 (dynix*): Likewise.
65116 (minix*): Likewise.
65117 (irix4*): Likewise.
65118 (irix6*): Likewise.
65119 (solaris[2-9]*): Likewise.
65121 * configure: Regenerated.
65123 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65126 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65127 overflow or cancellation in calculating denominator.
65128 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65130 down expression to avoid unexpected rounding in newer GCCs.
65131 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65133 2012-04-26 David S. Miller <davem@davemloft.net>
65135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65136 long-double compat symbols.
65137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65151 2012-04-25 David S. Miller <davem@davemloft.net>
65153 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65154 HWCAP_* values only after the memory barriers have been defined.
65155 (atomic_full_barrier): Define.
65156 (atomic_read_barrier): Define.
65157 (atomic_write_barrier): Define.
65159 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65161 * shlib-versions: Add libgcc_s version information.
65162 * sysdeps/generic/libgcc_s.h: Remove.
65163 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65165 * sysdeps/gnu/unwind-resume.c: Likewise.
65166 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65168 2012-04-25 David S. Miller <davem@davemloft.net>
65170 * sysdeps/unix/sparc/brk.S: Delete.
65171 * sysdeps/unix/sparc/dl-brk.S: Delete.
65172 * sysdeps/unix/sparc/pipe.S: Delete.
65173 * sysdeps/unix/sparc/sysdep.S: Delete.
65174 * sysdeps/unix/sparc/sysdep.h: Delete.
65175 * sysdeps/unix/sparc/vfork.S: Delete.
65176 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65177 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65179 (ret_ERRVAL, r0, r1, MOVE): Define.
65180 (JUMPTARGET): Remove.
65181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65182 sysdeps/unix/sparc/sysdep.h
65183 (ENTRY, END): Remove.
65184 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65186 2012-04-25 Joseph Myers <joseph@codesourcery.com>
65188 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65189 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65192 * timezone/README: Update upstream location and email address for
65194 * timezone/zdump.c: Update from tzcode 2012b.
65195 * timezone/zic.c: Likewise.
65197 * configure.in (libc_cv_as_needed): Remove test.
65198 * configure: Regenerated.
65199 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65200 conditional definition.
65201 [$(have-as-needed) != yes] (no-as-needed): Likewise.
65202 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65203 * config.make.in (have-as-needed): Remove variable.
65205 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65206 Paul Pluzhnikov <ppluzhnikov@google.com>
65208 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65211 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
65213 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65214 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65215 * sysdeps/sh/strlen.S: Likewise.
65217 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65219 * sysdeps/unix/fork.S: Remove file.
65220 * sysdeps/unix/i386/fork.S: Likewise.
65221 * sysdeps/unix/sparc/fork.S: Likewise.
65223 * sysdeps/unix/system.c: Remove file.
65224 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65226 * sysdeps/unix/getegid.S: Remove file.
65227 * sysdeps/unix/geteuid.S: Likewise.
65229 2012-04-24 Roland McGrath <roland@hack.frob.com>
65231 * scripts/check-localplt.awk: New file.
65232 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65234 * scripts/data/localplt-generic.data: Add a comment.
65236 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65237 NODE when __dir_mkfile failed.
65238 * sysdeps/mach/hurd/symlinkat.c: Likewise.
65239 Reported by Ludovic Courtès <ludo@gnu.org>.
65241 2012-04-24 Andreas Jaeger <aj@suse.de>
65243 * Makerules (common-clean): Also remove gen-as-const-headers
65246 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65248 * Makerules (native-compile): Do not change working directory for
65249 build. Use $(OUTPUT_OPTION) in command.
65250 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65252 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65255 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65256 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65257 * math/libm-test.inc (floor_test): Add more tests.
65258 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65260 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65262 * sysdeps/unix/getdents.c: Remove file.
65263 * sysdeps/unix/sysv/getdents.c: Likewise.
65264 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65266 * sysdeps/unix/syscalls.list (madvise): Add syscall from
65267 sysdeps/unix/mman/syscalls.list.
65269 (mprotect): Likewise.
65271 (munmap): Likewise.
65272 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65273 * sysdeps/unix/mman/syscalls.list: Remove.
65274 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65276 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65277 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65278 * configure: Regenerated.
65279 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65280 $(libgcc_s_suffix).
65281 * config.make.in (libgcc_s_suffix): Remove variable.
65283 2012-04-23 Joseph Myers <joseph@codesourcery.com>
65285 * sysdeps/unix/sysv/gethostname.c: Move to ...
65286 * sysdeps/posix/gethostname.c: ... here.
65288 * sysdeps/unix/execve.S: Remove file.
65290 * sysdeps/unix/_exit.S: Remove file.
65292 2012-04-23 Andreas Jaeger <aj@suse.de>
65295 * manual/Makefile: Remove make dist support, there's no
65296 need for a stand-alone documentation tar ball.
65297 (TEXI2DVI): Define always, it's not in Makeconfig.
65300 (edition): Removed.
65301 (glibc-doc-$(edition).tar): Removed
65305 (ETAGS): Remove, it's in Makeconfig.
65306 (move-if-change): Remove, it's in Makeconfig.
65308 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
65311 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65312 (strtod, strtof, strtold, strtol, strtoul, strtoq)
65313 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65314 (strtod_l, strtof_l, strtold_l): Remove __wur.
65315 It is not necessarily an error to ignore strtol's return value.
65316 One can reliably look at the stored endptr to decide whether
65317 the number had valid syntax.
65319 2012-04-21 Andreas Jaeger <aj@suse.de>
65322 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65324 2012-04-21 Joseph Myers <joseph@codesourcery.com>
65326 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65327 * sysdeps/unix/sysv/Versions: Remove file.
65329 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
65332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65334 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
65337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65338 version from __vm86.
65340 2012-04-20 Joseph Myers <joseph@codesourcery.com>
65342 * sysdeps/unix/common/lxstat.c: Remove file.
65343 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65345 * sysdeps/unix/sysv/Makefile: Remove file.
65347 * sysdeps/unix/sysv/direct.h: Remove file.
65349 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65350 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65351 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65352 * sysdeps/unix/sysv/bits/signum.h: Likewise.
65353 * sysdeps/unix/sysv/bits/stat.h: Likewise.
65354 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65355 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65357 * sysdeps/unix/sysv/setrlimit.c: Remove file.
65359 * sysdeps/unix/xmknod.c: Remove file.
65360 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65362 * sysdeps/unix/sysv/settimeofday.c: Remove file.
65364 * sysdeps/unix/sysv/i386/time.S: Remove file.
65366 * sysdeps/unix/fxstat.c: Remove file.
65367 * sysdeps/unix/xstat.c: Likewise.
65368 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65370 * sysdeps/unix/sysv/sigaction.c: Remove file.
65372 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65373 (sysdep_headers): Remove variable.
65374 [termio.h not in sysdep_headers] (generated): Likewise.
65375 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65376 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65377 * sysdeps/unix/sysv/tcdrain.c: Likewise.
65378 * sysdeps/unix/sysv/tcflow.c: Likewise.
65379 * sysdeps/unix/sysv/tcflush.c: Likewise.
65380 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65381 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65382 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65383 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65384 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65386 * sysdeps/unix/siglist.c: Remove file.
65388 * sysdeps/unix/getppid.S: Remove file.
65390 * sysdeps/unix/mkdir.c: Remove file.
65391 * sysdeps/unix/rmdir.c: Likewise.
65393 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
65395 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65397 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65398 errlist-compat value.
65400 2012-04-18 David S. Miller <davem@davemloft.net>
65402 * sysdeps/generic/memcopy.h (reg_char): Delete.
65403 * debug/strcat_chk.c: Use char, not reg_char.
65404 * debug/strcpy_chk.c: Likewise.
65405 * debug/strncat_chk.c: Likewise.
65406 * debug/strncpy_chk.c: Likewise.
65407 * string/memchr.c: Likewise.
65408 * string/memrchr.c: Likewise.
65409 * string/rawmemchr.c: Likewise.
65410 * string/strcat.c: Likewise.
65411 * string/strchr.c: Likewise.
65412 * string/strchrnul.c: Likewise.
65413 * string/strcmp.c: Likewise.
65414 * string/strcpy.c: Likewise.
65415 * string/strncat.c: Likewise.
65416 * string/strncmp.c: Likewise.
65417 * string/strncpy.c: Likewise.
65419 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65421 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65422 __builtin_memcopy is called when src and dest ranges are known to not
65425 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65427 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65428 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65429 fwd_align_merge macro call.
65430 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65431 bwd_align_merge macro call.
65432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65434 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65436 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65437 bwd_align_merge macros.
65438 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65439 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65440 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65442 2012-04-18 David S. Miller <davem@davemloft.net>
65444 * sysdeps/sparc/sparc64/memcopy.h: Delete.
65446 2012-04-18 Andreas Jaeger <aj@suse.de>
65449 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65450 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65451 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65453 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65454 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65455 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65457 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65458 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65459 Adjust for changed ldbl-128 files.
65461 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65462 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65463 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65465 2012-04-17 David S. Miller <davem@davemloft.net>
65467 * sysdeps/sparc/sparc32/memcopy.h: Delete.
65469 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
65471 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65472 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65473 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65474 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65475 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65476 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65478 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65481 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65482 * math/libm-test.inc: Add ilogb errno and exception tests.
65483 * math/w_ilogb.c: New file: ilogb wrapper.
65484 * math/w_ilogbf.c: New file: ilogbf wrapper.
65485 * math/w_ilogbl.c: New file: ilogbl wrapper.
65486 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65487 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65488 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65489 exception being thrown with 0.0 as argument.
65490 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65491 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65492 exception being thrown with 0.0 as argument.
65493 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65494 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65495 exception being thrown with 0.0 as argument.
65496 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65497 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65498 exception being thrown with 0.0 as argument.
65499 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65500 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65501 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65502 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65503 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65504 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65505 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65506 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65507 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65509 2012-04-17 Petr Baudis <pasky@ucw.cz>
65511 * include/sys/uio.h: Change __vector to __iovec to avoid clash
65514 2012-04-16 Marek Polacek <polacek@redhat.com>
65516 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65518 2012-04-16 Marek Polacek <polacek@redhat.com>
65520 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65521 operands of fdivp instruction.
65523 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
65525 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65526 * elf/tst-auditmod3b.c: Likewise.
65527 * elf/tst-auditmod4b.c: Likewise.
65528 * elf/tst-auditmod5b.c: Likewise.
65529 * elf/tst-auditmod6b.c: Likewise.
65530 * elf/tst-auditmod6c.c: Likewise.
65531 * elf/tst-auditmod7b.c: Likewise.
65532 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65533 * sysdeps/x86_64/preconfigure.in: Likewise.
65534 * sysdeps/x86_64/preconfigure: Regenerated.
65536 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
65538 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65541 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
65543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65544 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65546 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
65549 * locale/iso-639.def: Fix gl language name. Spotted by
65552 2012-04-12 Roland McGrath <roland@hack.frob.com>
65555 * libio/libio.h (__io_write_fn): Update comment.
65557 2012-04-12 Petr Baudis <pasky@ucw.cz>
65560 * stdio.texi (Hook Functions): The user provided writer function
65561 is not allowed to return -1.
65563 2012-04-11 David S. Miller <davem@davemloft.net>
65565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65567 2012-04-11 Mike Frysinger <vapier@gentoo.org>
65569 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65570 Add a leading slash to rtkaio.
65572 2012-04-11 Jim Meyering <meyering@redhat.com>
65575 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65576 It is not necessarily an error to ignore fwrite's return
65577 value. One can reliably use ferror to test for errors after
65580 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
65582 * bits/types.h (__snseconds_t): New type.
65583 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65585 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65587 (__SNSECONDS_T_TYPE): Likewise.
65588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65589 (__SNSECONDS_T_TYPE): Likewise.
65590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65591 (__SNSECONDS_T_TYPE): Likewise.
65593 2012-04-10 Andreas Jaeger <aj@suse.de>
65596 * manual/time.texi (Processor Time): Return type of times is
65597 elapsed real time since an arbitrary point in the past.
65598 (CPU Time): Move CLK_TCK from here...
65599 (Processor Time): ...to here. Correct description.
65600 * manual/conf.texi (Constants for Sysconf): Correct description of
65603 2012-04-10 David S. Miller <davem@davemloft.net>
65606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65607 where the is a gap between DT_REL(A) and DT_JMPREL.
65609 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
65611 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65612 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65613 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65615 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65617 * elf/dl-support.c (_dl_inhibit_cache): New variable.
65618 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65619 (dl_main): Handle --inhibit-cache.
65620 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65622 * elf/dl-load.c (_dl_map_object): Use it.
65623 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65625 2012-04-09 Joseph Myers <joseph@codesourcery.com>
65628 * sysdeps/i386/fpu/e_powl.S (p78): New object.
65629 (__ieee754_powl): Saturate large exponents rather than testing for
65630 overflow of y*log2(x).
65631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65632 * math/libm-test.inc (pow_test): Do not permit spurious overflow
65636 * math/s_ctan.c: Include <float.h>.
65637 (__ctan): Avoid internal overflow or cancellation in calculating
65639 * math/s_ctanf.c: Likewise.
65640 * math/s_ctanl.c: Likewise.
65641 * math/s_ctanh.c: Likewise.
65642 * math/s_ctanhf.c: Likewise.
65643 * math/s_ctanhl.c: Likewise.
65644 * math/libm-test.inc (ctan_test): Add more tests.
65645 (ctanh_test): Likewise.
65646 * sysdeps/i386/fpu/libm-test-ulps: Update.
65647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65649 2012-04-09 Andreas Jaeger <aj@suse.de>
65652 * manual/filesys.texi (Directory Entries): Mention that d_namlen
65653 is an optional BSD extension.
65656 * manual/stdio.texi (Opening Streams): Document additional fopen
65659 2012-04-09 Roland McGrath <roland@hack.frob.com>
65661 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65662 %eax without telling the compiler.
65664 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
65667 * manual/install.texi: Use sourceware.org.
65669 2012-04-09 Joseph Myers <joseph@codesourcery.com>
65672 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65673 (__ieee754_pow): Generate overflow and underflow using huge*huge
65674 and tiny*tiny rather than just returning constant infinity or zero
65675 for large exponents.
65676 * math/libm-test.inc (pow_test): Require overflow exceptions for
65677 applicable cases of large exponents.
65680 * sysdeps/i386/fpu/e_pow.S (p10): New object.
65681 (__ieee754_pow): Use iterative multiplication algorithm only for
65682 integer exponents with absolute value below 1024. Check for odd
65683 integer exponents when using algorithm for real exponents.
65684 * math/libm-test.inc (pow_test): Add more tests.
65685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65687 2012-04-08 Joseph Myers <joseph@codesourcery.com>
65690 * math/libm-test.inc (exp_test): Do not allow overflow exception
65693 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
65696 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65697 instead of __kernel_standard_f.
65699 2012-04-08 Mike Frysinger <vapier@gentoo.org>
65701 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65702 * sysdeps/x86_64/memset_chk.S: Likewise.
65704 2012-04-08 Andreas Jaeger <aj@suse.de>
65707 * manual/startup.texi (Environment Access): Describe return value
65708 for putenv and setenv.
65711 * manual/filesys.texi (Directory Entries): Add description for
65715 * manual/filesys.texi (Directory Entries): Clarify that it's file
65716 system not operating system in the description of DT_UNKNOWN.
65719 * manual/syslog.texi (closelog): Fix reference, it's openlog.
65721 2012-04-08 Stephen Compall <s11@member.fsf.org>
65724 * manual/llio.texi (Opening and Closing Files): Add cross
65725 reference to explain mode argument.
65727 2012-04-07 Mike Frysinger <vapier@gentoo.org>
65729 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65730 * sysdeps/x86_64/memset_chk.S: Likewise.
65732 2012-04-07 David S. Miller <davem@davemloft.net>
65734 * elf/elf.h (R_SPARC_WDISP10): Define.
65735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65738 R_SPARC_SIZE64 and R_SPARC_H34.
65740 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
65742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65743 conditions and remove no longer applicable assertion.
65745 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
65747 * bits/byteswap.h: Include <features.h>.
65748 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65749 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65751 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
65753 * bits/byteswap.h (__bswap_16): Removed.
65754 Include <bits/byteswap-16.h> to get __bswap_16.
65755 * sysdeps/i386/bits/byteswap.h: Likewise.
65756 * sysdeps/s390/bits/byteswap.h: Likewise.
65757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65758 * bits/byteswap-16.h: New file.
65759 * sysdeps/i386/bits/byteswap-16.h: Likewise.
65760 * sysdeps/s390/bits/byteswap-16.h: Likewise.
65761 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65762 * string/Makefile (headers): Add bits/byteswap-16.h.
65764 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
65767 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65769 * nss/Makefile (tests-static, tests): Add tst-nss-static.
65770 * nss/tst-nss-static.c: New.
65772 2012-04-06 Robert Millan <rmh@gnu.org>
65775 * manual/llio.texi (File Position Primitive): lseek
65776 refers to WHENCE when it really means OFFSET.
65778 2012-04-06 Andreas Jaeger <aj@suse.de>
65780 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65781 strncmp declarations.
65783 * abilist/libc.abilist: Add __poll and __ppoll.
65785 2012-04-05 David S. Miller <davem@davemloft.net>
65787 * scripts/check-local-headers.sh: Accept a host triplet in the
65788 path matched by the exclude regexp.
65790 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65792 * sysdeps/powerpc/powerpc32/dl-machine.h
65793 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65794 * sysdeps/s390/s390-32/dl-machine.h
65795 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65796 * sysdeps/sparc/sparc32/dl-machine.h
65797 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65798 * sysdeps/sparc/sparc64/dl-machine.h
65799 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65801 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65803 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65804 undefined symbol errors.
65806 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65809 2012-04-05 Michael Matz <matz@suse.de>
65812 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65814 2012-04-05 Andreas Jaeger <aj@suse.de>
65817 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65820 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65822 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65823 which ROUND is no valid rounding mode.
65825 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65827 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65829 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65831 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65833 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65834 an exception using FPU order intentionally.
65836 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65838 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65839 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65840 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65841 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65843 2012-04-05 Simon Josefsson <simon@josefsson.org>
65846 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65847 EINVAL when BUFLEN is too smal.
65849 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
65852 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65853 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65855 2012-04-03 Andreas Jaeger <aj@suse.de>
65858 * manual/setjmp.texi (System V contexts): Fix sentence.
65861 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65862 New macro for this case.
65863 [!__GNUC__] (__bswap_64): New inline function for this case.
65864 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65865 * bits/byteswap.h: Likewise.
65866 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65867 ull, guard with __GLIBC_HAVE_LONG_LONG.
65869 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65870 __GLIBC_HAVE_LONG_LONG.
65872 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65873 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65875 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65878 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65879 inptr and inend, rather than using last_ch.
65881 2012-04-02 David S. Miller <davem@davemloft.net>
65883 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65884 * stdio-common/printf-parse.h (read_int): Change return type to
65885 'int', return -1 on INT_MAX overflow.
65886 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65887 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
65888 overflows INT_MAX. Check for overflow of in-format-string precision
65889 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
65890 SIZE_MAX not INT_MAX for integer overflow test.
65891 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65892 skip the construct in the format string but do not record anything.
65893 * stdio-common/bug22.c: Adjust to test both width/prevision
65894 INT_MAX overflow as well as total length INT_MAX overflow. Check
65895 explicitly for proper errno values.
65897 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
65899 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65901 * string/test-strcmp.c [! WIDE]: Likewise.
65902 * time/tst-mktime2.c: Likewise for INT_MAX.
65903 * string/test-string.h: #include <sys/param.h> for MIN.
65905 * csu/init-first.c (__libc_init_first): Call __ctype_init.
65906 * sysdeps/i386/init-first.c (init): Likewise.
65907 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65908 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65909 * sysdeps/sh/init-first.c (init): Likewise.
65911 2012-04-01 Ulrich Drepper <drepper@gmail.com>
65913 * po/ru.po: Update from translation team.
65914 * po/vi.po: Likewise.
65916 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
65918 * resolv/nss_dns/dns-host.c: Merge copyright years.
65920 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65923 Optimize memcpy with prefetch if
65924 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
65925 src, dst pointers have unequal 16 byte alignments.
65927 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
65930 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65931 from a CNAME entry and return the minimum ttl for the query.
65932 (gaih_getanswer_slice): Likewise.
65934 2012-03-30 Jeff Law <law@redhat.com>
65936 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65938 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65939 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65941 * resolv/nss_dns/dns-host.c: Update copyright year.
65943 2012-03-30 Ulrich Drepper <drepper@gmail.com>
65945 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65946 requests to save a system call. Fix check that all bytes are sent.
65948 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65949 comments for sendmmsg.
65951 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65955 with only 1 character between 0x0041 and 0x01b0.
65956 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65957 * wcsmbs/tst-mbsnrtowcs.c: New file.
65959 2012-03-29 David S. Miller <davem@davemloft.net>
65961 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65962 small copies by hand.
65964 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65967 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65968 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65971 2012-03-28 David S. Miller <davem@davemloft.net>
65973 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65974 that branches into memcpy.
65975 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65977 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65978 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65981 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65982 implementation too.
65983 * sysdeps/sparc/mempcpy.S: New file.
65985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65986 the IFUNC routine in the libc case.
65987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65989 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65990 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65991 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65992 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65993 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65994 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65995 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65996 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65998 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65999 loop to 256 bytes instead of 64 bytes and fix test signedness.
66001 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66002 * sysdeps/sparc/sparc32/Makefile: rather than here...
66003 * sysdeps/sparc/sparc64/Makefile: and here.
66005 2012-03-28 Ulrich Drepper <drepper@gmail.com>
66007 * malloc/mallocbug.c: Avoid warnings about unused variables.
66009 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66012 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66013 in the right place. Discard and retry query if response is
66014 larger than input buffer size.
66016 2012-03-28 Joseph Myers <joseph@codesourcery.com>
66021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66022 x for large integer exponent.
66023 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66024 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
66025 sign of result as needed afterwards.
66026 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66027 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66028 result for underflowing pow the same as for overflow.
66029 (__kernel_standard_l): Handle powl overflow and underflow here
66030 rather than calling __kernel_standard.
66031 * math/libm-test.inc (pow_test): Add more tests.
66046 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66047 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66048 (__kernel_standard_l): New function.
66049 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66051 * math/w_acosl.c (__acosl): Likewise.
66052 * math/w_asinl.c (__asinl): Likewise.
66053 * math/w_atan2l.c (__atan2l): Likewise.
66054 * math/w_atanhl.c (__atanhl): Likewise.
66055 * math/w_coshl.c (__coshl): Likewise.
66056 * math/w_exp10l.c (__exp10l): Likewise.
66057 * math/w_exp2l.c (__exp2l): Likewise.
66058 * math/w_fmodl.c (__fmodl): Likewise.
66059 * math/w_hypotl.c (__hypotl): Likewise.
66060 * math/w_j0l.c (__j0l, __y0l): Likewise.
66061 * math/w_j1l.c (__j1l, __y1l): Likewise.
66062 * math/w_jnl.c (__jnl, __ynl): Likewise.
66063 * math/w_lgammal.c (__lgammal): Likewise.
66064 * math/w_log10l.c (__log10l): Likewise.
66065 * math/w_log2l.c (__log2l): Likewise.
66066 * math/w_logl.c (__logl): Likewise.
66067 * math/w_powl.c (__powl): Likewise.
66068 * math/w_remainderl.c (__remainderl): Likewise.
66069 * math/w_scalbl.c (sysv_scalbl): Likewise.
66070 * math/w_sinhl.c (__sinhl): Likewise.
66071 * math/w_sqrtl.c (__sqrtl): Likewise.
66072 * math/w_tgammal.c (__tgammal): Likewise.
66073 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66074 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66075 * math/libm-test.inc (acos_test): Add more tests.
66076 (acosh_test): Likewise.
66077 (asin_test): Likewise.
66078 (atanh_test): Likewise.
66079 (exp_test): Likewise.
66080 (exp10_test): Likewise.
66081 (exp2_test): Likewise.
66082 (expm1_test): Likewise.
66083 (lgamma_test): Likewise.
66084 (log_test): Likewise.
66085 (log10_test): Likewise.
66086 (log1p_test): Likewise.
66087 (log2_test): Likewise.
66088 (pow_test): Do not allow some spurious overflow exceptions.
66089 (sqrt_test): Add more tests.
66090 (tgamma_test): Likewise.
66091 (y0_test): Likewise.
66092 (y1_test): Likewise.
66093 (yn_test): Likewise.
66095 2012-03-27 Anton Blanchard <anton@samba.org>
66097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66099 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66103 2012-03-27 David S. Miller <davem@davemloft.net>
66105 * conform/Makefile: Run run-conformtest.sh using $(BASH).
66107 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66108 have-as-vis3 check.
66110 2012-03-27 Andreas Jaeger <aj@suse.de>
66112 * sysdeps/x86_64/elf/configure.in: Moved to ...
66113 * sysdeps/x86_64/configure.in: ... here.
66114 * sysdeps/x86_64/elf/start.S: Moved to ...
66115 * sysdeps/x86_64/start.S: ... here.
66116 * sysdeps/x86_64/elf/configure: Delete.
66118 * sysdeps/x86_64/configure.in: Merge contents from
66119 sysdeps/i386/configure.in (without i686 check).
66121 * sysdeps/i386/elf/Versions: Merge into ...
66122 * sysdeps/i386/Versions: ... this.
66123 * sysdeps/i386/elf/Versions: Delete file.
66124 * sysdeps/i386/elf/start.S: Moved to ...
66125 * sysdeps/i386/start.S: ...here.
66126 * sysdeps/i386/elf/configure.in: Merge into...
66127 * sysdeps/i386/configure.in: ...here.
66128 * sysdeps/i386/elf/configure.in: Delete file.
66129 * sysdeps/i386/elf/configure: Delete file.
66131 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66132 * debug/backtracesyms.c: ... here.
66133 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66134 * debug/backtracesymsfd.c: ... here.
66135 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66136 * sysdeps/generic/ifunc-sel.h: ... here.
66138 * sysdeps/unix/i386/start.c: Delete file.
66139 * sysdeps/unix/sparc/start.c: Delete file.
66140 * sysdeps/unix/start.c: Delete file.
66142 * sysdeps/sh/elf/configure.in: Moved to ...
66143 * sysdeps/sh/configure.in: ... here.
66144 * sysdeps/sh/elf/start.S: Moved to ...
66145 * sysdeps/sh/start.S: ... here.
66146 * sysdeps/sh/elf/configure: Delete file.
66148 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66149 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66150 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66151 * sysdeps/powerpc/powerpc64/entry.h: ... here.
66152 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66153 * sysdeps/powerpc/powerpc64/start.S: here.
66154 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66155 * sysdeps/powerpc/powerpc64/Makefile: ... this.
66156 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66157 * sysdeps/powerpc/powerpc64/configure.in: ... this.
66158 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66160 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66161 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66162 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66163 * sysdeps/powerpc/powerpc32/start.S: ... here.
66164 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66165 * sysdeps/powerpc/powerpc32/configure.in: ... this.
66166 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66168 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66169 * sysdeps/powerpc/ifunc-sel.h: ... here.
66170 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66171 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66173 * sysdeps/sparc/elf/configure.in: Moved to ...
66174 * sysdeps/sparc/configure.in: ... here.
66175 * sysdeps/sparc/elf/configure: Delete file.
66176 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66177 * sysdeps/sparc/sparc32/start.S: ... here.
66178 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66179 * sysdeps/sparc/sparc64/start.S: ... here.
66180 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66181 * sysdeps/sparc/sparc32/Makefile: ... this.
66182 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66183 * sysdeps/sparc/sparc64/Makefile: ... this.
66185 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66186 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66187 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66188 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66189 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66190 * sysdeps/s390/s390-32/setjmp.S: ... here.
66191 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66192 * sysdeps/s390/s390-32/configure.in: ... here.
66193 * sysdeps/s390/s390-32/elf/configure: Delete file.
66194 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66195 * sysdeps/s390/s390-32/start.S: ... here.
66197 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66198 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66199 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66200 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66201 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66202 * sysdeps/s390/s390-64/setjmp.S: ... here.
66203 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66204 * sysdeps/s390/s390-64/configure.in: ... here
66205 * sysdeps/s390/s390-64/elf/configure: Delete file.
66206 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66207 * sysdeps/s390/s390-64/start.S: ... here.
66208 * sysdeps/s390/s390-64/elf/configure: Delete.
66210 * configure.in: Remove support for elf directories in sysdeps.
66212 * configure: Regenerated.
66213 * sysdeps/i386/configure: Regenerated.
66214 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66215 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66216 * sysdeps/s390/s390-32/configure: Regenerated.
66217 * sysdeps/s390/s390-64/configure: Regenerated.
66218 * sysdeps/sh/configure: Regenerated.
66219 * sysdeps/sparc/configure: Regenerated.
66220 * sysdeps/x86_64/configure: Regenerated.
66222 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
66224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66226 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66227 denormal result into account.
66229 2012-03-25 Roland McGrath <roland@hack.frob.com>
66231 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66232 Reported by Allan McRae <allan@archlinux.org>.
66234 2012-03-23 Jeff Law <law@redhat.com>
66236 * nss/getnssent.c (__nss_getent): Fix typo.
66238 2012-03-23 David S. Miller <davem@davemloft.net>
66240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66242 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
66244 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66245 to pad to uint64_t for each field.
66246 (dl_tls_index): Replace unsigned long with uint64_t.
66248 2012-03-23 Daniel Jacobowitz <dmj@google.com>
66249 Paul Pluzhnikov <ppluzhnikov@google.com>
66252 * grp/Makefile (otherlibs): Don't set it.
66253 * inet/Makefile (otherlibs): Likewise.
66254 * login/Makefile (otherlibs): Likewise.
66255 * nscd/Makefile (otherlibs): Likewise.
66256 * posix/Makefile (otherlibs): Likewise.
66257 * pwd/Makefile (otherlibs): Likewise.
66258 * rt/Makefile (otherlibs): Likewise.
66259 * sunrpc/Makefile (otherlibs): Likewise.
66260 * nss/Makefile (otherlibs): Likewise.
66261 Add libnss_files to routines and static-only-routines.
66262 ($(objpfx)getent): Remove rule.
66263 * resolv/Makefile: Add libnss_dns and libresolv to routines and
66264 static-only-routines.
66266 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66269 * math/s_cexp.c: Include <float.h>.
66270 (__cexp): Handle exp result overflowing not necessarily
66271 overflowing both real and imaginary parts of result.
66272 * math/s_cexpf.c: Likewise.
66273 * math/s_cexpl.c: Likewise.
66274 * math/libm-test.inc (cexp_test): Add more tests.
66275 * sysdeps/i386/fpu/libm-test-ulps: Update.
66276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66278 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66280 * include/link.h (ELFW): New macro.
66281 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66282 Replace ELF64_R_TYPE with ELFW(R_TYPE).
66284 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66286 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66289 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66291 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66293 (struct La_x32_retval): Likewise.
66295 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66297 * sysdeps/x86_64/preconfigure.in: New file.
66298 * sysdeps/x86_64/preconfigure: New generated file.
66300 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66303 * math/e_exp2l.c: Include <float.h>.
66304 (__ieee754_exp2l): Handle overflow and underflow cases
66305 separately. Only pass fractional part of argument to
66307 * math/libm-test.inc (exp2_test): Add more tests.
66309 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66310 negating x to take absolute value.
66311 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66313 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66316 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66317 computing low part if x was negated.
66318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66320 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66322 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66323 la_x32_gnu_pltexit.
66324 (pltexit): Cast int_retval to ptrdiff_t.
66325 * elf/tst-auditmod3b.c: Likewise.
66326 * elf/tst-auditmod4b.c: Likewise.
66327 * elf/tst-auditmod5b.c: Likewise.
66328 * elf/tst-auditmod6b.c: Likewise.
66329 * elf/tst-auditmod6c.c: Likewise.
66330 * elf/tst-auditmod7b.c: Likewise.
66332 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66333 and x32_gnu_pltexit.
66335 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66336 __ELF_NATIVE_CLASS.
66337 (La_x32_regs): New macro.
66338 (La_x32_retval): Likewise.
66339 (la_x32_gnu_pltenter): New function prototype.
66340 (la_x32_gnu_pltexit): Likewise.
66342 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
66344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66349 * configure.in (libc_cv_cc_nofma): Check for option to disable
66350 generation of FMA instructions.
66351 * configure: Regenerate.
66352 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66353 * sysdeps/ieee754/dbl-64/Makefile: New file.
66354 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66355 Remove brandred-fma4.
66356 (CFLAGS-brandred-fma4.c): Remove.
66357 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66358 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66363 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66365 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66366 LLONG_MAX != LONG_MAX.
66367 (_itoa_word): Use _ITOA_WORD_TYPE on value.
66368 (_fitoa_word): Likewise.
66369 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66370 LLONG_MAX != LONG_MAX.
66371 * stdio-common/_itowa.h: Include <_itoa.h>.
66372 (_itowa_word): Use _ITOA_WORD_TYPE on value.
66373 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
66374 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
66375 only if not defined.
66376 (_ITOA_WORD_TYPE): Likewise.
66377 (_itoa_word): Use _ITOA_WORD_TYPE on value.
66378 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66380 2012-03-21 David S. Miller <davem@davemloft.net>
66382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66384 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66386 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66387 of x86_64 when setting libc_cv_slibdir, libdir and
66389 * sysdeps/unix/sysv/linux/configure: Regenerated.
66391 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66393 * manual/lang.texi (Old Varargs): Remove section.
66394 (How Variadic): Update menu.
66395 (va_start): Do not mention varargs.h.
66397 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
66398 Joseph Myers <joseph@codesourcery.com>
66400 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66402 * configure: Regenerated.
66404 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
66406 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66407 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66410 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66413 * Makefile (files-for-dist): Remove NOTES.
66414 (NOTES): Remove rule.
66415 * README: Don't refer to NOTES.
66416 * manual/creature.texi: Don't include macros.texi.
66417 * manual/intro.texi (creature.texi): Remove comment referring to
66420 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66421 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66422 * configure: Regenerated.
66423 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66424 LIBC_TRY_CC_OPTION.
66425 (libc_cv_as_i686): Likewise.
66426 (libc_cv_cc_avx): Likewise.
66427 (libc_cv_cc_sse2avx): Likewise.
66428 (libc_cv_cc_fma4): Likewise.
66429 (libc_cv_cc_novzeroupper): Likewise.
66430 * sysdeps/i386/configure: Regenerated.
66433 * sysdeps/i386/fpu/s_cexp.S: Remove.
66434 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66435 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66436 * math/libm-test.inc (cexp_test): Add more tests.
66437 * sysdeps/i386/fpu/libm-test-ulps: Update.
66438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66440 2012-03-21 Allan McRae <allan@archlinux.org>
66442 * timezone/Makefile: Do not install iso3166.tab and zone.tab
66444 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66447 * math/w_exp2.c: Do not include <float.h>.
66448 (o_threshold, u_threshold): Remove.
66449 (__exp2): Calculate result before checking finiteness and calling
66451 * math/w_exp2f.c: Likewise.
66452 * math/w_exp2l.c: Likewise.
66453 * math/libm-test.inc (exp2_test): Require overflow exception for
66457 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66458 range of signed 64-bit integers before using fistpll. Remove
66459 checks for whether integers fit in mantissa bits.
66460 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66461 the range of signed 32-bit integers before using fistpl. Remove
66462 checks for whether integers fit in mantissa bits.
66463 * sysdeps/i386/fpu/e_powl.S (p64): New object.
66464 (__ieee754_powl): Test for y outside the range of signed 64-bit
66465 integers before using fistpll. Reduce 64-bit values to 63-bit
66467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66468 divide-by-zero is raised for zero to large negative powers.
66469 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66470 (__ieee754_powl): Test for y outside the range of signed 64-bit
66471 integers before using fistpll. Reduce 64-bit values to 63-bit
66473 * math/libm-test.inc (pow_test): Add more tests.
66475 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66477 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66478 <stdio-common/_itoa.h>.
66479 * debug/segfault.c: Likewise.
66480 * elf/dl-cache.c: Likewise.
66481 * elf/dl-minimal.c: Likewise.
66482 * elf/dl-misc.c: Likewise.
66483 * elf/dl-sysdep.c: Likewise.
66484 * elf/dl-version.c: Likewise.
66485 * elf/rtld.c: Likewise.
66486 * hurd/hurdsock.c: Likewise.
66487 * hurd/lookup-retry.c: Likewise.
66488 * malloc/malloc.c: Likewise.
66489 * malloc/mtrace.c: Likewise.
66490 * nscd/nscd_getgr_r.c: Likewise.
66491 * nscd/nscd_getpw_r.c: Likewise.
66492 * nscd/nscd_getserv_r.c: Likewise.
66493 * posix/getopt_init.c: Likewise.
66494 * posix/wordexp.c: Likewise.
66495 * stdio-common/_itoa.c: Likewise.
66496 * stdio-common/printf_fphex.c: Likewise.
66497 * stdio-common/vfprintf.c: Likewise.
66498 * string/_strerror.c: Likewise.
66499 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66500 * sysdeps/i386/i686/hp-timing.h: Likewise.
66501 * sysdeps/mach/_strerror.c: Likewise.
66502 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66503 * sysdeps/mach/hurd/sethostid.c: Likewise.
66504 * sysdeps/mach/hurd/xmknodat.c: Likewise.
66505 * sysdeps/mach/xpg-strerror.c: Likewise.
66506 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66507 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66508 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66509 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66510 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66511 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66512 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66513 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66514 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66515 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66516 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66517 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66518 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66519 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66522 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66523 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66524 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66525 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66526 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66528 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66530 * stdio-common/_itoa.h: Moved to ...
66531 * sysdeps/generic/_itoa.h: Here.
66533 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66535 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66536 instead of "_itoa.h" and "_itowa.h".
66537 * stdio-common/vfprintf.: Likewise.
66539 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66541 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66543 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66544 (__signbit): Likwise.
66545 (llrintf): Likwise.
66548 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66550 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66553 2012-03-20 Joseph Myers <joseph@codesourcery.com>
66555 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66556 OVERFLOW_EXCEPTION_OK.
66557 * math/libm-test.inc ("Philosophy"): Update comment about
66559 (OVERFLOW_EXCEPTION): Define.
66560 (OVERFLOW_EXCEPTION_OK): Likewise.
66561 (INVALID_EXCEPTION_OK): Renumber.
66562 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66563 (IGNORE_ZERO_INF_SIGN): Likewise.
66564 (test_exceptions): Handle FE_OVERFLOW.
66565 (exp10_test): Expect overflow exceptions.
66566 (exp2_test): Likewise.
66567 (expm1_test): Likewise.
66568 (nextafter_test): Likewise.
66569 (pow_test): Likewise.
66570 (scalbn_test): Likewise.
66571 (scalbln_test): Likewise.
66573 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66575 * sysdeps/x86_64/bits/atomic.h
66576 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66578 (atomic_exchange_acq): Likewise.
66579 (__arch_exchange_and_add_body): Likewise.
66580 (__arch_add_body): Likewise.
66581 (atomic_add_negative): Likewise.
66582 (atomic_add_zero): Likewise.
66584 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66586 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66587 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66589 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66591 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66592 Check __x86_64__ instead of __WORDSIZE.
66594 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66596 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66598 2012-03-19 David S. Miller <davem@davemloft.net>
66600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66602 * sysdeps/sparc/fpu/fenv_private.h: New file.
66603 * sysdeps/sparc/fpu/math_private.h: Use it.
66604 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66606 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66607 (libc_feholdexcept_setroundl): Remove.
66608 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66610 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66611 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66613 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66615 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66616 int64_t instead of long int.
66617 (INSERT_WORDS64): Likwise.
66619 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66621 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66622 _Unwind_GetCFA return to _Unwind_Ptr first.
66624 2012-03-19 Joseph Myers <joseph@codesourcery.com>
66627 * math/s_clog.c: Include <float.h>.
66628 (__clog): Scale large or subnormal inputs.
66629 * math/s_clogf.c: Likewise.
66630 * math/s_clogl.c: Likewise.
66631 * math/s_clog10.c: Include <float.h>.
66632 (M_LOG10_2): Define.
66633 (__clog10): Scale large or subnormal inputs.
66634 * math/s_clog10f.c: Likewise.
66635 * math/s_clog10l.c: Likewise.
66636 * math/libm-test.inc (clog_test): Add more tests.
66637 (clog10_test): Likewise.
66638 * sysdeps/i386/fpu/libm-test-ulps: Update.
66639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66644 * math/libm-test.inc (atan2_test): Add another test.
66646 * Makerules (common-objdir-compile): Remove.
66647 * sysdeps/unix/Makefile (config-generated): Do not add
66648 $(unix-generated) to variable.
66649 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66650 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66652 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66654 [generic bits/local_lim.h] (before-compile): Do not append to
66656 [generic bits/local_lim.h] (common-generated): Likewise.
66657 [generic sys/param.h] (before-compile): Do not append to variable.
66658 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66659 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66660 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66661 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66663 [generic sys/param.h] (sys/param.h-includes): Remove variable.
66664 [generic sys/param.h] (sys/param.h-includes): Remove rule.
66665 [generic sys/param.h] ($(addprefix
66666 $(common-objpfx),$(sys/param.h-includes))): Likewise.
66667 [generic sys/param.h] (common-generated): Do not append to
66669 [generic sys/param.h] (sysdep_headers): Likewise.
66670 [generic bits/errno.h] (before-compile): Do not append to
66672 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66674 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66675 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66676 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66677 [generic bits/errno.h] (common-generated): Do not append to
66679 [generic bits/ioctls.h] (before-compile): Do not append to
66681 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66683 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66684 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66685 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66687 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66688 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66689 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66690 [generic bits/ioctls.h] (common-generated): Do not append to
66692 [generic sys/syscall.h] (syscall.h): Remove variable.
66693 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66695 [generic sys/syscall.h] (before-compile): Do not append to
66697 [generic sys/syscall.h] (common-generated): Likewise.
66698 * sysdeps/unix/errnos-tmpl.c: Remove file.
66699 * sysdeps/unix/errnos.awk: Likewise.
66700 * sysdeps/unix/ioctls-tmpl.c: Likewise.
66701 * sysdeps/unix/ioctls.awk: Likewise.
66702 * sysdeps/unix/mk-local_lim.c: Likewise.
66703 * sysdeps/unix/snarf-ioctls: Likewise.
66705 2012-03-19 Richard Henderson <rth@twiddle.net>
66707 * sysdeps/i386/fpu/fenv_private.h: New file.
66708 * sysdeps/i386/fpu/math_private.h: Use it.
66709 (math_opt_barrier, math_force_eval): Remove.
66710 (libc_feholdexcept_setround_53bit): Remove.
66711 (libc_feupdateenv_53bit): Remove.
66712 * sysdeps/x86_64/fpu/math_private.h: Likewise.
66713 (math_opt_barrier, math_force_eval): Remove.
66714 (libc_feholdexcept): Remove.
66715 (libc_feholdexcept_setround): Remove.
66716 (libc_fetestexcept, libc_fesetenv): Remove.
66717 (libc_feupdateenv_test): Remove.
66718 (libc_feupdateenv, libc_feholdsetround): Remove.
66719 (libc_feresetround): Remove.
66721 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66722 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66724 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66725 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66726 (libc_feupdateenv_testl): New.
66727 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66728 (libc_feupdateenv_testf): New.
66729 (libc_feupdateenv): Use libc_feupdateenv_test.
66730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66731 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66733 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66734 (libc_feholdsetroundf, libc_feholdsetroundl): New.
66735 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66736 (libc_feresetround_noex): New.
66737 (libc_feresetround_noexf): New.
66738 (libc_feresetround_noexl): New.
66739 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66740 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66741 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66742 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66747 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66748 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66749 SET_RESTORE_ROUND_NOEX.
66750 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66751 SET_RESTORE_ROUND_NOEXF.
66752 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66753 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66754 (libc_feholdsetroundf): New.
66755 (libc_feresetround, libc_feresetroundf): New.
66757 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66758 (libc_feholdexcept_setround_53bit): Convert from macro to function.
66759 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
66761 * sysdeps/generic/math_private.h: Include <fenv.h>.
66762 (default_libc_feholdexcept): New.
66763 (default_libc_feholdexcept_setround): New.
66764 (default_libc_fesetenv, default_libc_feupdateenv): New.
66765 (libc_feholdexcept): Only define if undefined.
66766 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66767 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66768 (libc_feholdexcept_setroundl): Likewise.
66769 (libc_feholdexcept_setround_53bit): Likewise.
66770 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66771 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66772 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66773 (libc_feupdateenv_53bit): Likewise.
66774 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66775 (libc_feholdexcept): Convert from macro to inline function.
66776 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66777 (libc_fesetenv, libc_feupdateenv): Likewise.
66779 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66780 not previously defined.
66781 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66782 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66783 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66784 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66785 * sysdeps/ieee754/flt-32/math_private.h: New file.
66786 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66787 math_private.h below SET_FLOAT_WORD.
66788 (__isnan, __isinf_ns, __finite): Remove.
66789 (__isnanf, __isinf_nsf, __finitef): Remove.
66791 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
66793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66795 2012-03-17 David S. Miller <davem@davemloft.net>
66798 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66801 2012-03-16 David S. Miller <davem@davemloft.net>
66803 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66807 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66809 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66810 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66811 sysdep_routines when subdir is sysvipc.
66812 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66813 __getshmlba helper.
66815 * sysdeps/sparc/fpu/libm-test/ulps: Update.
66817 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
66819 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66822 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
66824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66825 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66826 (__lround): Renamed to ...
66827 (__llround): This. Replace long int with long long int.
66828 Define lround functions as aliases of llround functions.
66829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
66833 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66834 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
66835 adresses to uintptr_t. Replace "long int" and "unsigned long
66836 int" with "greg_t" on va_arg.
66838 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
66840 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66841 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66843 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66844 Move e_machine check before EI_CLASS check. Handle x32
66845 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66846 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66847 SKIP_EM_IA_64 and include
66848 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66850 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66851 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66852 (add_system_dir): New macro.
66854 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66855 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66857 2012-03-16 Joseph Myers <joseph@codesourcery.com>
66868 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66870 * math/w_j0f.c (j0f): Likewise.
66872 * math/w_j0l.c (__j0l): Likewise.
66874 * math/w_j1.c (j1): Likewise.
66876 * math/w_j1f.c (j1f): Likewise.
66878 * math/w_j1l.c (__j1l): Likewise.
66880 * math/w_jn.c (jn): Likewise.
66882 * math/w_jnf.c (jnf): Likewise.
66884 * math/w_jnl.c (__jnl): Likewise.
66886 * math/libm-test.inc (j0_test): Add more tests.
66887 (j1_test): Likewise.
66888 (jn_test): Likewise. Add trailing semicolon to existing test.
66889 (y0_test): Likewise.
66890 (y1_test): Likewise.
66891 * sysdeps/i386/fpu/libm-test-ulps: Update.
66892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66897 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66898 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66899 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66900 (__tanl): Set errno for infinite argument.
66901 * sysdeps/i386/fpu/mptan.c: Remove.
66902 * sysdeps/i386/fpu/s_tan.S: Likewise.
66903 * sysdeps/i386/fpu/s_tanl.S: Likewise.
66904 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66905 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66906 * math/libm-test.inc (tan_test): Add more tests and enable more
66907 tests for double and long double.
66908 * sysdeps/i386/fpu/libm-test-ulps: Update.
66909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66911 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
66913 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66914 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66916 2012-03-16 Roland McGrath <roland@hack.frob.com>
66918 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66919 * configure.in: Use it for both main tree and add-ons.
66920 * configure: Regenerated.
66922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
66924 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66926 2012-03-16 Joseph Myers <joseph@codesourcery.com>
66928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66932 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66933 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66934 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66935 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66936 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66938 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66940 != 0 for prec == 2.
66941 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66942 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66943 * sysdeps/i386/fpu/s_cosl.S: Likewise.
66944 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66945 * sysdeps/i386/fpu/s_sinl.S: Likewise.
66946 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66947 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66948 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66949 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66950 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66951 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66952 * math/libm-test.inc (cos_test): Add more tests and enable more
66953 tests for long double.
66954 (sin_test): Likewise.
66955 (sincos_test): Likewise.
66956 * sysdeps/i386/fpu/libm-test-ulps: Update.
66957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66959 2012-03-16 David S. Miller <davem@davemloft.net>
66961 * sysdeps/sparc/fpu/math_private.h: New file.
66963 2012-03-15 David S. Miller <davem@davemloft.net>
66965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66979 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66980 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66982 * sysdeps/sparc/sparc-ifunc.h: New file.
66983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67009 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67010 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67028 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67030 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67034 2012-03-15 Andreas Jaeger <aj@suse.de>
67037 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67038 ieee754/flt-32 implementation for sin, cos and sincos.
67039 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67040 * sysdeps/i386/fpu/s_cosf.S: Likewise.
67041 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67042 * sysdeps/i386/fpu/s_sinf.S: Likewise.
67043 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67044 ieee754/flt-32 implementation for tan.
67046 * math/libm-test.inc (cos_test): Enable some large input tests for
67048 (sin_test): Likewise.
67049 (sincos_test): Likewise.
67050 (tan_test): Add tests for large input.
67052 * sysdeps/i386/fpu/libm-test-ulps: Update.
67054 2012-03-15 Andreas Jaeger <aj@suse.de>
67057 * math/libm-test.inc (cos_test): Add more test cases.
67058 (sin_test): Likewise.
67059 (sincos_test): Likewise.
67061 2012-03-15 Andreas Jaeger <aj@suse.de>
67064 * math/libm-test.inc (cos_test): Add a test case for large input
67066 (sin_test): Likewise.
67067 (sincos_test): Likewise.
67069 2012-03-15 Andreas Jaeger <aj@suse.de>
67070 Joseph Myers <joseph@codesourcery.com>
67073 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67074 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67075 * sysdeps/i386/fpu/branred.c: Likewise.
67076 * sysdeps/i386/fpu/dosincos.c: Likewise.
67077 * sysdeps/i386/fpu/mpa.c: Likewise.
67078 * sysdeps/i386/fpu/s_cos.S: Likewise.
67079 * sysdeps/i386/fpu/s_sin.S: Likewise.
67080 * sysdeps/i386/fpu/s_sincos.S: Likewise.
67081 * sysdeps/i386/fpu/sincos32.c: Likewise.
67083 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67085 (libc_feupdateenv_53bit): Define.
67086 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67088 (libc_feupdateenv_53bit): Define.
67090 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67091 53 bit (without extend i386 double precision).
67093 * math/libm-test.inc (sincos_test): Add tests for large input.
67097 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67099 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67103 2012-03-15 David S. Miller <davem@davemloft.net>
67105 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67106 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67107 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67108 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67133 fmin/fmax sysdep routines.
67134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67136 2012-03-14 David S. Miller <davem@davemloft.net>
67138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67210 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67215 * sysdeps/sparc/configure.in: New file.
67216 * sysdeps/sparc/configure: Generate.
67217 * configure.in (libc_cv_sparc_as_vis3): Substitute.
67218 * configure: Regenerate.
67219 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67220 * config.make.in (have-as-vis3): New.
67221 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67222 available use -Av9d instead of -Av9a.
67223 * sysdeps/sparc/sparc64/Makefile: Likewise.
67224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67239 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67240 fzeros/fnegs to load 0x80000000 into a float register instead of
67242 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67244 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67248 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67249 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67250 ($(inst_includedir)/bits/syscall.h): Remove rule.
67251 ($(objpfx)bits/syscall.d): Include instead of
67252 $(objpfx)syscall-list.d.
67253 (generated): Change syscall-list.h and syscall-list.d to
67254 bits/syscall.h and bits/syscall.d.
67256 2012-03-14 Roland McGrath <roland@hack.frob.com>
67259 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67261 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67264 * math/s_csqrt.c: Include <float.h>.
67265 (__csqrt): Scale large or subnormal inputs.
67266 * math/s_csqrtf.c: Likewise.
67267 * math/s_csqrtl.c: Likewise.
67268 * math/libm-test.inc (csqrt_test): Add more tests.
67269 * sysdeps/i386/fpu/libm-test-ulps: Update.
67270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67273 * math/libm-test.inc (hypot_test): Add more tests.
67275 2012-03-13 David S. Miller <davem@davemloft.net>
67278 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67279 double-precision for the calculation instead of scaling.
67281 2012-03-13 Joseph Myers <joseph@codesourcery.com>
67283 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67284 manipulate bits before adding and subtracting TWO52[sx].
67285 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67286 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67290 2012-03-13 David S. Miller <davem@davemloft.net>
67292 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67293 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67294 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67295 rtld-global-offsets.h
67296 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67298 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67301 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67303 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67304 'err' in the ifdef scope in which it is actually used.
67306 * nss/nss_db/db-init.c: Include string.h
67308 2012-03-12 David S. Miller <davem@davemloft.net>
67310 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67311 masking out of the most significant byte of random value used.
67312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67313 Fix coding style in previous change.
67315 * sysdeps/unix/sysv/linux/kernel-features.h
67316 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67317 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67319 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67322 2012-03-11 David S. Miller <davem@davemloft.net>
67324 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67325 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67326 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67327 for 'resultvar' otherwise things get truncated on 64-bit.
67329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67330 Fix masking out of the most significant byte of random value used.
67332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67334 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
67336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67338 2012-03-09 David S. Miller <davem@davemloft.net>
67340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67341 variables with appropriate CPP guards.
67342 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67343 from the frame pointer, not the stack pointer. Correct layout
67344 comments. Fix test on resulting framesize and the management of
67345 the outregs buffer for pltexit. Preserve floating point return
67346 values across _dl_call_pltexit call.
67347 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67348 framesize and the management of the outregs buffer for pltexit.
67349 Preserve floating point return values across _dl_call_pltexit
67351 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67352 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67353 (la_sparc64_gnu_pltexit): New functions.
67354 (print_exit): Fix format string for return register value.
67356 2012-03-10 Joseph Myers <joseph@codesourcery.com>
67358 * sunrpc/Makefile (others): Add rpcgen.
67359 ($(objpfx)rpcgen): Remove special build rule and dependency on
67361 * sunrpc/rpcgen.c: New file.
67363 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
67366 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67367 * stdio-common/bug-vfprintf-nargs.c: Likewise.
67368 * sysdeps/i386/crti.S: Likewise.
67369 * sysdeps/i386/crtn.S: Likewise.
67370 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67371 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67372 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67373 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67374 * sysdeps/sh/crti.S: Likewise.
67375 * sysdeps/sh/crtn.S: Likewise.
67376 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67379 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67381 * locale/programs/locfile-kw.gperf: Likewise.
67382 * locale/programs/charmap-kw.h: Regenerated.
67383 * locale/programs/locfile-kw.h: Likewise.
67386 * intl/plural.y: Replace FSF snail mail address with URL.
67387 * intl/plural.c: Regenerated.
67389 2012-03-09 Richard Henderson <rth@twiddle.net>
67391 * include/math_private.h: Remove file.
67392 * math/math_private.h: Move file ...
67393 * sysdeps/generic/math_private.h: ... here.
67395 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67396 * sysdeps/powerpc/fpu/math_private.h: Likewise.
67397 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67399 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67400 and <math_private.h>.
67401 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67402 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67403 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67404 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67405 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67406 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67407 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67409 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67410 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67412 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67413 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67415 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67416 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67417 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67418 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67419 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67420 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67422 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67423 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67425 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67426 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67427 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67432 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67433 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67434 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67435 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67436 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67437 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67438 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67439 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67441 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67442 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67443 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67444 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67445 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67446 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67447 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67448 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67449 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67450 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67451 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67452 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67453 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67454 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67455 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67456 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67457 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67458 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67459 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67460 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67461 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67462 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67464 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67465 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67466 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67467 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67468 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67469 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67470 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67472 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67475 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67479 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67480 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67481 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67484 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67485 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67488 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67493 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67494 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67496 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67498 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67499 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67500 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67501 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67502 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67503 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67504 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67505 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67509 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67510 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67511 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67512 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67513 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67514 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67515 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67517 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67518 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67519 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67520 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67521 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67522 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67523 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67524 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67525 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67527 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67528 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67529 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67530 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67531 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67532 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67533 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67534 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67535 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67536 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67537 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67539 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67540 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67542 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67543 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67544 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67545 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67546 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67547 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67548 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67549 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67550 * sysdeps/ieee754/k_standard.c: Likewise.
67551 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67552 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67553 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67554 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67555 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67556 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67557 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67558 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67559 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67560 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67563 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67564 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67565 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67566 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67567 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67568 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67569 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67570 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67571 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67572 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67573 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67574 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67575 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67576 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67577 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67578 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67579 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67581 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67582 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67583 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67584 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67585 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67586 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67588 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67589 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67590 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67591 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67592 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67593 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67594 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67595 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67596 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67597 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67599 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67602 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67603 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67604 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67605 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67606 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67607 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67608 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67609 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67610 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67611 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67612 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67613 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67614 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67617 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67618 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67619 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67623 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67624 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67625 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67627 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67628 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67630 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67631 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67632 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67633 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67634 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67635 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67636 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67637 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67638 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67639 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67640 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67641 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67642 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67643 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67644 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67645 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67646 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67648 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67649 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67650 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67652 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67653 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67654 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67655 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67656 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67657 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67658 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67659 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67660 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67662 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67663 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67664 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67665 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67667 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67668 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67669 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67670 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67671 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67672 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67673 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67674 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67675 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67676 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67677 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67678 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67679 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67680 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67681 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67682 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67683 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67684 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67685 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67686 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67687 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67688 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67689 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67690 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67691 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67692 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67693 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67694 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67695 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67697 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67698 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67699 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67700 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67701 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67702 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67703 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67704 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67705 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67706 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67707 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67708 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67709 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67710 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67711 * sysdeps/ieee754/s_lib_version.c: Likewise.
67712 * sysdeps/ieee754/s_matherr.c: Likewise.
67713 * sysdeps/ieee754/s_signgam.c: Likewise.
67714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67716 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67717 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67718 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67719 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67720 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67721 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67722 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67723 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67724 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67725 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67726 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67727 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67728 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67729 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67730 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67731 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67732 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67733 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67736 2012-03-09 Joseph Myers <joseph@codesourcery.com>
67738 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67739 * sunrpc/rpc_main.c: Likewise.
67740 * sunrpc/rpc_svcout.c: Likewise.
67742 2012-03-09 David S. Miller <davem@davemloft.net>
67744 * include/math_private.h: New file.
67746 2012-03-09 Joseph Myers <joseph@codesourcery.com>
67748 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67749 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67750 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67751 from <bits/socket_type.h>.
67752 (enum __socket_type): Don't define here.
67753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67755 bits/socket_type.h.
67758 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67759 checking __USE_GNU.
67761 * Makerules ($(inst_includedir)/%.h): New rule.
67762 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67763 (install-others): Remove variable setting.
67764 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67766 2012-03-08 Richard Henderson <rth@twiddle.net>
67768 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67769 from macro to inline function; merge with the
67770 !__LIBC_INTERNAL_MATH_INLINES version.
67771 (__ieee754_sqrtf): Likewise.
67773 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67774 to inline function.
67775 (__rintf, __floor, __floorf): Likewise.
67777 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67778 macro to inline function.
67779 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67781 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67782 not <math/math_private.h>.
67784 2012-03-08 David S. Miller <davem@davemloft.net>
67786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67788 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67790 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
67792 * resolv/gai_misc.c (handle_requests): Fix struct timespec
67794 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67795 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67797 2012-03-08 Ulrich Drepper <drepper@gmail.com>
67799 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
67800 be defined individually, they must be defined as a block. Define
67801 S for printing a string instead of hidint the different by using a
67802 macro for adding the 'l'.
67803 * stdio-common/tst-fphex-wide.c: Adjust.
67805 2012-03-07 Marek Polacek <polacek@redhat.com>
67807 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67809 2012-03-08 Marek Polacek <polacek@redhat.com>
67812 * stdio-common/Makefile (tests): Add tst-fphex-wide.
67813 * stdio-common/tst-fphex.c: Define a few macros to make the
67814 test reusable. Use them.
67815 * stdio-common/tst-fphex-wide.c: New file.
67817 2012-03-08 Joseph Myers <joseph@codesourcery.com>
67820 * manual/macros.texi (gnusystems): New macro.
67821 (nongnusystems): Likewise.
67822 (gnulinuxhurdsystems): Likewise.
67823 (gnuhurdsystems): Likewise..
67824 (gnulinuxsystems): Likewise.
67825 * manual/charset.texi: Use new macros or @theglibc{} to refer to
67826 variants of the GNU system, not "GNU system".
67827 * manual/conf.texi: Likewise.
67828 * manual/errno.texi: Likewise. Update example of errno macro
67830 * manual/filesys.texi: Likewise.
67831 (getumask): Document as specific to GNU/Hurd.
67832 * manual/install.texi: Likewise. Reword some references to
67834 * manual/intro.texi: Likewise.
67835 * manual/io.texi: Likewise.
67836 (File Name Portability): Detail which constraints are inapplicable
67837 to all GNU systems and which are only inapplicable to GNU/Hurd.
67838 * manual/job.texi: Likewise.
67839 * manual/llio.texi: Likewise.
67840 (O_NOCTTY): Document as present on GNU/Linux.
67841 * manual/maint.texi: Likewise.
67842 * manual/memory.texi: Likewise.
67843 * manual/pattern.texi: Likewise.
67844 * manual/pipe.texi: Likewise.
67845 * manual/process.texi: Likewise.
67846 * manual/resource.texi: Likewise.
67847 (RUSAGE_CHILDREN): Remove statement about specifying a particular
67849 * manual/setjmp.texi: Likewise.
67850 * manual/signal.texi: Likewise.
67851 * manual/startup.texi: Likewise.
67852 * manual/stdio.texi: Likewise.
67853 * manual/terminal.texi: Likewise.
67854 (ONLCR): Document as POSIX.
67855 (OXTABS): Document availability on GNU/Linux as XTABS.
67856 (ONOEOT): Document availability separately from other bits.
67857 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67858 * manual/time.texi: Likewise.
67859 * manual/users.texi: Likewise.
67860 * INSTALL: Regenerated.
67861 * sysdeps/gnu/errlist.c: Regenerated.
67863 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67864 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67865 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
67867 * configure: Regenerated.
67869 2012-03-07 Joseph Myers <joseph@codesourcery.com>
67871 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67872 default includes instead of AC_HEADER_CHECK.
67873 * sysdeps/i386/configure: Regenerated.
67876 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67877 * math/s_cacoshf.c (__cacoshf): Likewise.
67878 * math/s_cacoshl.c (__cacoshl): Likewise.
67879 * math/s_casinh.c (__casinh): Set signs of result from argument.
67880 * math/s_casinhf.c (__casinhf): Likewise.
67881 * math/s_casinhl.c (__casinhl): Likewise.
67882 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67883 (casinh_test): Add more tests.
67884 * sysdeps/i386/fpu/libm-test-ulps: Update.
67885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67887 2012-03-07 Ulrich Drepper <drepper@gmail.com>
67889 * po/zh_TW.po: Update from translation team.
67891 * login/Makefile (distribute): Remove variable.
67892 * catgets/Makefile: Likewise.
67893 * mach/Makefile: Likewise.
67894 * malloc/Makefile: Likewise.
67895 * misc/Makefile: Likewise.
67896 * iconv/Makefile: Likewise.
67897 * nscd/Makefile: Likewise.
67898 * hurd/Makefile: Likewise.
67899 * manual/Makefile: Likewise.
67900 * locale/Makefile: Likewise.
67901 * intl/Makefile: Likewise.
67902 * conform/Makefile: Likewise.
67903 * nss/Makefile: Likewise.
67904 * time/Makefile: Likewise.
67905 * soft-fp/Makefile: Likewise.
67906 * dirent/Makefile: Likewise.
67907 * gmon/Makefile: Likewise.
67908 * po/Makefile: Likewise.
67909 * rt/Makefile: Likewise.
67910 * socket/Makefile: Likewise.
67911 * math/Makefile: Likewise.
67912 * signal/Makefile: Likewise.
67913 * debug/Makefile: Likewise.
67914 * elf/Makefile: Likewise.
67915 * timezone/Makefile: Likewise.
67916 * stdlib/Makefile: Likewise.
67917 * iconvdata/Makefile: Likewise.
67918 * sunrpc/Makefile: Likewise.
67919 * io/Makefile: Likewise.
67920 * argp/Makefile: Likewise.
67921 * inet/Makefile: Likewise.
67922 * hesiod/Makefile: Likewise.
67923 * grp/Makefile: Likewise.
67924 * csu/Makefile: Likewise.
67925 * wctype/Makefile: Likewise.
67926 * crypt/Makefile: Likewise.
67927 * libio/Makefile: Likewise.
67928 * string/Makefile: Likewise.
67929 * nis/Makefile: Likewise.
67930 * resolv/Makefile: Likewise.
67931 * stdio-common/Makefile: Likewise.
67932 * wcsmbs/Makefile: Likewise.
67933 * dlfcn/Makefile: Likewise.
67934 * posix/Makefile: Likewise.
67937 * timezone/Makefile: Don't install timezone files, just the programs
67940 2012-03-06 Ulrich Drepper <drepper@gmail.com>
67942 * nss/databases.def: Add missing gshadow entry.
67944 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
67946 2012-03-06 Marek Polacek <polacek@redhat.com>
67949 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67950 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67951 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67952 * stdio-common/tst-long-dbl-fphex.c: New file.
67954 2012-03-06 David S. Miller <davem@davemloft.net>
67956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67957 (set_obp_int): New function.
67958 (get_obp_int): New function.
67959 (__get_clockfreq_via_dev_openprom): Likewise.
67960 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67961 Avoid unused variable warnings on 'val' and use builtin_expect.
67962 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67964 (INLINE_CLONE_SYSCALL): Likewise.
67966 2012-03-05 David S. Miller <davem@davemloft.net>
67968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67970 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
67972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67974 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67975 only for |x| >= 40.
67976 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67978 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
67980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67981 Replace gettimeofday with __vdso_gettimeofday.
67983 * sysdeps/unix/sysv/linux/x86_64/init-first.c
67984 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67985 __vdso_clock_gettime and __vdso_getcpu.
67987 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67988 time with __vdso_time.
67990 2012-03-05 Joseph Myers <joseph@codesourcery.com>
67992 * manual/lang.texi (size_t): Note types to which size_t may be
67993 equivalent with the GNU C Library, but do not describe when
67994 differences between them are significant.
67996 2012-03-05 Andreas Jaeger <aj@suse.de>
67998 * sysdeps/i386/fpu/libm-test-ulps: Update.
68000 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68003 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68004 (__ieee754_pow): Save and restore rounding mode and use
68005 round-to-nearest for main computations.
68006 * math/libm-test.inc (pow_test_tonearest): New function.
68007 (pow_test_towardzero): Likewise.
68008 (pow_test_downward): Likewise.
68009 (pow_test_upward): Likewise.
68010 (main): Call the new functions.
68011 * sysdeps/i386/fpu/libm-test-ulps: Update.
68012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68015 * math/libm-test.inc (cosh_test_tonearest): New function.
68016 (cosh_test_towardzero): Likewise.
68017 (cosh_test_downward): Likewise.
68018 (cosh_test_upward): Likewise.
68019 (sinh_test_tonearest): Likewise.
68020 (sinh_test_towardzero): Likewise.
68021 (sinh_test_downward): Likewise.
68022 (sinh_test_upward): Likewise.
68023 (main): Call the new functions.
68024 * sysdeps/i386/fpu/libm-test-ulps: Update.
68025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68027 2012-03-05 Tom de Vries <tom@codesourcery.com>
68029 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68030 default stack guard is set in last bytes.
68031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68033 2012-03-05 Kees Cook <keescook@chromium.org>
68035 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68038 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68039 possibly allocate from heap instead of stack.
68040 * stdio-common/bug-vfprintf-nargs.c: New file.
68041 * stdio-common/Makefile (tests): Add nargs overflow test.
68043 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
68045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68047 2012-03-03 Marek Polacek <polacek@redhat.com>
68049 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68050 * math/math_private.h: Likewise.
68051 * stdlib/tst-strtod.c: Likewise.
68052 * sysdeps/i386/i486/bits/atomic.h: Likewise.
68053 * sysdeps/x86_64/bits/atomic.h: Likewise.
68055 2012-03-02 David S. Miller <davem@davemloft.net>
68057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68061 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68062 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68063 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68064 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68066 2012-03-02 Roland McGrath <roland@hack.frob.com>
68069 * manual/examples/README: New file, says the example source files
68070 can be used under GPL>=2.
68071 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68072 line containing just "*/".
68073 * manual/examples/add.c: Add copyright header (GPL>=2).
68074 * manual/examples/argp-ex1.c: Likewise.
68075 * manual/examples/argp-ex2.c: Likewise.
68076 * manual/examples/argp-ex3.c: Likewise.
68077 * manual/examples/argp-ex4.c: Likewise.
68078 * manual/examples/atexit.c: Likewise.
68079 * manual/examples/db.c: Likewise.
68080 * manual/examples/dir.c: Likewise.
68081 * manual/examples/dir2.c: Likewise.
68082 * manual/examples/execinfo.c: Likewise.
68083 * manual/examples/filecli.c: Likewise.
68084 * manual/examples/filesrv.c: Likewise.
68085 * manual/examples/fmtmsgexpl.c: Likewise.
68086 * manual/examples/genpass.c: Likewise.
68087 * manual/examples/inetcli.c: Likewise.
68088 * manual/examples/inetsrv.c: Likewise.
68089 * manual/examples/isockad.c: Likewise.
68090 * manual/examples/longopt.c: Likewise.
68091 * manual/examples/memopen.c: Likewise.
68092 * manual/examples/memstrm.c: Likewise.
68093 * manual/examples/mkfsock.c: Likewise.
68094 * manual/examples/mkisock.c: Likewise.
68095 * manual/examples/mygetpass.c: Likewise.
68096 * manual/examples/pipe.c: Likewise.
68097 * manual/examples/popen.c: Likewise.
68098 * manual/examples/rprintf.c: Likewise.
68099 * manual/examples/search.c: Likewise.
68100 * manual/examples/select.c: Likewise.
68101 * manual/examples/setjmp.c: Likewise.
68102 * manual/examples/sigh1.c: Likewise.
68103 * manual/examples/sigusr.c: Likewise.
68104 * manual/examples/stpcpy.c: Likewise.
68105 * manual/examples/strdupa.c: Likewise.
68106 * manual/examples/strftim.c: Likewise.
68107 * manual/examples/strncat.c: Likewise.
68108 * manual/examples/subopt.c: Likewise.
68109 * manual/examples/swapcontext.c: Likewise.
68110 * manual/examples/termios.c: Likewise.
68111 * manual/examples/testopt.c: Likewise.
68112 * manual/examples/testpass.c: Likewise.
68113 * manual/examples/timeval_subtract.c: Likewise.
68116 * manual/time.texi (Elapsed Time): Move timeval_subtract example
68118 * manual/timeval_subtract.c.texi: ... here, new file.
68120 2012-03-02 David S. Miller <davem@davemloft.net>
68122 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68124 2012-03-02 Joseph Myers <joseph@codesourcery.com>
68127 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68128 (__sin): Save and restore rounding mode and use round-to-nearest
68129 for all computations.
68130 (__cos): Save and restore rounding mode and use round-to-nearest
68131 for all computations.
68132 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68134 (tan): Save and restore rounding mode and use round-to-nearest for
68136 * math/libm-test.inc (cos_test_tonearest): New function.
68137 (cos_test_towardzero): Likewise.
68138 (cos_test_downward): Likewise.
68139 (cos_test_upward): Likewise.
68140 (sin_test_tonearest): Likewise.
68141 (sin_test_towardzero): Likewise.
68142 (sin_test_downward): Likewise.
68143 (sin_test_upward): Likewise.
68144 (tan_test_tonearest): Likewise.
68145 (tan_test_towardzero): Likewise.
68146 (tan_test_downward): Likewise.
68147 (tan_test_upward): Likewise.
68148 (main): Call the new functions.
68149 * sysdeps/i386/fpu/libm-test-ulps: Update.
68150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68153 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68154 small n, then large n, before computing and testing k+n.
68155 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68160 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68161 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68163 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68164 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68165 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68167 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68168 * math/libm-test.inc (scalbn_test): Add more tests.
68169 (scalbln_test): Likewise.
68171 * manual/filesys.texi (mode_t): Describe constraints on size and
68172 signedness, not exact equivalence to a particular type.
68174 (ino64_t): Likewise.
68176 (nlink_t): Likewise.
68177 (blkcnt_t): Likewise.
68178 (blkcnt64_t): Likewise.
68179 * manual/llio.texi (off_t): Likewise.
68182 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68183 (__ieee754_exp): Save and restore rounding mode and use
68184 round-to-nearest for all computations.
68185 * math/libm-test.inc (exp_test_tonearest): New function.
68186 (exp_test_towardzero): Likewise.
68187 (exp_test_downward): Likewise.
68188 (exp_test_upward): Likewise.
68189 (main): Call the new functions.
68190 * sysdeps/i386/fpu/libm-test-ulps: Update.
68191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68193 2012-03-01 Chris Demetriou <cgd@google.com>
68195 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68196 have predictable order.
68198 2012-03-01 David S. Miller <davem@davemloft.net>
68200 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68202 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68203 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68204 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68205 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68207 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68208 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68209 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68211 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68212 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68213 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68214 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68215 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68220 * sysdeps/sparc/fpu/libm-test-ulps: to here.
68221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68223 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68224 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68225 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68226 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68227 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68231 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68232 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68233 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68234 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68236 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68237 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68239 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68240 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68241 * sysdeps/sparc/elf/configure: Regenerated.
68243 2012-03-01 Joseph Myers <joseph@codesourcery.com>
68245 * configure.in (AS, LD): Require binutils 2.20 or later.
68246 * configure: Regenerated.
68247 * manual/install.texi (Tools for Compilation): Give binutils 2.20
68248 as required minimum version.
68249 * INSTALL: Regenerated.
68253 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68254 before squaring exponent.
68255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68256 bottom long double and 27 bits of top long double before squaring
68258 * math/libm-test.inc (erfc_test): Add more tests.
68259 * sysdeps/i386/fpu/libm-test-ulps: Update.
68260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68263 2012-03-01 Kai Tietz <ktietz@redhat.com>
68265 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68266 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68267 containing bit-fields.
68268 * soft-fp/extended.h (_FP_UNION_E): Likewise.
68269 * soft-fp/single.h (_FP_UNION_S): Likewise.
68270 * soft-fp/double.h (_FP_UNION_D): Likewise.
68272 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68275 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68276 not include ../strcmp.S.
68277 [USE_AS_STRNCASECMP_L]: Likewise.
68278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68279 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68280 * sysdeps/i386/i686/multiarch/strncase_l-c.c
68281 (__strncasecmp_l_ia32): Define as alias to
68282 __strncasecmp_l_nonascii.
68285 * math/libm-test.inc (expm1_test): Add test for bug 5794.
68286 * sysdeps/i386/fpu/libm-test-ulps: Update.
68287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68289 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68292 2012-02-29 Jeff Law <law@redhat.com>
68294 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68295 out of bounds read.
68297 2012-02-29 Marek Polacek <polacek@redhat.com>
68300 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68301 * elf/Makefile: Add rules to run tst-unused-dep.out.
68303 2012-02-28 David S. Miller <davem@davemloft.net>
68305 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68306 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68307 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68309 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68310 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68312 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68314 * math/libm-test.inc (llround_test): Move one test from
68315 lround_test. Use TEST_f_L in moved test.
68316 (lround_test): Move misplaced test to llround_test. Add testcase
68319 2012-02-28 Ulrich Drepper <drepper@gmail.com>
68321 * sysdeps/x86_64/fpu/e_expf.S: New file.
68322 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68324 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
68327 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68328 of remain_len that may cause incomplete multi-byte character and
68330 * posix/bug-regex33.c: New file.
68331 * posix/Makefile (tests): Add bug-regex33.
68333 2012-02-28 Joseph Myers <joseph@codesourcery.com>
68335 * manual/macros.texi: New file.
68336 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68337 * manual/libc.texinfo: Include macros.texi.
68338 * manual/creatute.texi: Likewise.
68339 * manual/install.texi: Likewise.
68340 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68341 @glibcadj{} in references to the GNU C Library.
68342 * manual/charset.texi: Likewise.
68343 * manual/conf.texi: Likewise.
68344 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
68345 when not using those macros.
68346 * manual/creature.texi: Likewise.
68347 * manual/crypt.texi: Likewise.
68348 * manual/errno.texi: Likewise.
68349 * manual/filesys.texi: Likewise.
68350 * manual/header.texi: Likewise.
68351 * manual/install.texi: Likewise.
68352 * manual/intro.texi: Likewise.
68353 * manual/io.texi: Likewise.
68354 * manual/job.texi: Likewise.
68355 * manual/lang.texi: Likewise.
68356 * manual/libc.texiinfo: Likewise.
68357 * manual/llio.texi: Likewise.
68358 * manual/locale.texi: Likewise.
68359 * manual/maint.texi: Likewise.
68360 * manual/math.texi: Likewise.
68361 * manual/memory.texi: Likewise.
68362 * manual/message.texi: Likewise.
68363 * manual/nss.texi: Likewise.
68364 * manual/pattern.texi: Likewise.
68365 * manual/process.texi: Likewise.
68366 * manual/resource.texi: Likewise.
68367 * manual/search.texi: Likewise.
68368 * manual/setjmp.texi: Likewise.
68369 * manual/signal.texi: Likewise.
68370 * manual/socket.texi: Likewise.
68371 * manual/startup.texi: Likewise.
68372 * manual/stdio.texi: Likewise.
68373 * manual/string.texi: Likewise.
68374 * manual/sysinfo.texi: Likewise.
68375 * manual/syslog.texi: Likewise.
68376 * manual/terminal.texi: Likewise.
68377 * manual/time.texi: Likewise.
68378 * manual/users.texi: Likewise.
68379 * INSTALL: Regenerated.
68380 * NOTES: Regenerated.
68381 * sysdeps/gnu/errlist.c: Regenerated.
68383 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
68385 * include/dirent.h: Include <dirstream.h> before
68388 2012-02-28 David S. Miller <davem@davemloft.net>
68390 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68391 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68392 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68393 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68395 2012-02-27 David S. Miller <davem@davemloft.net>
68397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68399 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68400 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68403 frame pointer instead of stack pointer relative arg slot.
68404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68405 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68406 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68408 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
68411 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68413 2012-02-27 David S. Miller <davem@davemloft.net>
68415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68419 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68420 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68421 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68422 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68424 2012-02-27 Joseph Myers <joseph@codesourcery.com>
68426 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68427 later. Allow versions 5-9.
68428 * configure: Regenerated.
68429 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68430 required minimum version and 4.6 as recommended version. Do not
68431 mention bugs in GCC 2.7 and 2.8.
68432 * INSTALL: Regenerated.
68434 2012-02-27 David S. Miller <davem@davemloft.net>
68436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68440 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68441 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68442 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68443 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68446 manipulate bits before adding and subtracting TWO112[sx].
68447 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68449 2012-02-27 Roland McGrath <roland@hack.frob.com>
68452 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68453 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68454 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68455 being in POSIX, because they are in 1003.1-2008.
68457 * rt/tst-aio.c: Include <fcntl.h>.
68458 * rt/tst-aio7.c: Likewise.
68459 * rt/tst-aio64.c: Likewise.
68461 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68463 2012-02-27 Joseph Myers <joseph@codesourcery.com>
68465 * manual/install.texi (--with-headers): Describe headers as
68466 interface headers, not private headers.
68467 (Specific advice for GNU/Linux systems): Describe use of headers
68468 from "make headers_install", not private headers from older
68470 * INSTALL: Regenerated.
68471 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68473 * sysdeps/unix/sysv/linux/configure: Regenerated.
68475 * manual/llio.texi (fclean): Remove documentation.
68477 * manual/Makefile (libc-texi-generated): New variable. Include
68479 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68480 $(libc-texi-generated), not duplicated list of files.
68481 (version.texi, stamp-version): New rules.
68482 (realclean): Remove $(libc-texi-generated), not individual files
68483 from that list. Do not remove dir-add.texinfo.
68484 * manual/libc.texinfo: Comment out uses of edition numbers and
68485 references to printed manual. Remove last-updated dates.
68486 (EDITION): Comment out.
68488 (VERSION, UPDATED): Remove.
68489 (version.texi): Include.
68491 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
68493 * sysdeps/posix/spawni.c: Include <signal.h>.
68494 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68495 * sysdeps/pthread/aio_fsync.c: Likewise.
68497 2012-02-26 Ulrich Drepper <drepper@gmail.com>
68499 * conform/Makefile (tests): Run only when not cross-compiling and
68500 when fast-check is not defined.
68502 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68503 * conform/data/limits.h-data: Fixes for POSIX2008.
68504 * conform/run-conformtest.sh: Run all tests.
68505 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68507 * include/bits/dlfcn.h: Likewise.
68508 * include/langinfo.h: Likewise.
68509 * include/monetary.h: Likewise.
68510 * include/sys/poll.h: Likewise.
68512 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68514 * posix/spawn.h: Define __need_sigset_t.
68515 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68516 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68517 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
68518 to get sigevent_t only.
68519 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68520 only for __USE_GNU.
68521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68523 process_vm_writev only for __USE_GNU.
68524 * termios/termios.h: Declare tcgetsid also for POSIX2008.
68526 * conform/Makefile: For now ignore errors from run-conformtest.
68527 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
68528 POSIX to avoid namespace pollution. Don't prepend headers.
68529 * conform/data/aio.h-data: Fixes for POSIX testing.
68530 * conform/data/fcntl.h-data: Likewise.
68531 * conform/data/glob.h-data: Likewise.
68532 * conform/data/grp.h-data: Likewise.
68533 * conform/data/pthread.h-data: Likewise.
68534 * conform/data/pwd.h-data: Likewise.
68535 * conform/data/signal.h-data: Likewise.
68536 * conform/data/spawn.h-data: Likewise.
68537 * conform/data/stdio.h-data: Likewise.
68538 * conform/data/stdlib.h-data: Likewise.
68539 * conform/data/stropts.h-data: Likewise.
68540 * conform/data/sys/mman.h-data: Likewise.
68541 * conform/data/sys/stat.h-data: Likewise.
68542 * conform/data/sys/types.h-data: Likewise.
68543 * conform/data/sys/wait.h-data: Likewise.
68544 * conform/data/time.h-data: Likewise.
68545 * conform/data/unistd.h-data: Likewise.
68546 * conform/data/utime.h-data: Likewise.
68548 * io/sys/stat.h: fchmod was always in POSIX.
68549 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68550 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68551 * rt/aio.h: Define __need_timespec before including <time.h>.
68552 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68553 struct. Add forward declaration of pthread_attr_t and use it in
68555 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68557 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68558 always remove CLK_TCK definition.
68560 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
68562 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68564 2012-02-25 Ulrich Drepper <drepper@gmail.com>
68566 * conform/run-conformtest.sh: New file.
68567 * conform/Makefile: Run run-conformtest for tests.
68568 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
68571 * conform/data/uchar.h-data: New file.
68572 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68573 * conform/data/arpa/inet.h-data: Likewise.
68574 * conform/data/assert.h-data: Likewise.
68575 * conform/data/complex.h-data: Likewise.
68576 * conform/data/cpio.h-data: Likewise.
68577 * conform/data/ctype.h-data: Likewise.
68578 * conform/data/dirent.h-data: Likewise.
68579 * conform/data/dlfcn.h-data: Likewise.
68580 * conform/data/errno.h-data: Likewise.
68581 * conform/data/fcntl.h-data: Likewise.
68582 * conform/data/float.h-data: Likewise.
68583 * conform/data/fmtmsg.h-data: Likewise.
68584 * conform/data/fnmatch.h-data: Likewise.
68585 * conform/data/ftw.h-data: Likewise.
68586 * conform/data/glob.h-data: Likewise.
68587 * conform/data/grp.h-data: Likewise.
68588 * conform/data/iconv.h-data: Likewise.
68589 * conform/data/inttypes.h-data: Likewise.
68590 * conform/data/langinfo.h-data: Likewise.
68591 * conform/data/libgen.h-data: Likewise.
68592 * conform/data/limits.h-data: Likewise.
68593 * conform/data/locale.h-data: Likewise.
68594 * conform/data/math.h-data: Likewise.
68595 * conform/data/monetary.h-data: Likewise.
68596 * conform/data/mqueue.h-data: Likewise.
68597 * conform/data/ndbm.h-data: Likewise.
68598 * conform/data/net/if.h-data: Likewise.
68599 * conform/data/netdb.h-data: Likewise.
68600 * conform/data/netinet/in.h-data: Likewise.
68601 * conform/data/nl_types.h-data: Likewise.
68602 * conform/data/poll.h-data: Likewise.
68603 * conform/data/pthread.h-data: Likewise.
68604 * conform/data/pwd.h-data: Likewise.
68605 * conform/data/regex.h-data: Likewise.
68606 * conform/data/sched.h-data: Likewise.
68607 * conform/data/search.h-data: Likewise.
68608 * conform/data/semaphore.h-data: Likewise.
68609 * conform/data/setjmp.h-data: Likewise.
68610 * conform/data/signal.h-data: Likewise.
68611 * conform/data/spawn.h-data: Likewise.
68612 * conform/data/stdarg.h-data: Likewise.
68613 * conform/data/stdio.h-data: Likewise.
68614 * conform/data/stdlib.h-data: Likewise.
68615 * conform/data/string.h-data: Likewise.
68616 * conform/data/strings.h-data: Likewise.
68617 * conform/data/stropts.h-data: Likewise.
68618 * conform/data/sys/ipc.h-data: Likewise.
68619 * conform/data/sys/mman.h-data: Likewise.
68620 * conform/data/sys/msg.h-data: Likewise.
68621 * conform/data/sys/resource.h-data: Likewise.
68622 * conform/data/sys/select.h-data: Likewise.
68623 * conform/data/sys/sem.h-data: Likewise.
68624 * conform/data/sys/shm.h-data: Likewise.
68625 * conform/data/sys/socket.h-data: Likewise.
68626 * conform/data/sys/stat.h-data: Likewise.
68627 * conform/data/sys/statvfs.h-data: Likewise.
68628 * conform/data/sys/time.h-data: Likewise.
68629 * conform/data/sys/timeb.h-data: Likewise.
68630 * conform/data/sys/times.h-data: Likewise.
68631 * conform/data/sys/types.h-data: Likewise.
68632 * conform/data/sys/uio.h-data: Likewise.
68633 * conform/data/sys/un.h-data: Likewise.
68634 * conform/data/sys/utsname.h-data: Likewise.
68635 * conform/data/sys/wait.h-data: Likewise.
68636 * conform/data/syslog.h-data: Likewise.
68637 * conform/data/tar.h-data: Likewise.
68638 * conform/data/termios.h-data: Likewise.
68639 * conform/data/utime.h-data: Likewise.
68640 * conform/data/utmpx.h-data: Likewise.
68641 * conform/data/varargs.h-data: Likewise.
68642 * conform/data/wchar.h-data: Likewise.
68643 * conform/data/wctype.h-data: Likewise.
68644 * conform/data/wordexp.h-data: Likewise.
68646 * include/stropts.h: New file.
68647 * include/uchar.h: New file.
68648 * include/aio.h: Changes to allow conformtest.pl to use the headers.
68649 * include/assert.h: Likewise.
68650 * include/ctype.h: Likewise.
68651 * include/dirent.h: Likewise.
68652 * include/dlfcn.h: Likewise.
68653 * include/fcntl.h: Likewise.
68654 * include/fnmatch.h: Likewise.
68655 * include/glob.h: Likewise.
68656 * include/grp.h: Likewise.
68657 * include/libio.h: Likewise.
68658 * include/locale.h: Likewise.
68659 * include/math.h: Likewise.
68660 * include/net/if.h: Likewise.
68661 * include/netdb.h: Likewise.
68662 * include/netinet/in.h: Likewise.
68663 * include/pthread.h: Likewise.
68664 * include/pwd.h: Likewise.
68665 * include/regex.h: Likewise.
68666 * include/sched.h: Likewise.
68667 * include/search.h: Likewise.
68668 * include/setjmp.h: Likewise.
68669 * include/signal.h: Likewise.
68670 * include/stdio.h: Likewise.
68671 * include/stdlib.h: Likewise.
68672 * include/string.h: Likewise.
68673 * include/sys/cdefs.h: Likewise.
68674 * include/sys/mman.h: Likewise.
68675 * include/sys/msg.h: Likewise.
68676 * include/sys/resource.h: Likewise.
68677 * include/sys/select.h: Likewise.
68678 * include/sys/socket.h: Likewise.
68679 * include/sys/stat.h: Likewise.
68680 * include/sys/statvfs.h: Likewise.
68681 * include/sys/time.h: Likewise.
68682 * include/sys/times.h: Likewise.
68683 * include/sys/uio.h: Likewise.
68684 * include/sys/utsname.h: Likewise.
68685 * include/sys/wait.h: Likewise.
68686 * include/termios.h: Likewise.
68687 * include/time.h: Likewise.
68688 * include/ulimit.h: Likewise.
68689 * include/unistd.h: Likewise.
68690 * include/utime.h: Likewise.
68691 * include/wchar.h: Likewise.
68692 * include/wctype.h: Likewise.
68693 * include/wordexp.h: Likewise.
68695 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68697 * time/time.h: TIME_UTC must be a macro.
68698 Make timespec_get available for ISO C11 only as well.
68700 2012-02-24 Ulrich Drepper <drepper@gmail.com>
68702 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68703 Reported by Peng Haitao <penght@cn.fujitsu.com>.
68705 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68707 * configure.in: Use -o not -a in test for unsupported multi-arch.
68709 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68711 * manual/texinfo.tex: Update to version 2012-01-19.16.
68713 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68715 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68717 2012-02-24 Roland McGrath <roland@hack.frob.com>
68720 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68721 * manual/fdl-1.3.texi: New file.
68722 * manual/fdl-1.1.texi: File removed.
68725 * manual/libc.texinfo (FDL_VERSION): New @set.
68726 Use it for mention of FDL in cover text.
68727 (Documentation License): Use it in @include file name.
68729 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68730 Roland McGrath <roland@hack.frob.com>
68733 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68734 (not LONG_LONG_MAX and LONG_LONG_MIN.
68735 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68736 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
68738 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68740 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68744 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68745 manipulate bits before adding and subtracting TWO23[sx].
68746 * math/libm-test.inc (nearbyint_test): Add more tests.
68748 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68751 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68752 bits before adding and subtracting TWO23[sx].
68753 * math/libm-test.inc (rint_test): Add more tests.
68754 (rint_test_tonearest): Likewise.
68755 (rint_test_towardzero): Likewise.
68756 (rint_test_downward): Likewise.
68757 (rint_test_upward: Likewise.
68759 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68762 * include/stdc-predef.h: New file. Extracted from features.h.
68763 * include/features.h: Include stdc-predef.h.
68764 * Makefile (headers): Add stdc-predef.h.
68765 * CONFORMANCE (Compiler limitations): Update.
68767 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68769 * manual/libc.texinfo (VERSION, UPDATED): Revert.
68771 2012-02-21 David S. Miller <davem@davemloft.net>
68773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68774 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68776 2012-02-20 David S. Miller <davem@davemloft.net>
68778 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68779 using a normal save/restore sequence, rather than allocating a
68780 dummy stack frame just to store a frame pointer and restore.
68781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68783 2012-02-21 Joseph Myers <joseph@codesourcery.com>
68785 * manual/install.texi: Fix stray word in line-wrapped comment.
68787 2012-02-20 David S. Miller <davem@davemloft.net>
68789 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68790 both binutils and gcc support GOTDATA.
68792 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68793 "rd %pc" in the PIC register setup sequences.
68795 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68796 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68797 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68798 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68799 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68804 (SYSCALL_ERROR_HANDLER): Likewise.
68805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68808 (SYSCALL_ERROR_HANDLER): Likewise.
68810 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68811 (HAVE_GCC_GOTDATA): New.
68812 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68813 relocation support in both binutils and gcc.
68814 * sysdeps/sparc/elf/configure: Regenerate.
68816 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68817 * sysdeps/sparc/sparc32/elf/configure: Delete.
68818 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68819 * sysdeps/sparc/sparc64/elf/configure: Delete.
68820 * sysdeps/sparc/elf/configure.in: New file.
68821 * sysdeps/sparc/elf/configure: Generate.
68823 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68824 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68825 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68826 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68827 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68829 2012-02-21 Joseph Myers <joseph@codesourcery.com>
68831 * manual/install.texi: Do not mention specific glibc version
68833 * manual/libc.texinfo (VERSION, UPDATED): Update.
68834 (@copying): Use @copyright{} and range of years.
68836 2012-02-21 Joseph Myers <joseph@codesourcery.com>
68839 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68840 [crti.S not in sysdirs] (generated): Do not append.
68841 [crti.S not in sysdirs] (omit-deps): Likewise.
68842 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68843 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68844 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68845 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68846 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68848 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68849 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68850 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68851 * csu/defs.awk: Remove file.
68852 * sysdeps/generic/initfini.c: Likewise.
68853 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68855 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68858 2012-02-20 Joseph Myers <joseph@codesourcery.com>
68860 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68861 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68862 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68863 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68865 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68867 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68868 (__EPOLL_PACKED): Define to empty if not defined by
68870 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68874 2012-02-20 Joseph Myers <joseph@codesourcery.com>
68876 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68877 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68878 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68879 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68881 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68885 2012-02-20 Joseph Myers <joseph@codesourcery.com>
68887 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68889 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68891 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68894 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
68896 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68897 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68899 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
68901 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68902 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68904 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68906 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68909 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
68911 * math/w_acos.c: Use non-signaling floating-point comparisons.
68912 * math/w_acosf.c: Likewise.
68913 * math/w_acosh.c: Likewise.
68914 * math/w_acoshf.c: Likewise.
68915 * math/w_acoshl.c: Likewise.
68916 * math/w_acosl.c: Likewise.
68917 * math/w_asin.c: Likewise.
68918 * math/w_asinf.c: Likewise.
68919 * math/w_asinl.c: Likewise.
68920 * math/w_atanh.c: Likewise.
68921 * math/w_atanhf.c: Likewise.
68922 * math/w_atanhl.c: Likewise.
68923 * math/w_exp2.c: Likewise.
68924 * math/w_exp2f.c: Likewise.
68925 * math/w_exp2l.c: Likewise.
68926 * math/w_j0.c: Likewise.
68927 * math/w_j0f.c: Likewise.
68928 * math/w_j0l.c: Likewise.
68929 * math/w_j1.c: Likewise.
68930 * math/w_j1f.c: Likewise.
68931 * math/w_j1l.c: Likewise.
68932 * math/w_jn.c: Likewise.
68933 * math/w_jnf.c: Likewise.
68934 * math/w_log.c: Likewise.
68935 * math/w_log10.c: Likewise.
68936 * math/w_log10f.c: Likewise.
68937 * math/w_log10l.c: Likewise.
68938 * math/w_log2.c: Likewise.
68939 * math/w_log2f.c: Likewise.
68940 * math/w_log2l.c: Likewise.
68941 * math/w_logf.c: Likewise.
68942 * math/w_logl.c: Likewise.
68943 * math/w_sqrt.c: Likewise.
68944 * math/w_sqrtf.c: Likewise.
68945 * math/w_sqrtl.c: Likewise.
68946 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68947 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68949 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68950 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68952 2012-02-19 Joseph Myers <joseph@codesourcery.com>
68955 * manual/string.texi (strnlen): Use correct parameter name in
68956 equivalent expression.
68958 2012-02-19 Joseph Myers <joseph@codesourcery.com>
68961 * manual/users.texi (seteuid): Consistently use neweuid for
68964 2012-02-19 Joseph Myers <joseph@codesourcery.com>
68967 * manual/nss.texi (Services in the NSS configuration): Correct
68968 list of services in example configuration file.
68970 2012-02-19 Nick Bowler <nbowler@draconx.ca>
68973 * manual/arith.texi: Remove statements about negative zero
68974 behaving identically to zero.
68976 2012-02-18 Joseph Myers <joseph@codesourcery.com>
68979 * manual/install.texi: Do not document upgrading from libc5.
68981 2012-02-18 Joseph Myers <joseph@codesourcery.com>
68984 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68986 2012-02-18 David S. Miller <davem@davemloft.net>
68988 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68989 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68990 %o7 across the call.
68991 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68994 SETUP_PIC_REG_LEAF.
68995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68996 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68997 * sysdeps/sparc/crtn.S: Likewise.
68999 2012-02-17 Ulrich Drepper <drepper@gmail.com>
69001 * aout/Makefile: Remove.
69003 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
69006 * manual/examples/argp-ex1.c (main): Format definition in GNU
69008 * manual/examples/argp-ex2.c (main): Likewise.
69009 * manual/examples/argp-ex3.c (main): Likewise.
69010 * manual/examples/argp-ex4.c (main): Likewise.
69011 * manual/examples/longopt.c (main): Use new-style prototype
69013 * manual/examples/strncat.c (main): Specify return type and use
69014 (void) for arguments.
69015 * manual/examples/subopt.c (main): Use char **argv argument.
69017 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69020 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69023 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
69026 * manual/string.texi (strchr): Change when strchrnul is
69029 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
69032 * manual/locale.texi (setlocale): Document LOCPATH.
69034 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69037 * manual/process.texi (execle): Move @dots{} before last argument.
69039 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
69042 * manual/charset.texi (Generic Charset Conversion): Fix typo
69043 (LC_TYPE -> LC_CTYPE).
69045 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
69048 * manual/arith.texi (scalbn): Use @var{} on parameter names.
69049 (scalbnf): Likewise.
69050 (scalbnl): Likewise.
69051 (scalbln): Likewise.
69052 (scalblnf): Likewise.
69053 (scalblnl): Likewise.
69054 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69055 (vwarnx): Likewise.
69058 * manual/filesys.texi (telldir): Use braces around return type.
69059 * manual/llio.texi (mmap): Add space after comma.
69060 (mmap64): Likewise.
69061 * manual/math.texi (jn): Use @var{} on parameter names.
69067 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69069 * manual/resource.texi (ulimit): Use @dots{} instead of literal
69071 (sched_get_priority_min): Remove semicolon on @deftypefun line.
69072 (sched_get_priority_max): Likewise.
69073 * manual/signal.texi (sigvec): Add space after comma.
69074 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69076 (if_indextoname): Likewise.
69077 (if_freenameindex): Likewise.
69078 (sendto): Use ',' instead of '.' in prototype.
69079 * manual/startup.texi (syscall): Use @dots{} instead of literal
69081 * manual/stdio.texi (__fpending): Separate initial words of
69082 paragraph from @deftypefun line.
69083 * manual/syslog.texi (syslog): Use @dots{} instead of literal
69085 (vsyslog): Use @var{} on parameter names.
69086 * manual/terminal.texi (stty): Use @var{} on parameter names.
69087 * manual/users.texi (getutmp): Use @var{} on parameter names.
69088 (getutmpx): Likewise.
69090 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69093 * manual/stdio.texi (fopen): Fix typos in description of
69096 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
69099 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69100 get clock_id definition.
69102 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
69105 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69106 (madvise): Cast every argument to void on its own.
69108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69111 * manual/startup.texi (Exit Status): Fix typo.
69113 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69116 * manual/examples/argp-ex1.c: Include <stdlib.h>.
69117 * manual/examples/argp-ex2.c: Likewise.
69118 * manual/examples/argp-ex3.c: Likewise.
69120 2012-02-16 Richard Henderson <rth@redhat.com>
69122 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69123 * sysdeps/s390/s390-32/initfini.c: Remove.
69124 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69125 * sysdeps/s390/s390-64/initfini.c: Remove.
69127 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69129 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69130 compiler output for sysdeps/generic/initfini.c.
69131 * sysdeps/sh/elf/initfini.c: Remove file.
69133 2012-02-16 David S. Miller <davem@davemloft.net>
69136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69138 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69139 * sysdeps/sparc/crti.S: New file.
69140 * sysdeps/sparc/crtn.S: New file.
69141 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69142 * sysdeps/sparc/sparc64/Makefile: Likewise.
69144 2012-02-15 Mike Frysinger <vapier@gentoo.org>
69147 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69149 2012-02-15 Roland McGrath <roland@hack.frob.com>
69152 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69154 * mach/devstream.c (cookie_io_functions_t): Macro removed.
69155 (write, read, close): Likewise.
69156 Patch by Aurelien Jarno <aurelien@aurel32.net>.
69158 2012-02-15 Joseph Myers <joseph@codesourcery.com>
69160 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69161 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69162 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69163 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69165 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69169 2012-02-14 Marek Polacek <polacek@redhat.com>
69171 * sysdeps/x86_64/crti.S: New file.
69172 * sysdeps/x86_64/crtn.S: New file.
69173 * sysdeps/x86_64/elf/initfini.c: Remove file.
69175 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69177 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69178 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69179 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69180 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69182 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69186 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69188 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69189 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69190 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69191 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69193 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69197 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
69199 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69200 __feraiseexcept instead of feraiseexcept.
69202 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69203 nanosleep invocations.
69204 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69205 strings, and add error checking for a nanosleep invocations.
69207 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
69209 Replace FSF snail mail address with URLs, as per GNU coding standards.
69210 Most of the snail mail addresses were wrong anyway, and omitting
69211 them makes the source code easier to maintain. Almost all of the
69212 changes are to license notices and to locale LC_IDENTIFICATION
69213 addresses, except for this one:
69214 * manual/libc.texinfo: In "Published by", give the FSF's URL,
69215 not its snail mail address.
69217 2012-02-09 Richard Henderson <rth@twiddle.net>
69219 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69220 of kernel-features.h.
69222 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69224 2012-02-08 Marek Polacek <polacek@redhat.com>
69226 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69227 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69228 * sysdeps/gnu/_G_config.h: Likewise.
69229 * sysdeps/generic/_G_config.h: Likewise.
69231 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
69233 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69237 * sysdeps/powerpc/powerpc32/crti.S: New file.
69238 * sysdeps/powerpc/powerpc32/crtn.S: New file.
69239 * sysdeps/powerpc/powerpc64/crti.S: New file.
69240 * sysdeps/powerpc/powerpc64/crtn.S: New file.
69242 * Makeconfig (have-initfini): Don't set.
69243 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69244 * configure.in (nopic_initfini): Don't substitute.
69245 * config.h.in (HAVE_INITFINI): Don't #undef.
69246 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69247 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69249 2012-02-08 Joseph Myers <joseph@codesourcery.com>
69251 Support crti.S and crtn.S provided directly by architectures.
69252 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69253 [crti.S in sysdirs] (omit-deps): Likewise.
69254 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69255 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69256 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69257 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69258 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69259 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69260 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69261 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69262 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69263 compiler output for sysdeps/generic/initfini.c.
69264 * sysdeps/i386/elf/Makefile: Remove file.
69265 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69267 2012-02-07 Marek Polacek <polacek@redhat.com>
69269 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69270 * sysdeps/gnu/_G_config.h: Likewise.
69271 * sysdeps/mach/hurd/_G_config.h: Likewise.
69273 2012-02-07 Marek Polacek <polacek@redhat.com>
69275 * math/Makefile (tests): Add tst-CMPLX2.
69276 * math/tst-CMPLX2.c: New file.
69278 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
69280 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69282 * math/libm-test.inc (jn_test): Add missing L suffix.
69284 2012-02-06 Marek Polacek <polacek@redhat.com>
69286 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69287 * sysdeps/i386/fpu/e_powf.S: Likewise.
69288 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69289 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69290 * sysdeps/i386/fpu/e_acosh.S: Likewise.
69291 * sysdeps/i386/fpu/e_pow.S: Likewise.
69292 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69293 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69294 * sysdeps/i386/fpu/s_expm1.S: Likewise.
69295 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69296 * sysdeps/i386/fpu/e_log2.S: Likewise.
69297 * sysdeps/i386/fpu/e_log2l.S: Likewise.
69298 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69299 * sysdeps/i386/fpu/e_powl.S: Likewise.
69300 * sysdeps/i386/fpu/s_log1p.S: Likewise.
69301 * sysdeps/i386/fpu/e_log10f.S: Likewise.
69302 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69303 * sysdeps/i386/fpu/e_logl.S: Likewise.
69304 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69305 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69306 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69307 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69308 * sysdeps/i386/fpu/e_log2f.S: Likewise.
69309 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69310 * sysdeps/i386/fpu/e_log.S: Likewise.
69311 * sysdeps/i386/fpu/s_cexp.S: Likewise.
69312 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69313 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69314 * sysdeps/i386/fpu/e_logf.S: Likewise.
69315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
69316 * sysdeps/i386/fpu/e_atanh.S: Likewise.
69317 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69318 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69319 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69320 * sysdeps/i386/fpu/e_log10.S: Likewise.
69321 * sysdeps/i386/fpu/s_frexp.S: Likewise.
69322 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69323 * sysdeps/i386/fpu/s_asinh.S: Likewise.
69324 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69325 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69326 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69327 * sysdeps/i386/asm-syntax.h: Likewise.
69328 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69330 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69331 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69332 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69333 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69334 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69335 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69336 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69337 * sysdeps/powerpc/sysdep.h: Likewise.
69338 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69341 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69344 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69346 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69348 * sysdeps/i386/sysdep.h: Include <features.h>.
69349 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69352 2012-02-05 Joseph Myers <joseph@codesourcery.com>
69354 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69356 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69359 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69361 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69362 (SETUP_PIC_REG): Use GET_PC_THUNK.
69363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69366 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69368 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69369 for non-PIC compilation.
69370 (SETUP_PIC_REG): Add .p2align directive.
69371 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69372 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69373 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69374 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69376 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69377 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69379 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69380 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69381 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69382 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69383 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69384 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69385 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69386 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69387 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69388 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69389 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69390 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69391 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69392 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69393 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69394 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69395 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69397 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69398 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69401 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69403 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69404 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69405 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69406 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69407 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69408 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69410 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69411 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69413 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69415 * math/tst-CMPLX.c: Include <stdio.h>.
69417 2012-01-31 Joseph Myers <joseph@codesourcery.com>
69419 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69421 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69422 * sysdeps/sparc/bits/mathdef.h: Likewise.
69424 2012-01-31 Marek Polacek <polacek@redhat.com>
69426 * libio/libio.h: Don't define _PARAMS.
69427 * locale/programs/config.h: Don't define PARAMS.
69428 * stdlib/strtol_l.c: Likewise.
69429 (__strtol_l): Remove PARAMS from the prototype.
69431 2012-01-31 Ulrich Drepper <drepper@gmail.com>
69433 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
69434 names. Just use the correct names. Remove unnecessary wrapper
69436 * malloc/arena.c: Likewise.
69437 * malloc/hooks.c: Likewise.
69439 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69440 ARENA_TEST says not to. Simplify test for creation of a new arena.
69441 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69443 2012-01-30 Ulrich Drepper <drepper@gmail.com>
69445 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69447 (update_get_addr): New function.
69448 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69449 GET_ADDR_MODULE parameter.
69451 2012-01-30 Joseph Myers <joseph@codesourcery.com>
69453 * crypt/cert.c: Remove __STDC__ conditionals.
69454 * crypt/crypt-entry.c: Likewise.
69455 * crypt/crypt_util.c: Likewise.
69456 * libio/filedoalloc.c: Likewise.
69457 * libio/fileops.c: Likewise.
69458 * libio/genops.c: Likewise.
69459 * libio/iofclose.c: Likewise.
69460 * libio/iofdopen.c: Likewise.
69461 * libio/iofopen.c: Likewise.
69462 * libio/iofopen64.c: Likewise.
69463 * libio/iogetdelim.c: Likewise.
69464 * libio/iopopen.c: Likewise.
69465 * libio/obprintf.c: Likewise.
69466 * libio/oldfileops.c: Likewise.
69467 * libio/oldiofclose.c: Likewise.
69468 * libio/oldiofdopen.c: Likewise.
69469 * libio/oldiofopen.c: Likewise.
69470 * libio/oldiopopen.c: Likewise.
69471 * libio/wfiledoalloc.c: Likewise.
69472 * libio/wgenops.c: Likewise.
69473 * locale/programs/xmalloc.c: Likewise.
69474 * misc/syslog.c: Likewise.
69475 * stdio-common/xbug.c: Likewise.
69476 * string/memchr.c: Likewise.
69477 * string/memcmp.c: Likewise.
69478 * string/memrchr.c: Likewise.
69479 * string/rawmemchr.c: Likewise.
69480 * sysdeps/posix/getcwd.c: Likewise.
69481 * time/strftime_l.c: Likewise.
69483 2012-01-30 Joseph Myers <joseph@codesourcery.com>
69485 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69486 * config.make.in (config-cflags-sse2avx): Define.
69487 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69490 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
69492 * scripts/config.guess: Update from upstream config git repository.
69493 * scripts/config.sub: Likewise.
69495 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
69497 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69499 (R_TILEPRO_*, R_TILEGX_*): New macros.
69501 * scripts/firstversions.awk: Fix bug in version range handling.
69503 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69505 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69507 * include/sys/epoll.h: New file.
69508 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69511 2012-01-28 Ulrich Drepper <drepper@gmail.com>
69513 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69514 Avoid unnecessary __WORDSIZE == 64 test.
69515 (fmaxf): Use VEX format if possible.
69520 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69521 * math/math_private.h: Remove libc_fegetround* and
69523 * sysdeps/i386/configure.in: Check for -msse2avx.
69524 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69525 also if SSE2AVX is defined.
69526 Remove libc_fegetround* and libc_fesetround*.
69527 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69528 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
69529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69532 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69537 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69539 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69541 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69543 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69545 2012-01-27 Ulrich Drepper <drepper@gmail.com>
69548 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69550 * Makeconfig (libm): Define.
69551 * elf/Makefile: Add rules to build and run tst-relsort1.
69552 * elf/tst-relsort1.c: New file.
69553 * elf/tst-relsort1mod1.c: New file.
69554 * elf/tst-relsort1mod2.c: New file.
69556 2012-01-27 Joseph Myers <joseph@codesourcery.com>
69558 * math/s_ldexp.c: Remove __STDC__ conditionals.
69559 * math/s_ldexpf.c: Likewise.
69560 * math/s_ldexpl.c: Likewise.
69561 * math/s_nextafter.c: Likewise.
69562 * math/s_nexttowardf.c: Likewise.
69563 * math/s_significand.c: Likewise.
69564 * math/s_significandf.c: Likewise.
69565 * math/s_significandl.c: Likewise.
69566 * math/w_jnl.c: Likewise.
69567 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69568 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69569 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69570 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69571 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69573 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69574 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69575 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69576 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69577 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69579 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69581 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69582 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69583 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69584 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69585 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69588 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69589 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69590 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69591 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69592 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69593 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69594 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69595 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69596 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69597 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69598 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69601 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69602 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69603 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69604 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69605 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69606 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69607 * sysdeps/ieee754/k_standard.c: Likewise.
69608 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69609 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69610 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69611 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69612 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69613 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69614 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69615 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69616 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69617 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69618 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69619 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69620 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69621 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69622 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69624 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69627 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69629 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69630 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69631 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69632 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69633 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69636 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69637 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69638 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69639 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69640 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69641 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69643 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69644 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69645 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69646 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69647 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69648 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69650 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69651 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69652 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69653 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69657 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69658 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69661 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69662 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69663 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69664 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69665 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69666 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69667 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69668 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69669 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69670 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69671 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69672 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69673 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69674 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69675 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69676 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69677 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69678 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69679 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69680 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69681 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69682 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69683 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69684 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69685 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69686 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69687 * sysdeps/ieee754/s_matherr.c: Likewise.
69688 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69689 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69693 2012-01-26 Joseph Myers <joseph@codesourcery.com>
69695 * crypt/md5.h: Remove __STDC__ conditionals.
69696 * libio/libioP.h: Likewise.
69697 * locale/programs/config.h: Likewise.
69698 * sysdeps/generic/sysdep.h: Likewise.
69699 * sysdeps/i386/asm-syntax.h: Likewise.
69700 * sysdeps/s390/asm-syntax.h: Likewise.
69701 * sysdeps/unix/sysdep.h: Likewise.
69702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69705 2012-01-26 Joseph Myers <joseph@codesourcery.com>
69707 * libio/libio.h: Remove __STDC__ conditionals.
69708 * malloc/obstack.h: Likewise.
69709 * math/complex.h: Likewise.
69710 * math/math.h: Likewise.
69711 * sysdeps/generic/_G_config.h: Likewise.
69712 * sysdeps/gnu/_G_config.h: Likewise.
69713 * sysdeps/mach/hurd/_G_config.h: Likewise.
69714 * sysdeps/powerpc/bits/mathdef.h: Likewise.
69715 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69716 * sysdeps/sparc/bits/mathdef.h: Likewise.
69718 2012-01-26 Ulrich Drepper <drepper@gmail.com>
69721 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69722 Clean up HAS_* macros.
69723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69724 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69726 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69734 2012-01-25 Joseph Myers <joseph@codesourcery.com>
69736 * elf/tst-unique3.cc (gets): Remove declaration.
69737 * elf/tst-unique3lib.cc (gets): Likewise.
69738 * elf/tst-unique3lib2.cc (gets): Likewise.
69739 * elf/tst-unique4.cc (gets): Likewise.
69741 2012-01-24 Ulrich Drepper <drepper@gmail.com>
69743 * include/stdio.h: Add C++ protection. Add gets declarations and
69745 * debug/tst-chk1.c: Don't declare gets here.
69746 * stdio-common/tst-gets.c: Likewise.
69748 2012-01-24 Joseph Myers <joseph@codesourcery.com>
69750 * posix/glob: Remove directory.
69752 2012-01-24 Joseph Myers <joseph@codesourcery.com>
69754 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69756 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
69758 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69759 of the non-standard EPFNOSUPPORT.
69761 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
69763 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69764 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69765 ANYWHERE set to 1 only on KERN_NO_SPACE error.
69767 2012-01-21 Ulrich Drepper <drepper@gmail.com>
69769 * wcsmbs/uchar.h: Test __STDC_VERSION__.
69771 2012-01-20 Ulrich Drepper <drepper@gmail.com>
69773 * nscd/aicache.c (addhstaiX): Do not cache negative results of
69775 * nscd/grpcache.c (cache_addgr): Likewise.
69776 * nscd/hstcache.c (cache_addhst): Likewise.
69777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
69778 * nscd/pwdcache.c (cache_addpw): Likewise.
69779 * nscd/servicescache.c (cache_addserv): Likewise.
69781 2012-01-16 Ulrich Drepper <drepper@gmail.com>
69783 * malloc/malloc.c: Various cleanups.
69784 * malloc/hooks.c: Likewise.
69786 * stdlib/Makefile (tests): Add bug-fmtmsg1.
69787 * stdlib/bug-fmtmsg1.c: New file.
69789 * stdlib/fmtmsg.c (init): Add missing unlock.
69790 Patch by Peng Haitao <penght@cn.fujitsu.com>.
69792 2012-01-12 Marek Polacek <polacek@redhat.com>
69794 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69797 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
69799 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69800 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69801 macro to ensure uniqueness of label name.
69802 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69803 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69805 2012-01-11 Ulrich Drepper <drepper@gmail.com>
69807 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69809 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69810 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69811 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69814 2012-01-10 Ulrich Drepper <drepper@gmail.com>
69816 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69818 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69819 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69820 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69822 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69825 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69826 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69829 * math/bits/math-finite.h: Add ldexp support.
69831 2012-01-10 Marek Polacek <polacek@redhat.com>
69833 * locale/programs/localedef.h (show_archive_content): Add noreturn
69836 2012-01-09 Ulrich Drepper <drepper@gmail.com>
69838 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69840 2012-01-08 Ulrich Drepper <drepper@gmail.com>
69842 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69844 * io/Makefile (headers): Add bits/poll2.h.
69846 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
69848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69849 typo #include statement.
69851 2012-01-08 Ulrich Drepper <drepper@gmail.com>
69853 * include/sys/cdefs.h: Define __attribute_alloc_size.
69854 * catgets/gencat.c: Add alloc_size attribute and apply consistently
69855 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69856 * elf/pldd.c: Likewise.
69857 * iconv/iconv_charmap.c: Likewise.
69858 * iconv/iconvconfig.c: Likewise.
69859 * iconv/strtab.c: Likewise.
69860 * locale/programs/locale.c: Likewise.
69861 * locale/programs/localedef.h: Likewise.
69862 * locale/programs/simple-hash.c: Likewise.
69863 * nscd/nscd.h: Likewise.
69864 * nss/makedb.c: Likewise.
69865 * sysdeps/generic/ldconfig.h: Likewise.
69866 * locale/programs/localedef.c: Remove xmalloc prototype.
69867 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69869 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69871 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69874 2012-01-08 Ulrich Drepper <drepper@gmail.com>
69876 * math/Makefile (tests): Add tst-CMPLX.
69877 * math/tst-CMPLX.c: New file.
69879 * math/complex.h (CMPLXL): Fix typo.
69881 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69882 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69884 * debug/tst-chk1.c: Add poll and ppoll tests.
69885 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69886 * include/sys/poll.h: Add hidden proto for ppoll.
69887 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69888 * sysdeps/mach/hurd/ppoll.c: Likewise.
69889 * io/ppoll.c: Likewise.
69890 * debug/poll_chk.c: New file.
69891 * debug/ppoll_chk.c: New file.
69892 * include/bits/poll2.h: New file.
69893 * io/bits/poll2.h: New file.
69896 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69898 * configure.in: static is always set to yes. Remove.
69899 * config.make.in: Don't set build-static.
69900 * Makeconfig: Remove use of build-static.
69901 * dlfcn/Makefile: Likewise.
69902 * elf/Makefile: Likewise.
69903 * math/Makefile: Likewise.
69904 * misc/Makefile: Likewise.
69905 * nptl/Makefile: Likewise.
69906 * sysdeps/mach/hurd/Makefile: Likewise.
69908 * configure.in: PWD_P is not used anymore.
69909 * config.make.in: Remove PWD_P entry.
69911 * configure.in: Remove last remnants of RANLIB.
69912 No need to check for signed size_t anymore.
69913 Don't set libc_commonpagesize and libc_relro_required here for Alpha
69915 Remove __builtin_expect test because we require at least gcc 3.4.
69916 * aclocal.m4: Likewise.
69918 * wcsmbs/mbrtoc16.c: Implement using towc function.
69919 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69920 * wcsmbs/wcsmbsload.c: Likewise.
69921 * iconv/gconv_simple.c: Likewise.
69922 * iconv/gconv_int.h: Likewise.
69923 * iconv/gconv_builtin.h: Likewise.
69924 * iconv/iconv_prog.c: Remove CHAR16 handling.
69926 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69928 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69930 * configure.in: Remove --with-elf and --enable-bounded options.
69931 Dont set base_machine for ia64. More non-ELF conditions removed.
69932 Remove testing and setting of leading underscore information.
69933 * config.make.in (build-bounded): Set to no.
69934 * config.h.in: Remove NO_UNDERSCORES entry.
69935 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
69937 * csu/start.c: Remove !NO_UNDERSCORE code.
69938 * locale/localeinfo.h: Likewise.
69939 * sysdeps/generic/machine-gmon.h: Likewise.
69940 * sysdeps/generic/sysdep.h: Likewise.
69941 * sysdeps/i386/sysdep.h: Likewise.
69942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69943 * sysdeps/mach/sysdep.h: Likewise.
69944 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69946 * sysdeps/sh/sysdep.h: Likewise.
69947 * sysdeps/sparc/sparc32/alloca.S: Likewise.
69948 * sysdeps/unix/i386/sysdep.S: Likewise.
69949 * sysdeps/unix/sparc/start.c: Likewise.
69950 * sysdeps/unix/sparc/sysdep.S: Likewise.
69951 * sysdeps/unix/sparc/sysdep.h: Likewise.
69952 * sysdeps/unix/start.c: Likewise.
69953 * sysdeps/unix/x86_64/sysdep.S: Likewise.
69954 * sysdeps/x86_64/sysdep.h: Likewise.
69956 2012-01-07 Ulrich Drepper <drepper@gmail.com>
69959 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69961 * argp/argp-fmtstream.h: Use const instead __const.
69962 * argp/argp.h: Likewise.
69963 * assert/assert.h: Likewise.
69964 * bits/fenv.h: Likewise.
69965 * bits/sched.h: Likewise.
69966 * bits/sigset.h: Likewise.
69967 * bits/sigthread.h: Likewise.
69968 * catgets/nl_types.h: Likewise.
69969 * conform/data/pthread.h-data: Likewise.
69970 * crypt/crypt-private.h: Likewise.
69971 * crypt/crypt.h: Likewise.
69972 * crypt/crypt_util.c: Likewise.
69973 * ctype/ctype.h: Likewise.
69974 * debug/execinfo.h: Likewise.
69975 * debug/mbsnrtowcs_chk.c: Likewise.
69976 * debug/mbsrtowcs_chk.c: Likewise.
69977 * debug/wcsnrtombs_chk.c: Likewise.
69978 * debug/wcsrtombs_chk.c: Likewise.
69979 * debug/wcstombs_chk.c: Likewise.
69980 * dirent/dirent.h: Likewise.
69981 * dlfcn/dlfcn.h: Likewise.
69982 * elf/neededtest4.c: Likewise.
69983 * grp/grp.h: Likewise.
69984 * gshadow/gshadow.h: Likewise.
69985 * iconv/gconv.h: Likewise.
69986 * iconv/gconv_int.h: Likewise.
69987 * iconv/gconv_simple.c: Likewise.
69988 * iconv/iconv.h: Likewise.
69989 * iconv/loop.c: Likewise.
69990 * iconv/skeleton.c: Likewise.
69991 * include/aio.h: Likewise.
69992 * include/aliases.h: Likewise.
69993 * include/argz.h: Likewise.
69994 * include/arpa/inet.h: Likewise.
69995 * include/assert.h: Likewise.
69996 * include/dirent.h: Likewise.
69997 * include/dlfcn.h: Likewise.
69998 * include/execinfo.h: Likewise.
69999 * include/fcntl.h: Likewise.
70000 * include/fenv.h: Likewise.
70001 * include/glob.h: Likewise.
70002 * include/grp.h: Likewise.
70003 * include/libintl.h: Likewise.
70004 * include/mntent.h: Likewise.
70005 * include/netdb.h: Likewise.
70006 * include/pwd.h: Likewise.
70007 * include/rpc/netdb.h: Likewise.
70008 * include/sched.h: Likewise.
70009 * include/search.h: Likewise.
70010 * include/shadow.h: Likewise.
70011 * include/signal.h: Likewise.
70012 * include/stdio.h: Likewise.
70013 * include/stdlib.h: Likewise.
70014 * include/string.h: Likewise.
70015 * include/sys/socket.h: Likewise.
70016 * include/sys/stat.h: Likewise.
70017 * include/sys/statfs.h: Likewise.
70018 * include/sys/statvfs.h: Likewise.
70019 * include/sys/syslog.h: Likewise.
70020 * include/sys/time.h: Likewise.
70021 * include/sys/uio.h: Likewise.
70022 * include/time.h: Likewise.
70023 * include/unistd.h: Likewise.
70024 * include/utmp.h: Likewise.
70025 * include/wchar.h: Likewise.
70026 * include/wctype.h: Likewise.
70027 * inet/aliases.h: Likewise.
70028 * inet/arpa/inet.h: Likewise.
70029 * inet/netinet/ether.h: Likewise.
70030 * inet/netinet/in.h: Likewise.
70031 * intl/libintl.h: Likewise.
70032 * io/bits/fcntl2.h: Likewise.
70033 * io/fcntl.h: Likewise.
70034 * io/ftw.h: Likewise.
70035 * io/sys/poll.h: Likewise.
70036 * io/sys/stat.h: Likewise.
70037 * io/sys/statfs.h: Likewise.
70038 * io/sys/statvfs.h: Likewise.
70039 * io/utime.h: Likewise.
70040 * libio/bits/stdio.h: Likewise.
70041 * libio/bits/stdio2.h: Likewise.
70042 * libio/libio.h: Likewise.
70043 * libio/libioP.h: Likewise.
70044 * libio/stdio.h: Likewise.
70045 * locale/lc-ctype.c: Likewise.
70046 * locale/locale.h: Likewise.
70047 * login/utmp.h: Likewise.
70048 * malloc/arena.c: Likewise.
70049 * malloc/malloc.c: Likewise.
70050 * malloc/malloc.h: Likewise.
70051 * malloc/mcheck.c: Likewise.
70052 * malloc/mtrace.c: Likewise.
70053 * math/bits/mathcalls.h: Likewise.
70054 * math/fenv.h: Likewise.
70055 * math/math_private.h: Likewise.
70056 * misc/bits/error.h: Likewise.
70057 * misc/bits/syslog.h: Likewise.
70058 * misc/err.h: Likewise.
70059 * misc/error.h: Likewise.
70060 * misc/fstab.h: Likewise.
70061 * misc/mntent.h: Likewise.
70062 * misc/regexp.h: Likewise.
70063 * misc/search.h: Likewise.
70064 * misc/sgtty.h: Likewise.
70065 * misc/sys/mman.h: Likewise.
70066 * misc/sys/syslog.h: Likewise.
70067 * misc/sys/uio.h: Likewise.
70068 * misc/sys/xattr.h: Likewise.
70069 * misc/ttyent.h: Likewise.
70070 * nis/rpcsvc/ypclnt.h: Likewise.
70071 * nss/nss.h: Likewise.
70072 * posix/bits/unistd.h: Likewise.
70073 * posix/fnmatch.h: Likewise.
70074 * posix/glob.h: Likewise.
70075 * posix/sched.h: Likewise.
70076 * posix/spawn.h: Likewise.
70077 * posix/sys/wait.h: Likewise.
70078 * posix/unistd.h: Likewise.
70079 * posix/wordexp.h: Likewise.
70080 * pwd/pwd.h: Likewise.
70081 * resolv/netdb.h: Likewise.
70082 * resource/sys/resource.h: Likewise.
70083 * rt/aio.h: Likewise.
70084 * rt/bits/mqueue2.h: Likewise.
70085 * rt/mqueue.h: Likewise.
70086 * shadow/shadow.h: Likewise.
70087 * signal/signal.h: Likewise.
70088 * socket/send.c: Likewise.
70089 * socket/sendto.c: Likewise.
70090 * socket/sys/socket.h: Likewise.
70091 * stdio-common/printf.h: Likewise.
70092 * stdlib/bits/stdlib.h: Likewise.
70093 * stdlib/fmtmsg.h: Likewise.
70094 * stdlib/monetary.h: Likewise.
70095 * stdlib/stdlib.h: Likewise.
70096 * stdlib/ucontext.h: Likewise.
70097 * streams/stropts.h: Likewise.
70098 * string/argz.h: Likewise.
70099 * string/bits/string2.h: Likewise.
70100 * string/string.h: Likewise.
70101 * string/strings.h: Likewise.
70102 * sunrpc/rpc/auth.h: Likewise.
70103 * sunrpc/rpc/auth_des.h: Likewise.
70104 * sunrpc/rpc/clnt.h: Likewise.
70105 * sunrpc/rpc/netdb.h: Likewise.
70106 * sunrpc/rpc/pmap_clnt.h: Likewise.
70107 * sunrpc/rpc/xdr.h: Likewise.
70108 * sysdeps/generic/inttypes.h: Likewise.
70109 * sysdeps/generic/net/if.h: Likewise.
70110 * sysdeps/generic/sys/swap.h: Likewise.
70111 * sysdeps/gnu/net/if.h: Likewise.
70112 * sysdeps/gnu/utmpx.h: Likewise.
70113 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70114 * sysdeps/i386/i486/bits/string.h: Likewise.
70115 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70116 * sysdeps/s390/bits/string.h: Likewise.
70117 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70118 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70119 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70120 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70121 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70122 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70123 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70124 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70125 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70126 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70127 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70128 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70129 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70130 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70131 * sysdeps/unix/sysv/linux/readv.c: Likewise.
70132 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70133 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70135 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70137 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70138 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70139 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70140 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70141 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70142 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70143 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70144 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70145 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70146 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70147 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70148 * sysvipc/sys/ipc.h: Likewise.
70149 * sysvipc/sys/msg.h: Likewise.
70150 * sysvipc/sys/sem.h: Likewise.
70151 * sysvipc/sys/shm.h: Likewise.
70152 * termios/termios.h: Likewise.
70153 * time/sys/time.h: Likewise.
70154 * time/time.h: Likewise.
70155 * wcsmbs/bits/wchar2.h: Likewise.
70156 * wcsmbs/uchar.h: Likewise.
70157 * wcsmbs/wchar.h: Likewise.
70158 * wctype/wctype.h: Likewise.
70161 * Makeconfig: Remove all but ELF support including AIX support.
70162 * Makerules: Likewise.
70163 * config.h.in: Likewise.
70164 * config.make.in: Likewise.
70165 * configure: Likewise.
70166 * configure.in: Likewise.
70167 * csu/Makefile: Likewise.
70168 * csu/version.c: Likewise.
70169 * debug/Makefile: Likewise.
70170 * dlfcn/Makefile: Likewise.
70171 * elf/Makefile: Likewise.
70172 * extra-lib.mk: Likewise.
70173 * iconv/Makefile: Likewise.
70174 * include/libc-symbols.h: Likewise.
70175 * include/shlib-compat.h: Likewise.
70176 * resolv/Makefile: Likewise.
70177 * resolv/res_libc.c: Likewise.
70178 * rt/Makefile: Likewise.
70179 * sysdeps/i386/asm-syntax.h: Likewise.
70180 * sysdeps/i386/sysdep.h: Likewise.
70181 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70182 * sysdeps/mach/sysdep.h: Likewise.
70183 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70184 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70185 * sysdeps/s390/asm-syntax.h: Likewise.
70186 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70187 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70188 * sysdeps/sh/sysdep.h: Likewise.
70189 * sysdeps/unix/sparc/sysdep.h: Likewise.
70190 * sysdeps/wordsize-32/divdi3.c: Likewise.
70191 * sysdeps/x86_64/sysdep.h: Likewise.
70193 * argp/Versions: Remove _argp_unlock_xxx.
70196 * abilist/ld.abilist: Update. Adjust for removal of tls option.
70197 * abilist/libBrokenLocale.abilist: Likewise.
70198 * abilist/libanl.abilist: Likewise.
70199 * abilist/libc.abilist: Likewise.
70200 * abilist/libcrypt.abilist: Likewise.
70201 * abilist/libdl.abilist: Likewise.
70202 * abilist/libm.abilist: Likewise.
70203 * abilist/libnsl.abilist: Likewise.
70204 * abilist/libpthread.abilist: Likewise.
70205 * abilist/libresolv.abilist: Likewise.
70206 * abilist/librt.abilist: Likewise.
70207 * abilist/libthread_db.abilist: Likewise.
70208 * abilist/libutil.abilist: Likewise.
70209 * abilist/libnss_db.abilist: New file.
70211 * scripts/abilist.awk: Add support for indirect functions.
70213 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70215 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70217 * shlib-versions: Remove entries for ports architectures.
70219 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
70221 * elf/stackguard-macros.h: Remove support for IA-64.
70222 * elf/tst-auditmod1.c: Likewise.
70223 * sysdeps/generic/ldsodefs.h: Likewise.
70225 * sysdeps/unix/sysv/linux/configure.in: Ports should define
70226 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70230 * configure.in: Remove --enable-omitfp support.
70232 * config.make.in: Likewise.
70233 * Makeconfig: Likewise.
70234 * manual/install.texi: Likewise.
70236 In case anyone cares, the IA-64 architecture could move to ports.
70237 * sysdeps/ia64/*: Removed.
70238 * sysdeps/unix/sysv/linux/ia64/*: Removed.
70239 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70242 * configure.in: Remove entries for unsupported architectures.
70245 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70246 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
70248 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70249 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70250 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
70251 fall back to using wcrtomb.
70252 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70253 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
70255 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70256 * wcsmbs/tst-c16c32-1.c: New file.
70258 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70261 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70263 * elf/tst-unique3.cc: Add explicit declaration of gets.
70264 * elf/tst-unique3lib.cc: Likewise.
70265 * elf/tst-unique3lib2.cc: Likewise.
70266 * elf/tst-unique4.cc: Likewise.
70268 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70270 2012-01-06 Joseph Myers <joseph@codesourcery.com>
70273 * assert/assert.h (static_assert): Don't define for C++.
70274 * libio/stdio.h (gets): Do declare for C++ <= C++11.
70275 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70277 2012-01-03 Ulrich Drepper <drepper@gmail.com>
70279 * iconv/loop.c (single loop): Fix assertion in storing of
70282 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70284 2012-01-01 Ulrich Drepper <drepper@gmail.com>
70286 * posix/getconf.c: Update copyright year.
70287 * nss/getent.c: Likewise.
70288 * nss/makedb.c: Likewise.
70289 * iconv/iconvconfig.c: Likewise.
70290 * iconv/iconv_prog.c: Likewise.
70291 * elf/ldconfig.c: Likewise.
70292 * elf/pldd.c: Likewise.
70293 * elf/sotruss.ksh: Likewise.
70294 * catgets/gencat.c: Likewise.
70295 * csu/version.c: Likewise.
70296 * elf/ldd.bash.in: Likewise.
70297 * elf/sprof.c (print_version): Likewise.
70298 * locale/programs/locale.c: Likewise.
70299 * locale/programs/localedef.c: Likewise.
70300 * login/programs/pt_chown.c: Likewise.
70301 * nscd/nscd.c (print_version): Likewise.
70302 * debug/xtrace.sh: Likewise.
70303 * malloc/memusage.sh: Likewise.
70304 * malloc/mtrace.pl: Likewise.
70305 * debug/catchsegv.sh: Likewise.
70307 2011-12-30 Jakub Jelinek <jakub@redhat.com>
70309 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70312 2011-12-24 Ulrich Drepper <drepper@gmail.com>
70315 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70316 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70318 * iconv/gconv_int.h: Likewise.
70319 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70320 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70321 from libc for GLIBC_2.16.
70322 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70323 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70324 * wcsmbs/uchar.h: Really define mbstate_t.
70325 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70326 * wcsmbs/c16rtomb.c: New file.
70327 * wcsmbs/mbrtoc16.c: New file.
70328 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70329 for C/POSIX locale.
70330 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70331 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70333 * wcsmbs/wchar.h: Add missing __restrict.
70335 2011-12-23 Ulrich Drepper <drepper@gmail.com>
70338 * time/Makefile (routines): Add timespec_get.
70339 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70340 * time/time.h: Define TIME_UTC and declare timespec_get. Define
70341 timespec for ISO C11.
70342 * time/timespec_get.c: New file.
70343 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70344 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70347 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70348 * stdlib/stdlib.h: Declare aligned_alloc.
70349 * Versions.def: Add GLIBC_2.16 for libc.
70350 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70353 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70356 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70360 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70363 * assert/assert.h (static_assert): Define.
70365 * version.h: Update for 2.16 development version.
70368 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70371 * version.h (RELEASE): Bump for 2.15 release.
70372 * include/features.h (__GLIBC_MINOR__): Bump to 15.
70374 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70375 Patch by Marek Polacek <mpolacek@redhat.com>.
70377 * bits/byteswap.h: Protect long long constants with __extension__.
70378 * sysdeps/i386/bits/byteswap.h: Likewise.
70379 * sysdeps/ia64/bits/byteswap.h: Likewise.
70380 * sysdeps/s390/bits/byteswap.h: Likewise.
70381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
70383 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70387 destination buffer.
70388 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70390 2011-12-23 Marek Polacek <polacek@redhat.com>
70392 * elf/dl-addr.c (determine_info): Add inline keyword.
70393 * elf/tst-auditmod4b.c (check_avx): Likewise.
70394 * elf/tst-auditmod6b.c (check_avx): Likewise.
70395 * elf/tst-auditmod6c.c (check_avx): Likewise.
70396 * elf/tst-auditmod7b.c (check_avx): Likewise.
70398 2011-12-23 Ulrich Drepper <drepper@gmail.com>
70400 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70403 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70406 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70407 processing for last bytes.
70409 2011-08-06 Bruno Haible <bruno@clisp.org>
70412 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70413 U+0385, not to U+1FEE.
70416 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70417 entry for U+00A5 U+0301.
70419 2011-12-22 Ulrich Drepper <drepper@gmail.com>
70422 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70423 buffer for the output is too small.
70425 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70429 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70430 SSE flags if possible.
70432 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70435 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70436 processing for last bytes.
70438 2011-12-22 Joseph Myers <joseph@codesourcery.com>
70440 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70441 (syscall-list-default-options, syscall-list-default-condition)
70442 (syscall-list-includes): Define.
70443 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70444 list of ABIs and options and #if conditions for each ABI. Do not
70445 handle common syscalls between ABIs specially.
70446 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70448 (syscall-list-variants, syscall-list-32bit-options)
70449 (syscall-list-32bit-condition, syscall-list-64bit-options)
70450 (syscall-list-64bit-condition): Define.
70451 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70452 (syscall-list-variants, syscall-list-32bit-options)
70453 (syscall-list-32bit-condition, syscall-list-64bit-options)
70454 (syscall-list-64bit-condition): Define.
70455 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70457 (syscall-list-variants, syscall-list-32bit-options)
70458 (syscall-list-32bit-condition, syscall-list-64bit-options)
70459 (syscall-list-64bit-condition): Define.
70460 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70462 (syscall-list-variants, syscall-list-32bit-options)
70463 (syscall-list-32bit-condition, syscall-list-64bit-options)
70464 (syscall-list-64bit-condition): Define.
70466 2011-12-22 Ulrich Drepper <drepper@gmail.com>
70468 * locale/iso-639.def: Add brx entry.
70471 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70472 Proposed by Mariusz_Cukr <marcukr@op.pl>.
70474 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70475 __feraiseexcept_renamed.
70477 2011-12-21 Ulrich Drepper <drepper@gmail.com>
70480 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70481 EPOLLET with unsigned values.
70482 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70485 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70486 to large cancellation.
70487 * math/s_cacoshf.c: Likewise.
70488 * math/s_cacoshl.c: Likewise.
70490 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
70494 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70495 * math/s_cacoshf.c: Likewise.
70496 * math/s_cacoshl.c: Likewise.
70498 2011-12-21 Ulrich Drepper <drepper@gmail.com>
70501 * iconv/gconv.h: Define __GCONV_SWAP.
70502 * iconvdata/unicode.c: The swap bit must be stored in __flags.
70503 * iconvdata/utf-16.c: Likewise.
70504 * iconvdata/utf-32.c: Likewise.
70506 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
70509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70510 numerator after shifting it by one limb.
70512 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
70514 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70515 under [__USE_EXTERN_INLINES].
70517 2011-12-17 Ulrich Drepper <drepper@gmail.com>
70520 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70522 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70524 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70525 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70527 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70528 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70529 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70530 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70531 for strncasecmp/strncasecmp_l compilation.
70532 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70533 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70535 2011-12-08 Marek Polacek <mpolacek@redhat.com>
70538 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70541 2011-12-17 Ulrich Drepper <drepper@gmail.com>
70544 * time/tzfile.c (__tzfile_read): Check values from file header.
70546 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
70548 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70549 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70550 * powerpc/powerpc32/dl-start.S: Likewise.
70551 * powerpc/powerpc32/elf/start.S: Likewise.
70552 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70553 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70554 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70555 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70556 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70557 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70558 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70559 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70560 * powerpc/powerpc32/fpu/s_round.S: Likewise.
70561 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70562 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70563 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70564 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70565 * powerpc/powerpc32/memset.S: Likewise.
70566 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70567 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70568 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70569 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70570 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70571 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70572 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70573 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70574 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70575 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70576 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70577 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70578 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70580 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70582 * math/libm-test.inc: Added more nearbyint tests.
70583 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70584 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70585 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70588 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
70590 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70593 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70595 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70596 Add wcscpy-ssse3 wcscpy-c.
70597 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70598 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70599 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70600 * sysdeps/x86_64/wcschr.S: New file.
70601 * sysdeps/x86_64/wcsrchr.S: New file.
70602 * string/test-strcmp.c: Remove checking of wcscmp function for
70604 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70605 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70606 wcsrchr-sse2 wcsrchr-c.
70607 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70608 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70609 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70610 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70611 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70612 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70613 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70614 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70615 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70616 * wcsmbc/wcschr.c (WCSCHR): New macro.
70618 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70620 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70621 * wcsmbs/test-wcsrchr.c: New file.
70622 * string/test-strrchr.c: Add wcsrchr support.
70624 * wcsmbs/test-wcscpy.c: New file.
70625 * string/test-strcpy.c: Add wcscpy support.
70628 2011-12-10 Ulrich Drepper <drepper@gmail.com>
70630 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70633 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
70636 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70638 2011-12-04 Ulrich Drepper <drepper@gmail.com>
70640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70641 Minor optimizations.
70643 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70644 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70645 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70647 2011-12-03 Ulrich Drepper <drepper@gmail.com>
70649 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70650 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70651 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70652 for gcc to avoid warnings.
70653 * inet/Makefile (tests): Add tst-checks.
70654 * inet/tst-checks.c: New file.
70656 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70659 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70662 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70663 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70665 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70667 2011-12-02 Ulrich Drepper <drepper@gmail.com>
70669 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70672 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70674 2011-11-29 Joseph Myers <joseph@codesourcery.com>
70676 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70677 conditional on GCC version.
70678 (__arch_compare_and_exchange_val_8_acq)
70679 (__arch_compare_and_exchange_val_16_acq)
70680 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70681 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70682 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70684 2011-12-02 Joseph Myers <joseph@codesourcery.com>
70686 * sysdeps/sh/backtrace.c: New file.
70688 2011-12-02 Andreas Schwab <schwab@redhat.com>
70690 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
70693 2011-12-01 Andreas Schwab <schwab@redhat.com>
70695 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70696 falling back to utime.
70698 2011-11-30 Andreas Schwab <schwab@redhat.com>
70700 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70701 expectations for float.
70703 2011-11-29 Andreas Schwab <schwab@redhat.com>
70705 * locale/weight.h (findidx): Add parameter len.
70706 * locale/weightwc.h (findidx): Likewise.
70707 * posix/fnmatch_loop.c (FCT): Adjust caller.
70708 * posix/regcomp.c (build_equiv_class): Likewise.
70709 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70710 * posix/regexec.c (check_node_accept_bytes): Likewise.
70711 * string/strcoll_l.c (STRCOLL): Likewise.
70712 * string/strxfrm_l.c (STRXFRM): Likewise.
70714 2011-11-17 Ulrich Drepper <drepper@gmail.com>
70716 * Makefile.in: Remove CVSOPT handling.
70717 * configure.in: Remove use of AC_REVISION.
70718 * iconvdata/Makefile (distribute): No need to filter out CVS.
70719 * scripts/list-sources.sh: Remove CVS, subversion and monotone
70722 2011-11-16 Andreas Schwab <schwab@redhat.com>
70724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70725 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70726 [USE_AS_STRNCASECMP_L]: Likewise.
70727 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70728 NO_TLS_DIRECT_SEG_REFS.
70729 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70730 Fix argument offsets for non-PIC.
70731 [USE_AS_STRNCASECMP_L]: Likewise.
70732 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70733 NO_TLS_DIRECT_SEG_REFS.
70735 2011-11-15 Ulrich Drepper <drepper@gmail.com>
70737 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70739 * locale/loadlocale.c (_nl_load_locale): Likewise.
70741 2011-11-15 Andreas Schwab <schwab@redhat.com>
70743 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70744 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70746 (SYSCALL_GETTIME): Set errno on error.
70748 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70749 count references to noai6ai_cached.
70751 2011-11-15 Ulrich Drepper <drepper@gmail.com>
70753 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70755 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70756 FD_CLOEXEC for /proc/self/maps.
70758 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70759 FD_CLOEXEC for /proc/meminfo.
70761 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70764 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
70765 FD_CLOEXEC for given file.
70767 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70769 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70770 FD_CLOEXEC for /etc/hosts.
70771 (_gethtent): Likewise.
70773 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70775 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70776 cancellation and set FD_CLOEXEC for /etc/netgroup.
70778 * nss/nss_files/files-key.c (search): Don't allow cancellation when
70779 reading /etc/publickey.
70781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70782 allow cancellation when reading /etc/group.
70784 * nss/nss_files/files-alias.c (internal_setent): Don't allow
70786 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
70788 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70789 when using data file.
70791 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70793 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70794 (write_nis_obj): Use "c" and "e" in fopen.
70796 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70798 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70800 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70802 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70804 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70807 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70809 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70811 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70813 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70814 file parsing and set FD_CLOEXEC.
70816 2011-11-14 Ulrich Drepper <drepper@gmail.com>
70818 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70820 2011-11-14 Andreas Schwab <schwab@redhat.com>
70822 * malloc/arena.c (arena_get2): Don't call reused_arena when
70823 _int_new_arena failed.
70825 2011-11-14 Ulrich Drepper <drepper@gmail.com>
70827 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70828 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70830 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70831 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70833 to compile strcasecmp and strncasecmp.
70834 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70835 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70839 2011-11-13 Ulrich Drepper <drepper@gmail.com>
70841 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70842 locale-defines.sym to gen-as-const-headers.
70843 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70844 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70846 to compile strcasecmp and strncasecmp.
70847 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70848 strcasecmp_l and strncasecmp_l.
70849 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70850 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70851 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70853 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70854 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70855 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70856 * sysdeps/i386/i686/multiarch/strncase.S: New file.
70857 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70858 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70859 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70861 2011-11-12 Ulrich Drepper <drepper@gmail.com>
70863 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70864 result of SYSDEP_GETTIME_CPU to retval.
70865 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70866 parameter list to macro. Remove trailing semicolon. Adjust users.
70868 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70871 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70873 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70875 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70876 from unused variable.
70878 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70880 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70883 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70886 * sunrpc/rpc_prot.c (rejected): Fix case value.
70888 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70889 unsigned long long int to avoid warnings in shift.
70891 * posix/regex_internal.c (re_string_reconstruct): Actually use result
70893 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70896 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70897 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70900 * nis/nis_table.c (nis_list): Use variable of correct type for
70901 result of __follow_path call.
70903 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70905 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70906 of math functions ceil, trunc, floor, round, and sqrt, when
70907 avaliable on the platform.
70908 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70910 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70911 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70912 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70914 2011-10-30 Marek Polacek <mpolacek@redhat.com>
70916 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70917 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70919 2011-11-11 Roland McGrath <roland@hack.frob.com>
70921 * include/unistd.h: Fix __readlink return type.
70922 Reported by Chris Metcalf <cmetcalf@tilera.com>.
70924 2011-11-11 Ulrich Drepper <drepper@gmail.com>
70926 * stdlib/ucontext.h: Undo last change for makecontext.
70928 2011-11-11 Andreas Schwab <schwab@redhat.com>
70930 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70932 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70933 * setjmp/setjmp.h: Mark functions as non-leaf.
70934 * setjmp/bits/setjmp2.h: Likewise.
70935 * stdlib/ucontext.h: Likewise.
70937 2011-11-10 Andreas Schwab <schwab@redhat.com>
70939 * malloc/arena.c (_int_new_arena): Don't increment narenas.
70940 (reused_arena): Don't check arena limit.
70941 (arena_get2): Atomically check arena limit.
70943 2011-11-08 Ulrich Drepper <drepper@gmail.com>
70945 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70946 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70951 2011-11-07 Andreas Schwab <schwab@redhat.com>
70953 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70954 handler when locking.
70956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70957 Fix size of allocated buffer.
70959 2011-11-04 Andreas Schwab <schwab@redhat.com>
70962 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70963 declarations for long double functions.
70964 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70966 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70968 2011-11-03 Andreas Schwab <schwab@redhat.com>
70970 * nscd/nscd.c (main): Don't start AVC thread until credentials are
70973 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70976 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
70978 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70980 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
70982 * include/alloca.h (stackinfo_alloca_round): Define.
70983 (extend_alloca): Use it.
70984 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70985 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70988 * scripts/check-local-headers.sh: Ignore libaudit.h.
70990 * nscd/Makefile (extra-objs): Make recursively expanded.
70992 2011-11-01 Ulrich Drepper <drepper@gmail.com>
70994 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70995 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70997 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70998 * posix/tst-rfc3484-2.c: Likewise.
70999 * posix/tst-rfc3484-3.c: Likewise.
71001 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71003 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71005 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71006 process_vm_writev from libc using GLIBC_2.15 version.
71008 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71010 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
71012 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71015 2011-10-31 Ulrich Drepper <drepper@gmail.com>
71018 * nss/getent.c (initgroups_keys): Show error message in case no group
71021 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71022 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71023 __bump_nl_timestamp.
71024 * nscd/connections (nscd_init): When host database is served open
71025 netlink socket and request notification about configuration changes.
71026 (main_loop_poll): Track netlink file descriptor and bump timestamp
71027 in case data becomes available.
71028 (main_loop_epoll): Likewise.
71029 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71030 (database_pers_head): Add extra_data fileds.
71031 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71032 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71033 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71036 in6ai data, call __free_in6ai.
71037 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71038 Add -DHAVE_NETLINK.
71039 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
71040 interface information. Reuse previous data if netlink timestamp
71042 (__bump_nl_timestamp): New function.
71043 (__free_in6ai): New function.
71045 2011-10-30 Ulrich Drepper <drepper@gmail.com>
71047 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71048 close_not_cancel_no_status here.
71049 (__check_pf): Reorganize code a bit to not call close twice if OOM.
71051 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71054 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71057 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71058 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71059 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71061 2011-07-03 Andreas Jaeger <aj@suse.de>
71064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71065 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71066 * math/libm-test.inc (sin_test): Add test case.
71068 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71071 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71072 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71074 * elf/chroot_canon.c (chroot_canon): Cleanups.
71076 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71079 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71080 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71082 * string/test-strchr.c: Make usable for strchrnul testing.
71083 * string/test-strchrnul.c: New file.
71084 * string/Makefile (strop-tests): Add strchrnul.
71086 * po/it.po: Update from translation team.
71087 * po/es.po: Likewise.
71089 2011-10-28 Ulrich Drepper <drepper@gmail.com>
71091 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71092 the three constants needed as parameters. Drop the others.
71093 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71094 __m128i_strloadu_tolower.
71095 Create and initialize variable zero and use it in all the places
71096 where _mm_setzero_si128 was used.
71098 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71099 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71100 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71101 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71103 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71104 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71105 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71106 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71107 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71108 __mpranred, __mptan.
71109 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71110 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71111 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71112 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71113 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71114 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71115 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71116 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71117 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71119 2011-10-28 Andreas Schwab <schwab@redhat.com>
71121 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71122 redefine if SHARED.
71123 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71126 wide char related routines to wcsmbs subdir.
71128 2011-10-27 Andreas Schwab <schwab@redhat.com>
71131 * misc/sys/cdefs.h (__THROWNL): Define.
71132 * posix/unistd.h: Use __THREADNL instead of __THREAD
71133 for memory synchronization functions.
71135 2011-10-26 Roland McGrath <roland@hack.frob.com>
71138 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71140 * manual/stdio.texi (Obstack Streams): Node removed.
71142 2011-10-26 Andreas Schwab <schwab@redhat.com>
71144 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71145 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71146 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71148 * math/math_private.h (math_force_eval): Allow non-addressable
71150 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71152 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71154 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71155 file is not needed.
71157 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71159 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71160 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71161 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71162 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71163 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71164 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71166 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71167 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71168 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71169 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71170 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71171 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71172 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71173 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71174 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71175 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71176 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71177 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71178 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71179 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71180 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71181 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71182 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71183 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71184 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71186 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71187 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
71189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71190 place. Use VEX encoding when compiling for AVX.
71192 2011-10-25 Andreas Schwab <schwab@redhat.com>
71194 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71195 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71197 * string/test-strchr.c (do_test): Don't generate NUL bytes.
71199 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71201 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71202 useless if() expression.
71203 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71204 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71205 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71206 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71207 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71208 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71213 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71217 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71218 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71221 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71223 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71225 2011-10-25 Andreas Schwab <schwab@redhat.com>
71227 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71229 * elf/dl-fini.c (_dl_sort_fini): Likewise.
71231 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71233 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71234 .text section. Avoid duplicate constants.
71235 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71243 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71244 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71245 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71246 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71247 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71248 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71249 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71250 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71251 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71252 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71255 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71256 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71257 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71258 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71259 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71260 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71261 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71262 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71263 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71264 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71265 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71266 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71267 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71268 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71269 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71270 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71271 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71272 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71273 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71274 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71275 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71276 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71277 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71281 2011-10-24 Ulrich Drepper <drepper@gmail.com>
71283 * sysdeps/x86_64/dla.h: Move to ...
71284 * sysdeps/x86_64/fpu/dla.h: ...here.
71285 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71286 situations. Use __builtin_fma only for gcc 4.6 and up.
71288 * config.make.in: Add have-mfma4 entry.
71289 * configure.in: Substitute libc_cv_cc_fma4.
71290 * math/Makefile (dbl-only-routines): Add sincostab.
71291 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71292 Use __sincostab not sincos.
71293 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
71300 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
71301 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
71302 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71303 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71305 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71306 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71308 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
71309 define aliases when function name is a macro.
71310 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71311 sysdeps/ieee754/dbl-64/sincos.tbl.
71312 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71313 fma4-enabled routines.
71314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71315 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71316 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71317 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71319 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71320 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71321 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71322 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71323 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71324 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71325 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71326 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71327 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71328 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71329 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71330 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71331 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71332 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71334 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71335 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71337 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71339 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71345 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71350 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71352 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71356 2011-10-24 Andreas Schwab <schwab@redhat.com>
71358 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71360 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71362 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71364 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71366 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71368 * string/strnlen.c: Don't define STRNLEN, reverse logic.
71369 Remove unused variable magic_bits.
71370 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71372 * string/strnlen.c: Define and use STRNLEN macro.
71373 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71374 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71376 * wcsmbs/wcslen.c: Define and use WCSLEN.
71377 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71378 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71379 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71380 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71381 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71382 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71383 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71385 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71388 strnlen-sse2-no-bsf.
71389 Rename strlen-no-bsf to strlen-sse2-no-bsf.
71390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71391 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71392 Add strnlen support.
71393 (USE_AS_STRNLEN): New macro.
71394 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71395 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71396 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71397 * sysdeps/x86_64/wcslen.S: New file.
71399 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
71401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71402 XMM-moves are used for copying on small sizes.
71404 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71406 * wcsmbs/Makefile (strop-tests): Add wcschr.
71407 * wcsmbs/test-wcschr.c: New file.
71408 * string/test-strchr.c: Update.
71409 Add wcschr support.
71412 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71414 * wcsmbs/Makefile (strop-tests): Add wcslen.
71415 * wcsmbs/test-wcslen.c: New file.
71416 * string/test-strlen.c: Update.
71417 Add wcslen support.
71420 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71422 * po/it.po: Update from translation team.
71424 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71426 * sysdeps/x86_64/wcscmp.S: Update.
71427 Fix wrong comparison semantics.
71428 wcscmp shall use signed comparison not unsigned.
71429 Don't use substraction to avoid overflow bug.
71430 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71431 * wcsmbc/wcscmp.c: Likewise.
71432 * string/test-strcmp.c: Likewise.
71433 Add new tests to check cases with negative values.
71435 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71437 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71438 * sysdeps/x86_64/dla.h: ...here. New file.
71439 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71449 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
71451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71452 __ynl_finite aliases.
71454 2011-10-22 Ulrich Drepper <drepper@gmail.com>
71456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71458 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71460 [DLA_FMA] (EMULV): Use DLA_FMA.
71461 [DLA_FMA] (MUL12): Use EMULV.
71462 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71463 that are not needed.
71464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71472 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
71474 * math/s_nan.c: Undef __nan.
71475 * math/s_nanf.c: Undef __nanf.
71476 * math/s_nanl.c: Undef __nanl.
71477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71480 2011-10-22 Ulrich Drepper <drepper@gmail.com>
71482 * math/s_catan.c: Add branch predictions.
71483 * math/s_catanf.c: Likewise.
71484 * math/s_catanh.c: Likewise.
71485 * math/s_catanhf.c: Likewise.
71486 * math/s_catanhl.c: Likewise.
71487 * math/s_catanl.c: Likewise.
71488 * math/s_cexp.c: Likewise.
71489 * math/s_cexpf.c: Likewise.
71490 * math/s_cexpl.c: Likewise.
71491 * math/s_clog.c: Likewise.
71492 * math/s_clog10.c: Likewise.
71493 * math/s_clog10f.c: Likewise.
71494 * math/s_clog10l.c: Likewise.
71495 * math/s_clogf.c: Likewise.
71496 * math/s_clogl.c: Likewise.
71497 * math/s_csqrt.c: Likewise.
71498 * math/s_csqrtf.c: Likewise.
71499 * math/s_csqrtl.c: Likewise.
71500 * math/s_ctanf.c: Likewise.
71501 * math/s_ctanh.c: Likewise.
71502 * math/s_ctanhf.c: Likewise.
71503 * math/s_ctanhl.c: Likewise.
71504 * math/s_ctanl.c: Likewise.
71506 * math/math_private.h: Define __nan, __nanf, __nanl.
71507 * math/s_cacosh.c: Include <math_private.h>.
71508 * math/s_cacoshl.c: Likewise.
71509 * math/s_casinh.c: Likewise.
71510 * math/s_casinhf.c: Likewise.
71511 * math/s_casinhl.c: Likewise.
71512 * math/s_ccos.c: Rely entire on ccosh.
71513 * math/s_ccosf.c: Rely entire on ccoshf.
71514 * math/s_ccosl.c: Rely entirely on ccoshl.
71515 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
71516 Remove tests for FE_INVALID.
71517 * math/s_ccoshf.c: Likewise.
71518 * math/s_ccoshl.c: Likewise.
71519 * math/s_csin.c: Likewise.
71520 * math/s_csinf.c: Likewise.
71521 * math/s_csinh.c Likewise.
71522 * math/s_csinhf.c: Likewise.
71523 * math/s_csinhl.c: Likewise.
71524 * math/s_csinl.c: Likewise.
71525 * math/s_ctan.c: Likewise.
71526 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71527 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71528 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71530 2011-10-21 Ulrich Drepper <drepper@gmail.com>
71532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71533 compilation problems.
71535 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71538 2011-10-20 Ulrich Drepper <drepper@gmail.com>
71540 * sysdeps/i386/configure.in: Test for -mfma4 option.
71541 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71542 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71543 COMMON_CPUID_INDEX_80000001.
71544 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71545 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71546 use it if FMA3 is not supported.
71547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71549 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71550 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71552 2011-10-20 Andreas Schwab <schwab@redhat.com>
71555 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71556 it would create a cycle with a link time dependency.
71558 2011-10-19 Ulrich Drepper <drepper@gmail.com>
71560 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71562 * string/Makefile (strop-tests): Add rawmemchr.
71563 * string/test-rawmemchr.c: New file.
71565 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71566 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
71567 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
71568 when compiling str{,n}casecmp and when AVX is available. Hook up
71569 new optimized code in initializers.
71571 2011-10-19 Andreas Schwab <schwab@redhat.com>
71573 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71574 __feraiseexcept instead of feraiseexcept.
71576 2011-10-18 Ulrich Drepper <drepper@gmail.com>
71578 * math/math_private.h: Define defaults for libc_fetestexcept and
71580 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71581 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71582 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71583 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71584 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71585 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71586 libc_fetestexcept and libc_feupdateenv.
71588 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71589 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71590 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71591 * sysdeps/x86_64/fpu/math_private.h: Define special version of
71592 libc_feholdexcept_setround.
71594 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71595 Add s_nearbyint-c and s_nearbyintf-c.
71596 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71597 nearbyintf inlines.
71598 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71599 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71600 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71601 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71603 * math/math_private.h: Define defaults for libc_fegetround,
71604 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71605 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71606 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71607 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71608 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71609 standard functions.
71610 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71611 Remove comments and hacks for old compiler versions.
71612 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71613 libc_fegetround, libc_fesetround, libc_feholdexcept, and
71614 libc_feholdexceptl.
71616 2011-10-18 Andreas Schwab <schwab@redhat.com>
71618 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71619 (__feraiseexcept_renamed): Add __NTH.
71620 (feraiseexcept): Add __NTH. Rename local variables to fix
71621 namespace violations.
71623 2011-10-17 Ulrich Drepper <drepper@gmail.com>
71625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71627 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71629 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71630 recently added interfaces.
71631 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71633 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71634 about macro parameter expansion.
71636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71637 __NO_MATH_INLINES is defined. Cleanups.
71639 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71640 and __floorf is target has SSE4.1.
71641 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71642 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71643 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71644 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71646 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71648 (floorf): Likewise.
71650 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71652 2011-10-17 Andreas Schwab <schwab@redhat.com>
71654 * misc/sys/cdefs.h: Fix last change.
71656 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71659 2011-10-16 Ulrich Drepper <drepper@gmail.com>
71661 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71663 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71665 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71667 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71670 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71671 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71672 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71673 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71674 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71675 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71676 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71677 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71678 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71679 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71680 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71681 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71682 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71683 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71684 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71686 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71687 ceil, ceilf, floor, floorf.
71689 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71690 Perform IRELATIVE relocations last.
71692 * elf/do-rel.h: Add another parameter nrelative, replacing the
71693 local variable with the same name. Change name of the function
71694 to end in Rel or Rela (uppercase).
71695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71696 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
71697 elf_dynamic_do_##reloc function.
71699 2011-10-15 Ulrich Drepper <drepper@gmail.com>
71701 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71702 is sufficient, at least on modern CPUs.
71704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71706 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71707 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71709 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71711 * math/bits/math-finite.h: Add entries for exp.
71712 * math/e_expl.c: Add __*_finite alias.
71713 * sysdeps/i386/fpu/e_exp.S: Likewise.
71714 * sysdeps/i386/fpu/e_expf.S: Likewise.
71715 * sysdeps/i386/fpu/e_expl.c: Likewise.
71716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71717 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71718 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71720 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71721 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71722 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71724 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71725 is sufficient, at least on modern CPUs.
71727 * ctype/ctype-info.c (__ctype_init): Define.
71728 * include/ctype.h (__ctype_init): Declare.
71729 (__ctype_b_loc): The variable is always initialized.
71730 (__ctype_toupper_loc): Likewise.
71731 (__ctype_tolower_loc): Likewise.
71732 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71733 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71735 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
71737 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71739 * configure.in: Also look in $cxxmachine/include for C++ system
71742 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71744 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71745 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71746 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71747 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
71748 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71749 (USE_AS_WMEMCMP): New macro.
71751 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71752 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71753 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71754 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71756 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71757 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71758 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71759 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71760 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71761 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71762 (USE_AS_WMEMCMP): New macro.
71763 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71764 * sysdeps/string/test-memcmp.c: Update.
71765 Fix simple_wmemcmp.
71767 * wcsmbs/wmemcmp.c: Update.
71768 (WMEMCMP): New macro.
71771 2011-10-12 Andreas Jaeger <aj@suse.de>
71774 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71776 2011-10-15 Ulrich Drepper <drepper@gmail.com>
71778 * libio/iofwide.c (do_length): Avoid warning.
71780 * ctype/ctype.h (__isctype_f): Add missing __THROW.
71782 2011-10-14 Ulrich Drepper <drepper@gmail.com>
71784 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71786 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71787 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71788 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71789 * sysdeps/i386/i686/fpu/e_log.S: New file.
71790 * sysdeps/i386/i686/fpu/e_logf.S: New file.
71791 * sysdeps/i386/i686/fpu/e_logl.S: New file.
71793 * ctype/ctype.h: Add support for inlined isXXX functions when
71794 compiling C++ code.
71796 2011-10-14 Andreas Schwab <schwab@redhat.com>
71798 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71800 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71802 2011-10-13 Roland McGrath <roland@hack.frob.com>
71805 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71807 2011-10-13 Andreas Schwab <schwab@redhat.com>
71809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71810 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71813 * sysdeps/x86_64/memrchr.S: Check for zero size.
71815 * string/stratcliff.c: Add memrchr tests.
71817 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71820 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71821 rawmemchr-sse2 rawmemchr-sse2-bsf.
71822 * sysdeps/i386/i686/multiarch/memchr.S: New file.
71823 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71824 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71825 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71826 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71827 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71828 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71829 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71830 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71831 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71832 * string/memrchr.c (MEMRCHR): New macro.
71834 2011-10-12 Ulrich Drepper <drepper@gmail.com>
71836 Add integration with gcc's -ffinite-math-only and optimize wrapper
71838 * Versions.def: Define GLIBC_2.15 version for libm.
71839 * math/Makefile (headers): Add bits/math-finite.h.
71840 * math/bits/math-finite.h: New file.
71841 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71842 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71843 * math/e_acoshl.c: Add __*_finite alias.
71844 * math/e_acosl.c: Likewise.
71845 * math/e_asinl.c: Likewise.
71846 * math/e_atan2l.c: Likewise.
71847 * math/e_atanhl.c: Likewise.
71848 * math/e_coshl.c: Likewise.
71849 * math/e_exp10.c: Likewise.
71850 * math/e_exp10f.c: Likewise.
71851 * math/e_exp10l.c: Likewise.
71852 * math/e_exp2l.c: Likewise.
71853 * math/e_fmodl.c: Likewise.
71854 * math/e_gammal_r.c: Likewise.
71855 * math/e_hypotl.c: Likewise.
71856 * math/e_j0l.c: Likewise.
71857 * math/e_j1l.c: Likewise.
71858 * math/e_jnl.c: Likewise.
71859 * math/e_lgammal_r.c: Likewise.
71860 * math/e_log10l.c: Likewise.
71861 * math/e_log2l.c: Likewise.
71862 * math/e_logl.c: Likewise.
71863 * math/e_powl.c: Likewise.
71864 * math/e_sinhl.c: Likewise.
71865 * math/e_sqrtl.c: Likewise.
71866 * math/e_scalb.c: Completely rewritten and optimized.
71867 * math/e_scalbf.c: Likewise.
71868 * math/e_scalbl.c: Likewise.
71869 * math/w_acos.c: Likewise.
71870 * math/w_acosf.c: Likewise.
71871 * math/w_acosl.c: Likewise.
71872 * math/w_acosh.c: Likewise.
71873 * math/w_acoshf.c: Likewise.
71874 * math/w_acoshl.c: Likewise.
71875 * math/w_asin.c: Likewise.
71876 * math/w_asinf.c: Likewise.
71877 * math/w_asinl.c: Likewise.
71878 * math/w_atan2.c: Likewise.
71879 * math/w_atan2f.c: Likewise.
71880 * math/w_atan2l.c: Likewise.
71881 * math/w_atanh.c: Likewise.
71882 * math/w_atanhf.c: Likewise.
71883 * math/w_atanhl.c: Likewise.
71884 * math/w_exp10.c: Likewise.
71885 * math/w_exp10f.c: Likewise.
71886 * math/w_exp10l.c: Likewise.
71887 * math/w_fmod.c: Likewise.
71888 * math/w_fmodf.c: Likewise.
71889 * math/w_fmodl.c: Likewise.
71890 * math/w_j0.c: Likewise.
71891 * math/w_j0f.c: Likewise.
71892 * math/w_j0l.c: Likewise.
71893 * math/w_j1.c: Likewise.
71894 * math/w_j1f.c: Likewise.
71895 * math/w_j1l.c: Likewise.
71896 * math/w_jn.c: Likewise.
71897 * math/w_jnf.c: Likewise.
71898 * math/w_log.c: Likewise.
71899 * math/w_logf.c: Likewise.
71900 * math/w_logl.c: Likewise.
71901 * math/w_log10.c: Likewise.
71902 * math/w_log10f.c: Likewise.
71903 * math/w_log10l.c: Likewise.
71904 * math/w_log2.c: Likewise.
71905 * math/w_log2f.c: Likewise.
71906 * math/w_log2l.c: Likewise.
71907 * math/w_pow.c: Likewise.
71908 * math/w_powf.c: Likewise.
71909 * math/w_powl.c: Likewise.
71910 * math/w_remainder.c: Likewise.
71911 * math/w_remainderf.c: Likewise.
71912 * math/w_remainderl.c: Likewise.
71913 * math/w_scalb.c: Likewise.
71914 * math/w_scalbf.c: Likewise.
71915 * math/w_scalbl.c: Likewise.
71916 * math/w_sqrt.c: Likewise.
71917 * math/w_sqrtf.c: Likewise.
71918 * math/w_sqrtl.c: Likewise.
71919 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71920 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
71922 * math/math_private.h: Declare __kernel_standard_f.
71923 * math/w_cosh.c: Remove cruft and optimize a bit.
71924 * math/w_coshf.c: Likewise.
71925 * math/w_coshl.c: Likewise.
71926 * math/w_exp2.c: Likewise.
71927 * math/w_exp2f.c: Likewise.
71928 * math/w_exp2l.c: Likewise.
71929 * math/w_hypot.c: Likewise.
71930 * math/w_hypotf.c: Likewise.
71931 * math/w_hypotl.c: Likewise.
71932 * math/w_lgamma.c: Likewise.
71933 * math/w_lgamma_r.c: Likewise.
71934 * math/w_lgammaf.c: Likewise.
71935 * math/w_lgammaf_r.c: Likewise.
71936 * math/w_lgammal.c: Likewise.
71937 * math/w_lgammal_r.c: Likewise.
71938 * math/w_sinh.c: Likewise.
71939 * math/w_sinhf.c: Likewise.
71940 * math/w_sinhl.c: Likewise.
71941 * math/w_tgamma.c: Likewise.
71942 * math/w_tgammaf.c: Likewise.
71943 * math/w_tgammal.c: Likewise.
71944 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71946 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71947 Minor optimizations. Pretty printing. Remove cruft.
71948 * sysdeps/i386/fpu/e_acosf.S: Likewise.
71949 * sysdeps/i386/fpu/e_acosh.S: Likewise.
71950 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71951 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71952 * sysdeps/i386/fpu/e_acosl.c: Likewise.
71953 * sysdeps/i386/fpu/e_asin.S: Likewise.
71954 * sysdeps/i386/fpu/e_asinf.S: Likewise.
71955 * sysdeps/i386/fpu/e_atan2.S: Likewise.
71956 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71957 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71958 * sysdeps/i386/fpu/e_atanh.S: Likewise.
71959 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71960 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71961 * sysdeps/i386/fpu/e_exp10.S: Likewise.
71962 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71963 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71964 * sysdeps/i386/fpu/e_exp2.S: Likewise.
71965 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71966 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71967 * sysdeps/i386/fpu/e_fmod.S: Likewise.
71968 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71969 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71970 * sysdeps/i386/fpu/e_hypot.S: Likewise.
71971 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71972 * sysdeps/i386/fpu/e_log.S: Likewise.
71973 * sysdeps/i386/fpu/e_log10.S: Likewise.
71974 * sysdeps/i386/fpu/e_log10f.S: Likewise.
71975 * sysdeps/i386/fpu/e_log10l.S: Likewise.
71976 * sysdeps/i386/fpu/e_log2.S: Likewise.
71977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
71978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
71979 * sysdeps/i386/fpu/e_logf.S: Likewise.
71980 * sysdeps/i386/fpu/e_logl.S: Likewise.
71981 * sysdeps/i386/fpu/e_pow.S: Likewise.
71982 * sysdeps/i386/fpu/e_powf.S: Likewise.
71983 * sysdeps/i386/fpu/e_powl.S: Likewise.
71984 * sysdeps/i386/fpu/e_remainder.S: Likewise.
71985 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71986 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71987 * sysdeps/i386/fpu/e_scalb.S: Likewise.
71988 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71989 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71990 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71991 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71992 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71993 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71994 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71996 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71998 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71999 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72000 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72001 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72002 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72003 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72004 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72006 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72007 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72010 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72013 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72014 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72015 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72016 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72017 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72018 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72019 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72020 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72021 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72022 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72023 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72024 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72027 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72028 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72029 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72030 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72031 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72032 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72033 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72035 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72036 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72037 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72038 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72039 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72040 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72041 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72042 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72043 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72044 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72045 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72046 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72047 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72048 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72049 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72050 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72051 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72052 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72053 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72058 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72061 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72065 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72066 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72067 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72068 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72069 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72070 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72071 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72072 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72073 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72074 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72075 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72076 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72077 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72079 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72080 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72082 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72083 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72084 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72085 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72086 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72087 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72088 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72089 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72090 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72091 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72092 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72093 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72094 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72095 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72096 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72098 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72099 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72100 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72101 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72102 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72103 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
72104 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72105 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72106 (__isnanf): Likewise.
72107 (__isinf_ns): Likewise.
72108 (__isinf_nsf): Likewise.
72109 (__finite): Likewise.
72110 (__finitef): Likewise.
72111 (__ieee754_sqrt): Define as macro.
72112 (__ieee754_sqrtf): Define as macro.
72113 (__ieee754_sqrtl): Define as macro.
72114 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72116 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72117 __FINITE_MATH_ONLY__ consistent.
72118 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72120 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
72122 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72125 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72127 2011-10-09 Ulrich Drepper <drepper@gmail.com>
72129 * po/ja.po: Update from translation team.
72131 2011-10-08 Roland McGrath <roland@hack.frob.com>
72133 * locale/programs/locarchive.c (prepare_address_space): New function.
72134 (create_archive, enlarge_archive, open_archive): Use it.
72136 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72137 inside [SHARED], where it is used.
72139 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72141 * nss/getent.c (netgroup_keys): Remove unused variable.
72142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72144 2011-10-08 Ulrich Drepper <drepper@gmail.com>
72146 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72147 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72149 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72150 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72151 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72152 * math/Makefile (libm-calls): Add s_isinf_ns.
72153 * math/divtc3.c: Use __isinf_nsl instead of isinf.
72154 * math/multc3.c: Likewise.
72155 * math/s_casin.c: Likewise.
72156 * math/s_casinf.c: Likewise.
72157 * math/s_casinl.c: Likewise.
72158 * math/s_ccos.c: Likewise.
72159 * math/s_ccosf.c: Likewise.
72160 * math/s_ccosl.c: Likewise.
72161 * math/s_ctan.c: Likewise.
72162 * math/s_ctanf.c: Likewise.
72163 * math/s_ctanh.c: Likewise.
72164 * math/s_ctanhf.c: Likewise.
72165 * math/s_ctanhl.c: Likewise.
72166 * math/s_ctanl.c: Likewise.
72167 * math/w_fmod.c: Likewise.
72168 * math/w_fmodf.c: Likewise.
72169 * math/w_fmodl.c: Likewise.
72170 * math/w_remainder.c: Likewise.
72171 * math/w_remainderf.c: Likewise.
72172 * math/w_remainderl.c: Likewise.
72173 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72174 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72177 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72178 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72179 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72180 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72182 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72184 * stdio-common/printf_fphex.c: Likewise.
72185 * stdio-common/printf_size.c: Likewise.
72187 * math/e_exp10.c: Include math_private.h using <...> not "...".
72188 * math/e_exp10f.c: Likewise.
72189 * math/e_exp10l.c: Likewise.
72190 * math/e_exp2l.c: Likewise.
72191 * math/e_j0l.c: Likewise.
72192 * math/e_j1l.c: Likewise.
72193 * math/e_jnl.c: Likewise.
72194 * math/e_lgammal_r.c: Likewise.
72195 * math/e_rem_pio2l.c: Likewise.
72196 * math/e_scalb.c: Likewise.
72197 * math/e_scalbf.c: Likewise.
72198 * math/e_scalbl.c: Likewise.
72199 * math/k_cosl.c: Likewise.
72200 * math/k_sinl.c: Likewise.
72201 * math/k_tanl.c: Likewise.
72202 * math/s_cacoshf.c: Likewise.
72203 * math/s_catan.c: Likewise.
72204 * math/s_catanf.c: Likewise.
72205 * math/s_catanh.c: Likewise.
72206 * math/s_catanhf.c: Likewise.
72207 * math/s_catanhl.c: Likewise.
72208 * math/s_catanl.c: Likewise.
72209 * math/s_ccosh.c: Likewise.
72210 * math/s_ccoshf.c: Likewise.
72211 * math/s_ccoshl.c: Likewise.
72212 * math/s_cexp.c: Likewise.
72213 * math/s_cexpf.c: Likewise.
72214 * math/s_cexpl.c: Likewise.
72215 * math/s_clog.c: Likewise.
72216 * math/s_clog10.c: Likewise.
72217 * math/s_clog10f.c: Likewise.
72218 * math/s_clog10l.c: Likewise.
72219 * math/s_clogf.c: Likewise.
72220 * math/s_clogl.c: Likewise.
72221 * math/s_csin.c: Likewise.
72222 * math/s_csinf.c: Likewise.
72223 * math/s_csinh.c: Likewise.
72224 * math/s_csinhf.c: Likewise.
72225 * math/s_csinhl.c: Likewise.
72226 * math/s_csinl.c: Likewise.
72227 * math/s_csqrt.c: Likewise.
72228 * math/s_csqrtf.c: Likewise.
72229 * math/s_csqrtl.c: Likewise.
72230 * math/s_ctan.c: Likewise.
72231 * math/s_ctanf.c: Likewise.
72232 * math/s_ctanh.c: Likewise.
72233 * math/s_ctanhf.c: Likewise.
72234 * math/s_ctanhl.c: Likewise.
72235 * math/s_ctanl.c: Likewise.
72236 * math/s_ldexp.c: Likewise.
72237 * math/s_ldexpf.c: Likewise.
72238 * math/s_ldexpl.c: Likewise.
72239 * math/s_significand.c: Likewise.
72240 * math/s_significandf.c: Likewise.
72241 * math/s_significandl.c: Likewise.
72242 * math/w_acos.c: Likewise.
72243 * math/w_acosf.c: Likewise.
72244 * math/w_acosh.c: Likewise.
72245 * math/w_acoshf.c: Likewise.
72246 * math/w_acoshl.c: Likewise.
72247 * math/w_acosl.c: Likewise.
72248 * math/w_asin.c: Likewise.
72249 * math/w_asinf.c: Likewise.
72250 * math/w_asinl.c: Likewise.
72251 * math/w_atan2.c: Likewise.
72252 * math/w_atan2f.c: Likewise.
72253 * math/w_atan2l.c: Likewise.
72254 * math/w_atanh.c: Likewise.
72255 * math/w_atanhf.c: Likewise.
72256 * math/w_atanhl.c: Likewise.
72257 * math/w_cosh.c: Likewise.
72258 * math/w_coshf.c: Likewise.
72259 * math/w_coshl.c: Likewise.
72260 * math/w_dremf.c: Likewise.
72261 * math/w_exp10.c: Likewise.
72262 * math/w_exp10f.c: Likewise.
72263 * math/w_exp10l.c: Likewise.
72264 * math/w_exp2.c: Likewise.
72265 * math/w_exp2f.c: Likewise.
72266 * math/w_fmod.c: Likewise.
72267 * math/w_fmodf.c: Likewise.
72268 * math/w_fmodl.c: Likewise.
72269 * math/w_hypot.c: Likewise.
72270 * math/w_hypotf.c: Likewise.
72271 * math/w_hypotl.c: Likewise.
72272 * math/w_j0.c: Likewise.
72273 * math/w_j0f.c: Likewise.
72274 * math/w_j0l.c: Likewise.
72275 * math/w_j1.c: Likewise.
72276 * math/w_j1f.c: Likewise.
72277 * math/w_j1l.c: Likewise.
72278 * math/w_jn.c: Likewise.
72279 * math/w_jnf.c: Likewise.
72280 * math/w_jnl.c: Likewise.
72281 * math/w_lgamma.c: Likewise.
72282 * math/w_lgamma_r.c: Likewise.
72283 * math/w_lgammaf.c: Likewise.
72284 * math/w_lgammaf_r.c: Likewise.
72285 * math/w_lgammal.c: Likewise.
72286 * math/w_lgammal_r.c: Likewise.
72287 * math/w_log.c: Likewise.
72288 * math/w_log10.c: Likewise.
72289 * math/w_log10f.c: Likewise.
72290 * math/w_log10l.c: Likewise.
72291 * math/w_log2.c: Likewise.
72292 * math/w_log2f.c: Likewise.
72293 * math/w_log2l.c: Likewise.
72294 * math/w_logf.c: Likewise.
72295 * math/w_logl.c: Likewise.
72296 * math/w_pow.c: Likewise.
72297 * math/w_powf.c: Likewise.
72298 * math/w_powl.c: Likewise.
72299 * math/w_remainder.c: Likewise.
72300 * math/w_remainderf.c: Likewise.
72301 * math/w_remainderl.c: Likewise.
72302 * math/w_scalb.c: Likewise.
72303 * math/w_scalbf.c: Likewise.
72304 * math/w_scalbl.c: Likewise.
72305 * math/w_sinh.c: Likewise.
72306 * math/w_sinhf.c: Likewise.
72307 * math/w_sinhl.c: Likewise.
72308 * math/w_sqrt.c: Likewise.
72309 * math/w_sqrtf.c: Likewise.
72310 * math/w_sqrtl.c: Likewise.
72311 * math/w_tgamma.c: Likewise.
72312 * math/w_tgammaf.c: Likewise.
72313 * math/w_tgammal.c: Likewise.
72315 * po/ja.po: Update from translation team.
72317 2011-09-29 Andreas Jaeger <aj@suse.de>
72320 * sunrpc/netname.c (netname2host): Fix logic.
72324 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72326 * math/w_remainder.c (__remainder): Likewise.
72327 * math/w_remainderf.c (__remainderf): Likewise.
72328 * math/libm-test.inc (remainder_test): Add test cases.
72330 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72332 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
72335 2011-10-07 Ulrich Drepper <drepper@gmail.com>
72337 * string/test-memcmp.c: Avoid unncessary #defines.
72338 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72340 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72342 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72343 Use new sse2 version for core i3 - i7 as it's faster
72344 than sse42 version.
72345 (bit_Prefer_PMINUB_for_stringop): New.
72346 * sysdeps/x86_64/rawmemchr.S: Update.
72347 Replace with faster SSE2 version.
72348 * sysdeps/x86_64/memrchr.S: New file.
72349 * sysdeps/x86_64/memchr.S: Update.
72350 Replace with faster SSE2 version.
72352 2011-09-12 Marek Polacek <mpolacek@redhat.com>
72354 * elf/dl-load.c (lose): Add cast to avoid warning.
72356 2011-10-07 Ulrich Drepper <drepper@gmail.com>
72358 * po/ca.po: Update from translation team.
72360 * inet/getnetgrent_r.c: Hook up nscd.
72361 * nscd/Makefile (routines): Add nscd_netgroup.
72362 (nscd-modules): Add netgroupcache.
72363 (CFLAGS-netgroupcache.c): Define.
72364 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72365 (cache_search): Add const to second parameter.
72366 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72368 (dbs): Add netgrdb entry.
72369 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72370 (verify_persistent_db): Handle netgrdb.
72371 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72372 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72374 (netgroup_response_header): Define.
72375 (innetgroup_response_header): Define.
72376 (datahead): Add netgroup_response_header and innetgroup_response_header
72378 * nscd/nscd.conf: Add entries for netgroup cache.
72379 * nscd/nscd.h (dbtype): Add netgrdb.
72380 (_PATH_NSCD_NETGROUP_DB): Define.
72381 (netgroup_iov_disabled): Declare.
72382 (xmalloc, xcalloc, xrealloc): Move declarations here.
72383 (cache_search): Adjust prototype.
72384 Add netgroup-related prototypes.
72385 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72386 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72387 (__nscd_innetgr): Declare.
72388 * nscd/selinux.c (perms): Use access_vector_t as element type and
72389 add netgroup-related initializers.
72390 * nscd/netgroupcache.c: New file.
72391 * nscd/nscd_netgroup.c: New file.
72392 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72393 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72394 For four parameters use innetgr.
72395 * nss/nss_files/files-init.c: Add definition and callback for netgr.
72396 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72397 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72398 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72400 * nscd/connections.c (register_traced_file): Don't register file
72401 for disabled databases.
72403 2011-10-06 Ulrich Drepper <drepper@gmail.com>
72405 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72407 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72408 from tree and freeing node.
72410 2011-09-25 Jiri Olsa <jolsa@redhat.com>
72412 * nss/nsswitch.c (__nss_database_lookup): Handle
72413 nss_parse_service_list out of memory case.
72415 2011-09-15 Jiri Olsa <jolsa@redhat.com>
72417 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72418 out of memory case.
72420 2011-10-04 Andreas Schwab <schwab@redhat.com>
72422 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72423 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72425 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72426 elf_machine_rela, elf_machine_lazy_rel.
72427 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72428 (ELF_DYNAMIC_DO_REL): Likewise.
72429 (ELF_DYNAMIC_DO_RELA): Likewise.
72430 (ELF_DYNAMIC_RELOCATE): Likewise.
72431 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72432 to ELF_DYNAMIC_DO_REL.
72433 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72434 (dl_main): In trace mode always set __RTLD_NOIFUNC.
72435 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72437 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72438 skip_ifunc, don't call ifunc function if non-zero.
72439 (elf_machine_rela): Likewise.
72440 (elf_machine_lazy_rel): Likewise.
72441 (elf_machine_lazy_rela): Likewise.
72442 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72443 (elf_machine_lazy_rel): Likewise.
72444 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72446 (elf_machine_lazy_rel): Likewise.
72447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72449 (elf_machine_lazy_rel): Likewise.
72450 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72451 (elf_machine_lazy_rel): Likewise.
72452 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72453 (elf_machine_lazy_rel): Likewise.
72454 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72455 (elf_machine_lazy_rel): Likewise.
72456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72457 (elf_machine_lazy_rel): Likewise.
72458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72459 (elf_machine_lazy_rel): Likewise.
72460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72461 (elf_machine_lazy_rel): Likewise.
72463 2011-09-28 Ulrich Drepper <drepper@gmail.com>
72465 * nss/nss_files/files-init.c (_nss_files_init): Use static
72466 initialization for all the *_traced_file variables.
72468 2011-09-28 Andreas Schwab <schwab@redhat.com>
72470 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72472 2011-09-27 Roland McGrath <roland@hack.frob.com>
72475 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72477 2011-09-27 Andreas Schwab <schwab@redhat.com>
72479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72480 Reread the line before reparsing it.
72482 2011-09-26 Andreas Schwab <schwab@redhat.com>
72484 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72486 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
72487 Maxim Kuvyrkov <maxim@codesourcery.com>
72488 Joseph Myers <joseph@codesourcery.com>
72490 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72491 if needed for __stack_chk_guard.
72493 2011-09-19 Roland McGrath <roland@hack.frob.com>
72495 * sysdeps/posix/spawni.c (script_execute): Always define it.
72496 It will be optimized away if unused.
72497 (maybe_script_execute): New function.
72498 (__spawni): Call it.
72500 * Makerules: Don't include tls.make.
72501 (config-tls): Always set to thread.
72502 * tls.make.c: File removed.
72504 2011-09-19 Mike Frysinger <vapier@gentoo.org>
72506 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72507 * config.make.in (CPPFLAGS-config): New substituted variable.
72509 2011-09-15 Ulrich Drepper <drepper@gmail.com>
72511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72514 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72515 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72517 2011-09-15 Roland McGrath <roland@hack.frob.com>
72519 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72520 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72521 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72522 (CALL_FAIL): Likewise.
72523 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72524 (CALL_FAIL): Macro removed.
72525 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72527 2011-09-15 Ulrich Drepper <drepper@gmail.com>
72529 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72530 for __FINITE_MATH_ONLY__ == 1.
72532 2011-09-15 Andreas Schwab <schwab@redhat.com>
72534 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72535 __ieee754_sqrt instead of sqrt.
72536 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72537 __ieee754_sqrtf instead of sqrtf.
72538 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72539 __floorf instead of floorf.
72540 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72541 __floorf, __truncf instead of floorf, truncf.
72543 2011-09-14 Ulrich Drepper <drepper@gmail.com>
72545 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72547 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72548 __extern_always_inline.
72549 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72552 2011-09-14 Andreas Schwab <schwab@redhat.com>
72554 * elf/rtld.c (dl_main): Also relocate in dependency order when
72555 doing symbol dependency testing.
72557 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
72559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72560 Always define `refsym'.
72562 2011-09-13 Andreas Schwab <schwab@redhat.com>
72564 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72565 (__FD_ELT): Renamed from __FDELT.
72566 * misc/bits/select2.h (__FD_ELT): Likewise.
72567 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72568 __FD_MASK instead of __FDELT, __FDMASK.
72569 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72571 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72574 * elf/Makefile (gen-ldd): Fix pattern.
72576 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72577 (init_tls): Likewise.
72579 2011-09-12 Ulrich Drepper <drepper@gmail.com>
72581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72583 2011-09-12 Andreas Schwab <schwab@redhat.com>
72585 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72586 `struct cmsghdr *' instead of `void *'.
72587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72590 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
72592 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72594 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72595 ldd_rewrite_script.
72597 2011-09-11 Ulrich Drepper <drepper@gmail.com>
72599 * configure.in: Remove --with-tls option.
72600 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72601 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72602 out in case it is missing.
72603 * sysdeps/ia64/elf/configure.in: Likewise.
72604 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72605 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72606 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72607 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72608 * sysdeps/sh/elf/configure.in: Likewise.
72609 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72610 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72611 * sysdeps/x86_64/elf/configure.in: Likewise.
72612 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72613 * sysdeps/mach/hurd/tls.h: Likewise.
72616 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72619 * configure.in: Fix use of AC_INIT.
72621 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72623 2011-09-10 Ulrich Drepper <drepper@gmail.com>
72625 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72627 * malloc/hooks.c: Likewise.
72630 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
72631 variables statically.
72632 (narenas): Initialize.
72633 (list_lock): Initialize.
72634 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
72635 initializtion of main_arena and list_lock. Small cleanups.
72636 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72637 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
72638 Add initializers to main_arena and mp_.
72639 (malloc_state): Remove pagesize member. Change all users to use
72642 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72643 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
72644 is always initialized.
72646 * malloc/malloc.c: Removed unused configurations and dead code.
72647 * malloc/arena.c: Likewise.
72648 * malloc/hooks.c: Likewise.
72649 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72651 * include/tls.h: Removed. USE___THREAD must always be defined.
72652 * bits/libc-tsd.h: Don't handle !USE___THREAD.
72653 * elf/dl-libc.c: Likewise.
72654 * elf/dl-tsd.c: Likewise.
72655 * include/errno.h: Likewise.
72656 * include/netdb.h: Likewise.
72657 * include/resolv.h: Likewise.
72658 * inet/herrno-loc.c: Likewise.
72659 * inet/herrno.c: Likewise.
72660 * malloc/arena.c: Likewise.
72661 * malloc/hooks.c: Likewise.
72662 * malloc/malloc.c: Likewise.
72663 * resolv/res-state.c: Likewise.
72664 * resolv/res_libc.c: Likewise.
72665 * sysdeps/i386/dl-machine.h: Likewise.
72666 * sysdeps/ia64/dl-machine.h: Likewise.
72667 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72668 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72669 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72670 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72671 * sysdeps/sh/dl-machine.h: Likewise.
72672 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72673 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72674 * sysdeps/unix/i386/sysdep.S: Likewise.
72675 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72676 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72677 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72681 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72685 * sysdeps/unix/x86_64/sysdep.S: Likewise.
72686 * sysdeps/x86_64/dl-machine.h: Likewise.
72687 * tls.make.c: Likewise.
72689 * configure.in: Remove --with-__thread option. Make tests for
72690 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72691 tls_model attribute fail if no support is available. Remove
72693 * Makeconfig: Adjust for dropped configure option. All features are
72695 * Makerules: Likewise.
72696 * Versions.def: Likewise.
72697 * argp/argp-fmtstream.c: Likewise.
72698 * argp/argp-fmtstream.h: Likewise.
72699 * argp/argp-help.c: Likewise.
72700 * assert/assert.c: Likewise.
72701 * config.h.in: Likewise.
72702 * config.make.in: Likewise.
72703 * configure: Likewise.
72704 * configure.in: Likewise.
72705 * csu/Versions: Likewise.
72706 * csu/init.c: Likewise.
72707 * elf/tst-audit2.c: Likewise.
72708 * elf/tst-tls10.c: Likewise.
72709 * elf/tst-tls10.h: Likewise.
72710 * elf/tst-tls11.c: Likewise.
72711 * elf/tst-tls12.c: Likewise.
72712 * elf/tst-tls14.c: Likewise.
72713 * elf/tst-tlsmod11.c: Likewise.
72714 * elf/tst-tlsmod12.c: Likewise.
72715 * elf/tst-tlsmod13.c: Likewise.
72716 * elf/tst-tlsmod13a.c: Likewise.
72717 * elf/tst-tlsmod14a.c: Likewise.
72718 * elf/tst-tlsmod15b.c: Likewise.
72719 * elf/tst-tlsmod16a.c: Likewise.
72720 * elf/tst-tlsmod16b.c: Likewise.
72721 * elf/tst-tlsmod7.c: Likewise.
72722 * elf/tst-tlsmod8.c: Likewise.
72723 * elf/tst-tlsmod9.c: Likewise.
72724 * gmon/gmon.c: Likewise.
72725 * grp/fgetgrent_r.c: Likewise.
72726 * grp/putgrent.c: Likewise.
72727 * hurd/fopenport.c: Likewise.
72728 * include/libc-symbols.h: Likewise.
72729 * include/tls.h: Likewise.
72730 * intl/gettextP.h: Likewise.
72731 * intl/loadinfo.h: Likewise.
72732 * locale/global-locale.c: Likewise.
72733 * locale/localeinfo.h: Likewise.
72734 * mach/devstream.c: Likewise.
72735 * malloc/arena.c: Likewise.
72736 * malloc/set-freeres.c: Likewise.
72737 * misc/err.c: Likewise.
72738 * misc/getttyent.c: Likewise.
72739 * misc/mntent_r.c: Likewise.
72740 * posix/getopt.c: Likewise.
72741 * posix/wordexp.c: Likewise.
72742 * pwd/fgetpwent_r.c: Likewise.
72743 * resolv/Versions: Likewise.
72744 * resolv/res_hconf.c: Likewise.
72745 * shadow/fgetspent_r.c: Likewise.
72746 * shadow/putspent.c: Likewise.
72747 * stdio-common/printf_fphex.c: Likewise.
72748 * stdio-common/tmpfile.c: Likewise.
72749 * stdlib/abort.c: Likewise.
72750 * stdlib/fmtmsg.c: Likewise.
72751 * sunrpc/auth_unix.c: Likewise.
72752 * sunrpc/clnt_perr.c: Likewise.
72753 * sunrpc/clnt_tcp.c: Likewise.
72754 * sunrpc/clnt_udp.c: Likewise.
72755 * sunrpc/clnt_unix.c: Likewise.
72756 * sunrpc/openchild.c: Likewise.
72757 * sunrpc/svc_simple.c: Likewise.
72758 * sunrpc/svc_tcp.c: Likewise.
72759 * sunrpc/svc_udp.c: Likewise.
72760 * sunrpc/svc_unix.c: Likewise.
72761 * sunrpc/xdr.c: Likewise.
72762 * sunrpc/xdr_array.c: Likewise.
72763 * sunrpc/xdr_rec.c: Likewise.
72764 * sunrpc/xdr_ref.c: Likewise.
72765 * sunrpc/xdr_stdio.c: Likewise.
72767 2011-09-09 Ulrich Drepper <drepper@gmail.com>
72769 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72771 2011-07-03 Andreas Jaeger <aj@suse.de>
72773 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72774 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72775 regenerate with gen-libm-tests.pl.
72777 2010-05-12 Petr Baudis <pasky@suse.cz>
72780 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72781 around j0() zero points by switching to j1().
72782 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72785 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72787 2011-09-09 Ulrich Drepper <drepper@gmail.com>
72789 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72791 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72794 Patch in part by Pavel Roskin <proski@gnu.org>.
72797 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72799 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
72800 Free memory block if necessary.
72803 * libio/genops.c (INTDEF): For string streams the _lock pointer can
72804 be NULL. Don't lock in this case.
72806 2011-09-09 Roland McGrath <roland@hack.frob.com>
72808 * elf/elf.h (ELFOSABI_GNU): New macro.
72809 (ELFOSABI_LINUX): Define to that.
72811 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
72813 * string/strncat.c (strncat): Undef the symbol in case it has been
72814 defined in bits/string.h.
72816 2011-09-09 Ulrich Drepper <drepper@gmail.com>
72818 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72820 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72823 2011-08-17 Andreas Jaeger <aj@suse.de>
72825 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72827 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
72828 Ian Lance Taylor <iant@google.com>
72830 * math/libm-test.inc (lround_test): New testcase.
72831 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72833 2011-09-08 Ulrich Drepper <drepper@gmail.com>
72835 * Makefile: Remove support for automatic cvs check-ins.
72836 * Makerules: Likewise.
72837 * config.make.in: Likewise.
72838 * configure.in: Likewise.
72839 * intl/Makefile: Likewise.
72840 * locale/Makefile: Likewise.
72841 * po/Makefile: Likewise.
72842 * posix/Makefile: Likewise.
72843 * sysdeps/gnu/Makefile: Likewise.
72844 * sysdeps/mach/hurd/Makefile: Likewise.
72845 * sysdeps/sparc/sparc32/Makefile: Likewise.
72848 * posix/Makefile (bug-regex32-ENV): Define.
72849 Patch by John Stanley <jpsinthemix@verizon.net>.
72851 * misc/Makefile (headers): Add bits/select2.h.
72852 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72853 * misc/bits/select2.h: New file.
72854 * include/bits/select2.h: New file.
72855 * debug/Makefile (routines): Add fdelt_chk.
72856 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72857 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72859 * debug/fdelt_chk.c: New file.
72861 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
72862 * wcsmbs/test-wmemcmp.c: Likewise.
72863 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72864 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72866 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72868 * string/Makefile (strop-tests): Add memcmp.
72869 * string/test-wmemcmp.c: New file.
72870 * string/test-memcmp.c: Add wmemcmp support.
72872 2011-09-08 Roland McGrath <roland@hack.frob.com>
72875 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72878 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72879 garbage value in a __mach_port_mod_refs call in the cases of the
72880 task-self and thread-self ports.
72882 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
72884 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72886 2011-09-08 Andreas Schwab <schwab@redhat.com>
72888 * elf/dl-load.c (lose): Check for non-null L.
72890 2011-09-07 Ulrich Drepper <drepper@gmail.com>
72892 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72894 * elf/dl-libc.c (dlerror_run): Pass back error code from
72898 * elf/dl-load.c (lose): Free l_origin if it is valid.
72900 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72903 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72906 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72907 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72909 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72911 * sysdeps/powerpc/fpu/e_hypot.c: New file.
72912 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72913 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72914 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72915 * sysdeps/powerpc/fpu/k_cosf.c: New file.
72916 * sysdeps/powerpc/fpu/k_sinf.c: New file.
72917 * sysdeps/powerpc/fpu/s_cosf.c: New file.
72918 * sysdeps/powerpc/fpu/s_sinf.c: New file.
72919 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72920 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72922 2011-08-15 Alan Modra <amodra@gmail.com>
72925 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72926 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72927 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
72928 ppc_mcount to static-only-routines.
72929 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72931 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72932 __mcount_internal with usual JUMPTARGET. Remove useless nop.
72934 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
72936 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72937 for finite and infinity parameters.
72939 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
72941 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72942 and add nop instructions for throughput optimization.
72943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72945 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
72947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72948 aligned copy for power7 with vector-scalar instructions.
72949 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72951 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
72953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72956 2011-09-07 Andreas Schwab <schwab@redhat.com>
72959 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72962 2011-09-07 Ulrich Drepper <drepper@gmail.com>
72964 * sysdeps/unix/sysv/linux/x86_64/init-first.c
72965 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72966 syscall wrapper around clock_gettime in __vdso_clock_gettime.
72967 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72970 2011-09-06 Ulrich Drepper <drepper@gmail.com>
72972 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72973 Forgot to demangle the pointer.
72975 * sysdeps/i386/sysdep.h: Define atom_text_section.
72976 * sysdeps/x86_64/sysdep.h: Likewise.
72977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72978 section with atom_text_section.
72979 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72980 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72981 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72982 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72983 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72985 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72987 already be defined. Change to take two parameters and don't assign
72988 result to variable. Adjust all users.
72989 Define INTERNAL_GETTIME if not already defined.
72990 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72993 HAVE_CLOCK_GETTIME_VSYSCALL.
72994 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72997 gettimeofday vsyscall, just use time.
72999 2011-09-06 Andreas Schwab <schwab@redhat.com>
73001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73004 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73006 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73010 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73012 syscall if possible.
73014 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73016 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73017 e_ident. Don't pass to find_mapsXX.
73018 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73020 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73023 strchr-sse2-no-bsf strrchr-sse2-no-bsf
73024 * sysdeps/x86_64/multiarch/strchr.S: Update.
73025 Check bit_slow_BSF bit.
73026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73027 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73028 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73030 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73033 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73035 (tryshell): Define.
73036 (__spawni): Change last parameter to be flag. Test
73037 SPAWN_XFLAGS_USE_PATH flag to use path or not.
73038 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73039 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73040 * posix/spawni.c: Likewise.
73041 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73042 * posix/spawnp.c: Likewise. Change normal version to use
73043 SPAWN_XFLAGS_USE_PATH.
73044 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73045 SPAWN_XFLAGS_TRY_SHELL.
73048 * posix/glob.h: Remove gcc 1.x support.
73051 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73053 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73056 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73058 * sysdeps/i386/i686/multiarch/strchr.S: New file.
73059 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73060 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73062 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73063 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73065 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73067 * sysdeps/x86_64/wcscmp.S: New file.
73069 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73070 wcscmp-c wcscmp-sse2
73071 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73072 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73073 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73074 * wcsmbs/wcscmp.c: Allow renaming.
73076 2011-09-05 David S. Miller <davem@davemloft.net>
73078 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73079 stack slot, rather than the struct return pointer slot.
73080 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73081 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73083 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73085 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73087 * po/ja.po: Update from translation team.
73090 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73091 kernel in 64-bit binaries.
73093 2011-09-01 David S. Miller <davem@davemloft.net>
73095 * elf/elf.h (HWCAP_SPARC_*): Move to..
73096 * sysdeps/sparc/sysdep.h: this new file and add new values.
73097 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73098 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73099 _DL_HWCAP_COUNT to 24.
73100 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73102 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73103 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73104 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73106 instead of magic constants.
73107 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73109 2011-08-31 David S. Miller <davem@davemloft.net>
73111 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73113 Reimplement to do errno handling inline.
73114 (SYSCALL_ERROR_HANDLER): New macro.
73115 (__SYSCALL_STRING): Do not do errno handling in asm.
73116 (__CLONE_SYSCALL_STRING): Delete.
73117 (__INTERNAL_SYSCALL_STRING): Delete.
73118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73119 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73120 (PSEUDO): Reimplement to do errno handling inline.
73121 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73122 (SYSCALL_ERROR_HANDLER): New macro.
73123 (__SYSCALL_STRING): Do not do errno handling in asm.
73124 (__CLONE_SYSCALL_STRING): Delete.
73125 (__INTERNAL_SYSCALL_STRING): Delete.
73126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73127 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73129 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73130 (inline_syscall*): Add 'err' argument.
73131 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73132 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73133 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73134 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73136 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73137 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73139 2011-08-30 Andreas Schwab <schwab@redhat.com>
73141 * elf/rtld.c (dl_main): Relocate objects in dependency order.
73143 2011-08-29 Jiri Olsa <jolsa@redhat.com>
73145 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73148 2011-08-24 David S. Miller <davem@davemloft.net>
73150 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73152 2011-08-24 Andreas Schwab <schwab@redhat.com>
73154 * elf/Makefile: Add rules to build and run unload8 test.
73155 * elf/unload8.c: New file.
73156 * elf/unload8mod1.c: New file.
73157 * elf/unload8mod1x.c: New file.
73158 * elf/unload8mod2.c: New file.
73159 * elf/unload8mod3.c: New file.
73161 * elf/dl-close.c (_dl_close_worker): Reset private search list if
73164 2011-08-23 David S. Miller <davem@davemloft.net>
73166 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73167 subtract stack bias.
73168 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73169 %sp not %fp in calculations.
73170 (_JMPBUF_UNWINDS_ADJ): Likewise.
73172 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73173 (aio_suspend): Call it to force an exception region around the
73174 AIO_MISC_WAIT() invocation.
73176 2011-08-23 Andreas Schwab <schwab@redhat.com>
73178 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73181 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
73183 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73185 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73186 and <dl-machine.h>.
73187 (Elf64_FuncDesc): Remove.
73189 2011-08-22 David S. Miller <davem@davemloft.net>
73191 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73192 sigaltstack check, add missing cfi directives.
73193 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73194 missing cfi directives, and sigaltstack handling.
73196 2011-08-16 Andreas Schwab <schwab@redhat.com>
73199 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73200 object is seen twice.
73201 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73203 * elf/Makefile (distribute): Add tst-initorder2.c.
73204 (tests): Add tst-initorder2.
73205 (modules-names): Add tst-initorder2a tst-initorder2b
73206 tst-initorder2c tst-initorder2d. Add rules to build them.
73207 ($(objpfx)tst-initorder2.out): New rule.
73208 * elf/tst-initorder2.c: New file.
73209 * elf/tst-initorder2.exp: New file.
73211 2011-08-22 Andreas Schwab <schwab@redhat.com>
73213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73215 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73216 dependencies back to end of function.
73218 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73219 $(elfobjdir)/ld.so.
73221 2011-08-21 Ulrich Drepper <drepper@gmail.com>
73223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73224 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73226 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73227 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73228 of __vdso_gettimeofday.
73229 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73230 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
73232 (_libc_vdso_platform_setup): Remove initialization of
73233 __vdso_gettimeofday and __vdso_time.
73235 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73237 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73238 and fgetc_unlocked.
73239 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73242 * elf/dl-open.c (add_to_global): Report additions to the global scope
73243 for LD_DEBUG=scopes.
73244 (dl_open_worker): Also print scope of newly loaded dependencies.
73245 (_dl_show_scope): Indicate if there is no scope.
73248 * stdio-common/Makefile (tests): Add bug24.
73249 * stdio-common/bug24.c: New file.
73251 2011-08-19 Andreas Jaeger <aj@suse.de>
73254 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73255 non-existant file when using close-on-exec mode.
73257 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73260 the very first instruction.
73262 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73263 the CFI state in the end.
73264 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73265 inclusion of dl-trampoline.h.
73266 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73268 2011-08-19 Andreas Schwab <schwab@redhat.com>
73270 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73271 expectations for long double.
73273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73274 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73276 2011-08-14 David S. Miller <davem@davemloft.net>
73278 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73279 artificual limit depends upon the system page size.
73281 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73283 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73284 * resolv/Makefile: Define CFLAGS-libresolv.
73286 2011-08-17 Andreas Schwab <schwab@redhat.com>
73288 * nss/makedb.c (compute_tables): Make variables used in nested
73291 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73293 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73294 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73295 if buffer was too small.
73297 * elf/pldd.c (main): Attach to all threads in the process.
73298 Rewrite /proc handling to use *at functions.
73300 2011-08-16 Ulrich Drepper <drepper@gmail.com>
73302 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73303 specifies first scope to show.
73304 (dl_open_worker): Update callers. Move printing scope of new
73305 object to before the relocation.
73306 * elf/rtld.c (dl_main): Update _dl_show_scope call.
73307 * sysdeps/generic/ldsodefs.h: Update declaration.
73309 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73310 string for the scope number.
73312 2011-08-14 Ulrich Drepper <drepper@gmail.com>
73314 * nscd/servicescache.c (cache_addserv): Make sure written is always
73317 2011-08-14 Roland McGrath <roland@hack.frob.com>
73319 * sysdeps/i386/i486/bits/atomic.h
73320 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73321 statement expression, so as to suppress "set but not used" warning.
73322 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73324 * string/strncat.c (STRNCAT): Use prototype definition.
73326 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73327 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73329 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73330 (localedef-modules): Add localedef.
73331 (locale-modules): Add locale.
73333 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73334 * elf/rtld.c (dl_main): Invert order of assignment in last change,
73335 to avoid a warning.
73337 2011-08-14 David S. Miller <davem@davemloft.net>
73339 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73340 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73342 2011-08-13 Ulrich Drepper <drepper@gmail.com>
73344 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73345 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73346 * elf/rtld.c (dl_main): Set l_name of vDSO.
73347 Call _dl_show_scope when DL_DEBUG_SCOPES.
73348 (process_dl_debug): Recognize scopes flag and also set it for all.
73349 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73350 Declare _dl_show_scope.
73352 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73353 (do_dlopen): Pass caller_dlopen to dl_open.
73354 (__libc_dlopen_mode): Initialize caller_dlopen.
73356 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73357 of libc. Make tolower call locale-independent. Optimize a bit by
73358 using isdigit instead of isalnum.
73359 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73361 2011-08-12 Ulrich Drepper <drepper@gmail.com>
73363 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73364 was a dependency or dynamically loaded.
73366 2011-08-11 Ulrich Drepper <drepper@gmail.com>
73368 * intl/l10nflist.c: Allow architecture-specific pop function.
73369 * sysdeps/x86_64/l10nflist.c: New file.
73371 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73374 2011-08-10 Andreas Schwab <schwab@redhat.com>
73376 * include/dirent.h: Add libc_hidden_proto for scandirat and
73377 scandirat64. Don't declare __scandirat64.
73378 * dirent/scandirat.c: Add libc_hidden_def.
73379 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73380 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73382 2011-08-10 David S. Miller <davem@davemloft.net>
73384 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73386 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73388 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73390 2011-08-09 Ulrich Drepper <drepper@gmail.com>
73392 * Versions.def [libc]: Add GLIBC_2.15.
73393 * dirent/Makefile (routines): Add scandirat and scandirat64.
73394 * dirent/Versions [libc]: Export scandirat and scandirat64 for
73396 * dirent/dirent.h: Declare scandirat and scandirat64.
73397 * dirent/scandirat.c: New file.
73398 * dirent/scandirat64.c: New file.
73399 * sysdeps/wordsize-64/scandirat.c: New file.
73400 * sysdeps/wordsize-64/scandirat64.c: New file.
73401 * dirent/opendir.c: Define opendirat.
73402 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
73404 * dirent/scandir64.c: Adjust for scandir.c change.
73405 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
73406 __scandirat64, and __scandir_cancel_handler.
73407 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
73408 additional parameter and use openat instead of open (outside of ld.so).
73409 Add new __opendir as wrapper around __opendirat.
73410 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73411 here without requiring old scandirat implementation.
73413 2011-08-08 Ulrich Drepper <drepper@gmail.com>
73415 * dirent/scandir.c (cancel_handler): Renamed to
73416 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
73417 defined. Adjust users.
73418 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73419 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73421 2011-08-04 Ulrich Drepper <drepper@gmail.com>
73423 * string/test-string.h (IMPL): Use __STRING to expand name and then
73426 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
73429 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73431 * string/Makefile: Update.
73432 (strop-tests): Append strncat.
73433 * string/test-wcscmp.c: New file.
73434 New comprehensive test for wcscmp.
73435 * string/test-strcmp.c: Update.
73436 (WIDE): New define.
73438 2011-07-22 Andreas Schwab <schwab@redhat.com>
73440 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73443 2011-07-26 Andreas Schwab <schwab@redhat.com>
73445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73446 encoding to ACE if AI_IDN.
73448 2011-08-01 Jakub Jelinek <jakub@redhat.com>
73450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73451 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73453 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73455 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73456 Fix overflow bug in strncat.
73457 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73459 * string/test-strncat.c: Update.
73460 Add new tests for checking overflow bugs.
73462 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73465 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73466 * sysdeps/i386/i686/multiarch/strcat.S: New file.
73467 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73468 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73469 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73470 * sysdeps/i386/i686/multiarch/strncat.S: New file.
73471 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73472 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73475 (USE_AS_STRCAT): Define.
73476 Add strcat and strncat support.
73477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73479 2011-07-25 Andreas Schwab <schwab@redhat.com>
73481 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73482 __n bigger than INT_MAX+1.
73483 (__strncmp_g): Likewise.
73485 2011-07-23 Ulrich Drepper <drepper@gmail.com>
73487 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73488 * libio/stido.h: Likewise.
73490 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73495 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73496 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73498 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73502 * scripts/test-installation.pl: Don't expect libnss_test1 to be
73505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73507 (_dl_x86_64_save_sse): Likewise.
73509 2011-07-22 Ulrich Drepper <drepper@gmail.com>
73511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73513 (_dl_x86_64_save_sse): Likewise.
73515 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73517 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73519 2011-07-21 Andreas Schwab <schwab@redhat.com>
73521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73523 (_dl_x86_64_save_sse): Use correct AVX check.
73525 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73528 bug in strncpy/strncat.
73529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73531 2011-07-21 Ulrich Drepper <drepper@gmail.com>
73533 * string/tester.c (test_strcat): Add tests for different alignments
73534 of source and destination.
73535 (test_strncat): Likewise.
73537 2011-07-20 Ulrich Drepper <drepper@gmail.com>
73540 * posix/glob.c (glob): Check passed in values before using them in
73541 expressions to avoid some overflows.
73542 (glob_in_dir): Likewise.
73545 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73546 check for AVX enablement so that we don't crash with old kernels and
73548 * elf/tst-audit4.c: Add same checks here.
73549 * elf/tst-audit6.c: Likewise.
73551 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73553 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
73555 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73557 2011-07-20 Ulrich Drepper <drepper@gmail.com>
73559 * po/cs.po: Update from translation team.
73560 * po/bg.po: Likewise.
73562 2011-07-12 Marek Polacek <mpolacek@redhat.com>
73564 * misc/sys/cdefs.h: Add support for const attribute.
73565 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73566 to gnu_dev_{major,minor,makedev} functions.
73568 2011-07-20 Marek Polacek <mpolacek@redhat.com>
73570 * intl/dcigettext.c (get_output_charset): Add missing bracket.
73572 2011-07-20 Andreas Schwab <schwab@redhat.com>
73574 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73577 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73580 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73581 register in order to avoid conflicts with the soft frame pointer
73582 being held in r11 when necessary.
73583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73584 (INTERNAL_VSYSCALL_NCS): Likewise.
73586 2011-07-14 Marek Polacek <mpolacek@redhat.com>
73588 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73589 * elf/dl-fini.c (_dl_fini): Adjust caller.
73590 * elf/dl-close.c (_dl_close_worker): Likewise.
73591 * sysdeps/generic/ldsodefs.h: Adjust declaration.
73593 2011-07-15 Marek Polacek <mpolacek@redhat.com>
73595 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73596 "aux_cache->nlibs < 0".
73598 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73599 in the reload-count case.
73601 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73604 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73605 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73606 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73607 * sysdeps/x86_64/multiarch/strcat.S: New file.
73608 * sysdeps/x86_64/multiarch/strncat.S: New file.
73609 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73610 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73611 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73612 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73614 (USE_AS_STRCAT): Define.
73615 Add strcat and strncat support.
73616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73618 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73619 * string/strncat.c: Update.
73620 (USE_AS_STRNCAT): Define.
73621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73622 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73624 * sysdeps/x86_64/multiarch/init-arch.h
73625 (bit_Prefer_PMINUB_for_stringop): New.
73626 (index_Prefer_PMINUB_for_stringop): Likewise.
73627 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73628 bit_Prefer_PMINUB_for_stringop.
73630 2011-07-19 Ulrich Drepper <drepper@gmail.com>
73632 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73634 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73635 of casting of buffer.
73636 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73637 buffer32 and buffer64.
73638 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73639 writes instead of casting of buffer.
73640 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73642 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73645 2011-07-19 Andreas Schwab <schwab@redhat.com>
73647 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73649 2011-07-19 Ulrich Drepper <drepper@gmail.com>
73651 * nscd/nscd.c (termination_handler): Don't do anything for a database
73652 if it has not yet been initialized.
73654 2011-07-18 Ulrich Drepper <drepper@gmail.com>
73656 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73658 2011-07-15 Marek Polacek <mpolacek@redhat.com>
73660 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73662 2011-07-18 Ulrich Drepper <drepper@gmail.com>
73664 * po/nl.po: Update from translation team.
73665 * po/sv.po: Likewise.
73667 2011-07-16 Roland McGrath <roland@hack.frob.com>
73669 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73670 now disallowed by GCC.
73672 * configure.in (use-default-link): Default to yes if a test -shared
73673 link meets our qualifications.
73674 * configure: Regenerated.
73676 * config.make.in (output-format): New variable.
73677 * configure.in: Check for ld --print-output-format support.
73678 * configure: Regenerated.
73679 * Makerules ($(common-objpfx)format.lds)
73680 [$(output-format) != unknown]: Just use $(output-format),
73681 instead of the linker-script munging.
73683 2011-07-14 Roland McGrath <roland@hack.frob.com>
73685 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73686 of $(common-objpfx)shlib.lds.
73687 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73689 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73690 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73692 * configure.in (-z relro check): Adjust test code to add a large
73693 writable data section after it.
73694 * configure: Regenerated.
73696 2011-07-11 Roland McGrath <roland@hack.frob.com>
73698 * configure.in (-z relro check): Fix test code to make the variable
73700 * configure: Regenerated.
73702 2011-07-11 Ulrich Drepper <drepper@gmail.com>
73704 * nscd/nscd.h (struct traced_file): Define.
73705 (struct database_dyn): Remove inotify_descr, reset_res, and filename
73706 elements. Add traced_files.
73707 (inotify_fd): Declare.
73708 (register_traced_file): Declare.
73709 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73710 (inotify_fd): Export.
73711 (resolv_conf_descr): Remove.
73712 (nscd_init): Move inotify descriptor creation to main.
73713 Don't register files for notification here.
73714 (register_traced_file): New function.
73715 (invalidate_cache): Don't use reset_res to determine whether to call
73716 res_init, go through the list of registered files.
73717 (main_loop_poll): The inotify descriptors are now stored in the
73718 structures for the traced files.
73719 (main_loop_epoll): Likewise.
73720 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
73721 to __nss_disable_nscd.
73722 * nscd/cache.c (prune_cache): There is no single inotify descriptor
73723 for a database anymore. Check the records for all the registered
73725 * nss/Makefile (libnss_files-routines): Add files-init.
73726 (libnss_db-routines): Add db-init.
73727 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73728 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73729 * nss/nss_db/db-init.c: New file.
73730 * nss/nss_files/files-init.c: New file.
73731 * nss/nsswitch.c (nss_load_library): New function. Broken out of
73732 __nss_lookup_function.
73733 (__nss_lookup_function): Call nss_load_library.
73734 (nss_load_all_libraries): New function.
73735 (__nss_disable_nscd): Take parameter with callback function for files
73736 to register. Set is_nscd. Load all the DSOs for the NSS modules
73737 used for the cached services.
73738 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73739 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73740 options for features to all the files in nscd.
73742 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73744 2011-07-10 Roland McGrath <roland@hack.frob.com>
73746 * csu/elf-init.c (__libc_csu_init): Comment typo.
73748 2011-07-09 Ulrich Drepper <drepper@gmail.com>
73750 * po/pl.po: Update from translation team.
73751 * po/ja.po: Likewise.
73752 * po/ru.po: Likewise.
73753 * po/ko.po: Likewise.
73754 * po/fr.po: Likewise.
73756 2011-07-09 Roland McGrath <roland@hack.frob.com>
73758 * configure.in (.ctors/.dtors header and trailer check):
73759 Use an empirical test on a built program.
73760 * configure: Regenerated.
73762 * configure.in (-z relro check): Use an empirical test on a built DSO.
73763 Detect, but do not require, on ia64.
73764 * configure: Regenerated.
73766 * configure.in (READELF): Find it with AC_CHECK_TOOL.
73767 Update tests that use readelf to use $READELF instead.
73768 * configure: Regenerated.
73770 2011-07-08 Ulrich Drepper <drepper@gmail.com>
73772 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73773 if the result is not used.
73775 2011-07-05 Andreas Jaeger <aj@suse.de>
73778 * stdlib/tst-strtod.c: Add testcase.
73780 2011-07-07 Ulrich Drepper <drepper@gmail.com>
73782 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73783 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73784 The latter has a higher limit. Take additional parameter to pass to
73786 (__pathconf): Pass file to __statfs_link_max.
73787 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73789 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73793 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73796 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73797 (__statfs_filesize_max): Likewise.
73798 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73800 2011-07-05 Andreas Jaeger <aj@suse.de>
73802 * resolv/res_comp.c (dn_skipname): Remove unused variable.
73804 2011-07-06 Marek Polacek <mpolacek@redhat.com>
73806 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73808 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73811 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
73813 * Makefile (strop-tests): Add strncat.
73814 * string/test-strncat.c: New file.
73816 2011-06-30 Marek Polacek <mpolacek@redhat.com>
73818 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73820 2011-06-21 Andreas Jaeger <aj@suse.de>
73822 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73823 Copy rule from iconvdata/Makefile.
73825 2011-07-06 Ulrich Drepper <drepper@gmail.com>
73828 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73829 but no long options are defined, just return 'W'.
73831 2011-06-22 Marek Polacek <mpolacek@redhat.com>
73834 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73836 2011-07-06 Ulrich Drepper <drepper@gmail.com>
73838 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73840 (innetgr): Likewise.
73842 2011-07-05 Roland McGrath <roland@hack.frob.com>
73844 * config.make.in (install_root): Default to $(DESTDIR).
73846 2011-07-05 Ulrich Drepper <drepper@gmail.com>
73848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73850 2011-07-02 Roland McGrath <roland@hack.frob.com>
73852 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73854 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73855 containing directory rather than embedding absolute directory names.
73857 * scripts/check-local-headers.sh: Rewritten using awk.
73858 Match by word, not by line. Print error messages for matches.
73859 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73861 * Makerules [shlib-lds-flags empty]:
73862 ($(common-objpfx)libc_pic.opts): New target.
73863 ($(common-objpfx)libc_pic.os.clean): New target.
73864 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73866 * config.make.in (OBJCOPY): New variable.
73867 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73868 * configure: Regenerated.
73870 * config.make.in (use-default-link): New variable.
73871 * configure.in (use_default_link): Grok --with-default-link to set it.
73872 * configure: Regenerated.
73873 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73874 (shlib-lds, shlib-lds-flags): Define to empty.
73876 * Makerules (shlib-lds): New variable.
73877 (shlib-lds-flags): New variable.
73878 (build-shlib, build-moduile, build-module-asneeded): Use it.
73879 ($(common-objpfx)libc.so): Use $(shlib-lds).
73880 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73881 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73883 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73884 DT_FLAGS/DT_FLAGS_1 with zero flags.
73886 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73887 linker script munging.
73889 2011-07-02 Ulrich Drepper <drepper@gmail.com>
73891 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73893 * crypt/sha512.c (sha512_process_block): Perform total addition using
73894 128-bit if possible.
73895 (__sha512_finish_ctx): Likewise.
73896 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73898 * crypt/sha256.c (SWAP64): Define.
73899 (sha256_process_block): Perform total addition using 64-bit if
73901 (__sha256_finish_ctx): Likewise.
73903 2011-07-01 Ulrich Drepper <drepper@gmail.com>
73905 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
73906 * nscd/initgrcache.c (addinitgroupsX): Likewise.
73907 * nscd/hstcache.c (cache_addhst): Likewise.
73908 * nscd/grpcache.c (cache_addgr): Likewise.
73909 * nscd/aicache.c (addhstaiX): Likewise.
73910 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73912 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
73914 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
73916 * nscd/hstcache.c (cache_addhst): Likewise.
73917 * nscd/grpcache.c (cache_addgr): Likewise.
73918 * nscd/aicache.c (addhstaiX): Likewise.
73920 2011-07-01 Andreas Schwab <schwab@redhat.com>
73922 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73923 domain only when needed.
73925 2011-06-30 Andreas Schwab <schwab@redhat.com>
73927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73928 is always restored.
73930 2011-06-29 Ulrich Drepper <drepper@gmail.com>
73932 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73933 are re-adding the entry.
73934 * nscd/servicescache.c (cache_addserv): Likewise.
73936 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
73938 * sysdeps/generic/dl-irel.h: fix protection against multiple
73940 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73942 2011-06-28 Ulrich Drepper <drepper@gmail.com>
73945 * malloc/memusage.sh: Fix quoting in message.
73946 * debug/xtrace.sh: Likewise.
73948 * configure.in: Remove support for --experimental-malloc option, make
73950 * config.make.in: Likewise.
73951 * malloc/Makefile: Likewise.
73953 2011-06-27 Andreas Schwab <schwab@redhat.com>
73955 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73956 two-byte characters.
73958 2011-06-27 Roland McGrath <roland@hack.frob.com>
73960 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73961 AC_CACHE_CHECK invocation.
73962 * configure: Regenerated.
73964 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73966 2011-06-27 Ulrich Drepper <drepper@gmail.com>
73969 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
73970 bit from old_res_options.
73972 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73974 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73975 value type for setfct.
73977 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
73979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73980 __gettimeofday instead of gettimeofday.
73982 2011-06-26 Ulrich Drepper <drepper@gmail.com>
73984 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73986 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
73988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73993 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
73995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73996 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73997 strcpy-sse2-unaligned strncpy-sse2-unaligned
73998 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73999 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74000 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74001 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74002 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74005 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74006 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74007 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74008 (STRCPY): Support SSE2 and SSSE3 versions.
74010 2011-06-24 Ulrich Drepper <drepper@gmail.com>
74013 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74014 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74015 kernels which artificially limit size of requests.
74017 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74020 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74021 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74022 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74023 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74024 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74025 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74026 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74029 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74030 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74031 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74032 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74033 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74035 Enable unaligned load optimization for Intel Core i3, i5 and i7
74037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74039 (index_Fast_Unaligned_Load): Define.
74040 (HAS_FAST_UNALIGNED_LOAD): Define.
74042 2011-06-23 Marek Polacek <mpolacek@redhat.com>
74044 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74046 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74049 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74050 until it is clear that the information is realy needed.
74051 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74053 2011-06-22 Andreas Schwab <schwab@redhat.com>
74055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74057 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74060 /sys/devices/system/cpu/online if it is usable.
74062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74063 reading the information from the /proc filesystem to once a second.
74065 2011-06-21 Andreas Jaeger <aj@suse.de>
74067 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74068 NULL after inclusion of kernel headers.
74070 2011-06-21 Ulrich Drepper <drepper@gmail.com>
74072 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74073 calls to internal_setent.
74076 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74077 addresses using gethostbyname4_r ignore IPv4 addresses.
74079 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74080 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
74082 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74084 2011-06-20 David S. Miller <davem@davemloft.net>
74086 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74088 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74090 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74091 (elf_irel): Use it.
74092 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74093 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74094 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74095 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74096 * sysdeps/x86_64/dl-irel.h: Likewise.
74098 * elf/dl-runtime.c: Use elf_ifunc_invoke.
74099 * elf/dl-sym.c: Likewise.
74101 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74103 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
74104 need to dereference resplen2.
74106 2011-06-14 Andreas Schwab <schwab@redhat.com>
74108 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74110 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74112 * Makeconfig: Define vardbdir and inst_vardbdir.
74113 * nss/Makefile: Add rules to install db-Makefile.
74115 * nss/nss_db/db-XXX.c: Cleanup.
74117 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74118 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74120 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74121 * nss/makedb.c: Implement -g option to specify that value strings
74122 are generated and should not be added to table iterated over for
74124 * nss/nss_db/db-initgroups.c: New file.
74126 * nss/getent.c: Add support for initgroups lookups through getgrouplist
74129 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74130 (internal_getgrouplist): Adjust to name change.
74131 Update use_initgroups_entry if this is not the first call.
74132 * nss/databases.def: Add initgroups entry.
74134 * nss/makedb.c (compute_tables): Check result of multiple hash table
74135 sizes to minimize maximum chain length.
74137 2011-06-14 Ulrich Drepper <drepper@gmail.com>
74139 * Versions.def: Add entry for libnss_db.
74140 * shlib-versions: Likewise.
74141 * nss/Makefile: Add rules to build libnss_db.
74142 * nss/Versions: Add libnss_db information. Organize libnss_files
74144 * nss/db-Makefile: Add gshadow support. Change rules for the new
74145 makedb progra. Some minor improvements to generate smaller files.
74146 * nss/nss_db/nss_db.h: Move NSS database header data structures to
74148 * nss/makedb.c: ...here.
74149 Improve database format to be smaller and require less memory at
74151 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
74153 * nss/nss_db/db-netgrp.c: Likewise.
74154 * nss/nss_db/db-open.c: Likewise.
74155 * nss/nss_files/flies-XXX.x: Adjust comments.
74156 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74157 * nss/nss_files/files-grp.c: Likewise.
74158 * nss/nss_files/files-hosts.c: Likewise.
74159 * nss/nss_files/files-network.c: Likewise.
74160 * nss/nss_files/files-proto.c: Likewise.
74161 * nss/nss_files/files-pwd.c: Likewise.
74162 * nss/nss_files/files-rpc.c: Likewise.
74163 * nss/nss_files/files-service.c: Likewise.
74164 * nss/nss_files/files-sgrp.c: Likewise.
74165 * nss/nss_files/files-spwd.c: Likewise.
74166 * nss/nss_db/db-alias.c: Removed.
74167 * nss/nss_db/dummy-db.h: Removed.
74169 2011-06-02 Ulrich Drepper <drepper@gmail.com>
74171 * nss/makedb.c: Rewritten to not use database library.
74172 * nss/Makefile: Update to build new makedb program.
74174 2011-06-14 Andreas Jaeger <aj@suse.de>
74176 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74177 memset declaration.
74179 2011-06-10 Andreas Schwab <schwab@redhat.com>
74181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74184 2011-06-10 Roland McGrath <roland@hack.frob.com>
74186 * Makerules (shlib.lds): Fail if the linker script comes out empty.
74187 * elf/Makefile ($(objpfx)ld.so): Likewise.
74189 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74190 Don't list ld.so twice in dependencies.
74192 * posix/bug-regex31.c: Include <stdlib.h>.
74194 * nscd/hstcache.c (cache_addhst): Remove unused variable.
74196 * nis/nss_compat/compat-spwd.c
74197 (getspent_next_nss_netgr): Remove unused variable.
74198 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74200 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74201 nonmembers" output to use the right array.
74203 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74205 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74207 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74208 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74209 * catgets/gencat.c (read_input_file): Likewise.
74210 * locale/programs/locarchive.c (enlarge_archive): Likewise.
74212 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74213 variable definition inside #if's controlling its use.
74215 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74217 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74219 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74221 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74224 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74226 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74227 * configure: Regenerated.
74229 * Makerules: Revert last change.
74230 * elf/Makefile: Likewise.
74232 2011-06-09 Roland McGrath <roland@hack.frob.com>
74234 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74235 * elf/Makefile ($(objpfx)librtld.os): Likewise.
74236 (reloc-link): Likewise.
74238 2011-06-09 Ulrich Drepper <drepper@gmail.com>
74240 * elf/Makefile: Add rules to build pldd.
74241 * elf/pldd.c: New file.
74242 * elf/pldd-xx.c: New file.
74244 2011-06-07 Ulrich Drepper <drepper@gmail.com>
74246 * version.h: Update for 2.15 development version.
74248 2011-06-07 David S. Miller <davem@davemloft.net>
74250 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74252 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74253 elf_machine_lazy_rel): Likewise.
74254 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74256 elf_machine_lazy_rel): Likewise.
74257 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74258 dl_hwcap via passed in argument.
74259 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74262 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74264 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
74266 2011-06-06 Roland McGrath <roland@hack.frob.com>
74269 * manual/fdl-1.1.texi: New file, verbatim from:
74270 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74271 * manual/lgpl-2.1.texi: New file, verbatim from:
74272 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74273 * manual/Makefile (licenses): New variable, list those new file names.
74275 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74277 * manual/fdl.texi: File removed.
74278 * manual/lesser.texi: File removed.
74279 * manual/libc.texinfo (Copying, Documentation License):
74280 Use new @include file names, put @appendix directive before @include.
74282 2011-06-04 Jakub Jelinek <jakub@redhat.com>
74285 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74286 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74287 (mq_open): Add __NTH.
74289 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
74291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74292 Assume Intel Core i3/i5/i7 processor if AVX is available.
74294 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74299 2011-05-31 Andreas Schwab <schwab@redhat.com>
74301 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74302 memory. Use alloca_account. Fix memory leak when retrying.
74304 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74306 * version.h (RELEASE): Bump for 2.14 release.
74307 * include/features.h (__GLIBC_MINOR__): Bump to 14.
74309 * config.make.in (RANLIB): Remove entry.
74311 2011-05-30 Ulrich Drepper <drepper@gmail.com>
74313 * po/Makefile (po-sed-cmd): Add ksh to extensions.
74314 (libc.pot): Work around missing support for .ksh extension in xgettext.
74317 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74318 if both request failed.
74319 (send_dg): In case of server errors clear resplen or *resplen2.
74322 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74323 when there are multiple maps.
74324 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74325 (_dl_fini): Remove test here.
74327 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74329 2011-05-29 Ulrich Drepper <drepper@gmail.com>
74332 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74333 bit from old_res_options.
74334 (gaih_inet): Likewise.
74337 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74340 * resolv/res_init.c (res_setoptions): Make the code more compact.
74343 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74347 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74349 * malloc/malloc.h: Mark malloc hook variables as deprecated.
74352 * malloc/malloc.h: Declare malloc hook variables as volatile.
74354 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74358 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74359 raise in the comment.
74360 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74361 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74362 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74364 2011-05-28 Ulrich Drepper <drepper@gmail.com>
74367 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74368 grow the buffers more if it already has to be sufficient.
74369 (build_wcs_upper_buffer): Likewise.
74370 * posix/regexec.c (check_matching): Likewise.
74371 (clean_state_log_if_needed): Likewise.
74372 (extend_buffers): Don't enlarge buffers beyond size of the input
74374 Patches mostly by Emil Wojak <emil@wojak.eu>.
74375 * posix/bug-regex32.c: New file.
74376 * posix/Makefile (tests): Add bug-regex32.
74378 * locale/findlocale.c (_nl_find_locale): Return right away if
74379 _nl_explode_name failed.
74380 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74382 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74384 * debug/xtrace.sh: Unify messages.
74385 * malloc/memusage.sh: Likewise.
74388 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74389 time symbol from vDSO. Substitute with vsyscall if not available.
74390 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74393 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74394 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74395 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74396 Add sendmmsg and internal_sendmmsg.
74397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74398 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74399 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74401 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74402 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74405 2011-05-27 Ulrich Drepper <drepper@gmail.com>
74408 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74409 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
74411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74415 * iconvdata/Makefile (tests): Add bug-iconv9.
74416 * iconvdata/bug-iconv9.c: New file.
74418 2011-05-27 Andreas Schwab <schwab@redhat.com>
74421 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74423 2011-05-25 Jakub Jelinek <jakub@redhat.com>
74425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74426 (struct user_regs_struct): Change intcs field back to cs.
74428 2011-05-25 Ulrich Drepper <drepper@gmail.com>
74430 * po/ja.po: Update from translation team.
74432 2011-05-23 Ulrich Drepper <drepper@gmail.com>
74435 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74436 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74438 2011-05-20 Andreas Schwab <schwab@redhat.com>
74440 * stdlib/longlong.h: Update from GCC.
74442 2011-05-23 Andreas Schwab <schwab@redhat.com>
74444 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74446 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74447 Add parameter name.
74448 (__sysconf): Pass it down.
74450 2011-05-22 Ulrich Drepper <drepper@gmail.com>
74453 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74456 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74457 add in in __libc_use_alloca calls. Adjust callers.
74458 (glob): Use malloc in some situations.
74460 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74461 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74464 2011-05-21 Ulrich Drepper <drepper@gmail.com>
74466 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74467 and CLOCK_BOOTTIME_ALARM.
74470 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74473 * string/_strerror.c (__strerror_r): Print negative errors as signed
74477 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74478 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74479 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74481 * configure.in: Fix typo in redirection and correct removal of test
74482 files in two cases.
74485 * locale/setlocale.c (new_composite_name): Fix test to check for
74486 identical name of all categories.
74489 * libio/filedoalloc.c (local_isatty): New function.
74490 (_IO_file_doallocate): Use local_isatty.
74491 * stdio-common/perror.c (perror): In case a new stream is used
74492 forward the stream error.
74493 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74496 2011-05-20 Ulrich Drepper <drepper@gmail.com>
74499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74501 * include/alloca.h (extend_alloca_account): Define.
74504 * posix/regex.h: Fix comments with documentation of user-accessible
74505 fields after compilation and describe correct free'ing of pattern
74506 after re_compile_pattern.
74507 Patch by Reuben Thomas <rrt@sc3d.org>.
74509 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
74511 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74512 and -mno-altivec to prevent the compiler from using Altivec and/or
74513 VSX instructions when the corresponding registers are not available.
74515 2011-05-19 Andreas Schwab <schwab@redhat.com>
74517 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74519 2011-05-19 Ulrich Drepper <drepper@gmail.com>
74521 * libio/freopen.c (freopen): Use __dup2, not dup2.
74522 * libio/freopen64.c (freopen64): Likewise.
74524 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
74527 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74528 * math/Makefile (tests): Add test-powl.
74529 (CFLAGS-test-powl.c): Define.
74530 * math/test-powl.c: New file.
74532 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
74534 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74536 2011-05-17 Ulrich Drepper <drepper@gmail.com>
74539 * iconvdata/gb18030.c: Update to GB18020-2005.
74541 2011-05-16 Ulrich Drepper <drepper@gmail.com>
74543 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74544 RE_SYNTAX_POSIX_AWK): Update to match recent development.
74545 Patch by Aharon Robbins <arnold@skeeve.com>.
74548 * stdlib/putenv.c (putenv): Don't always create copy of the variable
74552 * misc/pselect.c (__pselect): Handle timeout value errors hidden
74553 through underflows.
74556 * misc/error.c (error_at_line): Ensure file_name and old_file_name
74557 point to strings before performing equality test for error_one_per_line
74561 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74564 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74565 (struct user_fpregs_struct): Avoid __uint*_t types.
74568 * malloc/mtrace.c (tr_where): Add additional parameter to point to
74569 symbol info. Use it instead of calling _dl_addr locally.
74570 (lock_and_info): New function.
74571 (tr_freehook): Call lock_and_info and pass symbol info as additional
74572 parameter to tr_where.
74573 (tr_mallochook): Likewise.
74574 (tr_reallochook): Likewise.
74575 (tr_memalignhook): Likewise.
74577 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
74578 used and couldn't be at all thread-safe.
74580 2011-05-15 Ulrich Drepper <drepper@gmail.com>
74582 * libio/freopen.c (freopen): Don't close old file descriptor
74583 before the new one is opened. Instead dup the new file descriptor
74584 to the old one after the new stream is created.
74585 * libio/freopen64.c (freopen64): Likewise.
74586 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74587 * libio/fileops.c (_IO_new_file_close_it): Handle new
74588 _IO_FLAGS2_NOCLOSE flag.
74589 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74590 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74591 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74592 _IO_FLAGS2_NOCLOSE flag.
74593 * include/unistd.h: Add hidden_proto for dup3.
74594 Define __have_dup3.
74595 * io/dup3.c: Define hidden symbol.
74596 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74599 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74600 when an incomplete long option is used.
74601 * posix/tst-getopt_long1.c: New file.
74602 * posix/Makefile (tests): Add tst-getopt_long1.
74605 * scripts/config.guess: Update from autoconf-2.68.
74606 * scripts/config.sub: Likewise.
74609 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74611 (has_cpuclock): ...this. New function.
74612 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74613 macro here based on has_cpuclock code.
74616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74617 First byte (not low byte) is now always NUL.
74618 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74620 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74621 Use non-cancelable interfaces.
74624 * locale/iso-639.def: Add entry for Sorani.
74627 * include/stdlib.h: Move include protection to the right place.
74628 Define abort_msg_s. Declare __abort_msg with it.
74629 * stdlib/abort.c (__abort_msg): Adjust type.
74630 * assert/assert.c (__assert_fail_base): New function. Majority
74631 of code from __assert_fail. Allocate memory for __abort_msg with
74633 (__assert_fail): Now call __assert_fail_base.
74634 * assert/assert-perr.c: Remove bulk of implementation. Use
74635 __assert_fail_base.
74636 * include/assert.hL Declare __assert_fail_base.
74637 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74639 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74641 2011-05-14 Ulrich Drepper <drepper@gmail.com>
74645 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74646 until all modules are registered in the DTV.
74647 * elf/Makefile: Add rules to build and run tst-tls19.
74648 * elf/tst-tls19.c: New file.
74649 * elf/tst-tls19mod1.c: New file.
74650 * elf/tst-tls19mod2.c: New file.
74651 * elf/tst-tls19mod3.c: New file.
74652 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74655 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74659 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74660 two-byte sequence errors.
74661 * iconvdata/Makefile (tests): Add bug-iconv8.
74662 * iconvdata/bug-iconv8.c: New file.
74665 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74668 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74671 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74672 (dummy_getcfa): New function.
74673 (init): Get _Unwind_GetCFA address, use dummy if not found.
74674 (backtrace_helper): In recursion check, also check whether CFA changes.
74675 (__backtrace): Completely initialize arg.
74677 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74678 storing incomplete byte sequence in state object. Avoid testing for
74679 guaranteed too small input if we know there is enough data available.
74681 2011-05-11 Andreas Schwab <schwab@redhat.com>
74683 * Makeconfig (+link-pie): Indent.
74684 * Rules (binaries-pie): Define if $(have-fpie) and
74686 (binaries-shared): Also filter out $(binaries-pie).
74687 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74688 * nscd/Makefile (others-pie): Add nscd.
74689 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74690 ($(objpfx)nscd): Remove command override.
74691 * login/Makefile (others-pie): Add pt_chown.
74692 ($(objpfx)pt_chown): Remove command override.
74693 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74694 remove command overrides.
74696 2011-05-13 Ulrich Drepper <drepper@gmail.com>
74698 * libio/tst_putwc.c: Fix error messages.
74701 * libio/fileops.c (_IO_new_file_close_it): Always flush when
74702 currently writing and seek to current position when not.
74703 * libio/Makefile (tests): Add bug-fclose1.
74704 * libio/bug-fclose1.c: New file.
74706 2011-05-12 Ulrich Drepper <drepper@gmail.com>
74709 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74710 don't set DF_1_NODELETE here.
74711 (do_lookup_x): When entering new entry test for copy relocation
74712 and if necessary set DF_1_NODELETE flag.
74713 * elf/tst-unique4.cc: New file.
74714 * elf/tst-unique4.h: New file.
74715 * elf/tst-unique4lib.cc: New file.
74716 * elf/Makefile: Add rules to build and run tst-unique4.
74717 Patch by Piotr Bury <pbury@goahead.com>.
74719 2011-05-11 Ulrich Drepper <drepper@gmail.com>
74722 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74725 * misc/mntent_r.c (addmntent): Flush the stream after the output
74728 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74729 (is_trusted_path_normalize): Skip initial colon. Append slash
74730 to empty buffer. Duplicate is_trusted_path code but allow
74731 constructed patch to be prefix.
74732 (is_dst): Allow $ORIGIN followed by /.
74733 (_dl_dst_substitute): Correct clearing of check_for_trusted.
74734 Correct testing of result of is_trusted_path_normalize
74735 (decompose_rpath): Fix warning.
74737 2011-05-10 Ulrich Drepper <drepper@gmail.com>
74740 * grp/initgroups.c (internal_getgrouplist): When we found the service
74741 list through the initgroups entry in nsswitch.conf do not always
74742 continue on a successful lookup. Don't always use the
74743 __nss_group_database value if it is set.
74744 * nss/nsswitch.conf (initgroups): Change action for successful db
74745 lookup to continue for compatibility.
74747 2011-05-09 Ulrich Drepper <drepper@gmail.com>
74750 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74752 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74754 * iconvdata/tst-tables.sh: Likewise.
74755 * iconvdata/cp770.c: New file.
74756 * iconvdata/cp771.c: New file.
74757 * iconvdata/cp772.c: New file.
74758 * iconvdata/cp773.c: New file.
74759 * iconvdata/cp774.c: New file.
74760 * iconvdata/testdata/CP770: New file.
74761 * iconvdata/testdata/CP770..UTF8: New file.
74762 * iconvdata/testdata/CP771: New file.
74763 * iconvdata/testdata/CP771..UTF8: New file.
74764 * iconvdata/testdata/CP772: New file.
74765 * iconvdata/testdata/CP772..UTF8: New file.
74766 * iconvdata/testdata/CP773: New file.
74767 * iconvdata/testdata/CP773..UTF8: New file.
74768 * iconvdata/testdata/CP774: New file.
74769 * iconvdata/testdata/CP774..UTF8: New file.
74771 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74773 * iconvdata/gen-8bit-gap.sh: Likewise.
74774 * iconvdata/gen-8bit.sh: Likewise.
74776 * locale/iso-639.def: Add ary entry.
74779 * locale/C-translit.h.in: Add U20A1 transliteration.
74782 * locale/iso-639.def: Add wae entry.
74783 Patch by Kevin Bortis <bortis@translate-wae.ch>.
74786 * locale/programs/localedef.c (construct_output_path): Use ssize_t
74790 * locale/C-translit.h.in: Add entry for U20B9.
74791 Patch by pravin.d.s@gmail.com.
74793 2011-05-08 Ulrich Drepper <drepper@gmail.com>
74796 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74797 ENAMETOOLONG use generic getcwd.
74798 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
74799 in rtld. Use *stat64.
74800 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74801 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74802 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74803 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74804 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74805 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74806 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74807 __fstatat64 macros.
74808 * include/dirent.h: Add libc_hidden_proto for rewinddir.
74809 * dirent/rewinddir.c: Add libc_hidden_def.
74810 * sysdeps/mach/hurd/rewinddir.c: Likewise.
74811 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
74813 * include/dirent.h (__alloc_dir): Add flags parameter.
74814 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74815 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74817 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
74818 from fdopendir if O_CLOEXEC is already set.
74820 2011-03-15 Alan Modra <amodra@gmail.com>
74822 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74823 l_tls_firstbyte_offset non-zero. Save padding offset in
74824 l_tls_firstbyte_offset for later use.
74825 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74826 freeing static tls block.
74828 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
74830 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74831 where #ifdef was intended. The intent is to prevent ARG_MAX from
74832 being defined by the kernel headers.
74834 2011-05-07 Ulrich Drepper <drepper@gmail.com>
74837 * resolv/resolv.h: Define RES_NOTLDQUERY.
74838 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74839 no-tld-query and set RES_NOTLDQUERY.
74840 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74841 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74842 modern BIND to search name as TLD unless forbidden.
74844 2011-05-07 Petr Baudis <pasky@suse.cz>
74845 Ulrich Drepper <drepper@gmail.com>
74848 * elf/dl-load.c (fillin_rpath): Move trusted path check...
74849 (is_trusted_path): ...to here.
74850 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74851 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74852 using is_trusted_path_normalize() in setuid scripts.
74854 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74856 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74857 __BEGIN/__END_DECLS.
74859 2011-05-06 Ulrich Drepper <drepper@gmail.com>
74861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74862 NSS_STATUS_NOTFOUND if no record was found.
74864 2011-05-05 Andreas Schwab <schwab@redhat.com>
74866 * sunrpc/Makefile (headers): Add rpc/netdb.h.
74867 (headers-not-in-tirpc): Remove rpc/netdb.h
74868 * resolv/netdb.h: Revert last change.
74870 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
74872 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74873 circular dependency between libgcc.a and libc.a.
74875 2011-05-05 Andreas Schwab <schwab@redhat.com>
74877 * resolv/netdb.h: Don't include <rpc/netdb.h>.
74878 * nis/Makefile: Don't install rpcsvc/*.
74879 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74880 instead of <rpc/types.h>.
74881 (MAXHOSTNAMELEN): Define.
74883 2011-05-03 Andreas Schwab <schwab@redhat.com>
74885 * elf/ldconfig.c (add_dir): Don't crash on empty path.
74887 2011-04-28 Maciej Babinski <mbabinski@google.com>
74890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74891 gethostbyname4_r when IPv6 results are possible.
74893 2011-05-02 Ulrich Drepper <drepper@gmail.com>
74896 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74897 _PC_PIPE_BUF handling.
74899 2011-04-30 Bruno Haible <bruno@clisp.org>
74902 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74903 * resolv/netdb.h (getnameinfo): Change type of flags parameter
74905 * inet/getnameinfo.c (getnameinfo): Likewise.
74907 2011-04-29 Ulrich Drepper <drepper@gmail.com>
74909 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74910 to groups setting in database lookup.
74911 * nss/nsswitch.conf: Add initgroups entry.
74913 2011-04-22 Ulrich Drepper <drepper@gmail.com>
74916 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74918 Patch by Eric Blake <eblake@redhat.com>.
74920 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
74922 * sunrpc/Makefile (need-export-routines): Add svc_run.
74923 (routines): Remove svc_run.
74924 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74925 * sunrpc/clnt_perr.c (clnt_perrno): Export.
74926 * sunrpc/svc_run.c (svc_run): Likewise.
74927 * sunrpc/svc_udp.c (svcudp_create): Likewise.
74929 2011-04-21 Ulrich Drepper <drepper@gmail.com>
74931 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74932 problem in reallocation in last patch.
74934 2011-04-20 Ulrich Drepper <drepper@gmail.com>
74936 * sunrpc/Makefile: Move inclusion of Rules.
74938 2011-04-19 Ulrich Drepper <drepper@gmail.com>
74940 * nss/nss_files/files-initgroups.c: New file.
74941 * nss/Makefile (libnss_files-routines): Add files-initgroups.
74942 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74943 _nss_files_initgroups_dyn.
74945 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
74947 * elf/elf.h (R_ARM_IRELATIVE): Define.
74949 2011-04-19 Ulrich Drepper <drepper@gmail.com>
74951 * po/ru.po: Update from translation team.
74953 2011-04-17 Ulrich Drepper <drepper@gmail.com>
74955 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74958 2011-02-06 Mike Frysinger <vapier@gentoo.org>
74961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74962 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74963 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74964 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74967 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
74969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74971 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74972 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74975 2011-04-17 Ulrich Drepper <drepper@gmail.com>
74978 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74980 * stdlib/bug-getcontext.c: New file.
74981 * stdlib/Makefile: Add rules to build and run bug-getcontext.
74983 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74985 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74986 instructions into .machine "z9-109".
74987 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74988 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74990 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74992 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74993 between environment variables and auxiliary vector.
74995 2011-04-16 Ulrich Drepper <drepper@gmail.com>
74997 * Makefile: Add rules to build linkobj/libc.so.
74998 * include/libc-symbols.h: Define libc_hidden_nolink.
74999 * include/rpc/auth.h: Mark functions which are to be hidden.
75000 * include/rpc/auth_des.h: Likewise.
75001 * include/rpc/auth_unix.h: Likewise.
75002 * include/rpc/clnt.h: Likewise.
75003 * include/rpc/des_crypt.h: Likewise.
75004 * include/rpc/key_prot.h: Likewise.
75005 * include/rpc/pmap_clnt.h: Likewise.
75006 * include/rpc/pmap_prot.h: Likewise.
75007 * include/rpc/pmap_rmt.h: Likewise.
75008 * include/rpc/rpc_msg.h: Likewise.
75009 * include/rpc/svc.h: Likewise.
75010 * include/rpc/svc_auth.h: Likewise.
75011 * include/rpc/xdr.h: Likewise.
75012 * nis/Makefile: Link all DSOs against linkobj/libc.so.
75013 * nss/Makefile: Likewise.
75014 * sunrpc/Makefile: Don't install headers. Build library with normal
75015 entry points. Don't build rpcinfo. Link RPC tests appropriately.
75016 * sunrpc/auth_des.c: Hide exported symbols by default, export some
75017 for the compat linking library. Remove use of INTDEF/INTUSE.
75018 * sunrpc/auth_none.c: Likewise.
75019 * sunrpc/auth_unix.c: Likewise.
75020 * sunrpc/authdes_prot.c: Likewise.
75021 * sunrpc/authuxprot.c: Likewise.
75022 * sunrpc/clnt_gen.c: Likewise.
75023 * sunrpc/clnt_perr.c: Likewise.
75024 * sunrpc/clnt_raw.c: Likewise.
75025 * sunrpc/clnt_simp.c: Likewise.
75026 * sunrpc/clnt_tcp.c: Likewise.
75027 * sunrpc/clnt_udp.c: Likewise.
75028 * sunrpc/clnt_unix.c: Likewise.
75029 * sunrpc/des_crypt.c: Likewise.
75030 * sunrpc/des_soft.c: Likewise.
75031 * sunrpc/get_myaddr.c: Likewise.
75032 * sunrpc/key_call.c: Likewise.
75033 * sunrpc/key_prot.c: Likewise.
75034 * sunrpc/netname.c: Likewise.
75035 * sunrpc/pm_getmaps.c: Likewise.
75036 * sunrpc/pm_getport.c: Likewise.
75037 * sunrpc/pmap_clnt.c: Likewise.
75038 * sunrpc/pmap_prot.c: Likewise.
75039 * sunrpc/pmap_prot2.c: Likewise.
75040 * sunrpc/pmap_rmt.c: Likewise.
75041 * sunrpc/publickey.c: Likewise.
75042 * sunrpc/rpc_cmsg.c: Likewise.
75043 * sunrpc/rpc_common.c: Likewise.
75044 * sunrpc/rpc_dtable.c: Likewise.
75045 * sunrpc/rpc_prot.c: Likewise.
75046 * sunrpc/rpc_thread.c: Likewise.
75047 * sunrpc/rtime.c: Likewise.
75048 * sunrpc/svc.c: Likewise.
75049 * sunrpc/svc_auth.c: Likewise.
75050 * sunrpc/svc_authux.c: Likewise.
75051 * sunrpc/svc_raw.c: Likewise.
75052 * sunrpc/svc_run.c: Likewise.
75053 * sunrpc/svc_simple.c: Likewise.
75054 * sunrpc/svc_tcp.c: Likewise.
75055 * sunrpc/svc_udp.c: Likewise.
75056 * sunrpc/svc_unix.c: Likewise.
75057 * sunrpc/svcauth_des.c: Likewise.
75058 * sunrpc/xcrypt.c: Likewise.
75059 * sunrpc/xdr.c: Likewise.
75060 * sunrpc/xdr_array.c: Likewise.
75061 * sunrpc/xdr_float.c: Likewise.
75062 * sunrpc/xdr_intXX_t.c: Likewise.
75063 * sunrpc/xdr_mem.c: Likewise.
75064 * sunrpc/xdr_rec.c: Likewise.
75065 * sunrpc/xdr_ref.c: Likewise.
75066 * sunrpc/xdr_sizeof.c: Likewise.
75067 * sunrpc/xdr_stdio.c: Likewise.
75069 2011-04-10 Ulrich Drepper <drepper@gmail.com>
75072 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75073 * sysdeps/ia64/dl-tls.h: Likewise.
75074 * sysdeps/powerpc/dl-tls.h: Likewise.
75075 * sysdeps/s390/dl-tls.h: Likewise.
75076 * sysdeps/sh/dl-tls.h: Likewise.
75077 * sysdeps/sparc/dl-tls.h: Likewise.
75078 * sysdeps/x86_64/dl-tls.h: Likewise.
75079 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75081 2011-03-14 Andreas Schwab <schwab@redhat.com>
75083 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75084 rpath element also skip the following colon.
75085 (expand_dynamic_string_token): Add is_path parameter and pass
75086 down to DL_DST_REQUIRED and _dl_dst_substitute.
75087 (decompose_rpath): Call expand_dynamic_string_token with
75088 non-zero is_path. Ignore empty rpaths.
75089 (_dl_map_object_from_fd): Call expand_dynamic_string_token
75092 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
75094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75097 2011-04-09 Ulrich Drepper <drepper@gmail.com>
75100 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75101 Patch by Filipe David Manana <fdmanana@apache.org>.
75103 2011-04-07 Andreas Schwab <schwab@redhat.com>
75105 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75106 Maintain aligned stack.
75107 (CHECK_RSP): Remove unused macro.
75109 2011-04-03 Ulrich Drepper <drepper@gmail.com>
75111 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75112 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75114 2011-04-02 Ulrich Drepper <drepper@gmail.com>
75116 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75118 * include/features.h: Mention __USE_XOPEN2K8 in comment.
75120 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
75123 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75124 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75125 * sysdeps/x86_64/memmove.c: New file.
75126 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75127 (memcpy): Renamed to ...
75128 (__new_memcpy): This.
75129 (memcpy): Provide GLIBC_2_14 memcpy.
75130 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75131 (memcpy): Provide GLIBC_2_2_5 memcpy.
75133 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75136 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75138 2011-03-30 Andreas Schwab <schwab@redhat.com>
75140 * misc/syncfs.c: New file.
75141 * misc/Makefile (routines): Add syncfs.
75142 * posix/unistd.h: Declare syncfs.
75143 * sysdeps/unix/syscalls.list: Add syncfs.
75145 2011-04-01 Andreas Schwab <schwab@redhat.com>
75147 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75154 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75157 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75161 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75167 * io/Makefile: Compile fallocate.c, fallocate64.c, and
75168 sync_file_range.c with -fexceptions.
75169 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75170 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75171 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75172 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75173 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75174 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75176 sync_file_range as cancellation point
75177 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
75178 now a wrapper around __call_sync_file_range with cancellation handling.
75179 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75180 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
75181 function name to __call_sync_file_range.
75182 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75183 Add call_sync_file_range.
75185 2011-04-01 Andreas Schwab <schwab@redhat.com>
75187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75190 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75192 * iconv/iconv.h: Fix typo in comment.
75193 * io/fcntl.h: Likewise.
75194 * libio/stdio.h: Likewise.
75195 * posix/spawn.h: Likewise.
75196 * posix/unistd.h: Likewise.
75197 * stdlib/stdlib.h: Likewise.
75198 * time/time.h: Likewise.
75199 * wcsmbs/wchar.h: Likewise.
75201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75202 open_by_handle): Add.
75203 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75204 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
75205 Augment a few comments.
75206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75211 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75214 * io/fcntl.h (AT_EMPTY_PATH): Define.
75216 2011-03-30 Ulrich Drepper <drepper@gmail.com>
75218 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75219 * sysdeps/unix/sysv/linux/bits/time.h: New file.
75220 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75222 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
75223 * Versions.def: Add GLIBC_2.14.
75224 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75227 2011-03-22 Ulrich Drepper <drepper@gmail.com>
75229 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75231 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75233 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
75236 * string/test-strncmp.c (do_page_test): New function.
75237 (check2): Likewise.
75238 (test_main): Call check2.
75239 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75241 2011-03-20 Ulrich Drepper <drepper@gmail.com>
75244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75245 Handle cache information in CPU leaf 4.
75246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75248 2011-03-18 Ulrich Drepper <drepper@gmail.com>
75251 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75252 character representation.
75253 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75255 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
75257 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75258 END(__isnan) to END(__isnanf) to match function entry point/label
75259 EALIGN(__isnanf,...).
75261 2011-03-10 Jakub Jelinek <jakub@redhat.com>
75263 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75265 2011-03-10 Ulrich Drepper <drepper@gmail.com>
75268 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75269 copy from the symbol referenced in the relocation to initialize the
75271 Patch by Piotr Bury <pbury@goahead.com>.
75272 * elf/Makefile: Add rules to build and tst-unique3.
75273 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75274 * elf/tst-unique3.cc: New file.
75275 * elf/tst-unique3.h: New file.
75276 * elf/tst-unique3lib.cc: New file.
75277 * elf/tst-unique3lib2.cc: New file.
75279 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75281 2011-03-10 Mike Frysinger <vapier@gentoo.org>
75283 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75284 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
75287 2011-03-06 Ulrich Drepper <drepper@gmail.com>
75289 * elf/dl-load.c (_dl_map_object): If we are looking for the first
75290 to-be-loaded object along a path to loader is ld.so.
75292 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75293 Ulrich Drepper <drepper@gmail.com>
75295 * sysdeps/x86_64/memset.S: After aligning destination, code
75296 branches to different locations depending on the value of
75297 misalignment, when multiarch is enabled. Fix this.
75299 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75301 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75302 Set _x86_64_preferred_memory_instruction for AMD processsors.
75303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75304 Set bit_Prefer_SSE_for_memop for AMD processors.
75306 2011-03-04 Ulrich Drepper <drepper@gmail.com>
75308 * libio/fmemopen.c (fmemopen): Optimize a bit.
75310 2011-03-03 Andreas Schwab <schwab@redhat.com>
75312 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75314 2011-03-03 Roland McGrath <roland@redhat.com>
75316 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75318 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
75320 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75321 __bzero_ultra1 instead of __memset_ultra1.
75323 2011-02-23 Andreas Schwab <schwab@redhat.com>
75324 Ulrich Drepper <drepper@gmail.com>
75327 * include/link.h (struct link_map): Add l_orig_initfini.
75328 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75329 returning unsuccessfully.
75330 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75331 close of a file loaded at startup, restore the original l_initfini
75333 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75334 list, store the pointer.
75335 * elf/Makefile ($(objpfx)noload-mem): New rule.
75336 (noload-ENV): Define.
75337 (tests): Add $(objpfx)noload-mem.
75338 * elf/noload.c: Include <memcheck.h>.
75339 (main): Call mtrace. Close all opened handles.
75341 2011-02-17 Andreas Schwab <schwab@redhat.com>
75344 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75345 dependencies are missing.
75347 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
75349 Fix __if_freereq crash: Unlike the generic version which uses free,
75351 * sysdeps/mach/hurd/ifreq.h: New file.
75353 2011-01-27 Petr Baudis <pasky@suse.cz>
75354 Ulrich Drepper <drepper@gmail.com>
75357 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75358 to extend_alloca().
75359 * stdio-common/bug23.c: New file.
75360 * stdio-common/Makefile (tests): Add bug23.
75362 2010-09-28 Andreas Schwab <schwab@redhat.com>
75363 Ulrich Drepper <drepper@gmail.com>
75366 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75367 before performing relro protection. At old place add assertion
75368 to make sure nothing changed.
75370 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
75371 Glauber de Oliveira Costa <glommer@gmail.com>
75373 * elf/elf.h: Add new ARM TLS relocs.
75375 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
75377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75378 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75380 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
75382 * sysdeps/wordsize-64/tst-writev.c: New file.
75384 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
75386 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75387 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75388 insns in _dl_start to prevent a TOC reference before relocs are
75391 2011-02-15 Ulrich Drepper <drepper@gmail.com>
75394 * Makeconfig: Remove RANLIB definition.
75395 * Makerules: Don't use RANLIB.
75396 * aclocal.m4: Remove ranlib test.
75397 * configure.in: No need to check for ranlib.
75398 * elf/rtld-Rules: Don't use RANLIB.
75400 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
75402 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75404 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75405 inclusion protection macro.
75407 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75408 SIGRTMIN and SIGRTMAX and print information in that case only when
75409 SIGRTMIN is defined.
75411 2011-02-11 Jakub Jelinek <jakub@redhat.com>
75413 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75414 arginfo fn returning -1.
75416 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75417 and thousands string is zero terminated.
75419 2011-02-03 Andreas Schwab <schwab@redhat.com>
75421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75422 sysdeps/unix/sysv/linux/bits/socket.h.
75424 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
75426 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75427 (__CPU_COUNT): Remove old macros.
75428 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75429 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75430 (__CPU_ALLOC, __CPU_FREE): Add macros.
75431 (__sched_cpualloc, __sched_cpufree): Add declarations.
75433 2011-02-05 Ulrich Drepper <drepper@gmail.com>
75435 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75436 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75437 * nscd/aicache.c (addhstaiX): Return timeout of added value.
75438 (readdhstai): Return value of addhstaiX call.
75439 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75440 (addgrbyX): Return value returned by cache_addgr.
75441 (readdgrbyname): Return value returned by addgrbyX.
75442 (readdgrbygid): Likewise.
75443 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75444 (addpwbyX): Return value returned by cache_addpw.
75445 (readdpwbyname): Return value returned by addhstbyX.
75446 (readdpwbyuid): Likewise.
75447 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75448 (addservbyX): Return value returned by cache_addserv.
75449 (readdservbyname): Return value returned by addservbyX:
75450 (readdservbyport): Likewise.
75451 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75452 (addhstbyX): Return value returned by cache_addhst.
75453 (readdhstbyname): Return value returned by addhstbyX.
75454 (readdhstbyaddr): Likewise.
75455 (readdhstbynamev6): Likewise.
75456 (readdhstbyaddrv6): Likewise.
75457 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75458 (readdinitgroups): Return value returned by addinitgroupsX.
75459 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75460 (prune_cache): Keep track of timeout value of re-added entries.
75461 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75462 * nscd/nscd.h: Adjust prototypes of readd* functions.
75464 2011-02-04 Roland McGrath <roland@redhat.com>
75466 * nis/nis_server.c (nis_servstate): Use the right name for 0.
75467 (nis_stats): Likewise.
75468 * nis/nis_modify.c (nis_modify): Likewise.
75469 * nis/nis_remove.c (nis_remove): Likewise.
75470 * nis/nis_add.c (nis_add): Likewise.
75472 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75474 * posix/fnmatch_loop.c: Add some consts.
75476 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75478 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
75481 * config.make.in (config-cflags-novzeroupper): Define.
75482 * configure.in: Substitute libc_cv_cc_novzeroupper.
75483 * elf/Makefile (AVX-CFLAGS): Define.
75484 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75485 (CFLAGS-tst-auditmod4a.c): Likewise.
75486 (CFLAGS-tst-auditmod4b.c): Likewise.
75487 (CFLAGS-tst-auditmod6b.c): Likewise.
75488 (CFLAGS-tst-auditmod6c.c): Likewise.
75489 (CFLAGS-tst-auditmod7b.c): Likewise.
75490 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75492 2011-02-02 Ulrich Drepper <drepper@gmail.com>
75494 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75495 function to the callback.
75496 Patch partly by Jiri Olsa <jolsa@redhat.com>.
75498 2011-02-02 Andreas Schwab <schwab@redhat.com>
75500 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75503 2011-01-19 Ulrich Drepper <drepper@gmail.com>
75506 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75508 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75510 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75513 * elf/Makefile: Add rules to build and run new test.
75514 * elf/tst-initorder.c: New file.
75515 * elf/tst-initorder.exp: New file.
75516 * elf/tst-initordera1.c: New file.
75517 * elf/tst-initordera2.c: New file.
75518 * elf/tst-initordera3.c: New file.
75519 * elf/tst-initordera4.c: New file.
75520 * elf/tst-initorderb1.c: New file.
75521 * elf/tst-initorderb2.c: New file.
75522 * elf/tst-order-a1.c: New file.
75523 * elf/tst-order-a2.c: New file.
75524 * elf/tst-order-a3.c: New file.
75525 * elf/tst-order-a4.c: New file.
75526 * elf/tst-order-b1.c: New file.
75527 * elf/tst-order-b2.c: New file.
75528 * elf/tst-order-main.c: New file.
75529 New test case by George Gensure <werkt0@gmail.com>.
75531 2010-10-01 Andreas Schwab <schwab@redhat.com>
75533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75534 decoding ACE if AI_CANONIDN.
75536 2011-01-18 Ulrich Drepper <drepper@gmail.com>
75538 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75540 2011-01-17 Ulrich Drepper <drepper@gmail.com>
75542 * version.h (RELEASE): Bump for 2.13 release.
75543 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75545 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75549 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75550 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75552 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75556 * posix/getconf.c: Update copyright year.
75557 * catgets/gencat.c: Likewise.
75558 * csu/version.c: Likewise.
75559 * debug/catchsegv.sh: Likewise.
75560 * debug/xtrace.sh: Likewise.
75561 * elf/ldconfig.c: Likewise.
75562 * elf/ldd.bash.in: Likewise.
75563 * elf/sprof.c (print_version): Likewise.
75564 * iconv/iconv_prog.c: Likewise.
75565 * iconv/iconvconfig.c: Likewise.
75566 * locale/programs/locale.c: Likewise.
75567 * locale/programs/localedef.c: Likewise.
75568 * malloc/memusage.sh: Likewise.
75569 * malloc/mtrace.pl: Likewise.
75570 * nscd/nscd.c (print_version): Likewise.
75571 * nss/getent.c: Likewise.
75573 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75574 PF_CAIF, and PF_ALG.
75575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75577 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
75579 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75580 (modules-names): Use them.
75581 (ifunc-test-modules, ifunc-pie-tests): Define.
75582 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75583 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75584 (test-extras): Likewise.
75585 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75586 $(compile-command.c).
75587 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75588 (all-built-dso): Define.
75589 (check-textrel.out, check-execstack.out): Depend on it.
75591 * configure.in: Don't override --enable-multi-arch.
75593 2011-01-15 Ulrich Drepper <drepper@gmail.com>
75596 * nscd/hstcache.c (tryagain): Define.
75597 (cache_addhst): Return tryagain not notfound for temporary errors.
75598 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75601 2011-01-14 Ulrich Drepper <drepper@gmail.com>
75604 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75605 to make the syscall.
75606 * sysdeps/unix/sysv/linux/setgroups.c: New file.
75609 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75610 and fall back to matching as normal character if the string ends before
75611 the matching ']' is found. This is what POSIX requires.
75612 * posix/testfnm.c: Adjust test result.
75613 * posix/globtest.sh: Adjust test result. Add new test.
75614 * posix/tst-fnmatch.input: Likewise.
75615 * posix/tst-fnmatch2.c: Add new test.
75617 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
75619 * elf/Makefile (check-execstack): Revert last change. Depend on
75621 (check-execstack.h): New target.
75622 (generated): Add check-execstack.h.
75623 * elf/check-execstack.c: Include "check-execstack.h".
75624 (main): Revert last change.
75625 (handle_file): Return zero if GNU_STACK is absent and
75626 DEFAULT_STACK_PERMS doesn't include PF_X.
75628 2011-01-13 Ulrich Drepper <drepper@gmail.com>
75630 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75631 in child fails because the descriptor is already closed.
75632 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75633 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75634 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75637 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75641 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75642 temporary buffer used to handle multi lookups locally.
75643 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75645 2011-01-12 Ulrich Drepper <drepper@gmail.com>
75647 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75650 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
75652 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75653 alignment for SSE2.
75655 2011-01-12 Ulrich Drepper <drepper@gmail.com>
75658 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75659 characters. When rounding increased number of integer digits recompute
75661 * stdio-common/tst-grouping.c: New file.
75662 * stdio-common/Makefile: Add rules to build and run tst-grouping.
75664 2011-01-09 Ulrich Drepper <drepper@gmail.com>
75666 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75667 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
75669 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75671 * bits/select.h: Likewise.
75673 2011-01-08 Ulrich Drepper <drepper@gmail.com>
75675 * po/ja.po: Update from translation team.
75677 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
75680 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75681 implementation just like for lxstat, fxstatat, et al.
75683 2010-12-27 Jim Meyering <meyering@redhat.com>
75686 * posix/regexec.c (build_trtable): Return failure indication upon
75687 calloc failure. Otherwise, re_search_internal could infloop on OOM.
75689 2010-12-25 Ulrich Drepper <drepper@gmail.com>
75692 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75693 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75694 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75695 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75698 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75701 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75702 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75704 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
75706 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75707 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75708 script has SORT_BY_INIT_PRIORITY.
75709 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75710 NO_CTORS_DTORS_SECTIONS is defined.
75711 * elf/soinit.c: Likewise.
75712 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75713 NO_CTORS_DTORS_SECTIONS is defined.
75714 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75715 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75716 * sysdeps/sh/init-first.c: Likewise.
75717 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75719 2010-12-24 Ulrich Drepper <drepper@gmail.com>
75721 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75722 always use the slow path.
75724 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
75726 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75727 similar rule which adds the sysdep directories to the header search in
75728 order to pick up the correct platform stackinfo.h.
75729 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75730 perform test if it is, otherwise return successfully without testing.
75731 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75732 DEFAULT_STACK_PERMS define in stackinfo.h.
75733 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75734 defined in stackinfo.h.
75735 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75736 DEFAULT_STACK_PERMS defined in stackinfo.h.
75737 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75738 * sysdeps/ia64/stackinfo.h: Likewise.
75739 * sysdeps/s390/stackinfo.h: Likewise.
75740 * sysdeps/sh/stackinfo.h: Likewise.
75741 * sysdeps/sparc/stackinfo.h: Likewise.
75742 * sysdeps/x86_64/stackinfo.h: Likewise.
75743 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75744 PF_X for powerpc64. Retain PF_X for powerpc32.
75746 2010-12-19 Ulrich Drepper <drepper@gmail.com>
75748 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75750 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75751 GETDENTS_64BIT_ALIGNED.
75753 2010-12-14 Ulrich Drepper <dreper@gmail.com>
75755 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75757 2010-12-10 Andreas Schwab <schwab@redhat.com>
75759 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75762 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75763 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75765 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75766 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75768 2010-12-09 Ulrich Drepper <drepper@gmail.com>
75771 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75774 2010-12-09 Jakub Jelinek <jakub@redhat.com>
75776 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75778 2010-12-03 Ulrich Drepper <drepper@gmail.com>
75780 * po/it.po: Update from translation team.
75782 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
75784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75787 2010-11-30 Ulrich Drepper <drepper@gmail.com>
75789 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75791 2010-11-24 Andreas Schwab <schwab@redhat.com>
75793 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75795 (gaih_getanswer_slice): Likewise.
75797 2010-10-20 Jakub Jelinek <jakub@redhat.com>
75799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75801 2010-05-31 Petr Baudis <pasky@suse.cz>
75804 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75805 silently even in the chroot mode.
75807 2010-11-22 Ulrich Drepper <drepper@gmail.com>
75809 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75810 last patch a bit. Pretty printing
75812 2010-05-31 Petr Baudis <pasky@suse.cz>
75815 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75816 initialization of skip_initgroups_dyn.
75818 2010-11-19 Ulrich Drepper <drepper@gmail.com>
75820 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75821 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75823 2010-11-16 Ulrich Drepper <drepper@gmail.com>
75825 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75827 2010-11-11 Andreas Schwab <schwab@redhat.com>
75829 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75830 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75831 (tst-fnmatch-ENV): Set MALLOC_TRACE.
75832 ($(objpfx)tst-fnmatch-mem): New rule.
75833 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75834 * posix/tst-fnmatch.c (main): Call mtrace.
75836 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
75838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75839 Support Intel processor model 6 and model 0x2c.
75841 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
75843 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75846 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
75849 * string/test-strncasecmp.c (check_result): New function.
75850 (do_one_test): Use it.
75851 (check1): New function.
75852 (test_main): Use it.
75853 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75854 Support strcasecmp and strncasecmp.
75856 2010-11-08 Ulrich Drepper <drepper@gmail.com>
75859 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75860 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75862 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
75864 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75868 * sysdeps/x86_64/multiarch/bzero.S: New file.
75869 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75870 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75871 * sysdeps/x86_64/multiarch/memset.S: New file.
75872 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75874 Set bit_Prefer_SSE_for_memop for Intel processors.
75875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75877 (index_Prefer_SSE_for_memop): Define.
75878 (HAS_PREFER_SSE_FOR_MEMOP): Define.
75880 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
75882 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75883 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75885 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
75888 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75889 (__x86_64_raw_data_cache_size_half): Likewise.
75890 (__x86_64_raw_shared_cache_size): Likewise.
75891 (__x86_64_raw_shared_cache_size_half): Likewise.
75893 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75894 (__x86_64_raw_data_cache_size_half): Likewise.
75895 (__x86_64_raw_shared_cache_size): Likewise.
75896 (__x86_64_raw_shared_cache_size_half): Likewise.
75897 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75898 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75899 and __x86_64_raw_shared_cache_size_half. Round
75900 __x86_64_data_cache_size_half, __x86_64_data_cache_size
75901 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75902 to multiple of 256 bytes.
75904 2010-11-03 Ulrich Drepper <drepper@gmail.com>
75907 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75908 of inacessible symlinks. Verify result of symlink before returning it.
75909 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75910 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75912 2010-10-28 Erich Ritz <erichritz@gmail.com>
75914 * math/math.h (isinf): Fix typo in comment.
75916 2010-11-01 Ulrich Drepper <drepper@gmail.com>
75918 * po/da.po: Update from translation team.
75920 2010-10-26 Ulrich Drepper <drepper@gmail.com>
75922 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75923 is added to the list.
75925 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75926 Ulrich Drepper <drepper@gmail.com>
75928 * elf/dl-object.c (_dl_new_object): Don't append the new object to
75929 the global list here. Move code to...
75930 (_dl_add_to_namespace_list): ...here. New function.
75931 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75932 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75933 * elf/dl-load.c (lose): Don't remove the element from the list.
75934 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75935 (_dl_map_object): Likewise.
75937 2010-10-25 Ulrich Drepper <drepper@gmail.com>
75940 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75941 into all bytes of SSE register.
75942 Patch by Richard Li <richardpku@gmail.com>.
75944 2010-10-24 Ulrich Drepper <drepper@gmail.com>
75947 * malloc/malloc.c (_int_free): Fill correct number of bytes when
75950 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
75952 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75953 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75954 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75955 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75960 2010-10-22 Andreas Schwab <schwab@redhat.com>
75962 * include/dlfcn.h (__RTLD_SECURE): Define.
75963 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
75964 mode & __RTLD_SECURE instead.
75965 (open_path): Rename preloaded parameter to secure.
75966 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75967 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75968 * elf/dl-deps.c (openaux): Likewise.
75969 * elf/rtld.c (struct map_args): Remove is_preloaded.
75970 (map_doit): Don't use it.
75971 (dl_main): Likewise.
75972 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75973 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75975 2010-09-09 Andreas Schwab <schwab@redhat.com>
75977 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75978 (sysd-rules-targets): Remove duplicates.
75979 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75980 rtld-%.$o dependency.
75982 2010-10-18 Andreas Schwab <schwab@redhat.com>
75984 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75985 _dl_map_object do it.
75987 2010-10-19 Ulrich Drepper <drepper@gmail.com>
75989 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75990 fast fma builtins, define the macros in the C99 standard.
75991 (FP_FAST_FMAF): Likewise.
75992 (FP_FAST_FMAL): Likewise.
75993 * sysdeps/x86_64/bits/mathdef.h: Likewise.
75995 * bits/mathdef.h: Update copyright year.
75996 * sysdeps/powerpc/bits/mathdef.h: Likewise.
75998 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
76000 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76001 builtins, define the macros in the C99 standard.
76002 (FP_FAST_FMAF): Likewise.
76003 (FP_FAST_FMAL): Likewise.
76004 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76006 (FP_FAST_FMAF): Likewise.
76008 2010-10-15 Jakub Jelinek <jakub@redhat.com>
76011 * math/libm-test.inc (fma_test): Some new testcases.
76012 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76013 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76014 y and infinite z. Do multiplication by C already in long double.
76015 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76017 y and infinite z. Do bitwise or of inexact bit into u.d.
76018 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76019 * sysdeps/i386/fpu/s_fmaf.S: Removed.
76020 * sysdeps/i386/fpu/s_fma.S: Removed.
76021 * sysdeps/i386/fpu/s_fmal.S: Removed.
76023 2010-10-16 Jakub Jelinek <jakub@redhat.com>
76026 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76028 computation is not scheduled after fetestexcept. Fix value
76029 of minimum denormal long double.
76031 2010-10-14 Jakub Jelinek <jakub@redhat.com>
76034 * math/libm-test.inc (fma_test): Add some more tests.
76035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76038 2010-10-15 Andreas Schwab <schwab@redhat.com>
76040 * scripts/data/localplt-s390-linux-gnu.data: New file.
76041 * scripts/data/localplt-s390x-linux-gnu.data: New file.
76043 2010-10-13 Jakub Jelinek <jakub@redhat.com>
76046 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76047 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76049 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76051 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76053 if one of x and y is very large and the other is subnormal.
76054 * sysdeps/s390/fpu/s_fmaf.c: New file.
76055 * sysdeps/s390/fpu/s_fma.c: New file.
76056 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76057 * sysdeps/powerpc/fpu/s_fma.S: New file.
76058 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76059 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76060 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76062 2010-10-12 Jakub Jelinek <jakub@redhat.com>
76065 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76067 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76068 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76069 * sysdeps/i386/i686/multiarch/s_fma.c: Include
76070 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76071 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76072 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76073 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76075 2010-10-12 Ulrich Drepper <drepper@redhat.com>
76078 * posix/regcomp.c (parse_branch): One more memory leak plugged.
76079 * posix/bug-regex31.input: Add test case.
76081 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76083 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76084 * posix/bug-regex31.input: New file.
76087 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76088 (parse_sub_exp): Fix last change, use postorder.
76090 * posix/bug-regex31.c: New file.
76091 * posix/Makefile: Add rules to build and run bug-regex31.
76093 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76096 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76099 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76100 to have entries in sys_siglist.
76103 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76106 2010-10-07 Jakub Jelinek <jakub@redhat.com>
76109 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76110 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76111 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76112 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76113 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76114 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76115 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76116 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76117 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76118 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76119 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76120 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76121 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76122 * math/ftestexcept.c (fetestexcept): Likewise.
76123 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76124 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76125 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76126 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76127 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76128 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76129 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76131 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76134 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76137 2010-10-06 Ulrich Drepper <drepper@gmail.com>
76139 * string/bug-strstr1.c: New file.
76140 * string/Makefile: Add rules to build and run bug-strstr1.
76142 2010-10-05 Eric Blake <eblake@redhat.com>
76145 * string/str-two-way.h (two_way_long_needle): Always clear memory
76146 when skipping input due to the shift table.
76148 2010-10-03 Ulrich Drepper <drepper@gmail.com>
76151 * malloc/mcheck.c: Handle large requests.
76154 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76155 for strncmp and strncasecmp.
76156 * string/stratcliff.c: Add tests for strcmp and strncmp.
76157 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76159 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76161 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76164 2010-09-30 Andreas Jaeger <aj@suse.de>
76166 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76167 (CGROUP_SUPER_MAGIC): Define.
76168 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76169 Handle btrfs and cgroup file systems.
76170 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76173 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
76175 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76176 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76178 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76181 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76182 trying to locate the ELF header.
76184 2010-09-27 Andreas Schwab <schwab@redhat.com>
76187 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76188 Mask out sign-bit copies when constructing f_fsid.
76190 2010-09-24 Petr Baudis <pasky@suse.cz>
76192 * debug/stack_chk_fail_local.c: Add missing licence exception.
76193 * debug/warning-nop.c: Likewise.
76195 2010-09-15 Joseph Myers <joseph@codesourcery.com>
76197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76198 implementing getdents64 using getdents syscall, set d_type if
76199 __ASSUME_GETDENTS32_D_TYPE.
76201 2010-09-16 Andreas Schwab <schwab@redhat.com>
76203 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76204 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76206 2010-09-21 Ulrich Drepper <drepper@redhat.com>
76209 * posix/unistd.h: Undo change of feature selection for ftruncate from
76212 2010-09-20 Ulrich Drepper <drepper@redhat.com>
76214 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76217 2010-09-20 Andreas Schwab <schwab@redhat.com>
76219 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76223 2010-09-14 Andreas Schwab <schwab@redhat.com>
76225 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76226 variables after CHECK_SP call.
76227 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76229 2010-09-13 Andreas Schwab <schwab@redhat.com>
76230 Ulrich Drepper <drepper@redhat.com>
76232 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76233 re-relocationg ld.so.
76234 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76235 _dl_init_paths call.
76236 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
76239 2010-09-14 Ulrich Drepper <drepper@redhat.com>
76241 * resolv/res_init.c (__res_vinit): Count the default server we added.
76243 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
76244 Ulrich Drepper <drepper@redhat.com>
76247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76248 (____longjmp_chk): Use %ebx for saving value across system call.
76251 2010-09-06 Andreas Schwab <schwab@redhat.com>
76253 * manual/Makefile: Don't mix pattern rules with normal rules.
76255 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
76257 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76259 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76260 * libio/iofopncook.c (_IO_cookie_init): Likewise.
76261 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76262 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76266 2010-09-04 Ulrich Drepper <drepper@redhat.com>
76269 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76270 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76272 2010-09-02 Ulrich Drepper <drepper@redhat.com>
76274 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76275 * sysdeps/x86_64/addmul_1.S: Likewise.
76276 * sysdeps/x86_64/lshift.S: Likewise.
76277 * sysdeps/x86_64/mul_1.S: Likewise.
76278 * sysdeps/x86_64/rshift.S: Likewise.
76279 * sysdeps/x86_64/sub_n.S: Likewise.
76280 * sysdeps/x86_64/submul_1.S: Likewise.
76282 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
76284 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76285 Define __sched_param instead of SCHED_* and sched_param when
76286 <bits/sched.h> is included with __need_schedparam defined.
76287 * bits/sched.h [__need_schedparam]
76288 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76289 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76290 (__defined_schedparam): Define to 1.
76291 (__sched_param): New structure, identical to sched_param.
76292 (__need_schedparam): Undefine.
76294 2010-08-31 Mike Frysinger <vapier@gentoo.org>
76296 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76297 (epoll_create1): Declare.
76299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76301 2010-08-31 Andreas Schwab <schwab@redhat.com>
76304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76305 shifting retval into place.
76307 2010-09-01 Ulrich Drepper <drepper@redhat.com>
76309 * nis/rpcsvc/nis.h: Update copyright notice.
76310 * nis/rpcsvc/nis.x: Likewise.
76311 * nis/rpcsvc/nis_callback.h: Likewise.
76312 * nis/rpcsvc/nis_callback.x: Likewise.
76313 * nis/rpcsvc/nis_object.x: Likewise.
76314 * nis/rpcsvc/nis_tags.h: Likewise.
76315 * nis/rpcsvc/yp.h: Likewise.
76316 * nis/rpcsvc/yp.x: Likewise.
76317 * nis/rpcsvc/ypupd.h: Likewise.
76318 * nis/yp_xdr.c: Likewise.
76319 * nis/ypupdate_xdr.c: Likewise.
76321 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
76322 mainly the body of pmap_getport. Add parameters to specify timeouts.
76323 (pmap_getport): Use __libc_rpc_getport.
76324 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76325 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76326 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76328 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
76330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76333 2010-08-27 Roland McGrath <roland@redhat.com>
76335 * sysdeps/i386/i686/multiarch/Makefile
76336 (CFLAGS-varshift.c): New variable.
76338 2010-08-27 Ulrich Drepper <drepper@redhat.com>
76340 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76341 * sysdeps/i386/i686/multiarch/varshift.c: New file.
76343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76345 * sysdeps/x86_64/strlen.S: Minimal code improvement.
76347 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
76349 * sysdeps/x86_64/strlen.S: Unroll the loop.
76350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76351 strlen-sse2 strlen-sse2-bsf.
76352 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76353 __strlen_no_bsf if bit_Slow_BSF is set.
76354 (__strlen_sse42): Removed.
76355 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76356 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76358 2010-08-25 Roland McGrath <roland@redhat.com>
76360 * sysdeps/x86_64/multiarch/varshift.S: File removed.
76361 * sysdeps/x86_64/multiarch/varshift.c: New file.
76362 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76363 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76364 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76365 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76367 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
76369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76370 strlen-sse2 strlen-sse2-bsf.
76371 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76372 __strlen_sse2_bsf if bit_Slow_BSF is unset.
76373 (__strlen_sse2): Removed.
76374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76377 bit_Slow_BSF for Atom.
76378 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76379 (index_Slow_BSF): Define.
76380 (HAS_SLOW_BSF): Define.
76382 2010-08-25 Ulrich Drepper <drepper@redhat.com>
76385 * resolv/res_init.c (__res_vinit): When no server address at all
76386 is given default to loopback.
76388 2010-08-24 Roland McGrath <roland@redhat.com>
76390 * configure.in: Remove config-name.h generation.
76391 * configure: Regenerated.
76392 * config-name.in: File removed.
76393 * scripts/config-uname.sh: New file.
76394 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76395 ($(objdir)config-name.h): New target.
76397 * sunrpc/rpc_parse.h: Avoid nested comment.
76399 2010-08-24 Richard Henderson <rth@redhat.com>
76400 Ulrich Drepper <drepper@redhat.com>
76401 H.J. Lu <hongjiu.lu@intel.com>
76403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76405 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76406 Replace _mm_srli_si128 with __m128i_shift_right. Replace
76407 _mm_alignr_epi8 with _mm_loadu_si128.
76408 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76409 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76410 (__m128i_shift_right): Removed.
76411 * sysdeps/i386/i686/multiarch/varshift.h: New file.
76412 * sysdeps/i386/i686/multiarch/varshift.S: New file.
76413 * sysdeps/x86_64/multiarch/varshift.h: New file.
76414 * sysdeps/x86_64/multiarch/varshift.S: New file.
76416 2010-08-21 Mike Frysinger <vapier@gentoo.org>
76418 * configure.in: Move assembler checks to before sysdep dir checking.
76420 2010-08-20 Petr Baudis <pasky@suse.cz>
76422 * LICENSES: Sync the sunrpc license.
76424 2010-08-19 Ulrich Drepper <drepper@redhat.com>
76426 * sunrpc/auth_des.c: Update copyright notice once again.
76427 * sunrpc/auth_none.c: Likewise.
76428 * sunrpc/auth_unix.c: Likewise.
76429 * sunrpc/authdes_prot.c: Likewise.
76430 * sunrpc/authuxprot.c: Likewise.
76431 * sunrpc/bindrsvprt.c: Likewise.
76432 * sunrpc/clnt_gen.c: Likewise.
76433 * sunrpc/clnt_perr.c: Likewise.
76434 * sunrpc/clnt_raw.c: Likewise.
76435 * sunrpc/clnt_simp.c: Likewise.
76436 * sunrpc/clnt_tcp.c: Likewise.
76437 * sunrpc/clnt_udp.c: Likewise.
76438 * sunrpc/clnt_unix.c: Likewise.
76439 * sunrpc/des_crypt.c: Likewise.
76440 * sunrpc/des_soft.c: Likewise.
76441 * sunrpc/get_myaddr.c: Likewise.
76442 * sunrpc/getrpcport.c: Likewise.
76443 * sunrpc/key_call.c: Likewise.
76444 * sunrpc/key_prot.c: Likewise.
76445 * sunrpc/openchild.c: Likewise.
76446 * sunrpc/pm_getmaps.c: Likewise.
76447 * sunrpc/pm_getport.c: Likewise.
76448 * sunrpc/pmap_clnt.c: Likewise.
76449 * sunrpc/pmap_prot.c: Likewise.
76450 * sunrpc/pmap_prot2.c: Likewise.
76451 * sunrpc/pmap_rmt.c: Likewise.
76452 * sunrpc/rpc/auth.h: Likewise.
76453 * sunrpc/rpc/auth_unix.h: Likewise.
76454 * sunrpc/rpc/clnt.h: Likewise.
76455 * sunrpc/rpc/des_crypt.h: Likewise.
76456 * sunrpc/rpc/key_prot.h: Likewise.
76457 * sunrpc/rpc/netdb.h: Likewise.
76458 * sunrpc/rpc/pmap_clnt.h: Likewise.
76459 * sunrpc/rpc/pmap_prot.h: Likewise.
76460 * sunrpc/rpc/pmap_rmt.h: Likewise.
76461 * sunrpc/rpc/rpc.h: Likewise.
76462 * sunrpc/rpc/rpc_des.h: Likewise.
76463 * sunrpc/rpc/rpc_msg.h: Likewise.
76464 * sunrpc/rpc/svc.h: Likewise.
76465 * sunrpc/rpc/svc_auth.h: Likewise.
76466 * sunrpc/rpc/types.h: Likewise.
76467 * sunrpc/rpc/xdr.h: Likewise.
76468 * sunrpc/rpc_clntout.c: Likewise.
76469 * sunrpc/rpc_cmsg.c: Likewise.
76470 * sunrpc/rpc_common.c: Likewise.
76471 * sunrpc/rpc_cout.c: Likewise.
76472 * sunrpc/rpc_dtable.c: Likewise.
76473 * sunrpc/rpc_hout.c: Likewise.
76474 * sunrpc/rpc_main.c: Likewise.
76475 * sunrpc/rpc_parse.c: Likewise.
76476 * sunrpc/rpc_parse.h: Likewise.
76477 * sunrpc/rpc_prot.c: Likewise.
76478 * sunrpc/rpc_sample.c: Likewise.
76479 * sunrpc/rpc_scan.c: Likewise.
76480 * sunrpc/rpc_scan.h: Likewise.
76481 * sunrpc/rpc_svcout.c: Likewise.
76482 * sunrpc/rpc_tblout.c: Likewise.
76483 * sunrpc/rpc_util.c: Likewise.
76484 * sunrpc/rpc_util.h: Likewise.
76485 * sunrpc/rpcinfo.c: Likewise.
76486 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76487 * sunrpc/rpcsvc/key_prot.x: Likewise.
76488 * sunrpc/rpcsvc/klm_prot.x: Likewise.
76489 * sunrpc/rpcsvc/mount.x: Likewise.
76490 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76491 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76492 * sunrpc/rpcsvc/rex.x: Likewise.
76493 * sunrpc/rpcsvc/rstat.x: Likewise.
76494 * sunrpc/rpcsvc/rusers.x: Likewise.
76495 * sunrpc/rpcsvc/sm_inter.x: Likewise.
76496 * sunrpc/rpcsvc/spray.x: Likewise.
76497 * sunrpc/rpcsvc/yppasswd.x: Likewise.
76498 * sunrpc/rtime.c: Likewise.
76499 * sunrpc/svc.c: Likewise.
76500 * sunrpc/svc_auth.c: Likewise.
76501 * sunrpc/svc_authux.c: Likewise.
76502 * sunrpc/svc_raw.c: Likewise.
76503 * sunrpc/svc_run.c: Likewise.
76504 * sunrpc/svc_simple.c: Likewise.
76505 * sunrpc/svc_tcp.c: Likewise.
76506 * sunrpc/svc_udp.c: Likewise.
76507 * sunrpc/svc_unix.c: Likewise.
76508 * sunrpc/svcauth_des.c: Likewise.
76509 * sunrpc/xcrypt.c: Likewise.
76510 * sunrpc/xdr.c: Likewise.
76511 * sunrpc/xdr_array.c: Likewise.
76512 * sunrpc/xdr_float.c: Likewise.
76513 * sunrpc/xdr_mem.c: Likewise.
76514 * sunrpc/xdr_rec.c: Likewise.
76515 * sunrpc/xdr_ref.c: Likewise.
76516 * sunrpc/xdr_sizeof.c: Likewise.
76517 * sunrpc/xdr_stdio.c: Likewise.
76519 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76522 2010-08-19 Andreas Schwab <schwab@redhat.com>
76524 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76526 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
76528 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76529 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76530 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76531 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76532 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76533 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76534 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76535 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76537 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76538 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76539 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76540 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76541 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76543 2010-07-26 Anton Blanchard <anton@samba.org>
76545 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76546 * malloc/arena.c (heap_trim): Likewise.
76548 2010-08-16 Ulrich Drepper <drepper@redhat.com>
76550 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76553 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76555 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
76557 * sysdeps/i386/elf/Makefile: New file.
76559 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
76561 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76562 from fanotify_init.
76563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76566 2010-08-15 Ulrich Drepper <drepper@redhat.com>
76568 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76570 * sysdeps/multiarch/strcmp.S: Likewise.
76572 2010-08-14 Ulrich Drepper <drepper@redhat.com>
76574 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76575 strncase_l-nonascii.
76576 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76577 Add strncase_l-ssse3.
76578 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76579 * sysdeps/x86_64/strcmp.S: Likewise.
76580 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76581 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76582 * sysdeps/x86_64/strncase.S: New file.
76583 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76584 * sysdeps/x86_64/strncase_l.S: New file.
76585 * string/Makefile (strop-tests): Add strncasecmp.
76586 * string/test-strncasecmp.c: New file.
76588 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76591 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76592 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76594 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
76596 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76598 2010-08-12 Ulrich Drepper <drepper@redhat.com>
76600 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76604 2010-05-01 Alan Modra <amodra@gmail.com>
76606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76607 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76608 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76609 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76610 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76611 tidying. Don't tail-call __sigjmp_save for static lib.
76612 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76614 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76615 (CALL_MCOUNT): Add eh info, and nop after bl.
76616 (TAIL_CALL_SYSCALL_ERROR): New macro.
76617 (PSEUDO_RET): Use it.
76618 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76619 Correct save location of integer regs and cr.
76620 (_dl_profile_resolve): Correct cr save location. Delete nops
76621 after bl when SHARED. Reduce cfi size a little by better
76622 placement of cfi directives.
76623 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76624 make a stack frame. Instead use parm save area as a temp.
76625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76626 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
76627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76628 Don't make a stack frame for parent, use parm save area.
76629 Increase child stack frame to 112 bytes. Don't save unused reg,
76630 and adjust reg usage. Set up cfi on error recovery and
76631 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76633 (__makecontext): Add dummy nop after jump to exit.
76634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76635 Use correct parm save area and cr save, reduce stack frame.
76636 Correct cfi for possible PSEUDO_RET frame setup.
76637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76638 Branch to local label emitted by PSEUDO_RET rather than
76641 2010-08-12 Andreas Schwab <schwab@redhat.com>
76644 * locale/programs/locale.c (print_assignment): New function.
76645 (show_locale_vars): Use it.
76647 2010-08-11 Ulrich Drepper <drepper@redhat.com>
76649 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76651 (struct statfs64): Likewise.
76652 (_STATFS_F_FLAGS): Define.
76653 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76654 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76655 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76656 (ST_VALID): Define locally.
76657 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76658 __statvfs_getflags, use the provided value.
76659 * sysdeps/unix/sysv/linux/kernel-features.h: Define
76660 __ASSUME_STATFS_F_FLAGS.
76662 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76664 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76665 Add sys/fanotify.h.
76666 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76667 fanotify_mask for GLIBC_2.13.
76668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76669 fanotify_init and fanotify_mark.
76670 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76671 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76673 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76675 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76676 prlimit64 for GLIBC_2.13.
76677 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76683 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76684 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
76687 * sysdeps/unix/sysv/linux/prlimit.c: New file.
76690 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76691 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76693 * nss/Makefile: Add rules to build and run tst-nss-test1.
76694 * shlib-versions: Add entry for libnss_test1.
76695 * nss/nss_test1.c: New file.
76696 * nss/tst-nss-test1.c: New file.
76698 * nss/nsswitch.c (__nss_database_custom): Define new variable.
76699 (__nss_configure_lookup): Set appropriate entry in
76700 __nss_configure_lookup to true.
76701 * nss/nsswitch.h: Define enum with indeces of databases in
76702 databases and __nss_database_custom arrays. Declare
76703 __nss_database_custom.
76704 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76705 to avoid using nscd when custom rules are installed.
76706 * nss/getXXbyYY_r.c: Likewise.
76707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76709 * nss/nss_files/files-parse.c: Whitespace fixes.
76711 2010-08-09 Ulrich Drepper <drepper@redhat.com>
76714 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76715 * posix/fnmatch_loop.c: Likewise.
76717 2010-07-17 Andi Kleen <ak@linux.intel.com>
76719 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76720 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76721 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76722 * Versions.def [GLIBC_2.13]: Add.
76724 2010-08-06 Ulrich Drepper <drepper@redhat.com>
76726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76727 Also fail if tpwd after pwuid call is NULL.
76729 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
76731 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76732 when converting to ms.
76734 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
76736 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76737 EOPNOTSUPP errors with ENOTTY.
76738 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76739 EOPNOTSUPP errors with ENOTTY.
76741 2010-07-31 Ulrich Drepper <drepper@redhat.com>
76743 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76744 Add strcasecmp_l-ssse3.
76745 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76747 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76748 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76749 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76751 2010-07-30 Ulrich Drepper <drepper@redhat.com>
76753 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76755 * string/Makefile (strop-tests): Add strcasecmp.
76756 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76757 strcasecmp_l-nonascii.
76758 (gen-as-const-headers): Add locale-defines.sym.
76759 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76760 * sysdeps/x86_64/strcasecmp.S: New file.
76761 * sysdeps/x86_64/strcasecmp_l.S: New file.
76762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76763 * sysdeps/x86_64/locale-defines.sym: New file.
76764 * string/test-strcasecmp.c: New file.
76766 * string/test-strcasestr.c: Test both ends of the range of characters.
76767 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76769 2010-07-29 Roland McGrath <roland@redhat.com>
76772 * manual/locale.texi (Yes-or-No Questions): Fix example code.
76774 2010-07-27 Ulrich Drepper <drepper@redhat.com>
76776 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76779 2010-07-27 Andreas Schwab <schwab@redhat.com>
76781 * manual/memory.texi (Malloc Tunable Parameters): Document
76784 2010-07-26 Roland McGrath <roland@redhat.com>
76787 * configure.in (-fgnu89-inline check): Set and substitute
76788 gnu89_inline, not libc_cv_gnu89_inline.
76789 * configure: Regenerated.
76790 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76792 2010-07-26 Ulrich Drepper <drepper@redhat.com>
76794 * string/test-strnlen.c: New file.
76795 * string/Makefile (strop-tests): Add strnlen.
76796 * string/tester.c (test_strnlen): Add a few more test cases.
76797 * string/tst-strlen.c: Better error reporting.
76799 * sysdeps/x86_64/strnlen.S: New file.
76801 2010-07-24 Ulrich Drepper <drepper@redhat.com>
76803 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76804 lower-latency instructions.
76806 2010-07-23 Ulrich Drepper <drepper@redhat.com>
76808 * string/test-strcasestr.c: New file.
76809 * string/test-strstr.c: New file.
76810 * string/Makefile (strop-tests): Add strstr and strcasestr.
76811 * string/str-two-way.h: Don't undefine MAX.
76812 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76814 2010-07-21 Andreas Schwab <schwab@redhat.com>
76816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76817 strcasestr-nonascii.
76818 (CFLAGS-strcasestr-nonascii.c): Define.
76819 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76820 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76821 Remove unused attribute.
76823 2010-07-20 Roland McGrath <roland@redhat.com>
76825 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76826 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
76827 ld.so.cache was broken. With it, there is no way to disable dsocaps
76828 like LD_HWCAP_MASK can disable hwcaps.
76830 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
76832 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76834 2010-07-16 Ulrich Drepper <drepper@redhat.com>
76836 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76837 call in strcasestr.
76838 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76839 __strcasestr_sse42_nonascii.
76840 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76841 strcasestr-nonascii.c.
76842 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76844 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
76846 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76847 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76848 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76851 2010-07-09 Ulrich Drepper <drepper@redhat.com>
76853 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76856 2010-07-06 Andreas Schwab <schwab@redhat.com>
76859 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76862 2010-07-06 Ulrich Drepper <drepper@redhat.com>
76864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76865 _PC_PIPE_BUF using F_GETPIPE_SZ.
76867 2010-07-05 Roland McGrath <roland@redhat.com>
76869 * manual/arith.texi (Rounding Functions): Fix rint description
76870 implicit in round description.
76872 2010-07-02 Ulrich Drepper <drepper@redhat.com>
76874 * elf/Makefile: Fix linking for a few tests to make recent linker
76877 2010-06-30 Andreas Schwab <schwab@redhat.com>
76879 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76880 $(common-objpfx)libc_nonshared.a.
76882 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
76884 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76885 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76886 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76887 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76888 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76889 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76890 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76891 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76906 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76907 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76908 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76909 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76910 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76911 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76912 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76913 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76914 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76915 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76916 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76917 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76933 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
76935 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76936 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
76937 * string/memmove.c (memmove): Renamed to ...
76938 (MEMMOVE): ...this. Default to memmove.
76939 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76940 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76943 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76944 mempcpy-ssse3-back memmove-ssse3-back.
76945 * sysdeps/x86_64/multiarch/bcopy.S: New file .
76946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76947 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76948 * sysdeps/x86_64/multiarch/memcpy.S: New file.
76949 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76950 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76951 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76952 * sysdeps/x86_64/multiarch/memmove.c: New file.
76953 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76954 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76955 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76956 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76957 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76960 (index_Fast_Copy_Backward): Define.
76961 (HAS_ARCH_FEATURE): Define.
76962 (HAS_FAST_REP_STRING): Define.
76963 (HAS_FAST_COPY_BACKWARD): Define.
76965 2010-06-21 Andreas Schwab <schwab@redhat.com>
76967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76968 Restore proper fallback handling.
76970 2010-06-19 Ulrich Drepper <drepper@redhat.com>
76973 * posix/group_member.c (__group_member): Correct checking loop.
76975 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76976 OOM in getpwuid_r correctly. Return error number when the caller
76977 should return, otherwise -1.
76978 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76979 call returning > 0 value.
76980 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76982 2010-06-07 Andreas Schwab <schwab@redhat.com>
76984 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76985 libc_nonshared.a from targets in modules-names.
76987 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
76989 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76992 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
76994 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76995 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76997 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76999 2010-06-02 Andreas Schwab <schwab@redhat.com>
77001 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77003 2010-06-14 Ulrich Drepper <drepper@redhat.com>
77005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77012 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77014 2010-06-14 Roland McGrath <roland@redhat.com>
77016 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77018 2010-06-07 Jakub Jelinek <jakub@redhat.com>
77020 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77021 __REDIRECT followed by __THROW.
77022 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77023 * posix/getopt.h (getopt): Likewise.
77025 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77027 * hurd/lookup-at.c (__file_name_lookup_at): Accept
77028 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
77029 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77031 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77032 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77034 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
77036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77038 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
77041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77042 Properly check family and model.
77044 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
77046 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77048 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
77050 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77052 2010-05-21 Ulrich Drepper <drepper@redhat.com>
77054 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77057 2010-05-19 Andreas Schwab <schwab@redhat.com>
77059 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77062 2010-05-21 Andreas Schwab <schwab@redhat.com>
77064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77065 and internal_recvmmsg.
77066 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77067 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77068 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77069 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77071 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77072 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77073 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77075 2010-05-20 Andreas Schwab <schwab@redhat.com>
77077 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77079 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
77081 POWER7 optimizations.
77082 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77083 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77085 2010-05-19 Ulrich Drepper <drepper@redhat.com>
77087 * version.h: Update for 2.13 development version.
77089 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
77091 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77092 exceptions. Return 0.
77094 2010-05-07 Roland McGrath <roland@redhat.com>
77096 * elf/ldconfig.c (main): Add a const.
77098 2010-05-06 Ulrich Drepper <drepper@redhat.com>
77100 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77101 (args_options): Add no-idn option.
77102 (ahosts_keys_int): Add idn_flags to ai_flags.
77103 (parse_option): Handle 'i' option to clear idn_flags.
77105 * malloc/malloc.c (_int_free): Possible race in the most recently
77106 added check. Only act on the data if no current modification
77109 See ChangeLog.17 for earlier changes.