1 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3 Port the 0x7efe...feff pattern to GCC 6.
4 See Steve Ellcey's bug report in:
5 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6 * string/memrchr.c (MEMRCHR):
7 * string/rawmemchr.c (RAWMEMCHR):
8 * string/strchr.c (strchr):
9 * string/strchrnul.c (STRCHRNUL):
10 Rewrite code to avoid issues with signed shift overflow.
12 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
14 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15 whether cpuid is available only if HAS_CPUID is 0.
16 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20 2015-08-18 Marko Myllynen <myllynen@redhat.com>
23 * locales/eu_ES: Fix lang_lib.
24 * locales/lb_LU: Likewise.
25 * locales/my_MM: Likewise.
26 * locales/sr_ME: Likewise.
27 * locales/sr_RS: Likewise.
28 * locales/sr_RS@latin: Likewise.
29 * locales/tr_TR: Likewise.
30 * locales/lo_LA: Fix lang_term.
31 * locales/km_KH: Fix lang_ab, lang_term, lang_lib.
33 2015-08-18 Zack Weinberg <zackw@panix.com>
35 * misc/Versions (libc): Add GLIBC_2.23.
37 2015-08-18 Alan Modra <amodra@gmail.com>
40 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
42 (_start): Load %dp via .Lp__global.
43 [!SHARED]: Use .section .rodata.
45 2015-08-18 Mike Frysinger <vapier@gentoo.org>
47 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
48 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
50 2015-08-18 Mike Frysinger <vapier@gentoo.org>
52 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
53 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
55 2015-08-18 Mike Frysinger <vapier@gentoo.org>
57 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
58 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
60 2015-08-18 Mike Frysinger <vapier@gentoo.org>
62 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
63 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
65 2015-08-18 Mike Frysinger <vapier@gentoo.org>
67 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
68 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
70 2015-08-18 Mike Frysinger <vapier@gentoo.org>
72 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
73 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
75 2015-08-18 Mike Frysinger <vapier@gentoo.org>
77 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
79 2015-08-18 Mike Frysinger <vapier@gentoo.org>
81 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
82 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
83 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
84 (__ASSUME_LWS_CAS): Delete.
86 2015-08-18 Mike Frysinger <vapier@gentoo.org>
88 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
89 * sysdeps/hppa/configure: Regenerated.
90 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
91 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
92 * sysdeps/hppa/nptl/tls.h: Likewise.
94 2015-08-17 Joseph Myers <joseph@codesourcery.com>
97 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
98 for scaling up small arguments.
99 * math/s_csqrtf.c (__csqrtf): Likewise.
100 * math/s_csqrtl.c (__csqrtl): Likewise.
101 * math/auto-libm-test-in: Add more tests of csqrt.
102 * math/auto-libm-test-out: Regenerated.
104 2015-08-17 Andreas Schwab <schwab@suse.de>
106 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
107 version set GLIBC_2.19.
109 2015-08-16 Zack Weinberg <zackw@panix.com>
112 * misc/regexp.h: This interface is no longer supported.
113 Remove all contents, leaving only an #error directive.
114 * misc/regexp.c (loc1, loc2, locs, step, advance):
115 Demote to compatibility symbols.
117 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
120 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
121 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
122 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
123 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
124 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
125 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
126 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
127 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
128 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
130 2015-08-15 Zack Weinberg <zackw@panix.com>
133 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
134 buffer length is known to be too large, not if it's known to be
136 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
137 overflow at runtime, involving a length parameter, twice: once
138 with a compile-time constant length parameter, once without.
140 2015-08-14 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
144 scaling x * y up instead of down.
145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
147 * math/auto-libm-test-in: Add more tests of fma.
148 * math/auto-libm-test-out: Regenerated.
150 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
152 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
154 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
156 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
158 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
161 2015-08-13 Joseph Myers <joseph@codesourcery.com>
163 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
164 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
165 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
167 * math/auto-libm-test-out: Regenerated.
168 * sysdeps/i386/fpu/libm-test-ulps: Update.
169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
172 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
173 (__tanh): Force underflow exception for arguments with small
175 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
176 (__tanhf): Force underflow exception for arguments with small
178 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
179 (__tanhl): Force underflow exception for arguments with small
181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
182 (__tanhl): Force underflow exception for arguments with small
184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
185 (__tanhl): Force underflow exception for arguments with small
187 * math/auto-libm-test-in: Add more tests of tanh.
188 * math/auto-libm-test-out: Regenerated.
189 * sysdeps/i386/fpu/libm-test-ulps: Update.
191 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
193 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
194 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
196 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
198 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
201 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
203 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
204 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
206 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
208 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
209 Remove $(objpfx)init-arch.o.
210 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
212 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
213 (INIT_ARCH_EXT): Defined as empty.
214 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
215 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
216 __init_cpu_features call. Replace HAS_XXX with
217 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
218 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
220 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
221 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
222 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
223 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
224 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
225 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
226 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
227 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
228 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
229 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
230 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
231 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
235 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
236 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
237 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
238 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
239 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
240 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
241 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
242 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
243 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
244 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
245 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
246 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
247 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
248 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
249 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
250 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
251 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
252 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
254 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
256 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
257 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
258 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
259 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
261 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
262 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
263 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
264 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
265 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
266 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
267 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
268 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
269 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
270 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
271 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
272 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
273 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
274 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
275 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
276 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
277 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
278 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
279 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
280 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
281 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
282 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
283 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
284 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
286 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
287 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
288 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
290 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
291 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
292 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
293 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
294 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
295 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
296 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
297 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
298 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
300 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
303 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
307 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
308 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
309 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
310 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
312 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
313 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
314 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
315 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
316 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
317 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
319 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
320 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
321 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
323 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
324 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
325 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
326 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
327 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
328 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
329 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
330 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
331 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
332 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
333 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
334 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
337 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
338 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
339 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
340 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
341 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
342 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
343 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
344 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
346 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
348 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
349 (dl_platform_init): Call init_cpu_features.
350 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
351 * sysdeps/i386/i686/cacheinfo.c
352 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
353 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
354 * sysdeps/i386/i686/multiarch/Versions: Removed.
355 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
357 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
358 * sysdeps/unix/sysv/linux/x86/Makefile
359 (libpthread-sysdep_routines): Remove init-arch.
360 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
361 <sysdeps/x86_64/dl-procinfo.c> instead of
362 sysdeps/generic/dl-procinfo.c>.
363 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
364 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
365 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
366 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
367 [$(subdir) == elf] (tests-static): Add
368 tst-get-cpu-features-static.
369 * sysdeps/x86/Versions: New file.
370 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
371 * sysdeps/x86/cpu-features.c: Likewise.
372 * sysdeps/x86/cpu-features.h: Likewise.
373 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
374 * sysdeps/x86/libc-start.c: Likewise.
375 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
376 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
377 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
378 * sysdeps/x86_64/dl-procinfo.c: Likewise.
379 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
380 Assume USE_MULTIARCH is defined and don't check it.
381 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
383 (max_cpuid): Likewise.
384 (intel_check_word): Likewise.
385 (__cache_sysconf): Don't call __init_cpu_features.
386 (__x86_preferred_memory_instruction): Removed.
387 (init_cacheinfo): Don't call __init_cpu_features. Replace
388 __cpu_features with GLRO(dl_x86_cpu_features).
389 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
390 (dl_platform_init): Call init_cpu_features.
391 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
392 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
393 * sysdeps/x86_64/multiarch/Versions: Removed.
394 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
395 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
396 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
398 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
400 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
403 * libio/Makefile (test-fmemopen-mem): New test.
404 * libio/test-fmemopen.c (do_bz18820): New test.
405 * libio/fmemopen.c (__fmemopen): Fix memory leak.
406 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
408 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
411 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
413 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
414 * libio/genops.c (_IO_setb): Use malloc and free directly.
415 (_IO_default_doallocate, _IO_default_finish): Likewise.
416 ( _IO_unbuffer_all): Likewise.
417 ( libc_freeres_fn): Likewise.
418 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
419 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
420 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
421 (_IO_wdefault_doallocate): Likewise.
423 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
426 * sysdeps/posix/nice.c (nice): Restore old errno.
427 * posix/tst-nice.c (do_test): Add test for BZ #18086.
429 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
431 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
433 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
435 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
436 __bcopy and add a weak_alias to bcopy.
437 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
440 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
442 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
443 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
444 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
445 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
446 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
447 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
448 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
449 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
450 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
451 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
452 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
453 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
455 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
458 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
459 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
460 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
462 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
464 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
466 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
467 (sysdep_routines): Add strstr-ppc64.
468 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
470 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
473 * elf/Makefile (tests): Add Add tst-nodelete2.
474 (modules-names): Add tst-nodelete2mod.
475 (tst-nodelete2mod.so-no-z-defs): New.
476 ($(objpfx)tst-nodelete2): Likewise.
477 ($(objpfx)tst-nodelete2.out): Likewise.
478 (LDFLAGS-tst-nodelete2): Likewise.
479 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
480 out of loop through all loaded libraries.
481 * elf/tst-nodelete2.c: New file.
482 * elf/tst-nodelete2mod.c: Likewise.
484 2015-08-11 Andreas Schwab <schwab@suse.de>
486 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
487 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
488 (__openat64_nocancel): Likewise.
490 2015-08-11 Joseph Myers <joseph@codesourcery.com>
492 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
493 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
494 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
495 * math/auto-libm-test-out: Regenerated.
496 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499 2015-08-10 Joseph Myers <joseph@codesourcery.com>
502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
503 threshold for returning +/- 1.
504 * math/auto-libm-test-in: Add more tests of tanh.
505 * math/auto-libm-test-out: Regenerated.
506 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 2015-08-10 Andreas Schwab <schwab@suse.de>
511 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
512 MORE_OFLAGS to oflag.
513 * io/test-lfs.c (do_test): Test openat64.
515 2015-08-10 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
519 smaller threshold for returning the argument.
520 * math/auto-libm-test-in: Add more tests of sinh.
521 * math/auto-libm-test-out: Regenerated.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
524 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
527 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
530 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
532 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
533 (generated): Don't add $(addprefix z.,$(tzfiles)).
535 2015-08-09 Mike Frysinger <vapier@gentoo.org>
537 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
538 * scripts/sysd-rules.awk: Likewise.
540 2015-08-09 Mike Frysinger <vapier@gentoo.org>
542 * iconvdata/tst-tables.sh: Change echo -n to printf.
543 * nss/db-Makefile: Likewise.
544 * posix/tst-getconf.sh: Likewise.
545 * stdio-common/tst-unbputc.sh: Likewise.
547 2015-08-09 Mike Frysinger <vapier@gentoo.org>
549 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
550 MADV_*_PAGES defines behind this feature check.
552 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
555 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
556 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
558 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
559 LOAD_REGS_5, LOAD_REGS_6): Update.
560 (INTERNAL_SYSCALL): Update using new LOAD defines.
561 (INTERNAL_SYSCALL_NCS): Likewise.
562 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
564 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
567 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
569 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
572 * catgets/Makefile (tst-catgets-mem): New test.
573 * catgets/catgets.c (catopen): Don't use unbounded alloca.
574 * catgets/open_catalog.c (__open_catalog): Likewise.
575 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
577 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
580 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
582 (atomic_compare_and_exchange_val_acq): Use register asms to assign
583 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
584 Cast return to __typeof (oldval).
586 2015-08-08 Mike Frysinger <vapier@gentoo.org>
588 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
589 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
590 and delete sys/syscall.h include.
592 2015-08-07 Joseph Myers <joseph@codesourcery.com>
595 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
596 (tan): Force underflow exception for arguments with small absolute
598 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
599 (__kernel_tanf): Force underflow exception for arguments with
600 small absolute value.
601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
602 (__kernel_tanl): Force underflow exception for arguments with
603 small absolute value.
604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
605 (__kernel_tanl): Force underflow exception for arguments with
606 small absolute value.
607 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
608 (__kernel_tanl): Force underflow exception for arguments with
609 small absolute value.
610 * math/auto-libm-test-in: Add more tests of tan.
611 * math/auto-libm-test-out: Regenerated.
613 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
615 Fix sysdeps/i386/fpu/s_scalbn.S build
617 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
619 2015-08-07 Mike Frysinger <vapier@gentoo.org>
621 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
623 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
625 Fix gcrt0.o compilation
627 When static-start-installed-name is different from
628 start-installed-name, we must not use the shared objects.
631 (extra-objs): Add gmon-start.o when building shared library and
632 $(static-start-installed-name) is different from
633 $(start-installed-name).
634 $(objpfx)g$(static-start-installed-name): When building shared
635 library and $(static-start-installed-name) is different from
636 $(static-start-installed-name), revert to non-shared rule,
637 i.e. using $(objpfx)% and gmon-start.o.
639 2015-08-06 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
643 (__ieee754_sinh): Force underflow exception for arguments with
644 small absolute value.
645 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
646 (__ieee754_sinhf): Force underflow exception for arguments with
647 small absolute value.
648 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
649 (__ieee754_sinhl): Force underflow exception for arguments with
650 small absolute value.
651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
652 (__ieee754_sinhl): Force underflow exception for arguments with
653 small absolute value.
654 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
655 (__ieee754_sinhl): Force underflow exception for arguments with
656 small absolute value.
657 * math/auto-libm-test-in: Add more tests of sinh.
658 * math/auto-libm-test-out: Regenerated.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
661 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
663 * libio/oldfileops.c: Include unistd.h.
665 2015-08-06 Mike Frysinger <vapier@gentoo.org>
667 * stdlib/isomac.c: Include ctype.h.
669 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
671 * dirent/tst-seekdir.c (main): Converted to ...
673 (TEST_FUNCTION): New macro.
674 Include test-skeleton.c.
675 * elf/tst-dlmodcount.c (main): Converted to ...
677 (TEST_FUNCTION): New macro.
678 Include test-skeleton.c.
679 * elf/tst-order-main.c (main): Converted to ...
681 (TEST_FUNCTION): New macro.
682 Include test-skeleton.c.
683 * elf/tst-pie2.c (main): Converted to ...
685 (TEST_FUNCTION): New macro.
686 Include test-skeleton.c.
687 * inet/tst-ether_aton.c (main): Converted to ...
689 (TEST_FUNCTION): New macro.
690 Include test-skeleton.c.
691 * misc/tst-mntent.c (main): Converted to ...
693 (TEST_FUNCTION): New macro.
694 Include test-skeleton.c.
695 * misc/tst-tsearch.c (main): Converted to ...
697 (TEST_FUNCTION): New macro.
698 Include test-skeleton.c.
699 * posix/tst-regexloc.c (main): Converted to ...
701 (TEST_FUNCTION): New macro.
702 Include test-skeleton.c.
703 * resolv/tst-aton.c (main): Converted to ...
705 (TEST_FUNCTION): New macro.
706 Include test-skeleton.c.
707 * stdio-common/test-fwrite.c (main): Converted to ...
709 (TEST_FUNCTION): New macro.
710 Include test-skeleton.c.
711 * stdio-common/tst-ferror.c (main): Converted to ...
713 (TEST_FUNCTION): New macro.
714 Include test-skeleton.c.
715 * stdio-common/tst-printf.c (main): Converted to ...
717 (TEST_FUNCTION): New macro.
718 Include test-skeleton.c.
719 * stdio-common/tst-printfsz.c (main): Converted to ...
721 (TEST_FUNCTION): New macro.
722 Include test-skeleton.c.
723 * stdlib/tst-strtod.c (main): Converted to ...
725 (TEST_FUNCTION): New macro.
726 Include test-skeleton.c.
727 * string/tst-strlen.c (main): Converted to ...
729 (TEST_FUNCTION): New macro.
730 Include test-skeleton.c.
731 * string/tst-svc.c (main): Converted to ...
733 (TEST_FUNCTION): New macro.
734 Include test-skeleton.c.
735 * time/tst-strptime.c (main): Converted to ...
737 (TEST_FUNCTION): New macro.
738 Include test-skeleton.c.
739 * timezone/tst-timezone.c (main): Converted to ...
741 (TEST_FUNCTION): New macro.
742 Include test-skeleton.c.
744 2015-08-05 Zack Weinberg <zackw@panix.com>
746 * misc/regexp.h: Update comments.
748 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
751 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
754 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
757 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
758 when calling __errno_location.
759 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
760 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
762 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
766 (__lll_timedwait_tid): Align stack to 16 bytes when calling
769 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
772 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
773 (__start_context): Don't use pop to restore %rdi so that stack
774 is aligned to 16 bytes when calling __setcontext.
776 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
778 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
780 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
782 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
784 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
785 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
786 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
788 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
790 * string/memccpy.c (memccpy):
791 Improve performance by using memchr/memcpy/__mempcpy.
793 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
795 * string/strncpy.c (strncpy):
796 Improve performance by using __strnlen/memcpy.
798 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
800 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
801 Optimize to avoid an unnecessary FPCR read.
803 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
805 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
806 Optimize to reduce FPCR/FPSR accesses.
808 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
810 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
811 dead->data[category] != NULL.
813 2015-08-05 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
817 and |x| close to 1, use absolute value of x when computing log.
818 * math/auto-libm-test-in: Add more tests of pow.
819 * math/auto-libm-test-out: Regenerated.
821 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
823 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
824 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
825 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
827 2015-08-05 Marko Myllynen <myllynen@redhat.com>
830 * locales/km_KH: Remove timezone definition.
831 * locales/lo_LA: Likewise.
832 * locales/my_MM: Likewise.
833 * locales/nan_TW@latin: Likewise.
834 * locales/th_TH: Likewise.
835 * locales/uk_UA: Likewise.
837 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
840 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
845 2015-08-05 Mike Frysinger <vapier@gentoo.org>
847 * test-skeleton.c (usage): New function.
848 (main): Call usage when opt is '?'.
850 2015-08-05 Mike Frysinger <vapier@gentoo.org>
852 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
855 2015-08-05 Mike Frysinger <vapier@gentoo.org>
857 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
858 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
861 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
863 * version.h (RELEASE): Set to "development".
864 (VERSION): Set to "2.22.90"
866 * version.h (RELEASE): Set to "stable".
867 (VERSION): Set to "2.22"
868 * include/features.h (__GLIBC_MINOR__): Set to 22.
870 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
872 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
873 Restructure macro to avoid "value computed is not used" warning.
874 (atomic_compare_and_exchange_val_acq): Likewise.
876 2015-08-04 Andreas Schwab <schwab@suse.de>
879 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
881 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
883 2015-08-01 Carlos O'Donell <carlos@redhat.com>
885 * po/pl.po: Updated translation.
886 * po/uk.po: Likewise.
887 * po/fi.po: Likewise.
888 * po/ko.po: Likewise.
889 * po/ru.po: Likewise.
890 * po/vi.po: Likewise.
892 2015-07-31 Zack Weinberg <zackw@panix.com>
895 * regexp.h: Add unconditional #warning stating that this header
896 will be removed soon. Revise banner comment to match.
897 (compile): Consistently use ERROR instead of RETURN to report
898 errors (partial fix for bz#18681).
899 * regexp.c: Don't include regexp.h. Remove some unnecessary
902 2015-07-31 Carlos O'Donell <carlos@redhat.com>
904 * po/libc.pot: Regenerated.
906 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
909 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
910 float-vlen4-arch-ext-cflags): Removed.
911 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
912 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
914 2015-07-30 Mike Frysinger <vapier@gentoo.org>
917 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
918 aligned to __aligned__.
919 (pthread_cond_t, pthread_rwlock_t): Likewise.
921 2015-07-30 Torvald Riegel <triegel@redhat.com>
923 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
925 2015-07-30 Mike Frysinger <vapier@gentoo.org>
927 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
928 (struct sigaction): Change sa_flags from a long to an int, and add
929 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
931 2015-07-30 Mike Frysinger <vapier@gentoo.org>
933 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
934 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
935 sysdeps/generic/sysdep.h include.
936 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
937 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
938 sysdeps/hppa/sysdep.h.
939 (ENTRY, PSEUDO): Undefine before defining.
941 2015-07-30 Mike Frysinger <vapier@gentoo.org>
943 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
944 from scratch to use INTERNAL_SYSCALL.
946 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
949 * scripts/check-localplt.awk: Support alternate relocations.
950 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
952 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
953 malloc entries with + REL R_386_GLOB_DAT.
954 * sysdeps/x86_64/localplt.data: New file.
956 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
959 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
960 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
961 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
963 2015-07-27 Mike Frysinger <vapier@gentoo.org>
965 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
967 2015-07-27 Mike Frysinger <vapier@gentoo.org>
969 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
970 directly in terms of __sync_fetch_and_add and delete (int) cast.
972 2015-07-27 Mike Frysinger <vapier@gentoo.org>
974 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
975 the -D_ASM_IA64_CURRENT_H flag.
977 2015-07-27 Mike Frysinger <vapier@gentoo.org>
980 * pwd/pwd.h (putpwent): Delete __nonnull markings.
982 2015-07-27 Andreas Schwab <schwab@suse.de>
984 * conform/conformtest.pl (checknamespace): Filter out string
985 literals while tokenizing.
987 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
989 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
990 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
991 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
993 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
995 * nptl/tst-join7mod.c: Add #include <string.h>.
997 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
999 * sysdeps/nios2/libm-test-ulps: Update.
1001 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
1003 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1004 Fix order of arguments to the rt_sigprocmask syscall.
1005 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1008 2015-07-24 Roland McGrath <roland@hack.frob.com>
1010 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1012 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1015 * nptl/Makefile (tests): New test case tst-join7.
1016 (modules-names): New test case module tst-join7mod.
1017 * nptl/tst-join7.c: New file.
1018 * nptl/tst-join7mod.c: New file.
1019 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1020 all translation units in libc.so, libpthread.so and rtld.
1022 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1026 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
1028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1030 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1032 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1033 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1034 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1035 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1036 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1037 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1038 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1039 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1040 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1041 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1042 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1045 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1048 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1049 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1050 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1051 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1052 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1053 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1055 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1058 instead of just saying load lock in the comments.
1060 2015-07-23 Roland McGrath <roland@hack.frob.com>
1062 * sysdeps/unix/Subdirs: Moved ...
1063 * sysdeps/posix/Subdirs: ... here.
1064 * login/pty.h (struct termios, struct winsize): Add forward decls.
1065 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1066 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1067 * sysdeps/arm/nacl/libc.abilist: Updated.
1068 * sysdeps/nacl/libutil.abilist: New file.
1070 * bits/signum.h: Update comments to mention 1003.1-2013 too.
1071 (SIGWINCH): New macro.
1073 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1074 * sysdeps/arm/nacl/libc.abilist: Add it.
1076 2015-07-23 Mike Frysinger <vapier@gentoo.org>
1078 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1080 2015-07-23 Mike Frysinger <vapier@gentoo.org>
1082 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1083 Swap __glibc_reserved0 and sa_flags order.
1085 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1088 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1089 are pending TLS destructor calls.
1090 * include/link.h (struct link_map): Add concurrency note for
1092 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1093 Don't touch the link map flag. Atomically increment
1095 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1096 Avoid taking the load lock and don't touch the link map flag.
1097 * stdlib/tst-tls-atexit-nodelete.c: New test case.
1098 * stdlib/Makefile (tests): Use it.
1099 * stdlib/tst-tls-atexit.c (do_test): dlopen
1100 tst-tls-atexit-lib.so again before dlclose. Add conditionals
1101 to allow tst-tls-atexit-nodelete test case to use it.
1103 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1105 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1107 (msgqnum_t): New typedef.
1108 (msglen_t): Likewise.
1109 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
1110 and msg_qbytes type to msglen_t.
1112 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1114 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1115 pad0 to __glibc_reserved0.
1116 (struct stat64): Likewise.
1118 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1120 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1121 Change sa_flags from a long to an int and add __glibc_reserved0 before
1124 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1127 anonymous by deleting "siginfo" name.
1129 2015-07-21 Roland McGrath <roland@hack.frob.com>
1131 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1132 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1133 rather than __nacl_irt_filename.
1134 * sysdeps/nacl/xstat.c (__xstat): Likewise.
1136 * NEWS: New item for arm-nacl port.
1137 * sysdeps/arm/nacl/libc.abilist: New file.
1138 * sysdeps/nacl/ld.abilist: New file.
1139 * sysdeps/nacl/libBrokenLocale.abilist: New file.
1140 * sysdeps/nacl/libanl.abilist: New file.
1141 * sysdeps/nacl/libcrypt.abilist: New file.
1142 * sysdeps/nacl/libdl.abilist: New file.
1143 * sysdeps/nacl/libm.abilist: New file.
1144 * sysdeps/nacl/libpthread.abilist: New file.
1145 * sysdeps/nacl/libresolv.abilist: New file.
1146 * sysdeps/nacl/librt.abilist: New file.
1148 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
1150 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1151 __startcontext to initialize the new context.
1152 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1153 up CFI directive to forbid further backtracing.
1155 2015-07-21 Marko Myllynen <myllynen@redhat.com>
1157 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1159 * charmaps/ANSI_X3.4-1968: Likewise.
1160 * charmaps/BS_4730: Likewise.
1161 * charmaps/BS_VIEWDATA: Likewise.
1162 * charmaps/CP1250: Likewise.
1163 * charmaps/CP1251: Likewise.
1164 * charmaps/CP1252: Likewise.
1165 * charmaps/CP1253: Likewise.
1166 * charmaps/CP1254: Likewise.
1167 * charmaps/CP1255: Likewise.
1168 * charmaps/CP1256: Likewise.
1169 * charmaps/CSN_369103: Likewise.
1170 * charmaps/EBCDIC-DK-NO: Likewise.
1171 * charmaps/GB_1988-80: Likewise.
1172 * charmaps/GREEK-CCITT: Likewise.
1173 * charmaps/GREEK7: Likewise.
1174 * charmaps/INIS-8: Likewise.
1175 * charmaps/ISIRI-3342: Likewise.
1176 * charmaps/ISO_2033-1983: Likewise.
1177 * charmaps/ISO_5427-EXT: Likewise.
1178 * locales/POSIX: Likewise.
1179 * locales/ar_SA: Likewise.
1180 * locales/be_BY: Likewise.
1181 * locales/be_BY@latin: Likewise.
1182 * locales/ca_ES: Likewise.
1183 * locales/cs_CZ: Likewise.
1184 * locales/da_DK: Likewise.
1185 * locales/de_BE: Likewise.
1186 * locales/de_CH: Likewise.
1187 * locales/de_LU: Likewise.
1188 * locales/en_AU: Likewise.
1189 * locales/en_BW: Likewise.
1190 * locales/en_CA: Likewise.
1191 * locales/en_DK: Likewise.
1192 * locales/en_GB: Likewise.
1193 * locales/en_IE: Likewise.
1194 * locales/en_NZ: Likewise.
1195 * locales/en_ZA: Likewise.
1196 * locales/en_ZW: Likewise.
1197 * locales/es_AR: Likewise.
1198 * locales/es_BO: Likewise.
1199 * locales/es_CL: Likewise.
1200 * locales/es_CO: Likewise.
1201 * locales/es_DO: Likewise.
1202 * locales/es_EC: Likewise.
1203 * locales/es_ES: Likewise.
1204 * locales/es_HN: Likewise.
1205 * locales/es_MX: Likewise.
1206 * locales/es_PA: Likewise.
1207 * locales/es_PE: Likewise.
1208 * locales/es_PY: Likewise.
1209 * locales/es_SV: Likewise.
1210 * locales/es_US: Likewise.
1211 * locales/es_UY: Likewise.
1212 * locales/es_VE: Likewise.
1213 * locales/et_EE: Likewise.
1214 * locales/fa_IR: Likewise.
1215 * locales/fo_FO: Likewise.
1216 * locales/fr_CA: Likewise.
1217 * locales/fr_CH: Likewise.
1218 * locales/gv_GB: Likewise.
1219 * locales/he_IL: Likewise.
1220 * locales/hr_HR: Likewise.
1221 * locales/id_ID: Likewise.
1222 * locales/is_IS: Likewise.
1223 * locales/it_CH: Likewise.
1224 * locales/iw_IL: Likewise.
1225 * locales/kl_GL: Likewise.
1226 * locales/ko_KR: Likewise.
1227 * locales/kw_GB: Likewise.
1228 * locales/lg_UG: Likewise.
1229 * locales/lt_LT: Likewise.
1230 * locales/lv_LV: Likewise.
1231 * locales/mi_NZ: Likewise.
1232 * locales/nhn_MX: Likewise.
1233 * locales/nl_BE: Likewise.
1234 * locales/pl_PL: Likewise.
1235 * locales/sk_SK: Likewise.
1236 * locales/sl_SI: Likewise.
1237 * locales/sv_FI: Likewise.
1238 * locales/tl_PH: Likewise.
1239 * locales/tr_TR: Likewise.
1240 * locales/vi_VN: Likewise.
1242 2015-07-21 Khem Raj <raj.khem@gmail.com>
1245 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1248 2015-07-21 Mike Frysinger <vapier@gentoo.org>
1251 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1253 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1255 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1257 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1258 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1259 (spawn_thread): New function.
1260 (load): Rename to reg_dtor_and_close. Move dlopen to...
1261 (do_test): ... here. Use IS_LOADED to test for its
1264 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
1266 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1268 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
1271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1274 (si_upper): Likewise.
1276 2015-07-16 David S. Miller <davem@davemloft.net>
1278 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1280 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1282 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1284 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1285 fail output information.
1287 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1292 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1293 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1294 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1295 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1297 2015-07-16 Mike Frysinger <vapier@gentoo.org>
1299 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1300 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1301 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1302 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1304 2015-07-16 Mike Frysinger <vapier@gentoo.org>
1306 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1307 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1309 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1311 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * tst-nodelete-opened.c (do_test): Add comment to clarify how
1316 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1319 * elf/tst-nodelete-opened.c: New test case.
1320 * elf/tst-nodelete-opened-lib.c: New test case module.
1321 * elf/Makefile (tests, modules-names): Use them.
1322 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1325 2015-07-15 David S. Miller <davem@davemloft.net>
1327 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1329 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1330 * sysdeps/sparc/sparc64/Makefile: Likewise.
1331 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1332 Remove space from macro define.
1333 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1335 2015-07-15 Pravin Satpute <psatpute@redhat.com>
1338 * locale/iso-639.def: Update Bhili and Tulu language codes as
1341 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
1343 * elf/tst-leaks1.c (main): Converted to ...
1344 (do_test): ... this.
1345 (TEST_FUNCTION): New macro.
1346 Include test-skeleton.c.
1347 * localedata/tst-langinfo.c (main): Converted to ...
1348 (do_test): ... this.
1349 (TEST_FUNCTION): New macro.
1350 Include test-skeleton.c.
1351 * math/test-fpucw.c (main): Converted to ...
1352 (do_test): ... this.
1353 (TEST_FUNCTION): New macro.
1354 Include test-skeleton.c.
1355 * math/test-tgmath.c (main): Converted to ...
1356 (do_test): ... this.
1357 (TEST_FUNCTION): New macro.
1358 Include test-skeleton.c.
1359 * math/test-tgmath2.c (main): Converted to ...
1360 (do_test): ... this.
1361 (TEST_FUNCTION): New macro.
1362 Include test-skeleton.c.
1363 * setjmp/tst-setjmp.c (main): Converted to ...
1364 (do_test): ... this.
1365 (TEST_FUNCTION): New macro.
1366 Include test-skeleton.c.
1367 * stdio-common/tst-sscanf.c (main): Converted to ...
1368 (do_test): ... this.
1369 (TEST_FUNCTION): New macro.
1370 Include test-skeleton.c.
1371 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1372 (do_test): ... this.
1373 (TEST_FUNCTION): New macro.
1374 Include test-skeleton.c.
1376 * elf/tst-audit9.c (main): Converted to ...
1377 (do_test): ... this.
1378 (TEST_FUNCTION): New macro.
1379 Include test-skeleton.c.
1381 2015-07-15 Mike Frysinger <vapier@gentoo.org>
1383 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1385 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1387 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1390 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1392 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1394 2015-07-14 Roland McGrath <roland@hack.frob.com>
1396 * sysdeps/generic/dl-fileid.h: New file.
1397 * sysdeps/posix/dl-fileid.h: New file.
1398 * sysdeps/nacl/dl-fileid.h: New file.
1399 * include/link.h: Include <dl-fileid.h>.
1400 (struct link_map): Replace l_dev and l_ino with l_file_id.
1401 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1402 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
1403 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
1405 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1409 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1411 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1412 Add iff $CXX is set.
1413 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1415 (tst-nodelete-zmodiff): Likewise.
1416 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1418 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1420 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1422 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
1424 * sysdeps/aarch64/fpu/math_private.h
1425 (define math_opt_barrier): Add AArch64 version.
1426 (math_force_eval): Likewise.
1428 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
1430 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1432 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
1434 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1435 %ld with %jd and cast to intmax_t.
1436 (do_test_length_zero): Likewise.
1438 2015-07-10 Roland McGrath <roland@hack.frob.com>
1440 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1442 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
1444 * sysdeps/tile/libm-test-ulps: Regenerated.
1446 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1447 Comment out the whole function, not just its body.
1449 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1451 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1454 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1456 2015-07-10 Torvald Riegel <triegel@redhat.com>
1458 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1459 (sem_assume_only_signals_cause_futex_EINTR): Remove.
1461 2015-07-10 Torvald Riegel <triegel@redhat.com>
1463 * sysdeps/nptl/futex-internal.h: New file.
1464 * sysdeps/nacl/futex-internal.h: New file.
1465 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1466 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1468 (setxid_unmark_thread): Likewise.
1469 (__nptl_setxid): Likewise.
1470 (__wait_lookup_done): Likewise.
1471 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1472 * nptl/nptl-init.c (sighandler_setxid): Likewise.
1473 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1474 * nptl/pthread_once.c (clear_once_control): Likewise.
1475 (__pthread_once_slow): Likewise.
1476 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1477 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1478 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1479 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1480 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1481 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1483 (__pthread_rwlock_rdlock): Likewise.
1484 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1486 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1488 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1490 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1491 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1493 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1494 __ASSUME_PRIVATE_FUTEX check.
1495 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1496 Check that shared futexes are supported.
1497 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1498 wrappers with error checking.
1499 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1500 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1501 * nptl/pthread_barrierattr_setpshared.c
1502 (pthread_barrierattr_setpshared): Check that shared futexes are
1504 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1506 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1508 * nptl/sem_init.c (futex_private_if_supported): Remove.
1509 (__new_sem_init): Adapt and check that shared futexes are supported.
1510 * nptl/sem_open.c (sem_open): Likewise.
1511 * nptl/sem_post.c (futex_wake): Remove.
1512 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1513 (do_futex_wait): Use futex wrappers with error checking.
1514 * nptl/sem_wait.c: Include lowlevellock.h.
1515 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1516 Use futex_supports_pshared.
1517 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1518 Use futex wrappers with error checking.
1519 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1521 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1522 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1523 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1524 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1525 (futex_wake): Likewise.
1526 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1527 (do_futex_wait): Use futex wrappers with error checking.
1528 (__new_sem_wait_slow): Update EINTR handling.
1529 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1531 2015-07-09 Martin Sebor <msebor@redhat.com>
1534 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1535 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1536 * nptl/Makefile (test-xfail-tst-once5): Define.
1538 2015-07-09 Roland McGrath <roland@hack.frob.com>
1540 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1541 * elf/dl-minimal.c: For readability, reorder some definitions and
1542 introduce more page breaks. Include <stdio.h>.
1543 (__libc_fatal): New function.
1545 * include/unistd.h: Add rtld_hidden_proto for _exit.
1546 * posix/_exit.c: Add rtld_hidden_def.
1547 * sysdeps/mach/hurd/_exit.c: Likewise.
1548 * sysdeps/nacl/_exit.c: Likewise.
1549 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1550 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1552 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
1554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1555 bndmov encoding with zero displacement.
1557 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
1558 H.J. Lu <hongjiu.lu@intel.com>
1561 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1562 * sysdeps/i386/configure: Regenerated.
1563 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1564 (_dl_runtime_profile): Save and restore Intel MPX return bound
1565 registers when calling _dl_call_pltexit. Add
1566 PRESERVE_BND_REGS_PREFIX before return.
1567 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1568 (LRV_BND1_OFFSET): Likewise.
1569 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1572 typo in bndmov encoding.
1573 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1574 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
1575 branch instructions to preserve bounds.
1577 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1580 [GLIBC_2.22]: Add fmemopen.
1582 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
1584 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1585 returns an error, also try to use host port from __mach_host_self for
1587 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1589 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1593 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1594 Fix pr_uid and pr_gid members.
1595 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1596 definition to elf_greg_t.
1598 2015-07-08 Roland McGrath <roland@hack.frob.com>
1601 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1602 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1603 * sysdeps/arm/configure: Regenerated.
1604 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1605 (test-xfail-tst-tlsalign-static): Variable removed.
1607 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1608 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1609 rather than explicit 'ln -s'.
1611 * resolv/rpc/netdb.h: New file.
1612 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1614 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1616 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1618 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1627 * include/stdio.h (fmemopen): Remove hidden prototype.
1628 (__fmemopen): Add new hidden prototype.
1629 * libio/Makefile: Add oldfmemopen object.
1630 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1631 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1633 * libio/oldfmemopen.c: New file: old fmemopen implementation for
1634 symbol compatibility.
1635 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1636 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1638 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1639 on append and read mode.
1640 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1642 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1643 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1644 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1645 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1647 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1648 [GLIBC_2.22]: Likewise.
1649 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1651 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1653 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1654 [GLIBC_2.22]: Likewise.
1655 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1656 [GLIBC_2.22]: Likewise.
1657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1658 [GLIBC_2.22]: Likewise.
1659 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1660 [GLIBC_2.22]: Likewise.
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1662 [GLIBC_2.22]: Likewise.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1664 [GLIBC_2.22]: Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1666 [GLIBC_2.22]: Likewise.
1667 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1671 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1672 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1673 [GLIBC_2.22]: Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1675 [GLIBC_2.22]: Likewise.
1676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1677 [GLIBC_2.22]: Likewise.
1678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1679 [GLIBC_2.22]: Likewise.
1680 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1682 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1684 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1686 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1687 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1689 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1692 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1693 IPV6_PATHMTU, and IPV6_DONTFRAG.
1695 2015-07-08 Feng Gao <gfree.wind@gmail.com>
1697 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1699 * libio/oldfileops.c: Likewise.
1700 * libio/wfileops.c: Likewise.
1702 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1704 * nscd/selinux.c: Delete selinux/flask.h include.
1706 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1709 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1710 (putpwent): Likewise.
1711 (getpwnam): Likewise.
1712 (getpwent_r): Likewise.
1713 (getpwuid_r): Likewise.
1714 (getpwnam_r): Likewise.
1715 (fgetpwent_r): Likewise.
1717 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1720 * inet/rcmd.c (__validuser2_sa): Check user first to
1721 short-circuit host check.
1723 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
1724 Mikhail Ilin <m.ilin@samsung.com>
1727 * elf/Makefile (tests): Add tst-nodelete.
1728 (modules-names): Add tst-nodelete-uniquemod.
1729 (tst-nodelete-uniquemod.so-no-z-defs): New.
1730 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1731 (tst-nodelete-zmod.so-no-z-defs): Likewise.
1732 ($(objpfx)tst-nodelete): Likewise.
1733 ($(objpfx)tst-nodelete.out): Likewise.
1734 (LDFLAGS-tst-nodelete): Likewise.
1735 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1736 * elf/dl-close.c (_dl_close_worker): Add a parameter to
1737 implement forced object deletion.
1738 (_dl_close): Pass false to _dl_close_worker.
1739 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1740 * elf/tst-nodelete.cc: New file.
1741 * elf/tst-nodeletelib.cc: Likewise.
1742 * elf/tst-znodeletelib.cc: Likewise.
1743 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1745 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1748 * stdlib/Makefile ($(objpfx)tst-makecontext3):
1750 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1751 is not called infinitely times.
1752 (backtrace_helper): New function.
1753 (trace_arg): New struct.
1754 (st1): Enlarge stack size.
1755 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1756 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1757 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1760 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1762 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1764 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1766 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1767 Include sys/types.h instead of bits/types.h.
1768 Remove inclusion of bits/wordsize.h.
1770 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1772 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1773 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1774 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1775 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1776 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1777 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1779 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1781 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1783 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1784 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1785 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1787 * sysdeps/i386/link-defines.sym: New file.
1789 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1791 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1792 (modules-names): Add tst-auditmod3a tst-auditmod3b.
1793 ($(objpfx)tst-audit3): New rule.
1794 ($(objpfx)tst-audit3.out): Likewise.
1795 * sysdeps/i386/tst-audit3.c: New file.
1796 * sysdeps/i386/tst-audit3.h: Likewise.
1797 * sysdeps/i386/tst-auditmod3a.c: Likewise.
1798 * sysdeps/i386/tst-auditmod3b.c: Likewise.
1800 2015-07-07 Torvald Riegel <triegel@redhat.com>
1803 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1805 (__strcat_c): Likewise.
1806 (__strcat_g): Likewise.
1808 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
1811 * misc/sbrk.c: Set errno to ENOMEM on overflow.
1813 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1815 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1816 New function. (__ieee754_sqrtf): New function.
1817 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1819 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1822 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1824 * sysdeps/ieee754/support.c: Remove unused file.
1826 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1828 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1829 registers instead of d ones so the layout is kernel abi compatible.
1830 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1831 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1834 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1836 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1838 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1841 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1842 and return argument in case of subnormal argument.
1844 2015-07-01 Martin Sebor <msebor@redhat.com>
1847 * nptl/Makefile: Add tst-once5.cc.
1848 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1849 Remove macro redefinitions.
1850 * nptl/tst-once5.cc: New test.
1852 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1856 * sysdeps/arm/libm-test-ulps: Regenerated.
1858 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1859 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1861 2015-06-30 Torvald Riegel <triegel@redhat.com>
1863 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1864 lll_lock_wait_private and lll_futex_wake probes.
1866 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1867 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1869 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1871 * sysdeps/x86_64/bits/atomic.h: Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1873 to atomic_spin_nop and move ...
1874 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1876 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1877 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1878 atomic_spin_nop instead of BUSY_WAIT_NOP.
1879 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1881 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1882 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1883 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1884 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1885 instead of atomic_delay.
1887 2015-06-29 Joseph Myers <joseph@codesourcery.com>
1890 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1891 X_ADJ not X when adjusting exponent.
1892 (__ieee754_gamma_r): Do intermediate computations in
1893 round-to-nearest then adjust overflowing and underflowing results
1895 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1896 of X_ADJ not X when adjusting exponent.
1897 (__ieee754_gammaf_r): Do intermediate computations in
1898 round-to-nearest then adjust overflowing and underflowing results
1900 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1901 log of X_ADJ not X when adjusting exponent.
1902 (__ieee754_gammal_r): Do intermediate computations in
1903 round-to-nearest then adjust overflowing and underflowing results
1904 as needed. Use 1.0L not 1.0f as numerator of division.
1905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1906 log of X_ADJ not X when adjusting exponent.
1907 (__ieee754_gammal_r): Do intermediate computations in
1908 round-to-nearest then adjust overflowing and underflowing results
1909 as needed. Use 1.0L not 1.0f as numerator of division.
1910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1911 of X_ADJ not X when adjusting exponent.
1912 (__ieee754_gammal_r): Do intermediate computations in
1913 round-to-nearest then adjust overflowing and underflowing results
1914 as needed. Use 1.0L not 1.0f as numerator of division.
1915 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
1916 to auto-libm-test-in.
1917 (tgamma_test): Use ALL_RM_TEST.
1918 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
1919 tests of tgamma with spurious-overflow.
1920 * math/auto-libm-test-out: Regenerated.
1921 * math/gen-libm-have-vector-test.sh: Do not check for START.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1927 arguments, just return 0.5 times the argument, with underflow
1929 * math/auto-libm-test-in: Add more tests of j1.
1930 * math/auto-libm-test-out: Regenerated.
1933 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1934 (__ieee754_j1): Force underflow exception for small results.
1935 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1936 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1937 (__ieee754_j1f): Force underflow exception for small results.
1938 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1939 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1941 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1942 (__ieee754_j1l): Force underflow exception for small results.
1943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1944 * math/auto-libm-test-in: Add more tests of j1 and jn.
1945 * math/auto-libm-test-out: Regenerated.
1947 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1949 (PF_MPLS): Likewise.
1951 (AF_MPLS): Likewise.
1952 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1954 (MS_RMT_MASK): Include MS_LAZYTIME.
1956 2015-06-26 Mel Gorman <mgorman@suse.de>
1959 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1962 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1964 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1965 (DT_MIPS_NUM): Update.
1966 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1967 DT_MIPS_RLD_MAP_REL.
1969 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1974 round-to-nearest internally then recompute results that
1975 underflowed to zero in the original rounding mode.
1976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1977 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1980 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1981 * sysdeps/i386/fpu/libm-test-ulps: Update.
1982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1984 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1986 * NEWS: Fixed description of link with vector math library.
1988 2015-06-25 Andreas Schwab <schwab@suse.de>
1991 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1992 * libio/test-fmemopen.c (do_test): Add test for it.
1994 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1997 * Makeconfig (no-pie-ldflag): New.
1998 (+link): Set to $(+link-pie) if default to PIE.
1999 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2000 * config.make.in (build-pie-default): New.
2001 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
2002 is default. AC_SUBST.
2003 * configure: Regenerated.
2004 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2006 2015-06-24 Roland McGrath <roland@hack.frob.com>
2008 * nptl/descr.h (struct pthread): Change type of field setxid_futex
2011 * resolv/gai_misc.h (struct waitlist): Change type of field
2012 counterp to 'volatile unsigned int *'.
2013 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2014 FUTEXADDR and OLDVAL.
2015 * resolv/getaddrinfo_a.c (getaddrinfo_a):
2016 Give local variable TOTAL type 'volatile unsigned int'.
2017 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2018 * resolv/gai_suspend.c (gai_suspend):
2019 Give local variable CNTR type 'unsigned int'.
2021 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2022 counterp to 'volatile unsigned int *'.
2023 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2024 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2025 (aio_suspend): Give local variable CNTR type 'unsigned int'.
2026 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2027 Give local variable TOTAL type 'volatile unsigned int'.
2028 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2030 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
2033 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2034 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
2035 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2036 comment for i386/x86-64.
2037 (test-xfail-tst-tlsalign-extern-static): Removed.
2039 2015-06-24 Joseph Myers <joseph@codesourcery.com>
2041 * math/test-double.h: New file.
2042 * math/test-float.h: Likewise.
2043 * math/test-ldouble.h: Likewise.
2044 * math/test-math-inline.h: Likewise.
2045 * math/test-math-no-inline.h: Likewise.
2046 * math/test-math-scalar.h: Likewise.
2047 * math/test-math-vector.h: Likewise.
2048 * math/test-vec-loop.h: Remove file. Contents moved into
2050 * math/libm-test.inc (MATHCONST): Do not document macro.
2051 * math/test-double.c: Include test-double.h, test-math-no-inline.h
2052 and test-math-scalar.h.
2053 (FUNC): Remove macro.
2054 (FUNC_TEST): Likewise.
2056 (MATHCONST): Likewise.
2057 (PRINTF_EXPR): Likewise.
2058 (PRINTF_XEXPR): Likewise.
2059 (PRINTF_NEXPR): Likewise.
2060 (TEST_DOUBLE): Likewise.
2061 (TEST_MATHVEC): Likewise.
2062 (__NO_MATH_INLINES): Likewise.
2063 * math/test-float.c: Include test-float.h, test-math-no-inline.h
2064 and test-math-scalar.h.
2065 (FUNC): Remove macro.
2066 (FUNC_TEST): Likewise.
2068 (MATHCONST): Likewise.
2069 (PRINTF_EXPR): Likewise.
2070 (PRINTF_XEXPR): Likewise.
2071 (PRINTF_NEXPR): Likewise.
2072 (TEST_FLOAT): Likewise.
2073 (TEST_MATHVEC): Likewise.
2074 (__NO_MATH_INLINES): Likewise.
2075 * math/test-idouble.c: Include test-double.h, test-math-inline.h
2076 and test-math-scalar.h.
2077 (FUNC): Remove macro.
2078 (FUNC_TEST): Likewise.
2080 (MATHCONST): Likewise.
2081 (PRINTF_EXPR): Likewise.
2082 (PRINTF_XEXPR): Likewise.
2083 (PRINTF_NEXPR): Likewise.
2084 (TEST_DOUBLE): Likewise.
2085 (TEST_MATHVEC): Likewise.
2086 (TEST_INLINE): Likewise.
2087 (__NO_MATH_INLINES): Likewise.
2088 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2090 (FUNC): Remove macro.
2091 (FUNC_TEST): Likewise.
2093 (MATHCONST): Likewise.
2094 (PRINTF_EXPR): Likewise.
2095 (PRINTF_XEXPR): Likewise.
2096 (PRINTF_NEXPR): Likewise.
2097 (TEST_FLOAT): Likewise.
2098 (TEST_MATHVEC): Likewise.
2099 (TEST_INLINE): Likewise.
2100 (__NO_MATH_INLINES): Likewise.
2101 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2102 and test-math-scalar.h.
2103 (FUNC): Remove macro.
2104 (FUNC_TEST): Likewise.
2106 (MATHCONST): Likewise.
2107 (PRINTF_EXPR): Likewise.
2108 (PRINTF_XEXPR): Likewise.
2109 (PRINTF_NEXPR): Likewise.
2110 (TEST_LDOUBLE): Likewise.
2111 (TEST_MATHVEC): Likewise.
2112 (TEST_INLINE): Likewise.
2113 (__NO_MATH_INLINES): Likewise.
2114 * math/test-ldouble.c: Include test-ldouble.h,
2115 test-math-no-inline.h and test-math-scalar.h.
2116 (FUNC): Remove macro.
2117 (FUNC_TEST): Likewise.
2119 (MATHCONST): Likewise.
2120 (PRINTF_EXPR): Likewise.
2121 (PRINTF_XEXPR): Likewise.
2122 (PRINTF_NEXPR): Likewise.
2123 (TEST_LDOUBLE): Likewise.
2124 (TEST_MATHVEC): Likewise.
2125 (__NO_MATH_INLINES): Likewise.
2126 * math/test-double-vlen2.h: Include test-double.h,
2127 test-math-no-inline.h and test-math-vector.h.
2128 (FLOAT): Remove macro.
2130 (MATHCONST): Likewise.
2131 (PRINTF_EXPR): Likewise.
2132 (PRINTF_XEXPR): Likewise.
2133 (PRINTF_NEXPR): Likewise.
2134 (TEST_DOUBLE): Likewise.
2135 (TEST_MATHVEC): Likewise.
2136 (__NO_MATH_INLINES): Likewise.
2139 (WRAPPER_NAME): Likewise.
2140 (WRAPPER_DECL): Likewise.
2141 (WRAPPER_DECL_ff): Likewise.
2142 (WRAPPER_DECL_fFF): Likewise.
2143 (VECTOR_WRAPPER): Likewise.
2144 (VECTOR_WRAPPER_ff): Likewise.
2145 (VECTOR_WRAPPER_fFF): Likewise.
2146 (VEC_LEN): New macro.
2147 * math/test-double-vlen4.h: Include test-double.h,
2148 test-math-no-inline.h and test-math-vector.h.
2149 (FLOAT): Remove macro.
2151 (MATHCONST): Likewise.
2152 (PRINTF_EXPR): Likewise.
2153 (PRINTF_XEXPR): Likewise.
2154 (PRINTF_NEXPR): Likewise.
2155 (TEST_DOUBLE): Likewise.
2156 (TEST_MATHVEC): Likewise.
2157 (__NO_MATH_INLINES): Likewise.
2160 (WRAPPER_NAME): Likewise.
2161 (WRAPPER_DECL): Likewise.
2162 (WRAPPER_DECL_ff): Likewise.
2163 (WRAPPER_DECL_fFF): Likewise.
2164 (VECTOR_WRAPPER): Likewise.
2165 (VECTOR_WRAPPER_ff): Likewise.
2166 (VECTOR_WRAPPER_fFF): Likewise.
2167 (VEC_LEN): New macro.
2168 * math/test-double-vlen8.h: Include test-double.h,
2169 test-math-no-inline.h and test-math-vector.h.
2170 (FLOAT): Remove macro.
2172 (MATHCONST): Likewise.
2173 (PRINTF_EXPR): Likewise.
2174 (PRINTF_XEXPR): Likewise.
2175 (PRINTF_NEXPR): Likewise.
2176 (TEST_DOUBLE): Likewise.
2177 (TEST_MATHVEC): Likewise.
2178 (__NO_MATH_INLINES): Likewise.
2181 (WRAPPER_NAME): Likewise.
2182 (WRAPPER_DECL): Likewise.
2183 (WRAPPER_DECL_ff): Likewise.
2184 (WRAPPER_DECL_fFF): Likewise.
2185 (VECTOR_WRAPPER): Likewise.
2186 (VECTOR_WRAPPER_ff): Likewise.
2187 (VECTOR_WRAPPER_fFF): Likewise.
2188 (VEC_LEN): New macro.
2189 * math/test-float-vlen4.h: Include test-float.h,
2190 test-math-no-inline.h and test-math-vector.h.
2191 (FLOAT): Remove macro.
2193 (MATHCONST): Likewise.
2194 (PRINTF_EXPR): Likewise.
2195 (PRINTF_XEXPR): Likewise.
2196 (PRINTF_NEXPR): Likewise.
2197 (TEST_FLOAT): Likewise.
2198 (TEST_MATHVEC): Likewise.
2199 (__NO_MATH_INLINES): Likewise.
2202 (WRAPPER_NAME): Likewise.
2203 (WRAPPER_DECL): Likewise.
2204 (WRAPPER_DECL_ff): Likewise.
2205 (WRAPPER_DECL_fFF): Likewise.
2206 (VECTOR_WRAPPER): Likewise.
2207 (VECTOR_WRAPPER_ff): Likewise.
2208 (VECTOR_WRAPPER_fFF): Likewise.
2209 (VEC_LEN): New macro.
2210 * math/test-float-vlen8.h: Include test-float.h,
2211 test-math-no-inline.h and test-math-vector.h.
2212 (FLOAT): Remove macro.
2214 (MATHCONST): Likewise.
2215 (PRINTF_EXPR): Likewise.
2216 (PRINTF_XEXPR): Likewise.
2217 (PRINTF_NEXPR): Likewise.
2218 (TEST_FLOAT): Likewise.
2219 (TEST_MATHVEC): Likewise.
2220 (__NO_MATH_INLINES): Likewise.
2223 (WRAPPER_NAME): Likewise.
2224 (WRAPPER_DECL): Likewise.
2225 (WRAPPER_DECL_ff): Likewise.
2226 (WRAPPER_DECL_fFF): Likewise.
2227 (VECTOR_WRAPPER): Likewise.
2228 (VECTOR_WRAPPER_ff): Likewise.
2229 (VECTOR_WRAPPER_fFF): Likewise.
2230 (VEC_LEN): New macro.
2231 * math/test-float-vlen16.h: Include test-float.h,
2232 test-math-no-inline.h and test-math-vector.h.
2233 (FLOAT): Remove macro.
2235 (MATHCONST): Likewise.
2236 (PRINTF_EXPR): Likewise.
2237 (PRINTF_XEXPR): Likewise.
2238 (PRINTF_NEXPR): Likewise.
2239 (TEST_FLOAT): Likewise.
2240 (TEST_MATHVEC): Likewise.
2241 (__NO_MATH_INLINES): Likewise.
2244 (WRAPPER_NAME): Likewise.
2245 (WRAPPER_DECL): Likewise.
2246 (WRAPPER_DECL_ff): Likewise.
2247 (WRAPPER_DECL_fFF): Likewise.
2248 (VECTOR_WRAPPER): Likewise.
2249 (VECTOR_WRAPPER_ff): Likewise.
2250 (VECTOR_WRAPPER_fFF): Likewise.
2251 (VEC_LEN): New macro.
2252 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2254 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2255 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2256 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2257 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2258 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2259 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2260 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2262 2015-06-24 Roland McGrath <roland@hack.frob.com>
2264 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2265 (__getlogin_r): ... this.
2267 2015-06-24 Joseph Myers <joseph@codesourcery.com>
2270 * math/s_ccosh.c (__ccosh): Compare with least normal value
2271 instead of comparing class with FP_SUBNORMAL.
2272 * math/s_ccoshf.c (__ccoshf): Likewise.
2273 * math/s_ccoshl.c (__ccoshl): Likewise.
2274 * math/s_cexp.c (__cexp): Likewise.
2275 * math/s_cexpf.c (__cexpf): Likewise.
2276 * math/s_cexpl.c (__cexpl): Likewise.
2277 * math/s_csin.c (__csin): Likewise.
2278 * math/s_csinf.c (__csinf): Likewise.
2279 * math/s_csinh.c (__csinh): Likewise.
2280 * math/s_csinhf.c (__csinhf): Likewise.
2281 * math/s_csinhl.c (__csinhl): Likewise.
2282 * math/s_csinl.c (__csinl): Likewise.
2283 * math/s_ctan.c (__ctan): Likewise.
2284 * math/s_ctanf.c (__ctanf): Likewise.
2285 * math/s_ctanh.c (__ctanh): Likewise.
2286 * math/s_ctanhf.c (__ctanhf): Likewise.
2287 * math/s_ctanhl.c (__ctanhl): Likewise.
2288 * math/s_ctanl.c (__ctanl): Likewise.
2289 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2290 csin, csinh, ctan and ctanh.
2291 * math/auto-libm-test-out: Regenerated.
2292 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2293 * sysdeps/i386/fpu/libm-test-ulps: Update.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2296 2015-06-24 Roland McGrath <roland@hack.frob.com>
2298 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2299 return value is wrong, print the expected value too.
2301 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
2304 * elf/readlib.c (is_gdb_python_file): New.
2305 (process_file): Don't issue errors on filenames with -gdb.py
2308 2015-06-24 Joseph Myers <joseph@codesourcery.com>
2310 * math/auto-libm-test-in: Add more tests of csin and csinh.
2311 * math/auto-libm-test-out: Regenerated.
2312 * math/libm-test.inc (csin_test_data): Remove tests moved to
2314 (csinh_test_data): Likewise.
2317 * math/s_csin.c (__csin): Negate before rather than after possibly
2318 overflowing multiplication.
2319 * math/s_csinf.c (__csinf): Likewise.
2320 * math/s_csinh.c (__csinh): Likewise.
2321 * math/s_csinhf.c (__csinhf): Likewise.
2322 * math/s_csinhl.c (__csinhl): Likewise.
2323 * math/s_csinl.c (__csinl): Likewise.
2324 * math/auto-libm-test-in: Add some tests of csin and csinh.
2325 * math/auto-libm-test-out: Regenerated.
2326 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2327 (csinh_test_data): Likewise.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2331 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2332 underflow exception for small results.
2334 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
2336 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2337 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2338 variable and included header.
2339 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2340 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2341 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2342 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2343 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2344 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2345 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2346 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2347 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2348 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2349 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2350 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2351 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2352 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2353 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2354 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2356 2015-06-23 Joseph Myers <joseph@codesourcery.com>
2360 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2361 (__sin): Force underflow exception for arguments with small
2363 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2364 (__kernel_sinf): Force underflow exception for arguments with
2365 small absolute value.
2366 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2367 (__kernel_sincosl): Force underflow exception for arguments with
2368 small absolute value.
2369 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2370 (__kernel_sinl): Force underflow exception for arguments with
2371 small absolute value.
2372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2373 (__kernel_sincosl): Force underflow exception for arguments with
2374 small absolute value.
2375 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2376 (__kernel_sinl): Force underflow exception for arguments with
2377 small absolute value.
2378 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2379 (__kernel_sinl): Force underflow exception for arguments with
2380 small absolute value.
2381 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2382 (__kernel_sinf): Force underflow exception for arguments with
2383 small absolute value.
2384 * math/auto-libm-test-in: Add more tests of sin and sincos.
2385 * math/auto-libm-test-out: Regenerated.
2389 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2390 (__kernel_standard_l): Use feholdexcept and fesetenv around
2391 conversion to double instead of special-casing overflow and
2393 * math/libm-test.inc (fmod_test_data): Add more tests.
2394 (remainder_test_data): Likewise.
2395 (sqrt_test_data): Likewise.
2397 2015-06-23 Torvald Riegel <triegel@redhat.com>
2400 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2401 atomic_read_barrier, atomic_write_barrier): Define.
2402 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2403 atomic_read_barrier, atomic_write_barrier): Define.
2405 2015-06-23 Joseph Myers <joseph@codesourcery.com>
2407 * math/Makefile [$(PERL) != no]
2408 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2409 dependency on libm-test.stmp below the inclusion of Rules.
2411 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
2413 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2414 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2415 and included header.
2416 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2417 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2418 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2424 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2425 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2426 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2427 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2428 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2429 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2430 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2431 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2432 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2433 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2434 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2436 2015-06-23 Joseph Myers <joseph@codesourcery.com>
2439 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2440 intermediate but not final result might underflow.
2441 * math/s_csqrtf.c (__csqrtf): Likewise.
2442 * math/s_csqrtl.c (__csqrtl): Likewise.
2443 * math/auto-libm-test-in: Add more tests of csqrt.
2444 * math/auto-libm-test-out: Regenerated.
2445 * sysdeps/i386/fpu/libm-test-ulps: Update.
2448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2449 threshold on absolute value of exponent for which scaling is used.
2450 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2451 * math/auto-libm-test-in: Add more tests of exp2.
2452 * math/auto-libm-test-out: Regenerated.
2454 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
2457 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2458 when initializing interface list, based on the bug analysis
2459 and the patch proposed by Eric Newton.
2460 * resolv/tst-res_hconf_reorder.c: New test.
2461 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2462 tst-res_hconf_reorder.
2463 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2464 and $(shared-thread-library).
2465 (tst-res_hconf_reorder-ENV): New variable.
2467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2470 2015-06-22 Joseph Myers <joseph@codesourcery.com>
2473 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2474 (__expm1): Force underflow exception for arguments with small
2476 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2477 (__expm1f): Force underflow exception for arguments with small
2479 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2480 (__expm1): Force underflow exception for arguments with small
2482 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2483 (__expm1f): Force underflow exception for arguments with small
2485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2486 Check for small arguments before calling __expm1.
2487 * math/auto-libm-test-in: Do not mark underflow exceptions as
2488 possibly missing for bug 16353.
2489 * math/auto-libm-test-out: Regenerated.
2491 2015-06-22 Andreas Schwab <schwab@suse.de>
2494 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2497 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
2499 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2501 * string/strcoll_l.c: Remove unused struct element idxnow.
2503 2015-06-21 Joseph Myers <joseph@codesourcery.com>
2506 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2507 underflow and return argument in case of subnormal argument.
2508 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2510 * math/auto-libm-test-in: Add more tests of expm1.
2511 * math/auto-libm-test-out: Regenerated.
2514 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2515 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2517 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2518 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2520 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
2521 mark underflow exceptions as possibly missing for bug 16361.
2522 * math/auto-libm-test-out: Regenerated.
2524 2015-06-19 Joseph Myers <joseph@codesourcery.com>
2526 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2527 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2529 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2530 (test-xfail-XOPEN2K8/utmpx.h/conform).
2532 * conform/conformtest.pl ($xerrors): New variable.
2533 (note_error): New function.
2534 (compiletest): New argument $xfail. Use not_error.
2535 (runtest): Likewise.
2536 (top level): Handle xfail- lines. Update calls to compiletest and
2537 runtest. Handle xfail- and optional- in headers listed with
2539 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2541 (O_SEARCH): Likewise.
2542 * conform/data/stropts.h-data (ioctl): Likewise.
2543 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2544 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2545 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2546 (msghdr.msg_controllen): Likewise.
2547 (cmsghdr.cmsg_len): Likewise.
2548 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2549 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2551 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2552 (test-xfail-XPG4/stropts.h/conform): Likewise.
2553 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2554 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2555 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2556 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2557 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2558 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2559 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2560 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2561 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2562 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2563 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2564 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2565 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2566 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2567 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2568 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2569 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2570 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2571 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2573 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
2575 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2576 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2577 definitions for proper unfolding of __MATHDECL_VEC.
2579 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2581 * benchtests/bench-strcoll.c:
2583 (main): Remove unused variable res.
2585 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2587 * timezone/Makefile (%/UTC %/Universal):
2588 Generate test-result files for UTC and Universal.
2590 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2592 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2594 2015-06-18 Joseph Myers <joseph@codesourcery.com>
2597 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2598 for arguments with small absolute value.
2599 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2600 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2601 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2602 (__asinh): Force underflow exception for arguments with small
2604 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2605 (__asinhf): Force underflow exception for arguments with small
2607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2608 (__asinhl): Force underflow exception for arguments with small
2610 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2611 (__asinhl): Force underflow exception for arguments with small
2613 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2614 (__asinhl): Force underflow exception for arguments with small
2616 * math/auto-libm-test-in: Do not mark underflow exceptions as
2617 possibly missing for bug 16350.
2618 * math/auto-libm-test-out: Regenerated.
2620 * include/bits/ipc.h: Remove file.
2621 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2623 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2624 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2625 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2626 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2627 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2628 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2629 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2630 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2631 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2633 * math/auto-libm-test-in: Remove spurious underflow allowance for
2635 * math/auto-libm-test-out: Regenerated.
2638 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2639 unconditional definition.
2640 (MCAST_BLOCK_SOURCE): Likewise.
2641 (MCAST_UNBLOCK_SOURCE): Likewise.
2642 (MCAST_LEAVE_GROUP): Likewise.
2643 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2644 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2645 (MCAST_MSFILTER): Likewise.
2646 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2648 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2650 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2651 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2652 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2654 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
2656 * NEWS: Mention addition of x86_64 vector sincosf.
2657 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2658 * math/test-float-vlen4.h: Likewise.
2659 * math/test-float-vlen8.h: Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2661 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2662 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2663 * sysdeps/x86_64/fpu/Versions: New versions added.
2664 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2665 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2666 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2667 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2668 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2669 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2670 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2671 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2672 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2673 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2674 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2675 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2676 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2677 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2678 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2679 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2680 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2681 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2682 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2683 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2684 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2685 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2686 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2687 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2689 * NEWS: Mention addition of x86_64 vector sincos.
2690 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2691 * math/math.h (__MATHDECL_VEC): New macro.
2692 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2693 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2694 declaration under condition.
2695 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2696 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2697 TEST_VEC_LOOP change.
2698 * math/test-double-vlen4.h: Likewise.
2699 * math/test-double-vlen8.h: Likewise.
2700 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2701 * math/test-float-vlen4.h: Likewise.
2702 * math/test-float-vlen8.h: Likewise.
2703 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2704 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2705 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2706 * sysdeps/x86_64/fpu/Versions: New versions added.
2707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2708 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2709 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2710 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2711 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2712 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2713 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2714 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2715 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2716 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2717 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2718 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2719 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2720 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2721 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2722 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2723 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2724 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2725 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2726 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2727 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2728 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2729 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2730 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2732 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2733 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2734 redirections for powf.
2735 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2736 * sysdeps/x86_64/fpu/Versions: New versions added.
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2738 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2739 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2740 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2741 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2742 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2743 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2744 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2745 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2746 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2747 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2748 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2749 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2750 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2751 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2752 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2753 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2754 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2755 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2756 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2757 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2758 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2759 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2760 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2761 * math/test-float-vlen16.h: Fixed 2 argument macro.
2762 * math/test-float-vlen4.h: Likewise.
2763 * math/test-float-vlen8.h: Likewise.
2764 * NEWS: Mention addition of x86_64 vector powf.
2766 2015-06-17 Joseph Myers <joseph@codesourcery.com>
2768 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2770 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2772 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2777 * resource/getpriority.c (getpriority): Rename to __getpriority
2778 and define as weak alias of __getpriority.
2779 * resource/setpriority.c (setpriority): Rename to __setpriority
2780 and define as weak alias of __setpriority.
2781 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2782 __getpriority and define as weak alias of __getpriority.
2783 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2784 __setpriority and define as weak alias of __setpriority.
2785 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2787 (setpriority): Use __setpriority as strong name.
2788 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2789 __getpriority and define as weak alias of __getpriority.
2790 * include/sys/resource.h (__getpriority): Declare. Use
2792 (__setpriority): Likewise.
2793 (getpriority): Don't use libc_hidden_proto.
2794 (setpriority): Likewise.
2795 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2796 getpriority. Call __setpriority instead of setpriority.
2797 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2801 * misc/getttyent.c (getttynam): Rename to __getttynam and define
2802 as weak alias of __getttynam. Use prototype function definition.
2803 Call __setttyent, __getttyent and __endttyent instead of
2804 setttyent, getttyent and endttyent.
2805 (getttyent): Rename to __getttyent and define as weak alias of
2806 __getttyent. Call __setttyent instead of setttyent. Call
2807 __fgets_unlocked instead of fgets_unlocked.
2808 (setttyent): Rename to __setttyent and define as weak alias of
2810 (endttyent): Rename to __endttyent and define as weak alias of
2812 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
2813 (__setttyent): Likewise.
2814 (__endttyent): Likewise.
2815 (getttyent): Don't use libc_hidden_proto.
2816 (setttyent): Likewise.
2817 (endttyent): Likewise.
2818 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2819 __endttyent instead of setttyent, getttyent and endttyent.
2820 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2824 * socket/recv.c (__recv): Use libc_hidden_def.
2825 * socket/socket.c (__socket): Likewise.
2826 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2827 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2828 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2829 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2830 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2832 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2834 * include/sys/socket.h (__socket): Do not use attribute_hidden.
2835 Use libc_hidden_proto.
2837 * socket/Versions (libc): Export __recv and __socket at version
2839 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2841 (init_mq_netlink): Call __socket instead of socket.
2842 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2846 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2847 __mq_timedreceive and define as alias of __mq_timedreceive. Use
2849 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2850 define as alias of __mq_timedsend. Use hidden_weak.
2851 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2852 __mq_timedsend as strong name.
2853 (mq_timedreceive): Use __mq_timedreceive as strong name.
2854 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
2855 (__mq_timedreceive): Likewise.
2856 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2857 __mq_timedreceive instead of mq_timedreceive.
2858 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2859 instead of mq_timedsend.
2860 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2863 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2864 hidden_def and hidden_weak instead of libc_hidden_def and
2866 (top level): Refer to hidden_def in comment.
2867 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2868 macro. Use it instead of libc_hidden_def.
2869 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2870 specify __GI_* name explicitly.
2871 (mq_timedreceive): Likewise.
2872 (mq_setattr): Likewise.
2875 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2876 __pthread_barrier_init and define as weak alias of
2877 __pthread_barrier_init.
2878 * sysdeps/sparc/nptl/pthread_barrier_init.c
2879 (pthread_barrier_init): Likewise.
2880 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2881 __pthread_barrier_wait and define as weak alias of
2882 __pthread_barrier_wait.
2883 * sysdeps/sparc/nptl/pthread_barrier_wait.c
2884 (pthread_barrier_wait): Likewise.
2885 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2886 (pthread_barrier_wait): Likewise.
2887 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2888 (pthread_barrier_wait): Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2890 (pthread_barrier_wait): Likewise.
2891 * nptl/Versions (libpthread): Export __pthread_barrier_init and
2892 __pthread_barrier_wait at version GLIBC_PRIVATE.
2893 * include/pthread.h (__pthread_barrier_init): Declare.
2894 (__pthread_barrier_wait): Likewise.
2895 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2896 Call __pthread_barrier_wait instead of pthread_barrier_wait.
2897 (helper_thread): Likewise.
2898 (init_mq_netlink): Call __pthread_barrier_init instead of
2899 pthread_barrier_init.
2902 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2903 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2904 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
2905 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2907 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2911 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2912 strong alias of _IO_fflush. Use libc_hidden_def.
2913 * libio/iofflush_u.c (fflush_unlocked): Rename to
2914 __fflush_unlocked and define as weak alias of __fflush_unlocked.
2915 Use libc_hidden_weak.
2916 * include/stdio.h (__fflush_unlocked): Declare. Use
2918 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2920 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2924 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2925 define as weak alias of __addseverity.
2926 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2928 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2929 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2930 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2933 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2934 (__tfind): Likewise.
2935 (__tdelete): Likewise.
2936 (__twalk): Likewise.
2937 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2938 __twalk to GLIBC_PRIVATE.
2939 * include/search.h (__tsearch): Use libc_hidden_proto.
2940 (__tfind): Likewise.
2941 (__tdelete): Likewise.
2942 (__twalk): Likewise.
2943 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2944 Call __tdelete instead of tdelete.
2945 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2946 tfind. Call __tsearch instead of tsearch.
2947 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2948 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2950 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2953 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2954 (dprintf): Define as a weak alias of __dprintf, not a strong
2956 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
2957 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2959 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2961 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2962 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2965 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2967 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2971 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2972 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2973 (in6addr_loopback): Rename to __in6addr_loopback and define as
2974 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2975 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2977 (__in6addr_any): Likewise.
2978 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2980 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2982 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2984 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2986 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2987 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2988 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2989 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2990 redirections for pow.
2991 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2992 * sysdeps/x86_64/fpu/Versions: New versions added.
2993 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2994 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2995 build of SSE, AVX2 and AVX512 IFUNC versions.
2996 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2997 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2998 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2999 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3000 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3001 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3002 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3003 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3004 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3005 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3006 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3007 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3008 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3009 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3010 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3011 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3012 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3013 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3014 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3015 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3016 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3017 * NEWS: Mention addition of x86_64 vector pow.
3019 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3020 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3021 redirections for expf.
3022 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3023 * sysdeps/x86_64/fpu/Versions: New versions added.
3024 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3025 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3026 build of SSE, AVX2 and AVX512 IFUNC versions.
3027 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3028 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3029 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3030 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3031 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3032 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3033 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3034 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3035 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3036 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3037 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3038 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3039 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3040 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3041 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3042 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3043 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3044 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3045 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3046 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3047 * NEWS: Mention addition of x86_64 vector expf.
3049 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3050 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3051 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3052 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3053 redirections for exp.
3054 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3055 * sysdeps/x86_64/fpu/Versions: New versions added.
3056 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3057 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3058 build of SSE, AVX2 and AVX512 IFUNC versions.
3059 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3060 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3061 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3062 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3063 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3064 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3065 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3066 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3067 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3068 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3069 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3070 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3071 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3072 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3073 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3074 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3075 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3076 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3077 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3078 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3079 * NEWS: Mention addition of x86_64 vector exp.
3081 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3082 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3083 redirections for logf.
3084 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3085 * sysdeps/x86_64/fpu/Versions: New versions added.
3086 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3087 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3088 build of SSE, AVX2 and AVX512 IFUNC versions.
3089 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3090 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3091 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3092 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3093 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3094 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3095 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3096 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3097 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3098 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3099 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3100 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3101 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3102 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3103 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3104 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3105 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3106 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3107 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3108 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3109 * NEWS: Mention addition of x86_64 vector logf.
3111 * bits/libm-simd-decl-stubs.h: Added stubs for log.
3112 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3113 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3114 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3115 redirections for log.
3116 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3117 * sysdeps/x86_64/fpu/Versions: New versions added.
3118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3119 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3120 build of SSE, AVX2 and AVX512 IFUNC versions.
3121 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3122 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3123 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3124 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3125 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3126 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3127 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3128 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3129 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3130 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3131 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3132 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3133 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3135 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3136 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3137 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3138 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3139 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3140 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3141 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3142 * NEWS: Mention addition of x86_64 vector log.
3144 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
3146 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3147 cfi_adjust_cfa_offset argument.
3148 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3149 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3152 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3153 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3154 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3155 ordering using ldar.
3156 (_dl_tlsdesc_dynamic): Likewise.
3157 (_dl_tlsdesc_return_lazy): Likewise.
3158 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3159 relaxed atomics instead of volatile and synchronize with release store.
3160 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3162 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3164 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
3166 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3167 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3168 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3169 * sysdeps/x86_64/fpu/Versions: New versions added.
3170 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3171 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3172 build of SSE, AVX2 and AVX512 IFUNC versions.
3173 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3174 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3175 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3176 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3177 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3178 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3179 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3180 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3181 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3182 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3183 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3184 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3185 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3186 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3187 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3188 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3189 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3190 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3191 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3192 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3193 * NEWS: Mention addition of x86_64 vector sinf.
3195 2015-06-14 Joseph Myers <joseph@codesourcery.com>
3197 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3198 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3199 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3201 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3202 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3204 2015-06-12 Joseph Myers <joseph@codesourcery.com>
3207 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3208 strong alias of _IO_fputs. Use libc_hidden_def.
3209 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3210 and define as weak alias of __fputs_unlocked. Use
3212 * include/stdio.h (__fputs_unlocked): Declare. Use
3214 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3218 * resolv/netdb.h [__USE_POSIX]: Change condition to
3220 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3222 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3223 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3224 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3225 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3226 [XPG4 || UNIX98] (AI_ALL): Likewise.
3227 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3228 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3229 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3230 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3231 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3232 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3233 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3234 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3235 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3236 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3237 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3238 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3239 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3240 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3241 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3242 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3243 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3244 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3245 [XPG4 || UNIX98] (gai_strerror): Likewise.
3246 [XPG4 || UNIX98] (getaddrinfo): Likewise.
3247 [XPG4 || UNIX98] (getnameinfo): Likewise.
3250 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3251 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3253 (getgrent): Likewise.
3254 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3256 [XPG3 || POSIX2008] (endgrent): Likewise.
3257 [XPG3] (setgrent): Likewise.
3258 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3260 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3263 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3264 define as weak alias of __getlogin_r. Use libc_hidden_weak.
3265 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3266 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3267 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3268 * include/unistd.h (__getlogin_r): Declare. Use
3270 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3271 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3273 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3274 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3275 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3277 2015-06-12 Martin Sebor <msebor@redhat.com>
3280 * Makerules (check-install-supported): New target.
3281 (install): Add check-install-supported as a dependency.
3282 * manual/install.texi (Installing the C Library): Document
3283 that overriding prefix and exec_prefix is not supported.
3285 * INSTALL: Regenerate from the above.
3287 2015-06-12 Joseph Myers <joseph@codesourcery.com>
3290 * posix/Versions (libc): Export __libc_pread at version
3292 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3294 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3299 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3300 (cvt_symbol): Use weak_alias instead of strong_alias.
3301 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3302 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3304 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3305 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3308 * inet/herrno.c (h_errno): Rename to __h_errno.
3309 (__libc_h_errno): Define as alias of __h_errno not h_errno.
3310 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3311 to __h_errno instead of h_errno.
3312 * nptl/herrno.c (h_errno): Rename to __h_errno.
3313 (__h_errno_location): Refer to __h_errno not h_errno.
3314 * resolv/Versions (h_errno): Rename to __h_errno.
3315 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3317 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3319 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
3321 * configure.ac: More strict check for AVX512 assembler support.
3322 * configure: Regenerated.
3324 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3325 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3326 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3327 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3328 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3329 * sysdeps/x86_64/fpu/Versions: New versions added.
3330 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3331 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3332 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3333 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3334 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3335 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3336 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3337 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3338 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3339 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3340 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3341 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3342 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3343 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3344 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3345 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3347 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3348 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3349 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3350 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3351 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3352 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3353 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3354 * NEWS: Mention addition of x86_64 vector sin.
3356 2015-06-11 Florian Weimer <fweimer@redhat.com>
3358 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3361 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
3364 * nptl/pt-interp.c: New file.
3365 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3367 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3368 $(common-objpfx)runtime-linker.h.
3370 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
3372 * Makeconfig (+interp): Remove unused variable.
3373 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3374 only. Depend on $(common-objpfx)runtime-linker.h instead of
3375 $(elf-objpfx)runtime-linker.h.
3376 ($(elf-objpfx)runtime-linker.h): Rename to
3377 $(common-objpfx)runtime-linker.h and move ...
3378 * Makerules [$(build-shared) = yes]: ... here.
3379 * elf/interp.c: Include <runtime-linker.h> instead of
3380 <elf/runtime-linker.h>.
3382 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3384 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3385 (__gettimeofday_syscall): Remove vsyscall fallback.
3386 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3387 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3388 Add syscall fallback function.
3389 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3390 if vDSO is not present.
3391 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3393 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3396 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3398 2015-06-09 Joseph Myers <joseph@codesourcery.com>
3401 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3403 (wcscmp): Define as weak alias of WCSCMP.
3404 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3406 (USE_HIDDEN_DEF): Define.
3407 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3408 __wcscoll. Don't use libc_hidden_weak.
3409 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3411 * sysdeps/i386/i686/multiarch/wcscmp-c.c
3412 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3414 (weak_alias): Undefine and redefine.
3415 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3416 __wcscmp and define as weak alias of __wcscmp.
3417 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3418 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
3419 (__wcscoll): Likewise.
3420 (wcscmp): Don't use libc_hidden_proto.
3421 (wcscoll): Likewise.
3422 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3424 * posix/regexec.c (check_node_accept_bytes): Likewise.
3425 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3427 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3428 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3431 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3432 __fstatvfs and define as weak alias of __fstatvfs. Use
3434 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3435 and define as weak alias of __statvfs. Use libc_hidden_weak.
3436 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3437 Define as alias of __fstatvfs, not fstatvfs.
3438 (fstatvfs64): Likewise.
3439 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3440 Define as alias of __statvfs, not statvfs.
3441 (statvfs64): Likewise.
3442 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3445 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3448 (HAVE_GETCPU_VSYSCALL): Define.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3450 (HAVE_GETCPU_VSYSCALL): Likewise.
3451 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3452 * sysdeps/unix/sysv/linux/sched_getcpu.c
3453 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3454 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3455 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3457 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3458 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3459 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3462 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3463 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3465 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3467 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
3469 * sysdeps/x86_64/fpu/Makefile: New file.
3470 * sysdeps/x86_64/fpu/Versions: New file.
3471 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3472 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3473 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3474 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3475 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3476 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3477 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3478 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3479 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3480 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3481 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3482 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3483 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3484 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3485 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3486 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3487 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3488 * sysdeps/x86_64/configure.ac: Options for libmvec build.
3489 * sysdeps/x86_64/configure: Regenerated.
3490 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3491 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3492 * manual/install.texi (Configuring and compiling): Document
3494 * INSTALL: Regenerated.
3495 * NEWS: Mention addition of libmvec and x86_64 vector cos.
3497 * math/Makefile: Added rules for vector tests.
3498 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3499 declaration under condition.
3500 * math/test-double-vlen2.h: New file.
3501 * math/test-double-vlen4.h: New file.
3502 * math/test-double-vlen8.h: New file.
3503 * math/test-vec-loop.h: Added initialization macro.
3504 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3506 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3507 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3508 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3509 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3510 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3511 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3512 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3513 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3514 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3516 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3517 * sysdeps/x86_64/fpu/Versions: New versions added.
3518 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3519 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3520 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3521 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3522 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3523 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3524 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3525 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3526 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3527 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3528 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3529 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3530 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3531 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3532 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3533 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3534 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3535 * NEWS: Mention addition of x86_64 vector cosf.
3537 * math/Makefile: Added CFLAGS for new tests.
3538 * math/test-float-vlen16.h: New file.
3539 * math/test-float-vlen4.h: New file.
3540 * math/test-float-vlen8.h: New file.
3541 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3542 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3543 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3544 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3545 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3546 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3547 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3548 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3549 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3550 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3551 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3553 2015-06-09 Marko Myllynen <myllynen@redhat.com>
3555 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3556 * locale/programs/ld-ctype.c: Likewise.
3558 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
3560 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3561 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3562 bit_ZMM16_31_state): New macro.
3563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3564 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3566 2015-06-08 Joseph Myers <joseph@codesourcery.com>
3568 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3570 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
3572 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3574 2015-06-05 Joseph Myers <joseph@codesourcery.com>
3577 * libio/memstream.c (open_memstream): Rename to __open_memstream
3578 and define as weak alias of __open_memstream.
3579 * include/stdio.h (__open_memstream): Declare. Use
3581 (open_memstream): Don't use libc_hidden_proto.
3582 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3584 * posix/getopt.c (_getopt_internal_r): Likewise.
3585 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3587 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3588 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3589 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3592 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3596 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3597 [__USE_XOPEN2K8]. Remove redundant #endif.
3598 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3599 Remove redundant #if.
3600 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3602 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3606 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3607 (__iswlower): Likewise.
3608 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
3609 (__iswlower): Likewise.
3610 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3611 instead of towlower.
3612 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3613 instead of iswlower. Call __towupper instead of towupper.
3614 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3615 instead of iswalnum.
3617 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3619 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3622 2015-06-05 Florian Weimer <fweimer@redhat.com>
3626 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3627 Check for overflow properly. Check for O_APPEND. Ignore large
3628 file system block sizes. Add comments about problems.
3629 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3630 * manual/filesys.texi (Storage Allocation): New node.
3632 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3634 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3635 cancellable syscalls.
3636 (SYS_ify): Add guard to no redefine it.
3637 (INLINE_SYSCALL): Likewise.
3638 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3639 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3640 SYSCALL_CANCEL instead.
3641 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3642 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3643 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3644 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3645 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3646 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3647 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3648 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3649 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3650 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3651 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3652 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3653 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3654 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3655 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3658 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3659 (__libc_pread64): Likewise.
3660 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3661 (__libc_preadv): Likewise.
3662 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3663 (__libc_readv64): Likewise.
3664 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3665 (__libc_pwrite): Likewise.
3666 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3667 (__libc_pwrite64): Likewise.
3668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3669 (__libc_pwritev): Likewise.
3670 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3671 (__libc_pwritev64): Likewise.
3672 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3673 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3674 (sync_file_range): Likewise.
3675 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3679 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3680 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3681 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3682 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3683 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3684 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3685 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3686 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3690 (__libc_read64): Likewise.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3700 (__libc_pread64): Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3704 (__libc_pwrite64): Likewise.
3705 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3706 (sync_file_range): Likewise.
3707 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3708 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3709 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3710 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3711 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3712 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3713 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3714 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3715 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3716 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3717 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3718 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3719 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3720 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3721 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3722 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3723 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3724 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3727 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3729 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3730 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3732 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3733 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3734 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3735 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3737 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3738 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3739 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3740 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3743 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
3745 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3747 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3748 Use VDSO routines for gettimeofday, clock_gettime if
3750 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3751 Declare VDSO symbols.
3752 * sysdeps/unix/sysv/linux/arm/sysdep.h:
3753 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3754 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3755 * sysdeps/unix/sysv/linux/arm/Versions: Add
3756 __vdso_clock_gettime.
3758 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3760 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3761 be an inline implementation regardless of library is built within.
3762 (open_not_cancel_2): Likewise.
3763 (__read_nocancel): Likewise.
3764 (__write_nocancel): Likewise.
3765 (openat_not_cancel): Likewise.
3766 (openat_not_cancel_3): Likewise.
3767 (openat64_not_cancel): Likewise.
3768 (openat64_not_cancel_3): Likewise.
3769 (__close_nocancel): Likewise.
3770 (pause_not_cancel): Likewise.
3771 (nanosleep_not_cancel): Likewise.
3772 (sigsuspend_not_cancel): Likewise.
3774 2015-06-04 Torvald Riegel <triegel@redhat.com>
3777 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3779 (__pthread_rwlock_rdlock_slow): Likewise.
3780 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3782 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3784 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3785 * nptl/tst-rwlock16.c: New file.
3786 * nptl/Makefile (tests): Add new test.
3788 2015-06-04 Torvald Riegel <triegel@redhat.com>
3791 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3792 missing wake-up of readers.
3793 * nptl/tst-rwlock15.c: New file.
3794 * nptl/Makefile (tests): Add new test.
3796 2015-06-03 Roland McGrath <roland@hack.frob.com>
3798 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3799 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3800 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3801 and __nacl_supply_interface_rtld.
3802 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3803 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3804 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3805 Add __nacl_supply_interface_rtld.
3806 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3808 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3813 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3815 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3817 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3818 __signbit* with standard C99 macros.
3819 * math/e_exp10l.c: Likewise.
3820 * math/e_exp2l.c: Likewise.
3821 * math/e_scalb.c: Likewise.
3822 * math/e_scalbf.c: Likewise.
3823 * math/e_scalbl.c: Likewise.
3824 * math/s_ldexp.c: Likewise.
3825 * math/s_ldexpf.c: Likewise.
3826 * math/s_ldexpl.c: Likewise.
3827 * math/w_atan2.c: Likewise.
3828 * math/w_atan2f.c: Likewise.
3829 * math/w_atan2l.c: Likewise.
3830 * math/w_cosh.c: Likewise.
3831 * math/w_coshf.c: Likewise.
3832 * math/w_coshl.c: Likewise.
3833 * math/w_exp10.c: Likewise.
3834 * math/w_exp10f.c: Likewise.
3835 * math/w_exp10l.c: Likewise.
3836 * math/w_exp2.c: Likewise.
3837 * math/w_exp2f.c: Likewise.
3838 * math/w_exp2l.c: Likewise.
3839 * math/w_fmod.c: Likewise.
3840 * math/w_fmodf.c: Likewise.
3841 * math/w_fmodl.c: Likewise.
3842 * math/w_hypot.c: Likewise.
3843 * math/w_hypotf.c: Likewise.
3844 * math/w_hypotl.c: Likewise.
3845 * math/w_jnl.c: Likewise.
3846 * math/w_lgamma.c: Likewise.
3847 * math/w_lgamma_r.c: Likewise.
3848 * math/w_lgammaf.c: Likewise.
3849 * math/w_lgammaf_r.c: Likewise.
3850 * math/w_lgammal.c: Likewise.
3851 * math/w_lgammal_r.c: Likewise.
3852 * math/w_pow.c: Likewise.
3853 * math/w_powf.c: Likewise.
3854 * math/w_powl.c: Likewise.
3855 * math/w_remainder.c: Likewise.
3856 * math/w_remainderf.c: Likewise.
3857 * math/w_remainderl.c: Likewise.
3858 * math/w_scalb.c: Likewise.
3859 * math/w_scalbf.c: Likewise.
3860 * math/w_scalbl.c: Likewise.
3861 * math/w_scalbln.c: Likewise.
3862 * math/w_scalblnf.c: Likewise.
3863 * math/w_scalblnl.c: Likewise.
3864 * math/w_sinh.c: Likewise.
3865 * math/w_sinhf.c: Likewise.
3866 * math/w_sinhl.c: Likewise.
3867 * math/w_tgamma.c: Likewise.
3868 * math/w_tgammaf.c: Likewise.
3869 * math/w_tgammal.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3877 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3879 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3901 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3902 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3903 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3904 * stdio-common/printf_fp.c: Likewise.
3905 * stdio-common/printf_fphex.c: Likewise.
3906 * stdio-common/printf_size.c: Likewise.
3908 2015-06-03 Joseph Myers <joseph@codesourcery.com>
3911 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3913 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3915 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3916 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3917 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3918 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3919 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3920 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3921 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3922 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3923 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3924 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3927 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3928 weak alias of __wmemchr. Use libc_hidden_weak.
3929 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
3930 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3933 2015-06-02 Roland McGrath <roland@hack.frob.com>
3936 * elf/tst-tlsalign-extern.c: New file.
3937 * elf/tst-tlsalign-extern-static.c: New file.
3938 * elf/tst-tlsalign-vars.c: New file.
3939 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3940 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3941 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3942 ($(objpfx)tst-tlsalign-extern-static): Likewise.
3943 (test-xfail-tst-tlsalign-extern-static): New variable.
3945 2015-06-02 Joseph Myers <joseph@codesourcery.com>
3947 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3948 Use variable name _sc_err instead of err.
3949 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3951 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3952 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3953 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3954 (INLINE_SYSCALL): Likewise.
3956 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3957 * include/string.h (__strnlen): Use libc_hidden_proto.
3958 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3959 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3960 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3961 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3962 (libc_hidden_def): Undefine and redefine.
3963 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3964 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3966 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3968 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3971 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3972 weak alias of __towlower. Use libc_hidden_weak.
3973 (towupper): Rename to __towupper and define as weak alias of
3974 __towupper. Use libc_hidden_weak.
3975 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3976 (__towupper): Likewise.
3977 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3978 __towlower instead of towlower.
3980 2015-06-02 Roland McGrath <roland@hack.frob.com>
3982 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3983 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3985 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3987 * sysdeps/aarch64/libm-test-ulps: Update.
3989 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3991 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3993 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3995 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3996 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3997 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3998 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3999 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4001 2015-06-01 Martin Sebor <msebor@redhat.com>
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4005 (__setcontext): Use extended four-operand version of mtsf whenever
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4008 (__novec_swapcontext): Likewise.
4010 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4012 * benchtests/scripts/compare_bench.py: New file.
4013 * benchtests/scripts/import_bench.py (mean): New function.
4014 (split_list): Likewise.
4015 (do_for_all_timings): Likewise.
4016 (compress_timings): Likewise.
4018 * benchtests/scripts/import_bench.py: New file.
4019 * benchtests/scripts/validate_benchout.py: Import import_bench
4020 instead of jsonschema.
4021 (validate_bench): Remove function.
4022 (main): Use import_bench.
4024 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
4026 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4027 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4029 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4033 2015-05-28 Roland McGrath <roland@hack.frob.com>
4035 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4036 set THREAD_SELF->tid to a magic value and futex-wake it.
4037 Pass its address to the thread_exit system call.
4038 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4040 * sysdeps/nacl/lowlevellock.h: New file.
4041 * sysdeps/nacl/lll_timedwait_tid.c: New file.
4043 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4044 Add TIMEOUT to current time, don't subtract it.
4046 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
4050 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4051 ($(objpfx)tst-audit2.out): Also depend on
4052 $(objpfx)tst-auditmod9b.so.
4053 * elf/tst-audit2.c: Include <dlfcn.h>.
4054 (calloc_called): New.
4055 (calloc): Allow to be called more than once.
4056 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4058 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
4060 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4061 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4063 2015-05-27 Marko Myllynen <myllynen@redhat.com>
4065 * stdlib/monetary.h: Fix comment.
4067 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
4069 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4070 Avoid using variables in #defines that might cause shadowing.
4071 (INTERNAL_VSYSCALL_CALL): Likewise.
4073 2015-05-26 Roland McGrath <roland@hack.frob.com>
4075 * sysdeps/nacl/lll_timedlock_wait.c: New file.
4077 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4078 * nptl/lll_timedlock_wait.c: ... to this new file.
4079 * nptl/Makefile (libpthread-routines): Add it.
4080 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4081 * nptl/lll_timedwait_tid.c: ... to this new file.
4082 * nptl/Makefile (libpthread-routines): Add it.
4083 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4084 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4085 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4086 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4087 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4088 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4089 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4090 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4091 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4092 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4094 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4096 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4097 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4098 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4099 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4100 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4102 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4104 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4105 * sysdeps/unix/sysv/linux/tile/sysdep.h
4106 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4107 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4108 using vDSO syscall macro.
4110 2015-05-26 Andriy Rysin <arysin@gmail.com>
4113 * uk_UA: Fix sorting order for Ukrainian locale
4115 2015-05-26 Marko Myllynen <myllynen@redhat.com>
4117 * stdlib/monetary.h: Fix comment.
4119 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4122 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4123 st_mtim and st_ctim members.
4124 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4125 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4126 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4127 (struct stat64): Likewise.
4128 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4129 (struct stat64): Likewise.
4130 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4131 (struct stat64): Likewise.
4133 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4135 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4136 Define and include sysdep-vdso.h.
4137 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4139 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4141 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4142 Define with VDSO_SYMBOL and use PTR_MANGLE.
4143 (__vdso_clock_gettime): Likewise.
4144 (__vdso_clock_getres): Likewise.
4145 (_libc_vdso_platform_setup): Likewise.
4146 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4148 (_libc_vdso_platform_setup): Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4151 (__vdso_clock_gettime): Likewise.
4152 (__vdso_clock_getres): Likewise.
4153 (__vdso_get_tbfreq): Likewise.
4154 (__vdso_getcpu): Likewise.
4155 (__vdso_time): Likewise.
4156 (__vdso_sigtramp_rt64): Likewise.
4157 (__vdso_signtramp32): Likewise.
4158 (__vdso_sigtramp_rt32): Likewise.
4159 (_libc_vdso_platform_setup): Likewise.
4160 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4162 (__vdso_clock_gettime): Likewise.
4163 (__vdso_clock_getres): Likewise.
4164 (_libc_vdso_platform_setup): Likewise.
4165 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4167 (__vdso_clock_gettime): Likewise.
4168 (_libc_vdso_platform_setup): Likewise.
4169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4171 (__vdso_getcpu): Likewise.
4172 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4173 Use VDSO_SYMBOL macro to define.
4174 (__vdso_clock_gettime): Likewise.
4175 (__vdso_clock_getres): Likewise.
4176 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4178 (__vdso_clock_gettime): Likewise.
4179 (__vdso_clock_getres): Likewise.
4180 (__vdso_get_tbfreq): Likewise.
4181 (__vdso_getcpu): Likewise.
4182 (__vdso_time): Likewise.
4183 (__vdso_sigtramp_rt64): Likewise.
4184 (__vdso_signtramp32): Likewise.
4185 (__vdso_sigtramp_rt32): Likewise.
4186 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4188 (__vdso_clock_gettime): Likewise.
4189 (__vdso_clock_getres): Likewise.
4190 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4192 (__vdso_clock_gettime): Likewise.
4193 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
4197 (INTERNAL_VSYSCALL): Likewise.
4198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4200 (INTERNAL_VSYSCALL): Likewise.
4201 (INTERNAL_VSYSCALL_NCS): Likewise.
4202 (INTERNAL_VSYSCALL_CALL): New macro.
4203 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4206 (INTERNAL_VSYSCALL): Likewise.
4207 (INTERNAL_VSYSCALL_NCS): Likewise.
4208 (INTERNAL_VSYSCALL_CALL): New macro.
4209 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4211 (INLINE_VSYSCALL): Remove macro.
4212 (INTERNAL_VSYSCALL): Remove macro.
4213 (INTERNAL_VSYSCALL_NCS): Remove macro.
4214 (INTERNAL_VSYSCALL_CALL): New macro.
4215 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4216 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4217 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4218 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4219 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4221 (INLINE_VSYSCALL): Remove macro.
4222 (INTERNAL_VSYSCALL): Likewise.
4223 (INTERNAL_VSYSCALL_NCS): Likewise.
4224 (INTERNAL_VSYSCALL_CALL): New macro.
4225 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4226 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4227 PTR_DEMANGLE on vDSO pointer.
4228 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4229 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4231 (INTERNAL_SYSCALL): Likewise.
4232 (INTERNAL_VSYSCALL_NCS): Remove macro.
4233 (INTERNAL_VSYSCALL_CALL): New macro.
4234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4236 (INTERNAL_VSYSCALL): Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4238 sysdep-vdso.h instead of libc-vdso.h.
4239 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4241 (INLINE_VSYSCALL): Likewise.
4242 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4243 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4245 (INLINE_VSYSCALL): Likewise.
4246 (INTERNAL_VSYSCALL): Likewise.
4247 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4248 * sysdeps/unix/sysv/linux/timespec_get.c
4249 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4250 (timespec_get): Use ANSI prototype.
4251 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4252 and definition for Linux.
4254 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
4256 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4257 * include/libc-symbols.h: libmvec_hidden_* macro series added.
4259 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
4263 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4264 for missing DT_PLTRELSZ.
4266 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
4268 Remove obsolete aliases that broke 'locale -a'
4270 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4271 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4272 breaking some applications that use 'locale -a' output.
4273 Change the encoding of this file from Latin-1 to ASCII to avoid
4274 other potential problems with people grepping this file.
4276 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4278 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4279 -fasynchronous-unwind-tables.
4280 (CFLAGS-sendto.c): Likewise.
4281 (CFLAGS-sendmsg.c): Likewise.
4282 (CFLAGS-connect.c): Likewise.
4283 (CFLAGS-recvmsg.c): Likewise.
4284 (CFLAGS-recvfrom.c): Likewise.
4285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4286 (SOCKETCALL): New macro: non-cancellable socketcall.
4287 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4288 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4289 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4290 * sysdeps/unix/sysv/linux/accept.c: New file.
4291 * sysdeps/unix/sysv/linux/bind.c: Likewise.
4292 * sysdeps/unix/sysv/linux/connect.c: Likewise.
4293 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4294 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4295 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4296 * sysdeps/unix/sysv/linux/listen.c: Likewise.
4297 * sysdeps/unix/sysv/linux/recv.c: Likewise.
4298 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4299 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4300 * sysdeps/unix/sysv/linux/send.c: Likewise.
4301 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4302 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4303 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4304 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4305 * sysdeps/unix/sysv/linux/socket.c: Likewise.
4306 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4307 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4309 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4310 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4311 instead of __internal_xxx function.
4312 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4314 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4315 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4316 instead of __internal_xxx function.
4317 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4319 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4320 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4321 instead of __internal_xxx function.
4322 * sysdeps/unix/sysv/linux/accept.S: Remove file.
4323 * sysdeps/unix/sysv/linux/bind.S: Likewise.
4324 * sysdeps/unix/sysv/linux/connect.S: Likewise.
4325 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4326 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4327 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4328 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4329 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4330 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4331 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4332 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4333 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4334 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4335 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4336 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4337 * sysdeps/unix/sysv/linux/listen.S: Likewise.
4338 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4339 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4341 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4344 * sysdeps/unix/sysv/linux/recv.S: Likewise.
4345 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4346 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4347 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4348 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4349 * sysdeps/unix/sysv/linux/send.S: Likewise.
4350 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4351 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4352 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4353 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4354 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4355 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4358 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4359 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4360 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4361 socketcall is implemented in GLIBC.
4363 2015-05-22 Joseph Myers <joseph@codesourcery.com>
4365 * soft-fp/fmadf4.c: Include <libc-internal.h>.
4366 (__fma): Ignore uninitialized warnings around packing.
4367 * soft-fp/fmasf4.c: Include <libc-internal.h>.
4368 (__fmaf): Ignore uninitialized warnings around packing.
4369 * soft-fp/fmatf4.c: Include <libc-internal.h>.
4370 (__fmal): Ignore uninitialized warnings around packing.
4372 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4373 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4374 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4375 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4377 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4378 switch statement into default case.
4379 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4381 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4382 a conditional in forcing "inexact".
4383 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4386 2015-05-22 Roland McGrath <roland@hack.frob.com>
4388 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4389 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4390 for each INTERNAL_SYSCALL use.
4392 2015-05-22 Joseph Myers <joseph@codesourcery.com>
4395 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4396 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4400 * string/basename.c (basename): Rename to __basename and define as
4401 weak alias of __basename. Use libc_hidden_weak.
4402 * include/string.h (__basename): Declare. Use libc_hidden_proto.
4403 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4404 __basename instead of basename.
4405 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4407 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4409 2015-05-18 Florian Weimer <fweimer@redhat.com>
4411 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4412 (_IO_JUMPS_FILE_plus): New.
4413 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4414 _IO_CAST_FIELD_ACCESS.
4415 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4416 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4417 * libio/freopen.c (freopen): Likewise.
4418 * libio/freopen64.c (freopen64): Likewise.
4419 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4420 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4421 * libio/iofwide.c (_IO_fwide): Likewise.
4422 * libio/memstream.c (open_memstream): Likewise.
4423 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4424 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4425 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4427 2015-05-21 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4430 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4432 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4433 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4435 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4436 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4439 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4442 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4443 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4445 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4446 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4447 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4449 2015-05-21 Florian Weimer <fweimer@redhat.com>
4451 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4452 Adjust jump table label generation macros.
4454 2015-05-21 Florian Weimer <fweimer@redhat.com>
4456 * stdio-common/vfprintf.c (vfprintf): Move local variables
4457 args_malloced, specs, specs_malloced, and the code after
4458 do_positional to the printf_positional function.
4459 (printf_positional): New function.
4461 2015-05-21 Florian Weimer <fweimer@redhat.com>
4463 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4465 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4466 STEP4_TABLE, process_arg): Move macro definitions
4467 out of the vfprintf function. (Cosmetic change only.)
4469 2015-05-21 Carlos O'Donell <carlos@redhat.com>
4471 * benchtests/Makefile (stdio-common-bench): Define.
4472 (benchset): Add stdio-common-bench.
4473 * sprintf-inputs: New file.
4474 * sprintf-source.c: New file.
4476 2015-05-21 Andreas Schwab <schwab@suse.de>
4480 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4481 of struct __res_state.
4482 * resolv/res_send.c (__libc_res_nsend): Likewise.
4483 (get_nsaddr): New function.
4484 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4487 2015-05-20 Joseph Myers <joseph@codesourcery.com>
4489 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4490 -D_POSIX_C_SOURCE=199506L.
4492 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4494 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4495 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4496 Do not mention otherwise.
4497 [POSIX] (_XOPEN_VERSION): Do not expect.
4498 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4499 [POSIX] (_POSIX2_C_BIND): Likewise.
4500 [POSIX] (_POSIX2_VERSION): Likewise.
4501 [POSIX] (_XOPEN_XPG2): Likewise.
4502 [POSIX] (_XOPEN_XPG3): Likewise.
4503 [POSIX] (_XOPEN_XPG4): Likewise.
4504 [POSIX] (_XOPEN_UNIX): Likewise.
4505 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4506 [POSIX] (_POSIX_BARRIERS): Likewise.
4507 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4508 [POSIX] (_POSIX_CPUTIME): Likewise.
4509 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4510 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4511 [POSIX] (_POSIX_SHELL): Likewise.
4512 [POSIX] (_POSIX_SPAWN): Likewise.
4513 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4514 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4515 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4516 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4517 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4518 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4519 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4520 [POSIX] (_XBS5_LP64_OFF64): Likewise.
4521 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4522 [POSIX] (_POSIX_TIMEOUTS): Likewise.
4523 [POSIX] (_POSIX2_PBS): Likewise.
4524 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4525 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4526 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4527 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4528 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4529 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4530 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4531 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4532 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4533 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4534 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4535 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4536 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4537 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4538 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4539 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4540 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4541 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4542 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4543 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4544 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4545 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4546 [POSIX] (_SC_2_C_BIND): Likewise.
4547 [POSIX] (_SC_2_C_VERSION): Likewise.
4548 [POSIX] (_SC_2_PBS): Likewise.
4549 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4550 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4551 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4552 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4553 [POSIX] (_SC_2_PBS_TRACK): Likewise.
4554 [POSIX] (_SC_ATEXIT_MAX): Likewise.
4555 [POSIX] (_SC_BARRIERS): Likewise.
4556 [POSIX] (_SC_BASE): Likewise.
4557 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4558 [POSIX] (_SC_DEVICE_IO): Likewise.
4559 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4560 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4561 [POSIX] (_SC_FD_MGMT): Likewise.
4562 [POSIX] (_SC_FIFO): Likewise.
4563 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4564 [POSIX] (_SC_FILE_LOCKING): Likewise.
4565 [POSIX] (_SC_FILE_SYSTEM): Likewise.
4566 [POSIX] (_SC_IOV_MAX): Likewise.
4567 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4568 [POSIX] (_SC_NETWORKING): Likewise.
4569 [POSIX] (_SC_PAGE_SIZE): Likewise.
4570 [POSIX] (_SC_PASS_MAX): Likewise.
4571 [POSIX] (_SC_PIPE): Likewise.
4572 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4573 [POSIX] (_SC_REGEXP): Likewise.
4574 [POSIX] (_SC_SHELL): Likewise.
4575 [POSIX] (_SC_SIGNALS): Likewise.
4576 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4577 [POSIX] (_SC_SPIN_LOCKS): Likewise.
4578 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4579 [POSIX] (_SC_USER_GROUPS): Likewise.
4580 [POSIX] (_SC_USER_GROUPS_R): Likewise.
4581 [POSIX] (_SC_STREAMS): Likewise.
4582 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4583 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4584 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4585 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4586 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4587 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4588 [POSIX] (_PC_FILESIZEBITS): Likewise.
4589 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4590 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4591 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4592 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4593 [POSIX] (uid_t): Likewise.
4594 [POSIX] (gid_t): Likewise.
4595 [POSIX] (off_t): Likewise.
4596 [POSIX] (pid_t): Likewise.
4597 [POSIX] (cuserid): Allow.
4598 (_SC_2_CHAR_TERM): Require constant.
4599 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4600 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4603 2015-05-20 Roland McGrath <roland@hack.frob.com>
4605 * sysdeps/nacl/pthread-pids.h: New file.
4606 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4607 (create_thread): Use __nacl_get_tid to initialize PD->tid.
4609 * nptl/pthread-pids.h: New file.
4610 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4611 * nptl/nptl-init.c: Include <pthread-pids.h>.
4612 (__pthread_initialize_minimal_internal):
4613 Call __pthread_initialize_pids instead of set_tid_address syscall.
4615 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4616 * sysdeps/posix/usleep.c: ... here.
4618 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4620 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4621 call_pselect6 object.
4622 [$(subdir) = io]: Remove call_sync_file_range object.
4623 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4624 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4625 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4626 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4628 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
4630 * math/s_cproj.c: Add include "math_private.h".
4631 * math/s_cprojf.c: Likewise.
4632 * math/s_cprojl.c: Likewise.
4634 2015-05-19 Joseph Myers <joseph@codesourcery.com>
4637 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4638 high mantissa bit when testing whether P is a NaN.
4639 * math/libm-test.inc (remainder_test_data): Add more tests.
4640 (remquo_test_data): Likewise.
4643 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4644 below -32, return the argument, with underflow if subnormal.
4645 * math/auto-libm-test-in: Add more tests of atanh.
4646 * math/auto-libm-test-out: Regenerated.
4648 2015-05-19 Roland McGrath <roland@hack.frob.com>
4651 * nptl/tst-sem15.c: New file.
4652 * nptl/Makefile (tests): Add it.
4653 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4654 s/<</>>/ to fix typo in EOVERFLOW check.
4655 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4657 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4659 * manual/strings.texi (envz_remove): Fix typo in safety
4662 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
4663 Steve Ellcey <sellcey@imgtec.com>
4665 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4666 in order to avoid strict alias warnings.
4667 (iruserok_af): Ditto for ra.
4669 2015-05-19 James Lemke <jwlemke@codesourcery.com>
4673 (magicbyte): Convert to a function and avoid returning 0x01.
4674 (mem2mem_check): Avoid using a length byte equal to the magic byte.
4675 (mem2chunk_check): Fix unsigned comparisons to zero.
4676 Hoist defs of sz and magic.
4678 2015-05-19 Richard Henderson <rth@redhat.com>
4680 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4682 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4684 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4687 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4688 * malloc/arena.c (arena_lock): Check if arena is corrupt.
4689 (reused_arena): Find a non-corrupt arena.
4690 (heap_trim): Pass arena to unlink.
4691 * malloc/hooks.c (malloc_check_get_size): Pass arena to
4693 (top_check): Likewise.
4694 (free_check): Likewise.
4695 (realloc_check): Likewise.
4696 * malloc/malloc.c (malloc_printerr): Add arena argument.
4698 (munmap_chunk): Adjust.
4699 (ARENA_CORRUPTION_BIT): New macro.
4700 (arena_is_corrupt): Likewise.
4701 (set_arena_corrupt): Likewise.
4702 (sysmalloc): Use mmap if there are no usable arenas.
4703 (_int_malloc): Likewise.
4704 (__libc_malloc): Don't fail if arena_get returns NULL.
4705 (_mid_memalign): Likewise.
4706 (__libc_calloc): Likewise.
4707 (__libc_realloc): Adjust for additional argument to
4709 (_int_free): Likewise.
4710 (malloc_consolidate): Likewise.
4711 (_int_realloc): Likewise.
4712 (_int_memalign): Don't touch corrupt arenas.
4713 * malloc/tst-malloc-backtrace.c: New test case.
4715 * Makefile (summarize-tests): Fix return value on success.
4717 * manual/string.texi (Envz Functions): Add envz_remove.
4719 2015-05-18 Roland McGrath <roland@hack.frob.com>
4721 * sysdeps/posix/opendir.c: Include <stdbool.h>.
4722 (invalid_name): New function, broken out of ...
4723 (__opendirat): ... here. Call it.
4724 (need_isdir_precheck): New function, broken out of ...
4725 (__opendirat): ... here. Call it.
4726 Use __fxstatat64, not __xstatat64.
4727 (opendir_oflags): New function, broken out of ...
4728 (__opendirat): ... here. Call it.
4729 (opendir_tail): New function, broken out of ...
4730 (__opendirat): ... here. Call it.
4731 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4732 opendir_tail, rather than punting to __opendirat.
4733 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4735 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4737 * .gitignore: Ignore generated *.pyc.
4739 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
4741 * include/stdio.h: Define __need_wint_t.
4742 * test-skeleton.c: Avoid `for' loop initial declaration.
4743 * nptl/tst-initializers1.c: Use test-skeleton.c.
4745 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4748 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4750 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4753 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4754 (__ieee754_atanh): Force underflow exception for results with
4755 small absolute value.
4756 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4757 (__ieee754_atanhf): Force underflow exception for results with
4758 small absolute value.
4759 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4760 (__ieee754_atanh): Force underflow exception for results with
4761 small absolute value.
4762 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4763 (__ieee754_atanhf): Force underflow exception for results with
4764 small absolute value.
4765 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4766 (__ieee754_atanhl): Force underflow exception for results with
4767 small absolute value.
4768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4769 (__ieee754_atanhl): Force underflow exception for results with
4770 small absolute value.
4771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4772 (__ieee754_atanhl): Force underflow exception for results with
4773 small absolute value.
4774 * math/auto-libm-test-in: Do not allow missing underflow
4775 exceptions from atanh.
4776 * math/auto-libm-test-out: Regenerated.
4779 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4780 2**-28 as threshold for returning x or +/- 1/x.
4781 * math/auto-libm-test-in: Add more tests of tan.
4782 * math/auto-libm-test-out: Regenerated.
4785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4786 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4787 * math/auto-libm-test-in: Add another test of lgamma.
4788 * math/auto-libm-test-out: Regenerated.
4790 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
4792 * stdio-common/printf_fp.c (___printf_fp): Use abs.
4793 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
4794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4795 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4796 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
4797 (ADD2A): Use fabs. (SUB2A): Use fabs.
4798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4801 (log1): Use fabs. (my_log2): Use fabs.
4802 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4803 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4805 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4807 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
4808 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
4809 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
4810 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
4811 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4812 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4814 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4817 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4818 as threshold for returning 1 - x.
4819 * math/auto-libm-test-in: Add more tests of erfc.
4820 * math/auto-libm-test-out: Regenerated.
4822 2015-05-14 Joseph Myers <joseph@codesourcery.com>
4825 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4826 threshold for large arguments.
4827 * math/auto-libm-test-in: Add another test of atan.
4828 * math/auto-libm-test-out: Regenerated.
4831 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4832 (__log1p): Force underflow exception for results with small
4834 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4835 (__log1pf): Force underflow exception for results with small
4837 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4838 (__log1p): Force underflow exception for results with small
4840 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4841 (__log1pf): Force underflow exception for results with small
4843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4844 (__log1pl): Force underflow exception for results with small
4846 * math/auto-libm-test-in: Do not allow missing underflow
4847 exceptions from log1p.
4848 * math/auto-libm-test-out: Regenerated.
4850 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
4851 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4854 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4856 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
4858 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4859 (libmvec): New variable.
4860 * configure.ac: Added option for mathvec build.
4861 * configure: Regenerated.
4862 * mathvec/Depend: New file.
4863 * mathvec/Makefile: New file.
4864 * shlib-versions: Added libmvec.
4865 * math/Makefile: Added rule for libm.so installation.
4867 * bits/math-vector.h: New file.
4868 * bits/libm-simd-decl-stubs.h: New header.
4869 * math/Makefile (headers): Added new header
4870 libm-simd-decl-stubs.h.
4871 * math/math.h (__MATHCALL_VEC): New macro.
4873 * math/gen-libm-have-vector-test.sh: Script generates series of macros
4874 for conditions in testing functions.
4875 * math/Makefile: Added call of libm-have-vector-test.sh.
4876 * math/libm-test.inc (HAVE_VECTOR): New macros.
4878 * math/libm-test.inc: START refactored.
4879 * math/test-double.c (TEST_MATHVEC): Add define.
4880 * math/test-float.c: Likewise.
4881 * math/test-idouble.c: Likewise.
4882 * math/test-ifloat.c: Likewise.
4883 * math/test-ildoubl.c: Likewise.
4884 * math/test-ldouble.c: Likewise.
4885 * sysdeps/generic/math-tests-arch.h
4886 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4889 * math/test-double.c (FUNC_TEST): New macro.
4890 * math/test-float.c: Likewise.
4891 * math/test-idouble.c: Likewise.
4892 * math/test-ifloat.c: Likewise.
4893 * math/test-ildoubl.c: Likewise.
4894 * math/test-ldouble.c: Likewise.
4895 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4897 2015-05-13 Roland McGrath <roland@hack.frob.com>
4899 * sysdeps/nacl/fdopendir.c: New file.
4901 * dirent/scandir-tail.c: New file.
4902 * dirent/scandir64-tail.c: New file.
4903 * dirent/Makefile (routines): Add them.
4904 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4905 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4906 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4907 [!SCANDIR] (SCANDIR_TAIL): New macro.
4908 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4909 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4910 (SCANDIRAT): Macro removed.
4911 (SCANDIR_TAIL): New macro.
4912 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4913 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4914 (SCANDIRAT): Just call __opendirat and __scandir_tail.
4915 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4916 (READDIR): Macro removed.
4917 (SCANDIR_TAIL): New macro.
4918 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4919 (SCANDIR_TAIL): New macro.
4921 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4922 * dirent/scandir-cancel.c: ... to this new file.
4923 * dirent/Makefile (routines): Add it.
4924 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4925 * sysdeps/unix/sysv/linux/i386/scandir64.c
4926 (SKIP_SCANDIR_CANCEL): Macro removed.
4927 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4929 * dirent/tst-scandir.c: New file.
4930 * dirent/tst-scandir64.c: New file.
4931 * dirent/Makefile (tests): Add them.
4933 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
4936 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4938 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4940 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4943 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
4945 * benchtests/bench-strcoll.c: New benchmark.
4946 * benchtests/Makefile: Generate locales and run benchmark.
4947 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4948 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4949 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4950 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4951 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4952 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4953 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4954 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4955 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4956 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4957 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4958 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4959 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4960 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4961 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4962 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4963 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4964 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4965 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4966 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4967 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4968 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4969 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4970 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4972 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4974 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4975 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4977 2015-05-12 Roland McGrath <roland@hack.frob.com>
4979 * posix/uname-values.h: New file.
4980 * posix/uname.c: Include that instead of <config-name.h>.
4981 * sysdeps/nacl/uname-values.h: New file.
4982 * sysdeps/arm/nacl/uname-values.h: New file.
4984 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4986 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4987 splitting into fields.
4989 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4991 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4992 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4993 * locale/localeinfo.h: Add enum collation_encoding_type.
4994 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4995 * programs/ld-collate.c (collate_output): Add encoding type info.
4996 * string/strcoll_l.c (STRDIFF): New function.
4997 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4998 * wcsmbs/wcscoll_l.c: Define STRDIFF.
5000 2015-05-11 Joseph Myers <joseph@codesourcery.com>
5003 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5004 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
5005 <fpu_control.h> instead of <math/fpu_control.c>.
5006 * sysdeps/mips/mips32/fpu/Makefile: New file.
5008 2015-05-11 Andreas Schwab <schwab@suse.de>
5011 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5013 (_nss_compat_endgrent): Call nss_endgrent.
5014 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5016 (_nss_compat_endpwent): Call nss_endpwent.
5017 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5018 needent, call nss_setspent only if non-zero.
5019 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5020 (internal_endspent): Don't call nss_endspent.
5021 (_nss_compat_endspent): Call nss_endspent.
5022 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5023 Remove. All uses removed.
5024 (internal_setent): Remove parameter stayopen, add parameter
5025 stream. Use it instead of global variable.
5026 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5027 (internal_endent, internal_getent): Add parameter stream. Use it
5028 instead of global variable.
5029 (CONCAT(_nss_files_end,ENTNAME))
5030 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5031 (_nss_files_get##name##_r): Pass local stream. Remove locking.
5032 * nss/nss_files/files-alias.c (position, last_use): Remove. All
5034 (internal_setent, internal_endent): Add parameter stream. Use it
5035 instead of global variable.
5036 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5038 (get_next_alias): Add parameter stream.
5039 (_nss_files_getaliasent_r): Pass global stream.
5040 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
5041 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5042 (_nss_files_gethostbyname4_r): Pass local stream to
5043 internal_setent, internal_getent and internal_endent. Remove
5046 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5048 * tst-strfmon1.c (tests): Update expected currency symbol.
5050 2015-05-08 Roland McGrath <roland@hack.frob.com>
5052 * sysdeps/nacl/gethostname.c: New file.
5054 2015-05-08 Joseph Myers <joseph@codesourcery.com>
5056 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5058 * math/auto-libm-test-out: Regenerated.
5059 * sysdeps/i386/fpu/libm-test-ulps: Update.
5060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5062 2015-05-08 Carlos O'Donell <carlos@redhat.com>
5065 * stdlib/tst-setcontext3.c: New file.
5066 * stdlib/tst-setcontext3.sh: New file.
5067 * stdlib/Makefile (tests): Add tst-setcontext3.
5068 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5069 to verify test program created output file.
5070 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5071 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5072 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5073 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5075 2015-05-06 Roland McGrath <roland@hack.frob.com>
5078 * elf/tst-tlsalign.c: New file.
5079 * elf/tst-tlsalign-static.c: New file.
5080 * elf/tst-tlsalign-lib.c: New file.
5081 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5082 (tests-static): Add tst-tlsalign-static.
5083 (modules-names): Add tst-tlsalign-lib.
5084 (test-xfail-tst-tlsalign): New variable.
5085 (test-xfail-tst-tlsalign-static): New variable.
5087 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5088 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5090 2015-05-06 Joseph Myers <joseph@codesourcery.com>
5092 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5093 csqrt, erfc, sin and sincos.
5094 * math/auto-libm-test-out: Regenerated.
5095 * sysdeps/i386/fpu/libm-test-ulps: Update.
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5098 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5100 * sysdeps/aarch64/libm-test-ulps: Update.
5102 2015-05-05 Joseph Myers <joseph@codesourcery.com>
5104 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5105 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5106 * math/auto-libm-test-out: Regenerated.
5107 * sysdeps/i386/fpu/libm-test-ulps: Update.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5110 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
5113 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5114 (wcsncpy): Likewise.
5116 2015-05-05 Florian Weimer <fweimer@redhat.com>
5118 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5119 Assume __ASSUME_FALLOCATE is always true.
5120 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5121 (__posix_fallocate64_l64): Likweise.
5122 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5123 (posix_fallocate): Likewise.
5124 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5125 (__posix_fallocate64_l64): Likewise.
5126 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5127 [!__ASSUME_FALLOCATE]: Add comment.
5129 2015-05-05 Florian Weimer <fweimer@redhat.com>
5131 * sysdeps/unix/sysv/linux/i386/Makefile
5132 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5133 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5134 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5135 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5136 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5137 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5140 2015-05-02 Joseph Myers <joseph@codesourcery.com>
5142 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5143 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5145 * math/auto-libm-test-out: Regenerated.
5146 * sysdeps/i386/fpu/libm-test-ulps: Update.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5149 2015-05-01 Joseph Myers <joseph@codesourcery.com>
5151 * math/auto-libm-test-in: Add more tests of tgamma.
5152 * math/auto-libm-test-out: Regenerated.
5153 * sysdeps/i386/fpu/libm-test-ulps: Update.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156 * math/auto-libm-test-in: Add more tests of tanh.
5157 * math/auto-libm-test-out: Regenerated.
5158 * sysdeps/i386/fpu/libm-test-ulps: Update.
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161 * math/auto-libm-test-in: Add more tests of tan.
5162 * math/auto-libm-test-out: Regenerated.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5166 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5167 * math/auto-libm-test-out: Regenerated.
5168 * sysdeps/i386/fpu/libm-test-ulps: Update.
5169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5171 * math/auto-libm-test-in: Add another test of pow.
5172 * math/auto-libm-test-out: Regenerated.
5173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5175 * math/auto-libm-test-in: Add more tests of lgamma.
5176 * math/auto-libm-test-out: Regenerated.
5177 * sysdeps/i386/fpu/libm-test-ulps: Update.
5178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5182 * math/auto-libm-test-out: Regenerated.
5183 * sysdeps/i386/fpu/libm-test-ulps: Update.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5186 2015-05-01 Mark Wielaard <mjw@redhat.com>
5188 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5189 Elf64_Chdr structs and ELFCOMPRESS constants.
5191 2015-05-01 Joseph Myers <joseph@codesourcery.com>
5193 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5195 * math/auto-libm-test-out: Regenerated.
5196 * sysdeps/i386/fpu/libm-test-ulps: Update.
5197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5199 * math/auto-libm-test-in: Add more tests of erf and erfc.
5200 * math/auto-libm-test-out: Regenerated.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5204 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
5206 * config.h.in (HAVE_AARCH64_BE): Add.
5208 2015-04-30 Joseph Myers <joseph@codesourcery.com>
5210 * math/auto-libm-test-in: Add more tests of csqrt.
5211 * math/auto-libm-test-out: Regenerated.
5212 * sysdeps/i386/fpu/libm-test-ulps: Update.
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5215 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5216 * math/auto-libm-test-out: Regenerated.
5217 * sysdeps/i386/fpu/libm-test-ulps: Update.
5218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5220 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5222 2015-04-29 Roland McGrath <roland@hack.frob.com>
5224 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5225 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5227 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5228 (euidaccess, eaccess): Define as weak aliases.
5230 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5231 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
5232 but __suseconds_t is often 'long int' so some sources assume that
5233 type is being used (e.g. they use %ld to print tv_usec).
5235 2015-04-29 Florian Weimer <fweimer@redhat.com>
5238 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5240 * nss/tst-nss-getpwent.c: New file.
5241 * nss/Makefile (tests): Add new test.
5243 2015-04-28 Joseph Myers <joseph@codesourcery.com>
5246 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5247 exponents less than 48 as cases where high part of mantissa needs
5248 examining to determine whether argument is integral.
5249 * math/libm-test.inc (round_test_data): Add more tests.
5251 2015-04-28 Mark Wielaard <mjw@redhat.com>
5253 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5255 2015-04-27 David S. Miller <davem@davemloft.net>
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5259 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5261 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
5264 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5266 2015-04-27 Florian Weimer <fweimer@redhat.com>
5269 * time/tzset.c (parse_tzname): Return error on memory allocation
5271 * test-skeleton.c (struct temp_name_list): Change type of name
5272 member to non-const.
5273 (add_temp_file): Create a copy of the file name.
5274 (delete_temp_files): Deallocate memory.
5275 (create_temp_file): Add comment.
5277 2015-04-24 Florian Weimer <fweimer@redhat.com>
5279 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5280 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5282 2015-04-24 Roland McGrath <roland@hack.frob.com>
5284 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5285 * sysdeps/arm/configure: Regenerated.
5287 2015-04-24 Florian Weimer <fweimer@redhat.com>
5290 * time/tzfile.c (__tzfile_read): Check for large values of
5291 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
5292 * time/tzset.c (__tzstring_len): New function, based on the old
5293 __tzstring function.
5294 (__tzstring): Call __tzstring_len.
5295 (parse_tzname): New helper function extracted from
5296 __tzset_parse_tz. Call __tzstring_len, without making a copy of
5298 (parse_offset): New helper function extracted from
5299 __tzset_parse_tz. Replace switch with fallthrough with
5300 initialization before sscanf.
5301 (parse_rule): Likewise.
5302 (__tzset_parse_tz): Rewrite using the new helper functions. Use
5303 new-style function definition.
5304 * timezone/Makefile (tests): Add tst-tzset.
5305 (tst-tzset.out): Dependencies on time zone files.
5306 (tst-tzset-ENV): Set TZDIR.
5307 (testdata/XT%): Copy crafted time zone files.
5308 * timezone/README: Mention crafted time zone files.
5309 * timezone/testdata/XT1, timezone/testdata/XT2,
5310 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5312 * timezone/tst-tzset.c: New test.
5314 2015-04-24 Florian Weimer <fweimer@redhat.com>
5316 * Makeconfig (+gccwarn): Remove -Winline.
5318 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5320 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5322 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5324 * NEWS: Mention sysconf() cache information support for s390.
5325 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5327 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
5329 * math/k_casinh.c (__kernel_casinh): Use __copysign.
5330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5331 (__nearbyint): Likewise.
5332 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5333 (copysignl): Likewise.
5335 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
5338 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5339 based on padding. (CVE-2015-1781)
5341 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5343 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5345 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5346 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5347 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5348 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5349 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5350 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5351 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5353 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5354 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5355 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5356 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5357 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5358 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5359 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5360 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5361 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5362 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5363 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5364 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5365 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5366 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5367 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5369 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
5371 * stdlib/setenv.c (__add_to_environ):
5372 Dump core quickly if setenv (..., NULL, ...) is called.
5373 This time, do it the right way, and pacify GCC with a pragma.
5375 2015-04-17 Roland McGrath <roland@hack.frob.com>
5377 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5378 IMAP->l_prev cannot be null, and #if out the code for the contrary
5379 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5380 believe that NS (&_dl_ns[NSID]) could point outside the array.
5382 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5383 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5384 before using NSID as an index.
5386 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
5389 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5390 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5391 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5393 2015-04-17 Roland McGrath <roland@hack.frob.com>
5395 Add preliminary port to Google Native Client on ARM.
5396 * abi-tags (.*-.*-nacl.*): New entry.
5397 * sysdeps/arm/nacl: New directory.
5398 * sysdeps/nacl: New directory.
5400 2015-04-16 David S. Miller <davem@davemloft.net>
5402 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5403 lowlevellock-futex.h
5405 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
5407 * sysdeps/tile/configure.ac: New file.
5408 * sysdeps/tile/configure: Regenerated.
5410 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5412 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
5413 conditionals for weak_alias and libc_hidden_weak.
5414 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5415 libc_hidden_weak and weak_alias.
5416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5417 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5418 and weak_alias for static one.
5420 2015-04-15 David S. Miller <davem@davemloft.net>
5422 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5424 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5427 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5428 Use signed comparision instead of substraction to avoid
5430 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5431 Take the sign of ret.
5432 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5433 Do not expect precise return values. Only the sign matters.
5434 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5435 * wcsmbs/test-wcsncmp.c: New File.
5436 * string/test-strncmp.c: Add wcsncmp support.
5438 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5441 * math/w_log1p.c: New file.
5442 * math/w_log1pf.c: Likewise.
5443 * math/w_log1pl.c: Likewise.
5444 * math/Makefile (libm-calls): Add w_log1p.
5445 * math/s_log1pl.c (log1pl): Remove weak_alias.
5446 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5447 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5448 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5449 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5450 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5451 [NO_LONG_DOUBLE] (log1pl): Likewise.
5452 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5453 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5454 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5455 (log1p): Remove long_double_symbol.
5456 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5457 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5458 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5459 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5460 remove weak_alias for corresponding log1p function.
5461 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5462 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5463 * sysdeps/ia64/fpu/w_log1p.c: New file.
5464 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5465 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5466 * math/libm-test.inc (log1p_test_data): Add errno expectations.
5468 2015-04-10 Joseph Myers <joseph@codesourcery.com>
5471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5472 decimal exponent by 1.
5473 * stdlib/tst-strtod-round-data: Add more tests.
5474 * stdlib/tst-strtod-round.c (tests): Regenerated.
5476 2015-04-09 Joseph Myers <joseph@codesourcery.com>
5478 * math/auto-libm-test-in: Add more tests of clog and clog10.
5479 * math/auto-libm-test-out: Regenerated.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483 2015-04-09 Roland McGrath <roland@hack.frob.com>
5485 * Makeconfig (module-cppflags): Exclude all .v.i files.
5486 (skip-module-cppflags): Variable removed.
5488 * configure.ac (libc_config_ok): Initialize before reading
5489 preconfigure scripts, not after.
5490 * configure: Regenerated.
5492 * test-skeleton.c (TIMEOUT): Move #define to top level.
5493 (main): Grok environment variable TEST_DIRECT. If set, print
5494 test expectation details into that file and then behave as if
5497 2015-04-09 Florian Weimer <fweimer@redhat.com>
5499 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5502 2015-04-08 David S. Miller <davem@davemloft.net>
5504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5506 2015-04-08 Joseph Myers <joseph@codesourcery.com>
5508 * math/auto-libm-test-in: Add more tests of atanh.
5509 * math/auto-libm-test-out: Regenerated.
5510 * sysdeps/i386/fpu/libm-test-ulps: Update.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5513 * math/auto-libm-test-in: Add more tests of atan.
5514 * math/auto-libm-test-out: Regenerated.
5515 * sysdeps/i386/fpu/libm-test-ulps: Update.
5516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5518 2015-04-08 Florian Weimer <fweimer@redhat.com>
5520 * elf/pldd.c (main): Rewrite to use struct
5521 scratch_buffer instead of extend_alloca.
5522 * elf/pldd-xx.c (find_maps): Likewise.
5523 * grp/initgroups.c: Include <scratch_buffer.h> instead of
5525 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5526 scratch_buffer instead of extend_alloca.
5527 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5528 grp/compat-initgroups.c.
5529 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5530 Rewrite to use struct scratch_buffer instead of extend_alloca.
5531 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5532 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5534 2015-04-08 Joseph Myers <joseph@codesourcery.com>
5536 * math/auto-libm-test-in: Add more tests of cbrt.
5537 * math/auto-libm-test-out: Regenerated.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5540 * math/auto-libm-test-in: Add more tests of cabs.
5541 * math/auto-libm-test-out: Regenerated.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5547 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5548 (__ieee754_atan2): Set FE_TONEAREST mode for internal
5550 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5552 * math/auto-libm-test-out: Regenerated.
5553 * sysdeps/i386/fpu/libm-test-ulps: Update.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5558 (atan): Set FE_TONEAREST mode for internal computations.
5559 * math/auto-libm-test-in: Add more tests of atan.
5560 * math/auto-libm-test-out: Regenerated.
5562 2015-04-07 James Cowgill <james410@cowgill.org.uk>
5565 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5567 2015-04-07 Florian Weimer <fweimer@redhat.com>
5569 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5571 2015-04-07 Florian Weimer <fweimer@redhat.com>
5573 * include/scratch_buffer.h: New file.
5574 * malloc/scratch_buffer_grow.c: Likewise.
5575 * malloc/scratch_buffer_grow_preserve.c: Likewise.
5576 * malloc/scratch_buffer_set_array_size.c: Likewise.
5577 * malloc/tst-scratch_buffer.c: Likewise.
5578 * malloc/Makefile (routines): Add scratch_buffer_grow.
5579 (tests): Add test case.
5580 * malloc/Versions (GLIBC_PRIVATE): Export
5581 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5582 __libc_scratch_buffer_set_array_size.
5584 2015-04-06 Richard Henderson <rth@redhat.com>
5586 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5587 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5589 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5590 unsigned int before printing.
5592 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5595 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5596 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5598 2015-04-02 Florian Weimer <fweimer@redhat.com>
5600 * include/libc-internal.h (libc_max_align_t): Define.
5602 2015-04-02 Andreas Schwab <schwab@suse.de>
5605 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5607 2015-04-02 Mel Gorman <mgorman@suse.de>
5610 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5611 as well as the main arena.
5613 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5616 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5617 sharing L2 cache to 2 for Silvermont/Knights Landing.
5619 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5622 * config.make.in (have-protected-data): New.
5623 * configure.ac: Check linker support for protected data symbol.
5624 * configure: Regenerated.
5625 * elf/Makefile (modules-names): Add tst-protected1moda and
5626 tst-protected1modb if $(have-protected-data) is yes.
5627 (tests): Add tst-protected1a and tst-protected1b if
5628 $(have-protected-data) is yes.
5629 ($(objpfx)tst-protected1a): New.
5630 ($(objpfx)tst-protected1b): Likewise.
5631 (tst-protected1modb.so-no-z-defs): Likewise.
5632 * elf/tst-protected1a.c: New file.
5633 * elf/tst-protected1b.c: Likewise.
5634 * elf/tst-protected1mod.h: Likewise.
5635 * elf/tst-protected1moda.c: Likewise.
5636 * elf/tst-protected1modb.c: Likewise.
5638 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5641 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5642 indicates it is called from do_lookup_x on relocation against
5643 protected data, skip the data definion in the executable from
5645 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5646 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5647 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5648 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5649 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5651 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5652 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5653 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5654 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5655 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5656 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5658 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
5660 * sysdeps/nptl/pthread.h: Remove duplicate definition of
5661 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5663 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
5665 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5667 * sysdeps/x86_64/nptl/tls.h: Ditto.
5669 2015-03-27 Roland McGrath <roland@hack.frob.com>
5671 * dlfcn/tststatic.c (main): Converted to ...
5672 (do_test): ... this.
5673 (TEST_FUNCTION): New macro.
5674 Include test-skeleton.c.
5676 2015-03-26 Alan Modra <amodra@gmail.com>
5678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5679 Don't segfault if ifunc resolver returns a NULL. Do set plt to
5680 zero for undefined weak.
5681 (elf_machine_plt_conflict): Similarly.
5683 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5685 * math/auto-libm-test-in: Add more tests of acosh, asinh and
5687 * math/auto-libm-test-out: Regenerated.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 * math/auto-libm-test-in: Add another test of asin.
5692 * math/auto-libm-test-out: Regenerated.
5693 * sysdeps/i386/fpu/libm-test-ulps: Update.
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5696 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5698 (LLL_EBX_REG): Likewise.
5699 (LLL_ENTER_KERNEL): Likewise.
5701 * math/auto-libm-test-in: Add more tests of asin.
5702 * math/auto-libm-test-out: Regenerated.
5703 * sysdeps/i386/fpu/libm-test-ulps: Update.
5704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5708 libc_do_syscall_args): New structure.
5709 (INTERNAL_SYSCALL_MAIN_0): New macro.
5710 (INTERNAL_SYSCALL_MAIN_1): Likewise.
5711 (INTERNAL_SYSCALL_MAIN_2): Likewise.
5712 (INTERNAL_SYSCALL_MAIN_3): Likewise.
5713 (INTERNAL_SYSCALL_MAIN_4): Likewise.
5714 (INTERNAL_SYSCALL_MAIN_5): Likewise.
5715 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
5716 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5717 Replace conditional definitions by conditional definitions of ....
5718 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
5719 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5720 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5721 (libpthread-sysdep_routines): Add libc-do-syscall.
5722 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5723 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5724 to __NR_futex not 240.
5726 2015-03-25 Alan Modra <amodra@gmail.com>
5728 * NEWS: Advertise TLS optimization.
5729 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5730 (DT_PPC_NUM): Increment.
5731 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5732 (CHECK_STATIC_TLS): Use here.
5733 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5736 * sysdeps/powerpc/dl-tls.c: New file.
5737 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5738 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5739 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5740 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5745 2015-03-25 Alan Modra <amodra@gmail.com>
5747 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5748 for overlapping .opd entries" to "support...".
5749 * sysdeps/powerpc/powerpc64/configure: Regenerate
5751 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5753 * math/auto-libm-test-in: Add more tests of acos.
5754 * math/auto-libm-test-out: Regenerated.
5755 * sysdeps/i386/fpu/libm-test-ulps: Update.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5758 * math/auto-libm-test-in: Add more tests of expm1.
5759 * math/auto-libm-test-out: Regenerated.
5760 * sysdeps/i386/fpu/libm-test-ulps: Update.
5761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5763 2015-03-24 Joseph Myers <joseph@codesourcery.com>
5765 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5766 * math/auto-libm-test-out: Regenerated.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5770 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5773 * math/auto-libm-test-in: Add more tests of log2.
5774 * math/auto-libm-test-out: Regenerated.
5775 * sysdeps/i386/fpu/libm-test-ulps: Update.
5776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5778 2015-03-23 Roland McGrath <roland@hack.frob.com>
5780 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5781 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
5782 _IO_IS_APPENDING bit in READ_WRITE instead.
5784 2015-03-23 Florian Weimer <fweimer@redhat.com>
5786 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5787 (__determine_cpumask_size): Replace extend_alloca with a
5788 variable-length array. Do not treat res == 0 as an error.
5790 2015-03-23 Florian Weimer <fweimer@redhat.com>
5793 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5794 and integer overflow.
5795 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5796 (main): Add integer overflow tests.
5797 * manual/pattern.texi (Calling Wordexp): Document additional use
5800 2015-03-23 Alan Modra <amodra@gmail.com>
5802 * config.h.in: Remove HAVE_ASM_PPC_REL16.
5803 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5804 and false branch of conditional.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5808 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
5810 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5812 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5813 unused declaration of _hurd_intr_rpc_msg_in_trap.
5814 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5815 defined instead of whether it is non-zero.
5816 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5817 input constraint instead of both input and output constraint. Use ecx
5818 clobber instead of %ecx.
5819 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5820 mutex_unlock): Use a statement expression instead of an expression list.
5821 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5822 type to vm_size_t instead of vm_address_t.
5823 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5824 defined instead of whether it is non-zero.
5825 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5826 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5827 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5828 comparisons with mapaddr.
5829 * nscd/nscd-client.h: Include <time.h>.
5830 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5831 9th parameter to __vm_region instead of int.
5832 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5833 * scripts/check-local-headers.sh (exclude): Add device/,
5834 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5837 2015-03-19 Roland McGrath <roland@hack.frob.com>
5839 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5840 to account for alignment padding.
5841 * sysdeps/arm/memmove.S: Likewise.
5843 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
5845 * sysdeps/unix/sysv/linux/generic/README: New file.
5847 2015-03-18 Joseph Myers <joseph@codesourcery.com>
5850 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5851 (futex_abstimed_wait)
5852 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5853 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5854 of lll_futex_timed_wait.
5856 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
5859 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5861 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
5868 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5869 entries with Static TLS too. Skip entries past the end of the
5870 allocated DTV, from Alan Modra.
5871 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
5872 Static TLS DTV entry set up from...
5873 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5874 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5875 * nptl/allocatestack.c (init_one_static_tls): ... and here...
5876 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5878 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
5879 that the slot we find is associated with the given map before
5880 using its generation count.
5881 * nptl_db/db_info.c: Include ldsodefs.h.
5882 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5883 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5884 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5885 (link_map::l_tls_offset): New struct field.
5886 (dtv_t::counter): Likewise.
5887 (rtld_global): New struct.
5888 (_rtld_global): New rtld variable.
5889 (dl_tls_dtv_slotinfo_list): New rtld global field.
5890 (dtv_slotinfo_list): New struct.
5891 (dtv_slotinfo): Likewise.
5892 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5893 (td_lookup): Rename to...
5894 (td_mod_lookup): ... this. Use new mod parameter instead of
5896 * nptl_db/td_thr_tlsbase.c: Include link.h.
5897 (dtv_slotinfo_list, dtv_slotinfo): New functions.
5898 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
5899 addresses even if the DTV is out of date or missing them.
5900 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5901 index zero-length arrays.
5902 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5903 (td_lookup): Make it a macro implemented in terms of...
5904 (td_mod_lookup): ... this declaration.
5905 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5906 (DB_MAIN_VARIABLE): Likewise.
5908 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
5911 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5913 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
5915 * stdlib/setenv.c (__add_to_environ): Revert previous change.
5917 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
5920 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5921 (atomic_add, atomic_increment_and_test)
5922 (atomic_decrement_and_test): Fix 64-bit arithmetic.
5924 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
5926 * stdlib/setenv.c (__add_to_environ):
5927 Dump core quickly if setenv (..., NULL, ...) is called.
5929 2015-03-13 Roland McGrath <roland@hack.frob.com>
5931 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5932 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5933 all the necessary asm magic in one place.
5934 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5937 2015-03-13 Carlos O'Donell <carlos@redhat.com>
5940 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5941 traced file mtime. Use consistent log message.
5942 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5943 (register_traced_file): Call install_watches. Always set mtime.
5944 (invalidate_cache): Iterate over all trace files. Call install_watches.
5945 (inotify_check_files): Don't inline. Handle watching parent
5946 directories and configuration file movement in and out.
5947 (handle_inotify_events): New function.
5948 (main_loop_poll): Call handle_inotify_events.
5949 (main_loop_epoll): Likewise.
5950 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5951 (struct traced_file): Use array of inotify fds. Add parent directory,
5953 (struct database_dyn): Remove unused file_mtime.
5954 (init_traced_file): New inline function.
5955 (define_traced_file): New macro.
5956 * nss/nss_db/db-init.c: Use define_traced_file.
5957 (_nss_db_init): Use init_traced_file.
5958 * nss/nss_files/files-init.c: Use define_traced_file.
5959 (_nss_files_init): Use init_traced_file.
5961 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5963 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5964 [_LIBC]: Do not include <stdlib.h>.
5965 [!_LIBC] (abort): Remove declaration.
5966 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5967 _FP_STATIC_ASSERT instead of conditionally calling abort.
5968 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5969 (_FP_EXTEND_CNAN): Likewise.
5970 (FP_TRUNC): Likewise.
5971 (__FP_CLZ): Likewise.
5972 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5974 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5976 * manual/string.texi (XPG basename): Fix prototype.
5978 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5981 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5982 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5983 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5984 (__setcontext): Likewise.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5986 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5987 Call rt_sigprocmask syscall one time to set new signal mask
5988 and retrieve the current signal mask instead of two calls.
5989 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5990 (__swapcontext): Likewise.
5991 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5992 * stdlib/tst-setcontext2.c: New file.
5994 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5996 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5998 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
6001 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6004 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6007 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6009 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6011 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6012 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6014 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6015 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6016 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6017 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6018 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6019 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6021 * nptl_db/td_symbol_list.c (td_lookup): Remove
6022 HAVE_ASM_GLOBAL_DOT_NAME code.
6023 * sysdeps/powerpc/powerpc64/configure.ac: Remove
6024 HAVE_ASM_GLOBAL_DOT_NAME check.
6025 * sysdeps/powerpc/powerpc64/configure: Regenerate.
6026 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6027 (DOT_LABEL): Remove define.
6028 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6029 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6030 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6031 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6032 (__TLS_GET_ADDR): Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6034 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6036 2015-03-11 Carlos O'Donell <carlos@redhat.com>
6039 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6040 (_FPU_SETCW): Initialize cw from fpsr before storing.
6041 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6042 (fesetexceptflag): Rewrite using fpu_control.h.
6043 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6045 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
6048 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6050 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6052 2015-03-11 Joseph Myers <joseph@codesourcery.com>
6054 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6055 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6057 (_FP_FMA): Likewise.
6058 (_FP_DIV): Likewise.
6060 2015-03-10 Roland McGrath <roland@hack.frob.com>
6062 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6063 with 0 in that case.
6064 * Makefile (summarize-tests): New canned sequence, factored out of
6065 commands for targets tests and xtests. Display summary lines that
6066 don't start with PASS: or XFAIL: rather than ones that do start with
6067 ERROR: or FAIL:. Make the commands fail if any summary lines fail
6068 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6069 do start with ERROR: or FAIL:.
6070 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6071 (except for [$(build-shared) = yes]).
6072 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6073 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6074 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6075 * nptl/Makefile: Revert 2015-03-04 changes.
6076 [$(CXX) empty] (tests-unsupported): New variable.
6077 * debug/Makefile: Likewise.
6079 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6080 gnulib file. Replace __attribute with __attribute__ throughout.
6082 2015-03-10 Carlos O'Donell <carlos@redhat.com>
6084 * sysdeps/hppa/fpu/libm-test-ulps: Update.
6086 2015-03-10 Joseph Myers <joseph@codesourcery.com>
6089 * math/auto-libm-test-in: Add another test of pow.
6090 * math/auto-libm-test-out: Regenerated.
6092 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6095 $(config-cflags-nofma).
6097 2015-03-10 Joseph Myers <joseph@codesourcery.com>
6099 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6100 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6101 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6102 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6103 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6104 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6105 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6106 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6107 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6108 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6109 Add comment on closing #endif.
6111 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6113 * posix/wordexp.c (CHAR_IN_SET): New macro.
6114 (parse_param): Use it.
6116 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118 * sysdeps/powerpc/fpu/libm-test-ulps: update.
6120 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6123 * posix/wordexp.c (parse_param): Fix buffer overflow.
6124 * posix/wordexp-test.c (test_case): Add test case.
6126 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6129 * posix/wordexp.c (parse_backtick): Fix off-by-one.
6130 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6132 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6135 * posix/wordexp-test.c (test_case): Add test for BZ #18043
6136 (do_bz18043): Delete.
6138 (testit): Refactor to have words at the edge of unreadable page.
6140 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6143 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6144 Cleanup read-only streams as well.
6145 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6147 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6149 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6152 2015-03-07 Joseph Myers <joseph@codesourcery.com>
6154 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
6156 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6157 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6158 * soft-fp/op-common.h (_FP_DECL): Likewise.
6160 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
6162 * elf/ifuncdep2.c (global): Replace
6163 __attribute__((visibility("protected"))) with
6164 asm (".protected global").
6165 * elf/ifuncmod1.c (global): Likewise.
6166 * elf/ifuncmod5.c (global): Likewise.
6168 2015-03-06 Joseph Myers <joseph@codesourcery.com>
6170 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6171 <asm/sfp-machine.h> instead of <sfp-machine.h>.
6173 2015-03-06 Roland McGrath <roland@hack.frob.com>
6175 * manual/install.texi (Configuring and compiling):
6176 Document test-wrapper-env-only.
6177 * INSTALL: Regenerated.
6179 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6182 * posix/wordexp.c (parse_param): Fix buffer overflow.
6183 * posix/wordexp-test.c (do_bz18043): Add test case.
6185 2015-03-06 Vincent Bernat <vincent@bernat.im>
6187 * time/tst-strptime2.c (do_test): Ensure failing tests are
6189 * time/tst-strptime3.c (do_test): Likewise.
6191 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
6193 Fix aio_error thread-safety.
6194 * sysdeps/pthread/aio_error.c: New file
6195 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6198 2015-03-06 Florian Weimer <fweimer@redhat.com>
6200 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6201 (group_number, vfprintf): Use it.
6202 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6203 (JUMP, REF): Use it.
6204 (WORK_BUFFER_SIZE): New enum constant.
6205 (process_arg, vfprintf): Use it.
6207 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
6209 * manual/errno.texi (Error Messages): Complete example function
6210 by adding missing #define.
6211 (program_invocation_name): Add statement indicating GNU
6212 extension and reference which header file declares the variable.
6213 (program_invocation_short_name): Likewise.
6215 2015-03-06 Mike Frysinger <vapier@gentoo.org>
6217 * manual/errno.texi (Error Messages): Delete strerror ISO C89
6220 2015-03-05 Roland McGrath <roland@hack.frob.com>
6222 * Makeconfig (test-wrapper-env-only): New variable.
6223 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6224 then use that with $(test-wrapper-env-only) rather than using
6225 $(test-wrapper-env) $(run-program-env) $($*-ENV).
6227 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
6230 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6231 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6232 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6233 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6234 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6235 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6236 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6237 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6239 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6240 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6248 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6253 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6254 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6256 2015-03-04 Roland McGrath <roland@hack.frob.com>
6258 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6259 (ETH_ALEN): New macro.
6260 (struct ether_addr): Use it for length of ether_addr_octet.
6262 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6263 (setdb): Don't call __nss_configure_lookup for "rpc".
6264 (do_test): Don't call test_rpc.
6265 (output_rpcent, test_rpc): Functions moved ...
6266 * sunrpc/test-rpcent.c: ... to this new file.
6267 * sunrpc/Makefile (tests): Add it.
6269 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6271 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6272 * nptl/tst-signal6.c: Likewise.
6273 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6274 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6276 * configure.ac (libc_cv_cxx_link_ok): New check.
6277 Reset CXX to empty if it fails to link.
6278 * configure: Regenerated.
6279 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6280 bug-atexit3-lib only if $(CXX) is nonempty.
6281 * nptl/Makefile (tests): Likewise for tst-cancel24.
6282 (tests, tests-static): Likewise for tst-cancel24-static.
6283 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6284 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6285 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6286 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6288 2015-03-04 Andreas Schwab <schwab@suse.de>
6291 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6292 for non-GCC compilers.
6293 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6296 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6299 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6300 integer before bitwise and assembly operations.
6301 (feclearexcept): Likewise.
6302 * math/test-fenvinline.c: New file.
6303 * math/Makefile: Add test-fenvinline test.
6305 2015-03-03 Alan Modra <amodra@gmail.com>
6308 * scripts/localplt.awk: Strip off symbol version.
6309 * NEWS: Mention bug fix.
6311 2015-03-02 Roland McGrath <roland@hack.frob.com>
6313 * sysdeps/pthread/timer_routines.c
6314 (timer_free_list, thread_free_list, thread_active_list): Make static.
6316 2015-03-02 Joseph Myers <joseph@codesourcery.com>
6319 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6320 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6323 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6325 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6326 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6329 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6332 * posix/fnmatch_loop.c (END): Detect invalid pattern.
6333 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6335 2015-03-02 Andreas Schwab <schwab@suse.de>
6337 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6340 2015-03-02 Florian Weimer <fweimer@redhat.com>
6342 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6343 Return error status.
6345 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
6348 * locale/findlocale.c (_nl_find_locale): Introduce const
6349 version of loc_name and drop unsafe type casts.
6351 2015-02-27 Roland McGrath <roland@hack.frob.com>
6353 * dlfcn/tststatic2.c (main): Converted to ...
6354 (do_test): ... this.
6355 (TEST_FUNCTION): New macro.
6356 Include test-skeleton.c.
6358 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
6361 * elf/Makefile (tests): Add vismain only if PIE is enabled.
6362 (tests-pie): Add vismain.
6363 (CFLAGS-vismain.c): New.
6364 * elf/vismain.c: Add comments for PIE requirement.
6366 2015-02-27 Joseph Myers <joseph@codesourcery.com>
6370 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6371 0x1p-56L as threshold for just returning the argument.
6372 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6373 0x1p-32L as threshold for just returning the argument.
6374 * math/auto-libm-test-in: Add more tests of atanh.
6375 * math/auto-libm-test-out: Regenerated.
6376 * sysdeps/i386/fpu/libm-test-ulps: Update.
6377 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6379 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
6381 * string/bcopy.c (bcopy): Call memmove for performance.
6383 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
6385 * string/bzero.c (__bzero): Call memset for performance.
6387 2015-02-27 John David Anglin <dave.anglin@bell.net>
6390 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6393 2015-02-27 Joseph Myers <joseph@codesourcery.com>
6395 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6397 2015-02-26 Joseph Myers <joseph@codesourcery.com>
6399 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6400 (__kernel_standard): Use CSTR macro when setting exc.name.
6401 * sysdeps/ieee754/Makefile [$(subdir) = math]
6402 (CFLAGS-k_standard.c): Remove variable.
6404 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6405 setting p and q from "else if" to "else".
6407 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6409 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6411 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6413 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6415 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6421 return pi/2 for arguments below 0x1p-113L.
6422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6423 return pi/2 for arguments below 0x1p-106L.
6424 * math/auto-libm-test-in: Add more tests of acos.
6425 * math/auto-libm-test-out: Regenerated.
6428 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6430 (__ieee754_asin): Force underflow exception for results with small
6432 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6434 (__ieee754_asinf): Force underflow exception for results with
6435 small absolute value.
6436 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6437 (__ieee754_asin): Force underflow exception for results with small
6439 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6440 (__ieee754_asinf): Force underflow exception for results with
6441 small absolute value.
6442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6443 (__ieee754_asinl): Force underflow exception for results with
6444 small absolute value.
6445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6446 (__ieee754_asinl): Force underflow exception for results with
6447 small absolute value.
6448 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6449 (__ieee754_asinl): Force underflow exception for results with
6450 small absolute value.
6451 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6453 * math/auto-libm-test-in: Do not mark underflow exceptions as
6454 possibly missing for bug 16351.
6455 * math/auto-libm-test-out: Regenerated.
6458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6459 of power of 2 down when low part has opposite sign.
6460 * math/libm-test.inc (logb_test_data): Add more tests.
6462 2015-02-26 Andreas Schwab <schwab@suse.de>
6465 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6466 over collating symbol inside a bracket expression. Minor cleanup.
6467 * posix/tst-fnmatch3.c (do_test): Add test case.
6469 2015-02-26 Joseph Myers <joseph@codesourcery.com>
6472 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6473 Adjust exponent of power of 2 down when low part has opposite
6475 * math/libm-test.inc (ilogb_test_data): Add more tests.
6477 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
6480 * locale/findlocale.c (_nl_find_locale): Fix constness error in
6481 the previous change.
6484 * locale/findlocale.c (_nl_find_locale): Retry archive search
6485 after alias expansion.
6487 2015-02-25 Roland McGrath <roland@hack.frob.com>
6489 * iconv/tst-iconv3.c (main): Converted to ...
6490 (do_test): ... this.
6491 (TEST_FUNCTION): New macro.
6492 Include test-skeleton.c.
6494 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6495 (convert): Make function static.
6496 (test_unalign): Likewise. Add const to argument pointee types.
6497 (main): Replace with static function do_test.
6498 Print "Succeeded." only if RET is zero.
6499 (TEST_FUNCTION): New macro.
6500 Include test-skeleton.c.
6502 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6503 returns a null pointer.
6505 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6508 to __memcpy_ppc only for static builds.
6510 2015-02-25 Joseph Myers <joseph@codesourcery.com>
6513 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6514 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6515 * math/auto-libm-test-in: Add more tests of asinh.
6516 * math/auto-libm-test-out: Regenerated.
6517 * sysdeps/i386/fpu/libm-test-ulps: Update.
6518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6520 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
6523 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6524 and ip6_mtuinfo definitions here.
6525 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6526 in this define too. Update comment.
6528 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
6530 * elf/sprof.c (load_shobj): Tweak error message to match others.
6532 2015-02-24 Kevin Easton <kevin@guarana.org>
6534 [BZ #16145] (partial fix)
6535 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6536 to reduce lock contention.
6538 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
6540 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6541 (struct timex): Update time comment.
6542 (ADJ_SETOFFSET): Define.
6544 2015-02-24 Joseph Myers <joseph@codesourcery.com>
6547 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6548 2**56 not 2**28 as threshold for log (2x) formula.
6549 * math/auto-libm-test-in: Add more tests of acosh.
6550 * math/auto-libm-test-out: Regenerated.
6551 * sysdeps/i386/fpu/libm-test-ulps: Update.
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6554 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6556 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6557 parenthesis around the buf assignment.
6558 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6560 2015-02-24 Joseph Myers <joseph@codesourcery.com>
6563 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6564 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6565 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6566 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6567 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6568 * math/libm-test.inc (scalb_test_data): Add more tests.
6570 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6573 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6574 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6576 2015-02-24 Eric Rannaud <e@nanocritical.com>
6579 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6580 * io/bits/fcntl2.h (open): Use it.
6582 * io/open.c (__libc_open): Likewise.
6583 * io/open64.c (__libc_open64): Likewise.
6584 * io/open64_2.c (__open64_2): Likewise.
6585 * io/open_2.c (__open_2): Likewise.
6586 * io/openat.c (__openat): Likewise.
6587 * io/openat64.c (__openat64): Likewise.
6588 * io/openat64_2.c (__openat64_2): Likewise.
6589 * io/openat_2.c (__openat_2): Likewise.
6590 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6591 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6592 * sysdeps/posix/open64.c (__libc_open64): Likewise.
6593 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6594 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6595 (__open_nocancel): Likewise.
6596 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6597 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6598 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6600 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6603 * resolv/gethnamaddr.c (getanswer): Skip logging if
6604 RES_USE_DNSSEC is set.
6605 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6607 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6609 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6611 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
6613 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6614 201304L, for Unicode 7.
6616 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
6619 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6620 shared library. Add gmon-start.os otherwise.
6621 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6622 $(objpfx)gmon-start.os if builing shared library.
6623 ($(objpfx)g$(static-start-installed-name)): Likewise.
6625 2015-02-23 Andreas Schwab <schwab@suse.de>
6627 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6629 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6632 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6633 (enlarge_userbuf): Likewise.
6635 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
6637 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6638 * math/atest-exp.c (TIMEOUT): Adjust to 200.
6639 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6640 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6642 2015-02-20 Joseph Myers <joseph@codesourcery.com>
6644 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6645 expression inside statement expression.
6647 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6650 <sysdeps/nptl/lowlevellock.h> and remove macros and
6651 functions that are now defined there.
6652 (SYS_futex): Remove.
6653 (lll_compare_and_swap): Remove.
6654 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6656 2015-02-19 Joseph Myers <joseph@codesourcery.com>
6659 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6660 instead of scandirat.
6661 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6662 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6663 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6665 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6666 (__scandirat): Declare. Use libc_hidden_proto.
6667 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6669 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6671 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6674 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6676 (__ieee754_atan2): For results with small absolute value, force
6677 underflow exception and remove excess range and precision from
6679 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6681 (__ieee754_atan2f): For results with small absolute value, force
6682 underflow exception and remove excess range and precision from
6684 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6686 (__atan): For results with small absolute value, force underflow
6687 exception and remove excess range and precision from return value.
6688 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6690 (__atanf): For results with small absolute value, force underflow
6691 exception and remove excess range and precision from return value.
6692 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6694 (__ieee754_atan2): Force underflow exception for results with
6695 small absolute value.
6696 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6698 (atan): Force underflow exception for results with small absolute
6700 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6701 (__atanf): Force underflow exception for results with small
6703 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6705 (__atanl): Force underflow exception for results with small
6707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6708 (__atanl): Force underflow exception for results with small
6710 * sysdeps/x86/fpu/bits/mathinline.h
6711 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6712 (__ieee754_atan2): Only define inline for long double.
6713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6714 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6715 * math/auto-libm-test-in: Do not mark underflow exceptions as
6716 possibly missing for bug 15319. Add more tests of atan2.
6717 * math/auto-libm-test-out: Regenerated.
6718 * math/libm-test.inc (casin_test_data): Do not mark underflow
6719 exceptions as possibly missing for bug 15319.
6720 (casinh_test_data): Likewise.
6721 * sysdeps/i386/fpu/libm-test-ulps: Update.
6723 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
6725 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6726 * sysdeps/mips/bits/endian.h: Fix comments.
6728 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6731 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6732 (hdestroy_r): Likewise.
6733 (hsearch_r): Likewise.
6734 (__hcreate_r): Declare and use libc_hidden_proto.
6735 (__hdestroy_r): Likewise.
6736 (__hsearch_r): Likewise.
6737 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6738 (hcreate): Call __hcreate_r instead of hcreate_r.
6739 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6740 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6741 as weak alias of __hcreate_r.
6742 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6744 (hsearch_r): Rename to __hsearch_r and define as weak alias of
6746 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6748 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6749 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6750 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6751 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6753 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6755 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6756 arena_lock into a single arena_get.
6758 2015-02-17 Carlos O'Donell <carlos@redhat.com>
6760 * dl-reloc.c: Inlucde libc-internal.h.
6761 (_dl_try_allocate_static_tls): Call ALIGN_UP.
6762 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6763 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6764 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6765 (grow_heap): Likewise.
6766 * malloc/malloc.c: Include libc-internal.h.
6767 (do_check_malloc): Call powerof2.
6768 (sysmalloc): Use pagesize. Call ALIGN_UP.
6769 (systrim): Use pagesize.
6770 (mremap_chunk): Use pagesize. Call ALIGN_UP.
6771 (__libc_valloc): Use pagesize.
6772 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6774 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6777 * include/sys/resource.h (__getrlimit64): Declare. Use
6779 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6780 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
6781 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6783 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6785 [!getrlimit64] (getrlimit64): Define as weak alias of
6786 __getrlimit64. Use libc_hidden_weak.
6787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6788 using __getrlimit64 not __new_getrlimit64.
6789 (__GI_getrlimit64): Likewise.
6790 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6792 (__GI_getrlimit64): Likewise.
6793 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6795 (getrlimit): Add __getrlimit64 alias.
6796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6798 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6800 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6801 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6803 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6805 * libio/fileops.c: Add missing sys/mman.h
6806 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6808 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6810 * manual/math.texi (Errors in Math Functions): Clarify goals
6811 regarding inexact and underflow exceptions.
6813 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6815 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6816 * sysdeps/mips/memset.S: Ditto.
6818 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6820 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6822 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6824 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6825 (__v1longjmp): Remove versioned symbol.
6826 (__v1siglongjmp): Remove alias and versioned symbol.
6827 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6828 (__v2siglongjmp): Likewise.
6830 2015-02-16 Torvald Riegel <triegel@redhat.com>
6832 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6834 2015-02-16 Mike Frysinger <vapier@gentoo.org>
6836 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6838 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6841 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6842 zero result does not depend on the sign resulting from
6844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6846 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6849 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6850 * math/libm-test.inc (remquo_test_data): Add more tests.
6852 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
6854 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6855 Problem reported by J William Piggott.
6857 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6860 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6861 products 4 * y and 2 * y where those would overflow.
6862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6864 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6865 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6868 * math/libm-test.inc (remquo_test_data): Add more tests.
6870 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6872 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6873 [defined _COMPILING_NEWLIB].
6874 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6875 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6877 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6878 [!defined __mips_isa_rev || __mips_isa_rev < 6].
6880 2015-02-16 Torvald Riegel <triegel@redhat.com>
6882 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6885 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
6888 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6889 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6890 HOST_STACK_END_ADDR): Likewise.
6892 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
6894 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6895 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6896 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6898 2015-02-13 Roland McGrath <roland@hack.frob.com>
6900 * sysdeps/generic/c++-types.data: New file.
6901 * sysdeps/generic/ld.abilist: New file.
6902 * sysdeps/generic/libBrokenLocale.abilist: New file.
6903 * sysdeps/generic/libanl.abilist: New file.
6904 * sysdeps/generic/libc.abilist: New file.
6905 * sysdeps/generic/libcrypt.abilist: New file.
6906 * sysdeps/generic/libdl.abilist: New file.
6907 * sysdeps/generic/libm.abilist: New file.
6908 * sysdeps/generic/libpthread.abilist: New file.
6909 * sysdeps/generic/libresolv.abilist: New file.
6910 * sysdeps/generic/librt.abilist: New file.
6912 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6916 Compute absolute value of x as modified by fmod, not original
6918 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6919 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
6920 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
6921 RUN_TEST_ffI_f1_mod8.
6922 (remquo_test_data): Add more tests.
6924 2015-02-13 Roland McGrath <roland@hack.frob.com>
6926 * sysdeps/init_array/pt-crti.S: New file.
6928 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6932 __builtin_fmaf instead of relying on contraction of a * b + c.
6934 2015-02-12 J William Piggott <elseifthen@gmx.com>
6937 * manual/time.texi: correct the zoneinfo path in the TZ Variable
6940 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6943 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6944 __builtin_fma instead of relying on contraction of a * b + c.
6946 2015-02-12 Roland McGrath <roland@hack.frob.com>
6948 * Makeconfig (ASFLAGS): Add -Werror=undef.
6949 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6950 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6951 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6953 * Makeconfig (after-link): New variable.
6954 (+link-pie, +link-pie-tests): Use it.
6955 (+link-static, +link-static-tests): Likewise.
6956 (+link, +link-tests): Likewise.
6957 * Makerules (build-module, build-module-asneeded): Likewise.
6958 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6960 * elf/Makefile ($(objpfx)ld.so): Likewise.
6962 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6965 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6966 both struct timeval and struct timespec.
6968 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6971 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6973 (__ieee754_exp2l): Do not multiply small fractional parts by
6975 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6978 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6979 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6980 * math/auto-libm-test-in: Add more tests of exp2.
6981 * math/auto-libm-test-out: Regenerated.
6983 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6985 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6988 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6993 2015-02-12 Andreas Schwab <schwab@suse.de>
6996 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6997 Filter out elision flags from value returned in kind.
6998 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6999 * nptl/tst-pthread-mutexattr.c: New file.
7001 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
7003 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7004 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7005 into gnu-gnu, and update comment to refer to abi-tags.
7007 2015-02-11 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7011 (__sincos): Set errno to EDOM for infinite argument.
7012 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7013 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7014 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7015 (__sincosl): Set errno to EDOM for infinite argument.
7016 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7017 (__sincosl): Set errno to EDOM for infinite argument.
7018 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7019 (__sincosl): Set errno to EDOM for infinite argument.
7020 * math/libm-test.inc (sincos_test_data): Test errno setting.
7022 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
7024 * string/strxfrm_l.c: Remove #define STRCMP.
7025 * string/strcoll_l.c: Remove #define STRLEN.
7026 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7027 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7029 2015-02-10 Joseph Myers <joseph@codesourcery.com>
7031 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7032 * sysdeps/mips/mips32/sfp-machine.h: ... here.
7033 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7034 * sysdeps/mips/mips64/Makefile: ... here.
7035 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7036 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7037 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7038 * sysdeps/mips/mips64/sfp-machine.h: ... here.
7039 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7040 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7041 * sysdeps/mips/mips64/n64/Implies: Likewise.
7043 2015-02-10 Roland McGrath <roland@hack.frob.com>
7045 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7046 <sys/time.h>, <string.h>, and <errno.h>.
7047 (dest_offset, dest_address, value, zero): Remove unused variables.
7048 (ldouble): Remove typedef.
7049 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7050 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
7052 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7053 (check): Function removed.
7055 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
7056 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7057 Don't call set_sigaction_FP and remove_sigaction_FP here.
7058 (ldouble_test): Just use 'long double' as macro argument, no need for
7059 the 'ldouble' typedef.
7060 (do_test): Set up SIGFPE handler at start, using plain signal rather
7061 than sigaction. Fix code style.
7063 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
7066 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7069 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7071 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7072 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7074 * sysdeps/powerpc/configure.ac: Remove file.
7075 * sysdeps/powerpc/configure: Likewise.
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7078 [sysdep_routines]: Remove wordcopy-power6 object.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7080 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7082 (__memmove_ppc32): Likewise.
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7086 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7087 Remove preprocessor.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7090 [sysdep_routines]: Remove wide chars objects.
7091 [wcsmbs]: New rule for wide char objects.
7093 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7094 Remove wordcopy-power6 obejct.
7095 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7096 Use local call for wordcopy and memcpy symbols.
7097 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7098 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7099 implementation for loader.
7100 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7102 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7103 Remove wordcopy-power7 object.
7104 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7105 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7106 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7107 (_wordcopy_fwd_dest_aligned): Likewise.
7108 (_wordcopy_bwd_aligned): Likewise.
7109 (_wordcopy_bwd_dest_aligned): Likewise.
7111 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7112 Rewrite to call __memmove_ppc instead of include default
7115 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7116 Remove wide chars objects.
7117 [wcsmbs]: New rule for wide char objects.
7119 2015-02-09 Andreas Schwab <schwab@suse.de>
7122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7123 in terms of __O_DIRECTORY.
7125 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7127 * time/getdate.c: Include <stdbool.h>.
7128 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7130 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7133 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
7135 Add ersatz _Static_assert on older C hosts
7136 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7137 pre-C11 C platform that is not known to support _Static_assert.
7139 2015-02-07 Richard Braun <rbraun@sceen.net>
7141 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7143 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7145 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7147 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7148 priority against unexistent AIO_PRIO_DELTA_MAX.
7149 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7151 * misc/fchflags.c (fchflags): Likewise.
7152 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7153 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7154 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7155 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7156 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7158 [__USE_MISC] (chflags, fchflags): Declare functions.
7159 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7160 EINVAL when nfds is greater than FD_SETSIZE.
7161 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7162 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7164 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7165 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7166 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7168 * hurd/hurd/signal.h (_hurd_self_sigstate,
7169 _hurd_critical_section_lock, _hurd_critical_section_unlock):
7170 Explicit casts from void *.
7171 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7172 * abi-tags: Rename gnu-gnu os into gnu.
7175 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7176 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7177 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7178 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7179 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7180 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7183 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7184 duplicates ADDR->sun_path with sockaddr LEN limitation.
7185 * sysdeps/mach/hurd/connect.c: Include <string.h>
7186 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7187 * sysdeps/mach/hurd/sendmsg.c: Likewise.
7188 * sysdeps/mach/hurd/sendto.c: Likewise.
7189 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7190 implementing it by hand.
7192 2015-02-06 Roland McGrath <roland@hack.frob.com>
7194 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7195 Use sfi_breg on ldr.
7196 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7199 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7201 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7202 Test SIGSETXID only if it's defined.
7204 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7206 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7207 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
7209 * nptl/tst-align2.c: Moved ...
7210 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7211 * nptl/Makefile (tests): Remove tst-align2.
7212 * sysdeps/unix/sysv/linux/Makefile
7213 [$(subdir) = nptl] (tests): Add tst-align-clone.
7214 * nptl/tst-getpid1.c: Moved ...
7215 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7216 * nptl/tst-getpid2.c: Moved ...
7217 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7218 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7219 * sysdeps/unix/sysv/linux/Makefile
7220 [$(subdir) = nptl] (tests): ... here.
7221 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7222 * sysdeps/unix/sysv/linux/Makefile
7223 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7225 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7226 Drop trailing \n from perror argument. Use return rather than exit.
7228 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7230 * nptl/tst-cancel21.c (do_test): Likewise.
7231 * debug/tst-backtrace6.c: Include <signal.h> first thing.
7232 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7233 [!SA_SIGINFO]: Make it a stub test.
7235 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7236 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7238 * posix/tst-getlogin.c: Move to ...
7239 * login/tst-getlogin.c: ... here.
7240 * posix/Makefile (tests): Move tst-getlogin to ...
7241 * login/Makefile (tests): ... here.
7243 * libio/tst-atime.c (do_test): Move local variables SV and E
7244 inside [ST_NOATIME] conditional.
7246 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7248 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7250 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7251 (wait_code): New function replaces macro.
7252 Call nanosleep rather than syscall.
7254 * nptl/pt-system.c: Rewritten. Put everything under
7255 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7256 Use IFUNC to redirect when possible.
7258 * nptl/pt-longjmp.c: Rewritten. Put everything under
7259 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7260 Use IFUNC to redirect when possible.
7262 * nptl/pt-fork.c: Rewritten. Put everything under
7263 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7264 Use IFUNC to redirect when possible.
7265 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7267 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7268 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7269 unconditionally nowadays. This included the only reference to
7270 __vdso_clock_gettime that appears outside libc proper.
7271 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7272 Remove version set (containing only __vdso_clock_gettime).
7273 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7274 Add attribute_hidden.
7275 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7276 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7277 libc_hidden_data_def.
7278 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7279 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7281 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7282 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7283 setrpcent, and getrpcport to ...
7284 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7285 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7286 getrpcbynumber_r, and getrpcent_r to ...
7287 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7288 * inet/getrpcbyname.c: Moved ...
7289 * sunrpc/getrpcbyname.c: ... here.
7290 * inet/getrpcbyname_r.c: Moved ...
7291 * sunrpc/getrpcbyname_r.c: ... here.
7292 * inet/getrpcbynumber.c: Moved ...
7293 * sunrpc/getrpcbynumber.c: ... here.
7294 * inet/getrpcbynumber_r.c: Moved ...
7295 * sunrpc/getrpcbynumber_r.c: ... here.
7296 * inet/getrpcent.c: Moved ...
7297 * sunrpc/getrpcent.c: ... here.
7298 * inet/getrpcent_r.c: Moved ...
7299 * sunrpc/getrpcent_r.c: ... here.
7300 * inet/Makefile (routines): Move those to ...
7301 * sunrpc/Makefile (routines): ... here.
7302 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7303 the $(subdirs) list.
7304 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
7305 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7306 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7307 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7309 * elf/Makefile (routines): Include $(all-dl-routines), not just
7311 (rtld-routines): Likewise. Use = rather than :=.
7312 * sysdeps/aarch64/Makefile [$(subdir) = elf]
7313 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7314 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7315 * sysdeps/arm/Makefile: Likewise.
7316 * sysdeps/i386/Makefile: Likewise.
7317 * sysdeps/x86_64/Makefile: Likewise.
7318 * sysdeps/hppa/Makefile [$(subdir) = elf]
7319 (sysdep_routines, sysdep-rtld-routines): Don't add
7320 $(sysdep-dl-routines) to these.
7321 * sysdeps/ia64/Makefile: Likewise.
7322 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7323 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7324 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7325 Don't add dl-static to these; sysdep-dl-routines alone is enough.
7326 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7327 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7329 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7330 * sysdeps/powerpc/Makefile [$(subdir) = elf]
7331 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7332 these; sysdep-dl-routines alone is enough.
7334 2015-02-06 Joseph Myers <joseph@codesourcery.com>
7337 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7338 where multiplication results in zero and third argument is finite
7340 * math/auto-libm-test-in: Add more tests of fma.
7341 * math/auto-libm-test-out: Regenerated.
7343 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7344 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7345 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7346 (_FP_CMP_EQ): Likewise.
7347 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7349 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7350 extra argument CHECK_NAN. Redefine as wrapper around
7353 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
7355 * version.h (RELEASE): Set to "stable".
7356 (VERSION): Set to "2.21"
7357 * include/features.h (__GLIBC_MINOR__): Set to 21.
7359 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7361 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7362 Paul Eggert <eggert@cs.ucla.edu>
7365 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7366 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7367 size in bytes. Store needed elements in wpmax. Use needed size
7368 in bytes for extend_alloca.
7370 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
7372 * manual/install.texi: Latest tested versions are GCC 4.9.2,
7373 binutls 2.25, and texinfo 5.2.
7374 * INSTALL: Regenerate.
7375 * sysdeps/nios2/configure: Regenerate.
7376 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7377 * manual/contrib.texi: Update.
7401 * po/pt_BR.po: Update.
7410 * po/zh_CN.po: Update.
7411 * po/zh_TW.po: Update.
7413 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7414 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7415 * sysdeps/hppa/dl-irel.h: Remove #warning.
7416 * sysdeps/hppa/entry.h: Provide prototype for
7417 __canonicalize_funcptr_for_compare and cast argument.
7418 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7419 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7420 * sysdeps/hppa/sotruss-lib.c: New file.
7421 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7422 (atomic_compare_and_exchange_val_acq): Use __typeof__.
7423 (atomic_compare_and_exchange_bool_acq): Likewise.
7424 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7425 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7427 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7428 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7429 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7431 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7433 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7434 called function in non-PIC case.
7436 2015-01-31 David S. Miller <davem@davemloft.net>
7438 * sysdeps/sparc/sparc32/bits/atomic.h
7439 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7440 unlock not after it.
7441 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7442 volatile register usage warnings from the compiler.
7444 * sysdeps/sparc/nptl/sem_init.c: Delete.
7445 * sysdeps/sparc/nptl/sem_post.c: Delete.
7446 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7447 * sysdeps/sparc/nptl/sem_wait.c: Delete.
7448 * sysdeps/sparc/sparc32/sem_init.c: New file.
7449 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7450 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7451 padding explicitly initialized.
7452 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7453 padding for in-semaphore spinlock.
7454 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7455 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7456 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7457 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7458 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7459 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7460 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7461 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7463 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7464 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7466 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
7469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7470 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7471 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7473 (index_AVX_Fast_Unaligned_Load): Likewise.
7474 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7475 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7476 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7477 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7478 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7479 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7480 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7481 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7482 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7484 2015-01-29 Andreas Schwab <schwab@suse.de>
7486 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7488 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7491 * nscd/nscd_stat.c (send_stats): Initialize DATA.
7493 2015-01-28 Martin Sebor <msebor@redhat.com>
7495 * math/README.libm-test: Clarify. Add "How to read the test output."
7497 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
7499 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7502 2015-01-28 Joseph Myers <joseph@codesourcery.com>
7504 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7505 (__HAVE_64B_ATOMICS): Define to 0.
7507 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7510 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7511 value to set as new flag.
7514 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7515 and use _ARCH_PPCSQ instead.
7516 (__ieee754_sqrt): Likewise.
7517 (__ieee754_sqrtf): Likewise.
7518 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7519 _ARCH_PPCSQ is defined.
7520 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7522 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7523 _ARCH_PPCSQ is defined.
7524 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7528 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7530 * iconv/loop.c: Suppress array out of bound warning caused by GCC
7531 bug (GCC BZ #64739).
7533 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
7535 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7536 Mark _retval as used.
7537 (lll_futex_wake_unlock): Likewise.
7538 (lll_futex_timed_wait_requeue_pi): Likewise.
7540 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7541 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7544 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7547 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7548 (__bswap_64): Mark as __always_inline.
7550 2015-01-25 Bram <bug_rh@spam.wizbit.be>
7553 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7554 when none of the search directories exist.
7556 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7559 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7560 power8 in .machine directive.
7563 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7564 set dependency from opd value.
7566 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7569 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7572 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7575 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7577 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7579 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7580 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7581 Replace 1UL with (uint64_t) 1.
7582 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7585 2015-01-23 Roland McGrath <roland@hack.frob.com>
7587 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7588 (if_freenameindex): Likewise.
7590 * resource/getrlimit64.c: Add missing libc_hidden_def.
7592 2015-01-22 Joseph Myers <joseph@codesourcery.com>
7594 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7596 (_FP_FMA): Likewise.
7597 (_FP_TO_INT_ROUND): Likewise.
7598 (_FP_FROM_INT): Likewise.
7600 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7603 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7604 Make code racy and cancel safe.
7606 2015-01-21 Carlos O'Donell <carlos@redhat.com>
7608 * sysdeps/arm/unwind-resume.h: Fix copyright year.
7609 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7612 * pwd/tst-getpw.c: Rewrite.
7615 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7616 (modules-names): Add moddummy1 and moddummy2.
7617 ($(objpfx)tst-rec-dlopen): Define.
7618 * dlfcn/moddummy1.c: New file.
7619 * dlfcn/moddummy2.c: New file.
7620 * dlfcn/tst-rec-dlopen.c: New file.
7621 * elf/dl-cache.c (_dl_load_cache_lookup):
7622 Return char*. Copy result with alloca/strcpy/strdup.
7623 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7624 returns char*. Free cached. If not saving realname
7626 * elf/dl-open.c (dl_open_worker): Do not assert that
7627 _r_debug->r_state is RT_CONSISTENT.
7628 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7631 2015-01-21 Torvald Riegel <triegel@redhat.com>
7632 Carlos O'Donell <carlos@redhat.com>
7635 * nptl/sem_waitcommon.c: New file.
7636 * nptl/sem_wait.c: Include sem_waitcommon.c.
7637 (__sem_wait_cleanup, do_futex_wait): Remove.
7638 (__new_sem_wait): Adapt.
7639 (__new_sem_trywait): New function.
7640 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7641 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7642 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7643 (sem_timedwait): Adapt.
7644 * nptl/sem_post.c (__new_sem_post): Adapt.
7645 (futex_wake): New function.
7646 (__old_sem_post): Add release MO fence.
7647 * nptl/sem_open.c (sem_open): Adapt.
7648 * nptl/sem_init.c (__new_sem_init): Adapt.
7649 (futex_private_if_supported): New function.
7650 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7651 (__old_sem_getvalue): Add using previous code.
7652 * sysdeps/nptl/internaltypes.h: Adapt.
7653 * nptl/tst-sem13.c (do_test): Adapt.
7654 * nptl/tst-sem11.c (main): Adapt.
7655 * nptl/sem_trywait.c: Remove.
7656 * nptl/DESIGN-sem.txt: Remove.
7657 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7658 (gen-as-const-headers): Remove structsem.sym.
7659 * nptl/structsem.sym: Remove.
7660 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7661 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7662 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7663 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7664 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7665 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7666 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7667 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7668 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7669 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7670 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7671 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7672 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7673 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7674 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7675 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7676 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7677 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7678 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7679 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7680 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7681 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7683 2015-01-20 Carlos O'Donell <carlos@redhat.com>
7685 * INSTALL: Regenerated.
7687 * po/libc.pot: Regenerated.
7689 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
7690 Sandra Loosemore <sandra@codesourcery.com>
7691 Andrew Jenner <andrew@codesourcery.com>
7692 Joseph Myers <joseph@codesourcery.com>
7693 Nathan Sidwell <nathan@codesourcery.com>
7695 * NEWS: Mention new Nios II port.
7696 * sysdeps/nios2/Implies: New file.
7697 * sysdeps/nios2/Makefile: New file.
7698 * sysdeps/nios2/Subdirs: New file.
7699 * sysdeps/nios2/Versions: New file.
7700 * sysdeps/nios2/__longjmp.S: New file.
7701 * sysdeps/nios2/abort-instr.h: New file.
7702 * sysdeps/nios2/backtrace.c: New file.
7703 * sysdeps/nios2/bits/endian.h: New file.
7704 * sysdeps/nios2/bits/fenv.h: New file.
7705 * sysdeps/nios2/bits/link.h: New file.
7706 * sysdeps/nios2/bits/setjmp.h: New file.
7707 * sysdeps/nios2/bsd-_setjmp.S: New file.
7708 * sysdeps/nios2/bsd-setjmp.S: New file.
7709 * sysdeps/nios2/configure: New generated file.
7710 * sysdeps/nios2/configure.ac: New file.
7711 * sysdeps/nios2/crti.S: New file.
7712 * sysdeps/nios2/crtn.S: New file.
7713 * sysdeps/nios2/dl-init.c: New file.
7714 * sysdeps/nios2/dl-machine.h: New file.
7715 * sysdeps/nios2/dl-sysdep.h: New file.
7716 * sysdeps/nios2/dl-tls.h: New file.
7717 * sysdeps/nios2/dl-trampoline.S: New file.
7718 * sysdeps/nios2/gccframe.h: New file.
7719 * sysdeps/nios2/gmp-mparam.h: New file.
7720 * sysdeps/nios2/jmpbuf-offsets.h: New file.
7721 * sysdeps/nios2/jmpbuf-unwind.h: New file.
7722 * sysdeps/nios2/ldsodefs.h: New file.
7723 * sysdeps/nios2/libc-tls.c: New file.
7724 * sysdeps/nios2/libm-test-ulps: New file.
7725 * sysdeps/nios2/machine-gmon.h: New file.
7726 * sysdeps/nios2/math-tests.h: New file.
7727 * sysdeps/nios2/math_private.h: New file.
7728 * sysdeps/nios2/memusage.h: New file.
7729 * sysdeps/nios2/nptl/Makefile: New file.
7730 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7731 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7732 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7733 * sysdeps/nios2/nptl/pthreaddef.h: New file.
7734 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7735 * sysdeps/nios2/nptl/tls.h: New file.
7736 * sysdeps/nios2/preconfigure: New file.
7737 * sysdeps/nios2/s_fma.c: New file.
7738 * sysdeps/nios2/s_fmaf.c: New file.
7739 * sysdeps/nios2/setjmp.S: New file.
7740 * sysdeps/nios2/sfp-machine.h: New file.
7741 * sysdeps/nios2/sotruss-lib.c: New file.
7742 * sysdeps/nios2/stackguard-macros.h: New file.
7743 * sysdeps/nios2/stackinfo.h: New file.
7744 * sysdeps/nios2/start.S: New file.
7745 * sysdeps/nios2/sysdep.h: New file.
7746 * sysdeps/nios2/tls-macros.h: New file.
7747 * sysdeps/nios2/tst-audit.h: New file.
7748 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7749 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7750 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7751 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7752 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7753 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7754 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7755 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7756 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7757 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7758 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7759 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7760 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7761 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7762 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7763 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7764 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7765 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7766 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7767 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7768 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7769 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7770 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7771 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7772 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7773 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7774 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7775 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7776 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7777 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7778 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7779 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7780 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7781 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7782 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7783 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7784 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7785 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7786 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7787 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7788 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7789 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7790 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7791 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7793 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7796 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7797 (getutent): Use weak_alias in non SHARED case
7798 and default_symbol_version in SHARED case.
7799 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7800 (getutent_r, pututline): Likewise.
7801 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7802 (getutid): Likewise.
7803 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7804 (getutid_r): Likewise.
7805 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7806 (getutline): Likewise.
7807 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7808 (getutline_r): Likewise.
7809 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7810 (updwtmp): Likewise.
7812 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7815 * sysdeps/s390/s390-32/memcmp.S
7816 (memcmp_g5): Rename to __memcmp_g5.
7817 * sysdeps/s390/s390-32/memcpy.S
7818 (memcpy_g5): Rename to __memcpy_g5.
7819 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7820 (memcpy_mvcle) Rename to __memcpy_mvcle.
7821 * sysdeps/s390/s390-32/memset.S
7822 (memset_g5): Rename to __memset_g5.
7823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7824 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7825 and use prefixed functions.
7826 * sysdeps/s390/s390-32/multiarch/memcmp.S
7827 (memcmp_z196): Rename to __memcmp_z196.
7828 (memcmp_z10): Rename to __memcmp_z10.
7829 (memcmp): Set alias to __memcmp_g5.
7830 (bcmp): Set alias to __memcmp_g5.
7831 * sysdeps/s390/s390-32/multiarch/memcpy.S
7832 (memcpy_z196): Rename to __memcpy_z196.
7833 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7834 (memcpy_z10): Rename to __memcpy_z10.
7835 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7836 (memcpy): Set alias to __memcpy_g5.
7837 * sysdeps/s390/s390-32/multiarch/memset.S
7838 (memset_z196): Rename to __memset_z196.
7839 Jump to __memset_mvcle instead of memset_mvcle.
7840 (memset_z10): Rename to __memset_z10.
7841 Jump to __memset_mvcle instead of memset_mvcle.
7842 (memset_mvcle) Rename to __memset_mvcle.
7843 (memset): Set alias to __memset_g5.
7844 * sysdeps/s390/s390-64/memcmp.S
7845 (memcmp_z900): Rename to __memcmp_z900.
7846 * sysdeps/s390/s390-64/memcpy.S
7847 (memcpy_z900): Rename to __memcpy_z900.
7848 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7849 (memcpy_mvcle) Rename to __memcpy_mvcle.
7850 * sysdeps/s390/s390-64/memset.S
7851 (memset_z900): Rename to __memset_z900.
7852 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7853 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7854 and use prefixed functions.
7855 * sysdeps/s390/s390-64/multiarch/memcmp.S
7856 (memcmp_z196): Rename to __memcmp_z196.
7857 (memcmp_z10): Rename to __memcmp_z10.
7858 (memcmp): Set alias to __memcmp_z900.
7859 (bcmp): Set alias to __memcmp_z900.
7860 * sysdeps/s390/s390-64/multiarch/memcpy.S
7861 (memcpy_z196): Rename to __memcpy_z196.
7862 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7863 (memcpy_z10): Rename to __memcpy_z10.
7864 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7865 (memcpy): Set alias to __memcpy_z900.
7866 * sysdeps/s390/s390-64/multiarch/memset.S
7867 (memset_z196): Rename to __memset_z196.
7868 Jump to __memset_mvcle instead of memset_mvcle.
7869 (memset_z10): Rename to __memset_z10.
7870 Jump to __memset_mvcle instead of memset_mvcle.
7871 (memset_mvcle) Rename to __memset_mvcle.
7872 (memset): Set alias to __memset_z900.
7874 2015-01-14 Joseph Myers <joseph@codesourcery.com>
7877 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7878 __fesetenv instead of fesetenv.
7880 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7882 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7885 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7887 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7890 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7891 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7892 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7893 strncmp-power8 object.
7894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7895 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7896 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7899 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7900 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7902 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7903 trailing byte check.
7905 2015-01-13 David S. Miller <davem@davemloft.net>
7907 * include/signal.h (__sigreturn): Guard with __USE_MISC.
7909 2015-01-13 Roland McGrath <roland@hack.frob.com>
7911 * login/logout.c (logout): Use memset rather than bzero.
7912 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7913 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7914 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7915 (_gethtbyaddr): Likewise.
7916 * locale/programs/simple-hash.c (bcopy): Macro removed.
7918 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7920 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7921 Add strcmp-power8 object.
7922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7923 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7925 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7926 __strcmp_power8 implementation.
7927 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7930 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7931 Add strncpy-power8 and stpncpy-power8 objects.
7932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7933 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7935 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7936 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7937 __stpncpy_power8 implementation.
7938 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7939 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7940 __strncpy_power8 implementation.
7941 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7942 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7945 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7946 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7947 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7950 strncat-power8 object.
7951 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7952 __strcat_power8 implementation.
7953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7954 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7955 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7956 optimized strcat for power8.
7958 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7959 strcpy-power8 and stpcpy-power8 objects.
7960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7961 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7963 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7964 multiarch stpcpy implementation for POWER8.
7965 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7966 multiarch strcpy implementation for POWER8.
7967 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7968 __strcpy_power8 function.
7969 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7971 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7975 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7978 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7979 weights and rules. Use do_xfrm_cached if data fits in cache,
7980 do_xfrm otherwise. Moved former main loop to...
7981 * (do_xfrm_cached): New function.
7982 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7983 find_idx, find_position and stack_push.
7984 * (find_idx): New function.
7985 * (find_position): Likewise.
7986 * localedata/sort-test.sh: Added test run for do_xfrm.
7987 * localedata/xfrm-test.c (main): Added command line option
7988 -nocache to run the test with strings that are too large for
7991 2015-01-13 Torvald Riegel <triegel@redhat.com>
7993 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7994 variable to lll_futex_wake call, not the value itself.
7996 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7999 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8000 twom64. Adjust value to 0x1p-64L.
8001 (__scalblnl): Only return standard underflowing result for K <=
8002 -64 not K <= -63; adjust exponent for underflowing result by 64
8004 * math/libm-test.inc (scalbn_test_data): Add more tests.
8005 (scalbln_test_data): Likewise.
8008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8010 (__scalblnl): Get new exponent of adjusted subnormal value from ES
8012 * math/libm-test.inc (scalbn_test_data): Add more tests.
8013 (scalbln_test_data): Likewise.
8015 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8016 Stefani Seibold <stefani@seibold.net>
8018 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8019 (sysdep_routines): Add dl-vdso here, ...
8020 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8021 (sysdep_routines): ... not here.
8022 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8023 fallback when vDSO is not presented.
8024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8025 Define with libc_hidden_proto/libc_hidden_data_def definitions.
8026 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8027 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8028 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8029 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8030 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8031 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8032 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8034 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
8035 fallback configurable symbol when vDSO is not available.
8036 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8037 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
8038 be able to redefine fallback symbol when vDSO is not available.
8039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8040 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8042 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8044 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8045 (TLS_INIT_TP): Add tm_capable initialization.
8046 (TLS_DEFINE_INIT_TP): Likewise.
8047 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8049 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8050 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8052 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8053 transactoion is lock elision is built and TCB tm_capable is set.
8054 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8056 (INTERNAL_SYSCALL_NCS): Likewise.
8057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8058 (INTERNAL_SYSCALL_NCS): Likewise.
8059 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8061 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8063 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8064 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8065 and remove it for 32 bits case.
8066 [pthread_rwlock_t] (__rwelision): New field for lock elision.
8067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8069 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8070 Disable lock elision with rdlocks if elision is not available.
8072 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8073 (sysdep_routines): Add lock elision objects.
8074 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8075 [pthread_mutex_t] (__spins): Rework to add lock elision field.
8076 [pthread_mutex_t] (__elision): Add field.
8077 [__PTHREAD_SPINS]: Adjust to init lock elision field.
8078 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8079 elision definitions for powerpc.
8080 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8081 implementation of lock elision for powerpc.
8082 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8083 implementation of timed lock elision for powerpc.
8084 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8085 implementation of trylock with lock elision for powerpc.
8086 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8087 implementaion of unlock for lock elision for powerpc.
8088 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8089 automatic enable lock elision for mutexes.
8090 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8091 transaction execution definitions for powerpc.
8092 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8094 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8095 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8096 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8097 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8100 2015-01-09 Roland McGrath <roland@hack.frob.com>
8102 * sysdeps/posix/shm-directory.c: Use <> rather than ""
8103 for #include of <shm-directory.h>.
8105 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
8107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8108 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8110 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
8113 * NEWS: Mention bug fix.
8114 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8115 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8116 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8118 2015-01-09 Torvald Riegel <triegel@redhat.com>
8120 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8122 2015-01-09 Torvald Riegel <triegel@redhat.com>
8124 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8126 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8128 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8129 pointer and cast to uintptr_t.
8131 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8133 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8135 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8137 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8139 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8142 2015-01-08 Roland McGrath <roland@hack.frob.com>
8144 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8145 <nptl/pthreadP.h> instead.
8146 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8148 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8150 [__SIGRTMIN] (init): Function removed.
8151 [__SIGRTMIN] (initialized): Variable removed.
8152 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8153 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8154 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8155 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8156 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8157 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8158 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8159 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8160 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8161 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8162 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8163 * sysdeps/nptl/allocrtsig.c: New file.
8164 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8165 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8166 * sysdeps/generic/testrtsig.h: File removed.
8168 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8169 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8171 * nptl/nptl-init.c (pthread_functions): Conditionalize
8172 .ptr__nptl_setxid initialization on [SIGSETXID].
8174 * sysdeps/nptl/sys/procfs.h: New file.
8175 * nptl_db/Makefile (headers): Add it.
8176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8178 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8179 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8180 * nptl/pthread_attr_setaffinity.c: Include it.
8181 * nptl/pthread_setattr_default_np.c: Likewise.
8182 * nptl/check-cpuset.h: New file.
8184 2015-01-08 Richard Henderson <rth@redhat.com>
8186 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8187 (CFLAGS-tst-execstack-prog.c): Likewise.
8188 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8190 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
8191 Sandra Loosemore <sandra@codesourcery.com>
8192 Andrew Jenner <andrew@codesourcery.com>
8193 Joseph Myers <joseph@codesourcery.com>
8194 Nathan Sidwell <nathan@codesourcery.com>
8196 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8197 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8198 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8199 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8200 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8201 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8202 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8203 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8204 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8205 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8206 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8207 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8208 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8209 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8210 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8211 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8212 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8214 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8216 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8217 timespec struct member in syscall macro.
8218 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8219 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8220 first timeval struct member in syscall macro.
8221 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8223 2015-01-07 Joseph Myers <joseph@codesourcery.com>
8226 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8227 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8228 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8229 __feupdateenv and define as weak alias of __feupdateenv. Use
8231 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8233 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8234 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
8235 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8236 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8238 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8239 __feupdateenv and define as weak alias of __feupdateenv. Use
8241 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8243 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8244 __feupdateenv and define as weak alias of __feupdateenv. Use
8246 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8248 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8249 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8250 (__feupdateenv): Likewise.
8251 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8252 __feupdateenv and define as weak alias of __feupdateenv. Use
8254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8255 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8257 * sysdeps/tile/math_private.h (__feupdateenv): New inline
8259 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8261 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8262 __feupdateenv instead of feupdateenv.
8263 (default_libc_feupdateenv_test): Likewise.
8264 (libc_feresetround_ctx): Likewise.
8266 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8268 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8271 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
8273 * posix/regcomp.c (parse_bracket_exp): Initialize type to
8274 COLL_SYM in a couple of places to avoid uninitialized variable
8275 wanings on tilegx gcc 4.8.2.
8277 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
8279 * sysdeps/aarch64/strcpy.S: New file.
8280 * sysdeps/aarch64/stpcpy.S: New file.
8283 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
8285 * sysdeps/aarch64/strrchr.S: New file.
8288 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
8291 * stdlib/setenv.c: Fix memory leak when setting large,
8294 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
8297 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8298 and tabs from buffer before parsing fstab entry.
8299 * misc/tst-mntent.c (main): Add test for mount entry with
8300 trailing spaces and tabs.
8302 2015-01-06 Joseph Myers <joseph@codesourcery.com>
8305 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
8306 * math/fesetround.c (fesetround): Rename to __fesetround and
8307 define as weak alias of __fesetround. Use libm_hidden_weak.
8308 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8309 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8310 * sysdeps/arm/fesetround.c (fesetround): Likewise.
8311 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8312 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8313 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8314 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8315 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8316 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8317 __fesetround_inline.
8318 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8319 __fesetround_inline instead of __fesetround.
8320 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8321 __fesetround and define as weak alias of __fesetround. Use
8322 libm_hidden_weak. Call __fesetround_inline instead of
8324 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8325 __fesetround and define as weak alias of __fesetround. Use
8327 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8329 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8330 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8331 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8332 * sysdeps/tile/math_private.h (__fesetround): New inline function.
8333 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8334 __fesetround and define as weak alias of __fesetround. Use
8336 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8337 __fesetround instead of fesetround.
8338 (default_libc_feholdexcept_setround): Likewise.
8339 (libc_feholdsetround_ctx): Likewise.
8340 (libc_feholdsetround_noex_ctx): Likewise.
8343 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8344 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8345 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8346 and define as weak alias of __fesetenv. Use libm_hidden_weak.
8347 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8348 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8349 define as weak alias of __fesetenv. Use libm_hidden_weak.
8350 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8351 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8352 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8353 define as weak alias of __fesetenv. Use libm_hidden_weak.
8354 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8355 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8356 define as weak alias of __fesetenv. Use libm_hidden_weak.
8357 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8359 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8360 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8362 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8363 define as weak alias of __fesetenv. Use libm_hidden_weak.
8364 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8365 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8366 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8367 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8368 and define as weak alias of __fesetenv. Use libm_hidden_weak.
8369 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8370 __fesetenv instead of fesetenv.
8371 (libc_feresetround_noex_ctx): Likewise.
8372 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8373 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8374 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8375 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8376 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8377 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8378 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8379 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8380 (__feupdateenv): Likewise.
8381 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8382 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8383 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8384 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8386 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
8389 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8390 addresses have been freed.
8392 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
8394 * resolv/res_init.c (__res_vinit): Improve comments about nserv
8397 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
8399 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8400 Clean up check_pf allocation pattern. addresses
8402 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8405 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8406 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8407 * nptl/pthread_exit.c (__pthread_exit): Likewise.
8408 * nptl/pthread_join.c (pthread_join): Likewise.
8409 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8410 * sysdeps/posix/waitid.c (__waitid): Likewise.
8411 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8412 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8413 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8414 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8415 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8418 (__libc_pread64): Likewise.
8419 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8420 (__libc_pwrite): Likewise.
8421 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8422 (__libc_pwrite64): Likewsie.
8423 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8424 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8425 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8426 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8427 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8428 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8429 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8433 (__libc_pread64): Likewise.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8437 (__libc_pwrite64): Likewise.
8438 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8439 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8440 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8441 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8442 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8443 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8444 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8445 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8446 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8447 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8448 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8449 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8450 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8451 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8452 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8453 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8456 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8458 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8459 (CFLAGS-test-double.c): Likewise.
8460 (CFLAGS-test-ldouble.c): Likewise.
8461 (CPPFLAGS-test-ifloat.c): Likewise.
8462 (CPPFLAGS-test-idouble.c): Likewise.
8463 (CPPFLAGS-test-ildoubl.c): Likewise.
8464 (CFLAGS-test-test-fenv.c): Remove variable.
8465 (CFLAGS-test-misc.c): Likewise.
8467 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
8470 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8471 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8472 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8473 CLOCKS_PER_SEC == 1000000.
8474 * time/clocktest.c (main): Replace %ld with %jd and cast to
8477 2015-01-05 Roland McGrath <roland@hack.frob.com>
8479 * sysdeps/generic/unwind-resume.h: New file.
8480 * sysdeps/gnu/unwind-resume.c: Include it.
8481 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8482 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8484 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8485 global rather than static.
8486 (_Unwind_Resume): Update user.
8487 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8488 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
8489 rather than static. Add __attribute__ ((cold)).
8490 (_Unwind_Resume, __gcc_personality_v0): Update callers.
8491 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8492 * sysdeps/arm/arm-unwind-resume.S: New file.
8493 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8494 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8495 * sysdeps/arm/Makefile [$(subdir) = csu]
8496 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8497 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8498 Add rt-arm-unwind-resume.
8500 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8501 Add pt-arm-unwind-resume.
8502 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8503 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8505 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8508 * include/fenv.h (__feholdexcept): Declare. Use
8510 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8511 define as weak alias of __feholdexcept. Use libm_hidden_weak.
8512 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8513 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8514 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8515 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8516 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8517 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8518 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8519 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8520 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8521 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8522 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8523 (feholdexcept): Likewise.
8524 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8525 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8526 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8527 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8528 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8529 __feholdexcept instead of feholdexcept.
8530 (default_libc_feholdexcept_setround): Likewise.
8532 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8534 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8535 to avoid using stl/str to align destination.
8537 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8539 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8541 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8544 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8545 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8546 Define as weak alias not strong alias.
8548 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
8550 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8551 bltzal with addiupc.
8552 (RTLD_START): Ditto.
8554 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
8556 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8557 for __vdso_* functions in declarations.
8558 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8560 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8561 INTERNAL_VSYSCALL): Use struct return types to check for error.
8563 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8564 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8565 function with cast from llround().
8566 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8567 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8570 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8573 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8574 Define as weak alias not strong alias.
8577 * ctype/ctype-c99.c: New file. isblank implementation moved from
8579 * ctype/ctype-extn.c: ... here.
8580 (__isblank_l): Move to ...
8581 * ctype/ctype-c99_l.c: ... here. New file.
8582 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8583 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8585 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8586 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8587 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8588 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8589 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8592 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8593 (posix_fadvise64): Define as weak alias not strong alias.
8594 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8595 (posix_fallocate64): Likewise.
8596 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8598 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8599 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8600 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8601 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8602 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8604 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
8607 * NEWS: Mention bug fix.
8608 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8609 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8610 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8611 (HOST_STACK_END_ADDR): Likewise.
8613 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8616 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
8617 * math/fegetround.c (fegetround): Rename to __fegetround and
8618 define as weak alias of __fegetround. Use libm_hidden_weak.
8619 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8620 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8621 * sysdeps/arm/fegetround.c (fegetround): Likewise.
8622 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8623 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8624 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8625 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8626 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8627 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8628 Undefine after rather than before function definition; use
8629 parentheses around function name in definition.
8630 (__fegetround): Also undefine macro after function definition.
8631 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8632 __fegetround and define as weak alias of __fegetround. Use
8633 libm_hidden_weak. Do not undefine as macro.
8634 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8636 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8637 __fegetround and define as weak alias of __fegetround. Use
8639 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8640 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8641 * sysdeps/tile/math_private.h (__fegetround): New inline function.
8642 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8643 __fegetround and define as weak alias of __fegetround. Use
8645 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8646 __fegetround instead of fegetround.
8649 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8650 Condition macro definition on [__USE_MISC].
8653 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8654 (struct sigaction): Change type of sa_flags field to int.
8657 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8658 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8661 * nptl/version.c (banner): Use single year in copyright notice.
8663 * NEWS: Update copyright dates.
8664 * catgets/gencat.c (print_version): Likewise.
8665 * csu/version.c (banner): Likewise.
8666 * debug/catchsegv.sh: Likewise.
8667 * debug/pcprofiledump.c (print_version): Likewise.
8668 * debug/xtrace.sh (do_version): Likewise.
8669 * elf/ldconfig.c (print_version): Likewise.
8670 * elf/ldd.bash.in: Likewise.
8671 * elf/pldd.c (print_version): Likewise.
8672 * elf/sotruss.sh: Likewise.
8673 * elf/sprof.c (print_version): Likewise.
8674 * iconv/iconv_prog.c (print_version): Likewise.
8675 * iconv/iconvconfig.c (print_version): Likewise.
8676 * locale/programs/locale.c (print_version): Likewise.
8677 * locale/programs/localedef.c (print_version): Likewise.
8678 * login/programs/pt_chown.c (print_version): Likewise.
8679 * malloc/memusage.sh (do_version): Likewise.
8680 * malloc/memusagestat.c (print_version): Likewise.
8681 * malloc/mtrace.pl: Likewise.
8682 * manual/libc.texinfo: Likewise.
8683 * nptl/version.c (banner): Likewise.
8684 * nscd/nscd.c (print_version): Likewise.
8685 * nss/getent.c (print_version): Likewise.
8686 * nss/makedb.c (print_version): Likewise.
8687 * posix/getconf.c (main): Likewise.
8688 * scripts/test-installation.pl: Likewise.
8689 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8691 2015-01-02 Will Newton <will.newton@linaro.org>
8693 * sysdeps/arm/armv7/configure: Removed.
8694 * sysdeps/arm/armv7/configure.ac: Likewise.
8696 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8698 * All files with FSF copyright notices: Update copyright dates
8699 using scripts/update-copyrights.
8700 * intl/plural.c: Regenerated.
8701 * locale/programs/charmap-kw.h: Likewise.
8702 * locale/programs/locfile-kw.h: Likewise.
8704 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8706 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8708 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8711 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8712 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8713 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8714 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8715 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8716 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8717 define as weak alias of __fegetenv. Use libm_hidden_weak.
8718 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8719 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8720 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8721 define as weak alias of __fegetenv. Use libm_hidden_weak.
8722 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8723 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8724 define as weak alias of __fegetenv. Use libm_hidden_weak.
8725 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8727 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8730 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8731 define as weak alias of __fegetenv. Use libm_hidden_weak.
8732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8733 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8734 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8735 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8736 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8737 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8738 __fegetenv instead of fegetenv.
8739 (libc_feholdsetround_noex_ctx): Likewise.
8741 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
8743 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8744 (Elf_MIPS_ABIFlags_v0): New structure.
8745 (EF_MIPS_FP64): Define.
8746 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8747 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8748 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8749 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8750 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8751 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8752 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8753 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8754 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8755 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8756 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8757 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8758 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8759 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8760 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8761 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8762 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8763 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8764 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8765 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8766 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8767 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8769 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8771 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8772 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8773 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8774 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8775 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8776 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8777 * sysdeps/mips/tst-abi-interlink.c: Likewise.
8778 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8779 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8780 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8781 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8782 record the current FP ABI extension.
8783 (mips-mode-switch): Define to show if kernel headers support mode
8785 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8786 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8787 supported SYSV ABI version to 3.
8788 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8791 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8792 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8794 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8796 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8798 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8800 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8801 __fegetround and redefine to call __fegetround. Remove condition
8802 on [!__NO_MATH_INLINES].
8803 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8805 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8806 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8809 instead of <fenv_libc.h>.
8810 (__llrintl): Call fegetround instead of __fegetround.
8811 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8812 instead of <fenv_libc.h>.
8813 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8814 (__lrintl): Call fegetround instead of __fegetround.
8815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8816 instead of <fenv_libc.h>.
8817 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8818 (__rintl): Call fegetround instead of __fegetround.
8820 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8822 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8825 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8828 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8829 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8830 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8832 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8834 * sysdeps/i386/tls-macros.h: Include <features.h>.
8835 (TLS_LE): Use non-PIC version for GCC >= 5.0.
8839 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8840 define for GCC >= 5.0.
8842 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
8844 * math/test-fenv.c (test_single_exception, set_single_exc,
8845 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8846 feexcp_mask_test, feenable_test, fe_single_test): Add
8847 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8848 case where they are not used.
8849 * math/libm-test.inc: Likewise.
8850 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8851 unused in the absence of FP rounding/exception support.
8852 * stdio-common/tst-printf-round.c: Likewise.
8853 * stdlib/tst-strtod-round.c: Likewise.
8854 * stdlib/tst-strtod-underflow.c: Likewise.
8856 2014-12-30 Joseph Myers <joseph@codesourcery.com>
8859 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8860 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8861 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8862 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8864 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8865 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8866 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8868 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8869 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8871 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8873 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8874 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8875 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8877 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8879 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8880 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8881 (__feraiseexcept): Likewise.
8882 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8883 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8886 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8888 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8889 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8890 Use libm_hidden_def.
8891 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8893 (feraiseexcept): Define as weak not strong alias. Use
8895 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8896 New inline function. Factored out of ...
8897 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
8898 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8899 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8901 * math/w_acos.c (__acos): Likewise.
8902 * math/w_asin.c (__asin): Likewise.
8903 * math/w_ilogb.c (__ilogb): Likewise.
8904 * math/w_j0.c (y0): Likewise.
8905 * math/w_j1.c (y1): Likewise.
8906 * math/w_jn.c (yn): Likewise.
8907 * math/w_log.c (__log): Likewise.
8908 * math/w_log10.c (__log10): Likewise.
8909 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8910 * sysdeps/aarch64/fpu/math_private.h
8911 (libc_feupdateenv_test_aarch64): Likewise.
8912 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8913 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8914 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8915 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8916 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8917 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8918 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8919 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8920 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8921 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8923 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8926 * io/test-utime.c (main): Replace %ld with %jd and cast to
8928 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8929 * nptl/tst-mutex5.c: Include <stdint.h>.
8930 (do_test): Replace %ld with %jd and cast to intmax_t.
8931 * posix/tst-regex.c (run_test): Likewise.
8932 (run_test_backwards): Likewise.
8933 * rt/tst-clock.c: Include <stdint.h>.
8934 (clock_test): Replace %ld with %jd and cast to intmax_t.
8935 * rt/tst-cpuclock1.c: Include <stdint.h>.
8936 (do_test): Replace %lu with %ju and cast to uintmax_t.
8937 * rt/tst-cpuclock2.c: Include <stdint.h>.
8938 (do_test): Replace %lu with %ju and cast to uintmax_t.
8939 * rt/tst-mqueue1.c: Include <stdint.h>.
8940 (check_attrs): Replace %ld with %jd and cast to intmax_t.
8941 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8943 * rt/tst-mqueue4.c (do_test): Likewise.
8944 * rt/tst-timer4.c: Include <stdint.h>.
8945 (check_ts): Replace %ld with %jd and cast to intmax_t.
8946 (do_test): Likewise.
8947 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8948 and cast to intmax_t.
8949 * sysdeps/pthread/tst-timer.c (main): Likewise.
8950 * time/clocktest.c (main): Likewise.
8951 * time/tst-posixtz.c (do_test): Likewise.
8952 * timezone/tst-timezone.c (main): Likewise.
8954 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8955 H.J. Lu <hongjiu.lu@intel.com>
8957 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8958 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8962 version if bit_Fast_Unaligned_Load is set.
8963 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8970 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8971 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8972 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8974 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8975 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8976 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8977 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8979 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8981 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8982 instead of #if to avoid a Wundef warning.
8983 * stdlib/tst-limits.c (do_test): Likewise.
8985 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8986 parallel other exception macros.
8987 (fegetenv): Convert from macro to extern inline so that it applies
8988 retroactively to inline functions already seen by the compiler.
8989 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8991 * posix/Makefile (before-compile): Use $(objpfx) for
8992 posix-conf-vars-def.h.
8994 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8996 * posix/getconf.c (main): Use size_t for type of I.
8997 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9000 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9001 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9002 * posix/posix-envs.def: Likewise.
9003 * sysdeps/posix/sysconf.c: Likewise.
9004 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9005 (specs): Remove array.
9006 * scripts/gen-posix-conf-vars.awk: Support generation of specs
9009 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9010 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9011 (__sysconf): Use CONF_IS_* macros.
9013 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9014 ($(objpfx)posix-conf-vars-def.h): New target.
9015 * posix/posix-conf-vars.list: New file.
9016 * posix/posix-conf-vars.h: New file.
9017 * posix/confstr.c: Include posix-conf-vars.h.
9018 (confstr): Use CONF_IS_* macros.
9019 * posix/posix-envs.def: Include posix-conf-vars.h. Use
9021 * scripts/gen-posix-conf-vars.awk: New file.
9023 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
9025 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9026 fegetround): Add no-op macros to avoid linknamespace issues.
9028 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9029 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9031 * sysdeps/unix/sysv/linux/tile/sysdep.h
9032 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9033 assembly-specific section to avoid a redefinition warning.
9035 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9036 long before casting to pointer to avoid a cast warning.
9038 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
9040 * sysdeps/tile/tilegx/Implies: New file.
9042 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
9044 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9046 2014-12-23 Florian Weimer <fweimer@redhat.com>
9048 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9050 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9054 * sysdeps/unix/sysv/linux/utimes.c: Do not include
9055 <kernel-features.h>.
9056 (__utimes) [__NR_utimes]: Make code unconditional.
9057 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9059 (__ASSUME_UTIMES): Do not undefine.
9060 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9061 (__ASSUME_UTIMES): Likewise.
9062 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9063 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9064 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9065 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9067 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
9069 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9071 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
9074 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9075 alias to weak alias for j0l, y0l.
9076 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9077 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9080 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9083 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
9085 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9086 to zero if not already defined.
9088 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9091 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9092 (__kernel_standard_f): Remove. Moved to k_standardf.c.
9093 (__kernel_standard_l): Remove. Moved to k_standardl.c with
9094 (char *) casts added.
9095 * sysdeps/ieee754/k_standardf.c: New file.
9096 * sysdeps/ieee754/k_standardl.c: Likewise.
9097 * math/Makefile (libm-support): Remove k_standard.
9098 (libm-calls): Add k_standard.
9100 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9102 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9103 Optimize to avoid an unnecessary FPCR read.
9105 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9107 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9108 Optimize to reduce FPCR/FPSR accesses.
9110 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9112 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9113 Call libc_fetestexcept_aarch64.
9115 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9117 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9118 Call libc_fesetround_aarch64.
9120 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9123 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9124 (__bind): Do not define as weak alias.
9125 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9127 (__getsockname): Do not define as weak alias.
9129 2014-12-22 Will Newton <will.newton@linaro.org>
9131 * manual/install.texi: Document that we require bison 2.7
9133 * INSTALL: Regenerate.
9134 * configure.ac: Use AC_CHECK_PROG_VER instead of
9135 AC_PATH_PROG when checking for bison and check for
9136 version 2.7 or above.
9137 * configure: Regenerate.
9139 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
9142 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9143 * sysdeps/tile/ffsll.c (ffsll): To here.
9145 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9147 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9149 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9151 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9153 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9154 hidden ___tls_get_addr.
9155 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9156 hidden __tls_get_addr.
9157 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9158 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9161 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
9163 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9166 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9168 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9169 from "call _dl_init@PLT".
9170 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9172 2014-12-21 Anders Kaseorg <andersk@mit.edu>
9174 * manual/search.texi: (Array Sort Function): Clarify stable sorting
9177 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
9179 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9181 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9184 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9187 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
9189 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9191 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9192 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9193 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9194 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9195 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9197 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
9199 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9200 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9201 (PTR_SUBU): Use subu for mips32r6/mips64r6.
9202 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9203 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9205 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9207 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
9209 * string/strncat.c (STRNCAT): Simplify implementation.
9211 2014-12-19 David S. Miller <davem@davemloft.net>
9213 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9214 access the quad as both a long double and as a series of 4 words.
9216 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9217 link_map->l_info array access.
9219 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9221 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9223 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9224 * math/atest-exp2.c (TIMEOUT): Likewise.
9225 * math/atest-sincos.c (TIMEOUT): Likewise.
9227 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9229 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9230 -Wno-error with -fno-builtin-lround.
9232 2014-12-19 Torvald Riegel <triegel@redhat.com>
9234 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9235 Contains futex constants and functions moved over from ...
9236 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
9237 <lowlevellock-futex.h>.
9238 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9239 (lll_timedwait_tid): Add comments and parentheses around macro
9242 2014-12-19 Torvald Riegel <triegel@redhat.com>
9244 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9245 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
9246 (__lll_private_flag): Remove.
9247 (lll_futex_wait): Likewise.
9248 (lll_futex_timed_wait): Likewise.
9249 (lll_futex_wake): Likewise.
9250 (lll_futex_requeue): Likewise.
9251 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9252 (__lll_timedwait_tid): Spell out argument names.
9253 (lll_timedwait_tid): Add comments and parentheses around macro
9255 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9256 LLL_SHARED and LLL_PRIVATE usable from assembly code.
9258 2014-12-19 Torvald Riegel <triegel@redhat.com>
9260 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9261 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9262 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9263 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9264 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9265 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9266 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9267 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9268 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9269 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9270 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9271 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9272 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9273 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9274 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9275 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9276 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9277 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9278 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9280 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9282 * sysdeps/x86_64/x32/Makefile: New file.
9284 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9286 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9287 1L with (mp_limb_t) 1.
9289 2014-12-17 Roland McGrath <roland@hack.frob.com>
9291 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9292 * nptl/libc_pthread_init.c: ... here.
9293 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9294 * nptl/register-atfork.c: ... here.
9296 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9297 Use pthread_sigmask rather than INTERNAL_SYSCALL.
9298 Use assert_perror to check its return value.
9299 (__gai_create_helper_thread): Likewise.
9301 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9303 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9305 2014-12-17 Joseph Myers <joseph@codesourcery.com>
9308 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9310 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9312 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9314 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9316 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9317 (profil_counter): Likewise.
9318 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9319 (profil_counter): Likewise.
9320 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9322 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9324 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9325 (profil_counter): Likewise.
9326 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9328 [!__profil_counter] (profil_counter): Define as weak alias of
9330 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9331 (profil_counter): Rename to __profil_counter.
9332 [!__profil_counter] (profil_counter): Define as weak alias of
9334 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9335 (profil_counter): Rename to __profil_counter.
9336 [!__profil_counter] (profil_counter): Define as weak alias of
9338 * sysdeps/posix/profil.c: Update comment referring to
9340 (__profil): Use __profil_counter instead of profil_counter.
9341 * sysdeps/posix/sprofil.c (profil_counter): Rename to
9342 __profil_counter. Use __profil_counter_ushort and
9343 __profil_counter_uint in definitions.
9344 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9345 instead of profil_counter_uint and profil_counter_ushort.
9348 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9349 define as weak alias of __inet_makeaddr.
9350 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9351 as weak alias of __inet_addr.
9352 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9353 as weak alias of __inet_pton. Use libc_hidden_weak.
9354 * include/arpa/inet.h (__inet_pton): Declare. Use
9356 (inet_makeaddr): Don't use libc_hidden_proto.
9357 (__inet_makeaddr): Declare. Use libc_hidden_proto.
9358 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9359 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
9360 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9362 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9363 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9365 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
9367 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9369 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9371 * stdio-common/bug-vfprintf-nargs.c (do_test):
9372 Cast value to intptr_t to avoid format warning
9373 for usage with PRIdPTR printing macro.
9375 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9377 * libio/tst-widetext.c (do_test):
9378 Use format type %td instead of %Zd for ptrdiff_t
9379 in order to avoid format warning.
9381 2014-12-17 Andreas Schwab <schwab@suse.de>
9383 * nscd/mem.c (gc): Add size_t cast to match printf format.
9385 2014-12-16 Roland McGrath <roland@hack.frob.com>
9387 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9388 (init): Apply PTR_MANGLE to pointers before storing them.
9389 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9392 2014-12-16 Joseph Myers <joseph@codesourcery.com>
9395 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9396 define as weak alias of __memrchr.
9397 (__memrchr): Do not define as strong alias of memrchr.
9398 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9400 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9401 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9402 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9405 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9406 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
9407 (if_indextoname): Rename to __if_indextoname and define as weak
9408 alias of __if_indextoname. Use libc_hidden_weak.
9409 (if_freenameindex): Rename to __if_freenameindex and define as
9410 weak alias of __if_freenameindex.
9411 (if_nameindex): Rename to __if_nameindex and define as weak alias
9413 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9414 __if_nametoindex and define as weak alias of __if_nametoindex.
9415 Use libc_hidden_weak.
9416 (if_freenameindex): Rename to __if_freenameindex and define as
9417 weak alias of __if_freenameindex.
9418 (if_nameindex): Rename to __if_nameindex and define as weak alias
9420 (if_indextoname): Rename to __if_indextoname and define as weak
9421 alias of __if_indextoname. Use libc_hidden_weak.
9422 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9423 __if_nametoindex and define as weak alias of __if_nametoindex.
9424 Use libc_hidden_weak.
9425 (if_freenameindex): Rename to __if_freenameindex and define as
9426 weak alias of __if_freenameindex. Use libc_hidden_weak.
9427 (if_nameindex_netlink): Use __if_freenameindex instead of
9429 (if_nameindex): Rename to __if_nameindex and define as weak alias
9430 of __if_nameindex. Use libc_hidden_weak.
9431 (if_indextoname): Rename to __if_indextoname and define as weak
9432 alias of __if_indextoname. Use libc_hidden_weak.
9433 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9435 [!_ISOMAC] (__if_freenameindex): Likewise.
9436 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9438 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9440 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9441 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9442 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9443 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9444 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9445 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9446 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9448 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9450 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9451 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9453 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9455 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9456 subscript above bounds'
9458 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9461 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
9463 * libio/tst-fopenloc.c: Use test-skeleton.c.
9465 * stdlib/tst-bsearch.c: Use test-skeleton.c.
9466 (entry): Rename to ITEM.
9467 (do_test, comp): Adjust.
9469 * stdio-common/tst-fseek.c: Use test-skeleton.c.
9471 2014-12-16 Torvald Riegel <triegel@redhat.com>
9473 * string/tester.c: Include <libc-internal.h>.
9474 (test_memset): Ignore -Wmemset-transposed-args.
9476 2014-12-16 Torvald Riegel <triegel@redhat.com>
9478 * misc/tst-mntent2.c (do_test): Fix warning.
9480 2014-12-16 Torvald Riegel <triegel@redhat.com>
9482 * elf/tst-unique4lib.cc(a): Mark as used.
9484 2014-12-16 Florian Weimer <fweimer@redhat.com>
9487 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9490 2014-12-16 Allan McRae <allan@archlinux.org>
9492 * stdio-common/Makefile (tests): Re-add bug26.
9494 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
9497 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9500 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
9502 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9503 (__lll_lock_wait): Likewise.
9504 (__lll_timedlock_wait): Likewise.
9505 (__lll_timedwait_tid): Likewise.
9506 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9507 (__lll_robust_timedlock_wait): Likewise.
9508 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9509 (lll_cond_trylock): Likewise.
9510 (__lll_lock): Likewise.
9511 (__lll_robust_lock): Likewise.
9512 (__lll_cond_lock): Likewise.
9513 (lll_robust_cond_lock): Likewise.
9514 (__lll_timedlock): Likewise.
9515 (__lll_robust_timedlock): Likewise.
9516 (__lll_unlock): Likewise.
9517 (__lll_robust_unlock): Likewise.
9518 (lll_wait_tid): Likewise.
9519 (lll_timedwait_tid): Likewise.
9521 2014-12-15 Torvald Riegel <triegel@redhat.com>
9523 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9525 2014-12-15 Torvald Riegel <triegel@redhat.com>
9527 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9529 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9531 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9532 * stdio-common/tst-sprintf.c: Likewise.
9534 2014-12-15 Torvald Riegel <triegel@redhat.com>
9536 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9538 2014-12-15 Jeff Law <law@redhat.com>
9541 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9542 on the heap. (CVE-2012-3406)
9543 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9544 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
9545 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9547 2014-12-15 Will Newton <will.newton@linaro.org>
9549 * manual/install.texi: Bump required version of texinfo
9551 * INSTALL: Regenerated.
9552 * configure.ac: Check for makeinfo version 4.7 and above.
9553 * configure: Regenerated.
9555 2014-12-12 Roland McGrath <roland@hack.frob.com>
9557 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9558 PREFIX, string constant to insert between directory and name.
9559 * sysdeps/posix/shm_open.c: Update caller.
9560 * sysdeps/posix/shm_unlink.c: Likewise.
9561 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9562 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9563 (SEM_SHM_PREFIX): New macro.
9564 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9565 [$(have-thread-library) = no].
9566 * nptl/Makefile (libpthread-routines): Add shm-directory.
9567 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9568 * sysdeps/nptl/shm-directory.h: New file.
9569 * sysdeps/posix/shm-directory.c
9570 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9571 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9572 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9574 (__where_is_shmfs): Function removed.
9575 (mountpoint, defaultmount, defaultdir, __namedsem_once):
9577 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9579 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
9581 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9582 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9583 unconditional for use inside libpthread.
9584 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9586 2014-12-12 Roland McGrath <roland@hack.frob.com>
9588 * nptl/pthread_getaffinity.c: New file.
9589 * nptl/pthread_setaffinity.c: New file.
9590 * nptl/pthread_getname.c: New file.
9591 * nptl/pthread_setname.c: New file.
9593 * nptl/pthread_create.c (START_THREAD_DEFN)
9594 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9596 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9597 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9599 * resolv/res_send.c (send_vc): Disable warning resplen may
9600 be used uninitialized.
9602 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9605 (ATTR_NULL): New define checks ATTR against NULL.
9606 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9607 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9609 2014-12-11 James Lemke <jwlemke@codesourcery.com>
9613 (mem2mem_check): Revert my previous change.
9614 (malloc_check_get_size): Revert my previous change.
9615 (mem2chunk_check): Revert my previous change.
9617 2014-12-11 Roland McGrath <roland@hack.frob.com>
9619 * sysdeps/posix/shm-directory.c: New file.
9620 * sysdeps/posix/shm-directory.h: New file.
9621 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9622 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9623 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
9624 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9625 Transmute EPERM to EACCES.
9626 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9628 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
9629 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9631 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9633 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9634 pointer and cast to uintptr_t.
9635 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9636 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9637 Add cast to avoid warning.
9638 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9640 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9642 * nptl/semaphore.h: Move to ...
9643 * sysdeps/pthread/semaphore.h: ... here.
9644 * Makefile (installed-headers): Change nptl/semaphore.h to
9645 sysdeps/pthread/semaphore.h.
9647 2014-12-11 Roland McGrath <roland@hack.frob.com>
9649 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9650 generated error format strings.
9652 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9653 -Wformat-extra-args warnings for scanf formats.
9654 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9655 test of zero-length format (duh).
9656 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9657 corner-case scanf format test.
9658 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9659 generated fprintf format string.
9660 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9661 corner-case sprintf format tests.
9662 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9663 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9664 -Wformat-extra-args warnings throughout.
9665 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9666 (CFLAGS-scanf4.c): Likewise.
9667 (CFLAGS-scanf7.c): Likewise.
9668 (CFLAGS-tst-sprintf.c): Likewise.
9669 (CFLAGS-tst-printf.c): Likewise.
9670 (CFLAGS-tst-printfsz.c): Likewise.
9672 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9674 * include/cpio.h: New file.
9675 * include/fmtmsg.h: Likewise.
9677 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
9678 corresponding format argument to size_t.
9679 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
9681 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
9682 corresponding format argument to size_t.
9683 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
9685 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
9686 corresponding format argument to size_t.
9687 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9688 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9689 (CFLAGS-tst-mbswcs2.c): Likewise.
9690 (CFLAGS-tst-mbswcs3.c): Likewise.
9691 (CFLAGS-tst-mbswcs4.c): Likewise.
9692 (CFLAGS-tst-mbswcs5.c): Likewise.
9693 (CFLAGS-tst-trans.c): Likewise
9695 2014-12-11 Roland McGrath <roland@hack.frob.com>
9697 * posix/regexbug1.c (main): Use "%s" format with regerror results,
9698 rather than assuming they won't contain any '%'s.
9700 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
9702 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9703 inhibit_loop_to_libcall to avoid recursive calls.
9704 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9705 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9707 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9709 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9712 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9714 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9715 integer value instead of boolean.
9717 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9719 * malloc/malloc.c: Fix powerof2 check.
9721 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9723 * locale/programs/locfile.h (maybe_swap_uint32):
9724 Remove inline and add unused attribute.
9726 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9729 Truncating assembler expression to a .long expression.
9731 2014-12-11 Andreas Schwab <schwab@suse.de>
9733 * elf/rtld.c (struct map_args): Constify str member.
9734 (do_preload): Constify fname argument.
9736 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9739 constants definition.
9741 2014-12-11 Andreas Schwab <schwab@suse.de>
9744 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9745 FORCE_ELISION instead of DO_ELISION.
9746 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9748 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9751 * iconvdata/gconv-modules: Remove duplicate entry.
9753 2014-12-11 Will Newton <will.newton@linaro.org>
9755 Merge gettext 0.19.3 into intl/.
9757 This involves a number of cosmetic changes to comments
9758 and ANSI function definitions and prototypes throughout
9759 all the files. The gettext copyright header is used but
9760 with the date ranges taken from the glibc copy.
9762 * NEWS: Add gettext merge to 2.21.
9763 * intl/bindtextdom.c: Switch to gettext copyright.
9764 Use ANSI definitions and prototypes.
9765 Use gl_* locking primitives rather than __libc_* ones.
9766 Use __builtin_expect rather than __glibc_likely/unlikely.
9767 * intl/dcgettext.c: Switch to gettext copyright.
9768 Use ANSI definitions and prototypes.
9769 * intl/dcigettext.c: Switch to gettext copyright.
9770 Use ANSI definitions and prototypes.
9771 (INTDIV0_RAISES_SIGFPE): New define.
9772 Use gl_* locking primitives rather than __libc_* ones.
9773 Include eval-plural.h instead of plural-eval.c.
9774 Use __builtin_expect rather than __glibc_likely/unlikely.
9775 * intl/dcngettext.c: Switch to gettext copyright.
9776 Use ANSI definitions and prototypes.
9777 * intl/dgettext.c: Likewise.
9778 * intl/dngettext.c: Likewise.
9779 * intl/plural-eval.c: Renamed to...
9780 * intl/eval-plural.h: ...this.
9781 * intl/explodename.c: Switch to gettext copyright.
9782 Use ANSI definitions and prototypes.
9783 (_nl_explode_name): Use strchr instead of __rawmemchr.
9784 * intl/finddomain.c: Switch to gettext copyright.
9785 Use ANSI definitions and prototypes.
9786 Use gl_* locking primitives rather than __libc_* ones.
9787 (_nl_find_domain): Use malloc rather than alloca for
9788 allocation of temporary locale name.
9789 * intl/gettext.c: Switch to gettext copyright.
9790 Use ANSI definitions and prototypes.
9791 * intl/gettextP.h: Switch to gettext copyright.
9792 Use ANSI definitions and prototypes.
9793 Use gl_* locking primitives rather than __libc_* ones.
9794 * intl/gmo.h: Switch to gettext copyright.
9795 (struct sysdep_string): Move struct segment_pair outside of
9797 * intl/hash-string.c: Use ANSI definitions and prototypes.
9798 * intl/hash-string.h: Switch to gettext copyright.
9799 Use ANSI definitions and prototypes.
9800 * intl/l10nflist.c: Switch to gettext copyright.
9801 Use ANSI definitions and prototypes.
9802 (_nl_normalize_codeset): Avoid integer overflow.
9803 * intl/loadinfo.h: Switch to gettext copyright.
9804 Use ANSI definitions and prototypes.
9805 (LIBINTL_DLL_EXPORTED): New define.
9806 (PATH_SEPARATOR): New define.
9807 * intl/loadmsgcat.c: Switch to gettext copyright.
9808 * intl/localealias.c: Switch to gettext copyright.
9809 Use ANSI definitions and prototypes.
9810 (_nl_expand_alias): Use PATH_SEPARATOR.
9811 * intl/ngettext.c: Switch to gettext copyright.
9812 Use ANSI definitions and prototypes.
9813 * intl/plural-exp.c: Likewise.
9814 * intl/plural-exp.h: Switch to gettext copyright.
9815 Use ANSI definitions and prototypes.
9816 (struct expression): Move definition of enum operator outside
9817 of struct definition.
9818 * intl/plural.c: Regenerate.
9819 * intl/plural.y: Switch to gettext copyright.
9820 Use ANSI definitions and prototypes.
9822 * intl/textdomain.c: Switch to gettext copyright.
9823 Use ANSI definitions and prototypes.
9824 Use gl_* locking primitives rather than __libc_* ones.
9826 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
9828 * debug/warning-nop.c: Add used atrribute.
9830 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9832 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9834 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9835 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9836 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9838 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9839 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9842 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9843 Undefine after defining function. Define as weak alias of
9844 __wcschr. Use libc_hidden_weak.
9845 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
9846 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9847 (libc_hidden_def): Also define __GI___wcschr alias.
9848 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9849 __wcschr and define as weak alias of __wcschr.
9850 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9852 [!WCSCHR] (DEFAULT_WCSCHR): Define.
9853 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9854 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
9855 libc_hidden_weak. Do not use libc_hidden_def.
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9857 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9858 __GI___wcschr alias.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9860 [IS_IN (libc)] (wcschr): Define as macro expanding to
9862 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9863 [IS_IN (libc)] (__wcschr_power6): Likewise.
9864 [IS_IN (libc)] (__wcschr_power7): Likewise.
9865 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
9867 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9869 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9870 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9871 __wcschr and define as weak alias of __wcschr. Use
9872 libc_hidden_builtin_def.
9873 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9874 as weak alias of __wcschr. Use libc_hidden_weak.
9875 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9877 * time/era.c (_nl_init_era_entries): Likewise.
9878 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9880 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9881 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9883 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9885 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9886 format for long int variable.
9888 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
9891 * manual/search.texi: (Array Sort Function): Remove claim how to make
9894 2014-12-10 Andreas Schwab <schwab@suse.de>
9897 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9898 user-controlled locks.
9900 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
9902 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9905 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9907 * configure.ac (--disable-werror): New configure option.
9908 (enable_werror): New AC_SUBST.
9909 * configure: Regenerated.
9910 * config.make.in (enable-werror): New variable.
9911 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9913 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9914 * manual/install.texi (Configuring and compiling): Document
9916 * INSTALL: Regenerated.
9917 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9918 (CFLAGS-tst-chk2.c): Likewise.
9919 (CFLAGS-tst-chk3.c): Likewise.
9920 (CFLAGS-tst-chk4.cc): Likewise.
9921 (CFLAGS-tst-chk5.cc): Likewise.
9922 (CFLAGS-tst-chk6.cc): Likewise.
9923 (CFLAGS-tst-lfschk1.c): Likewise.
9924 (CFLAGS-tst-lfschk2.c): Likewise.
9925 (CFLAGS-tst-lfschk3.c): Likewise.
9926 (CFLAGS-tst-lfschk4.cc): Likewise.
9927 (CFLAGS-tst-lfschk5.cc): Likewise.
9928 (CFLAGS-tst-lfschk6.cc): Likewise.
9930 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9931 (main): Disable -Wdeprecated-declarations around calls to
9932 register_printf_function.
9934 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9935 (do_test): Disable -Wdiv-by-zero around some calls to
9936 fwrite_unlocked and fread_unlocked.
9938 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9939 (DIAG_POP_NEEDS_COMMENT): Likewise.
9940 (_DIAG_STR1): Likewise.
9941 (_DIAG_STR): Likewise.
9942 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9943 * stdio-common/bug21.c: Include <libc-internal.h>.
9944 (do_test): Disable -Wformat around call to sscanf.
9945 * stdio-common/scanf14.c: Include <libc-internal.h>.
9946 (main): Disable -Wformat around some calls to scanf functions.
9948 2014-12-09 Torvald Riegel <triegel@redhat.com>
9950 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9952 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9954 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9955 stack variable alignment.
9957 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9960 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9961 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9962 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9963 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9964 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9965 __getrlimit instead of getrlimit.
9966 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9967 __gettimeofday instead of gettimeofday.
9968 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9970 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9972 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9973 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9975 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9976 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9978 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9980 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9981 for wide-character tests.
9983 2014-12-04 Roland McGrath <roland@hack.frob.com>
9985 * io/openat64.c: #include <libc-internal.h>
9986 (__openat64): Prototypify. Use ignore_value on MODE.
9987 * io/openat.c: Likewise.
9988 * misc/reboot.c: #include <libc-internal.h>
9989 (reboot): Prototypify. Use ignore_value on HOWTO.
9990 * misc/ptrace.c: #include <libc-internal.h>
9991 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9993 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9995 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9996 XPG4, UNIX98 and XOPEN2K.
9997 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9999 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10001 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * libio/fileops.c: Use ISO C style for function definitions.
10004 * libio/iofopen.c: Likewise.
10005 * libio/wfileops.c: Likewise.
10008 * libio/fileops.c (_IO_new_file_underflow): Unset cached
10010 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10011 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10012 (fgets_func): Function pointer to fgets and fgetws.
10013 (do_ftell_test): Add test to verify ftell value after read
10015 (do_test): Set fgets_func.
10017 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10018 O_TRUNC flag for w and w+ modes.
10019 (do_rewind_test): Likewise.
10020 (do_ftell_test): Likewise.
10021 (do_write_test): Likewise.
10024 * libio/fileops.c (do_ftell): Seek only when there are
10026 * libio/wfileops.c (do_ftell_wide): Likewise.
10027 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10029 (do_one_test): Call it.
10031 2014-12-03 Joseph Myers <joseph@codesourcery.com>
10033 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10034 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10035 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10037 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10038 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10039 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10041 2014-12-02 Joseph Myers <joseph@codesourcery.com>
10043 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10045 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10048 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10049 as weak alias of __getifaddrs. Use libc_hidden_weak.
10050 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10051 __freeifaddrs. Use libc_hidden_weak.
10052 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10053 define as weak alias of __getifaddrs. Use libc_hidden_weak.
10054 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10055 __freeifaddrs. Use libc_hidden_weak.
10056 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10057 __getifaddrs and define as weak alias of __getifaddrs. Use
10059 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10060 __freeifaddrs. Use libc_hidden_weak.
10061 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10063 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10064 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10066 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
10069 * sysdeps/mips/start.S (__start): Use indirect jump to call
10072 2014-12-02 Joseph Myers <joseph@codesourcery.com>
10074 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10076 * nptl/tst-mutex1.c: Include <stdbool.h>.
10077 [!ATTR] (ATTR_NULL): New macro.
10078 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10079 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10080 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10082 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10086 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10087 Change conditional to [__USE_MISC].
10090 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10092 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10094 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10096 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10098 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10099 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10100 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10101 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10102 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10103 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10104 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10105 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10106 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10108 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10110 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10113 Remove strpbrk objects.
10114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10115 (__libc_ifunc_impl_list): Remove strpbrk implementation.
10116 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10117 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10118 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10119 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10121 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10122 Remove strcspn objects.
10123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10124 (__libc_ifunc_impl_list): Remove strcspn implementation.
10125 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10126 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10127 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10128 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10130 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10131 Remove strspn objetcs.
10132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10133 (__libc_ifunc_impl_list): Remove strspn implementation.
10134 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10135 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10136 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10137 * sysdeps/powerpc/powerpc64/strspn.S: New file.
10139 2014-12-01 James Lemke <jwlemke@codesourcery.com>
10143 (mem2mem_check): Add a terminator to the chain of checking blocks.
10144 (malloc_check_get_size): Use it here.
10145 (mem2chunk_check): Ditto.
10147 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10149 * sysdeps/powerpc/powerpc64/strtok.S: New file.
10150 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10152 2014-11-29 Carlos O'Donell <carlos@redhat.com>
10154 * bits/ioctl-types.h: Indent preprocessor directives correctly.
10156 * nptl/nptl-init.c: Include libc-internal.h.
10157 (__pthread_initialize_minimal_internal): Use ROUND_UP.
10159 * elf/ldconfig.c (search_dir): Expand comment.
10161 2014-11-29 Joseph Myers <joseph@codesourcery.com>
10163 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10165 (linknamespace-symlist-stdlibs-tests): Likewise.
10166 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10167 instead of $(objpfx)symlist-stdlibs.
10168 (linknamespace-libs-isoc): New variable.
10169 (linknamespace-libs): Use $(linknamespace-libs-isoc).
10170 (linknamespace-libs-ISO): New variable.
10171 (linknamespace-libs-ISO99): Likewise.
10172 (linknamespace-libs-ISO11): Likewise.
10173 (linknamespace-libs-XPG3): Likewise.
10174 (linknamespace-libs-XPG4): Likewise.
10175 (linknamespace-libs-POSIX): Likewise.
10176 (linknamespace-libs-UNIX98): Likewise.
10177 (linknamespace-libs-XOPEN2K): Likewise.
10178 (linknamespace-libs-POSIX2008): Likewise.
10179 (linknamespace-libs-XOPEN2K8): Likewise.
10180 ($(objpfx)symlist-stdlibs): Replace by
10181 $(linknamespace-symlist-stdlibs-tests). Use
10182 $(linknamespace-libs-$*) as set of libraries.
10183 ($(linknamespace-header-tests)): Update dependencies. Use
10184 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10185 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10186 * conform/linknamespace.pl: Remove comment about considering
10187 definitions of symbols from irrelevant libraries.
10189 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
10192 * elf/dl-tls.c: Include <atomic.h>.
10193 (oom): Remove #ifdef SHARED/#endif.
10194 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10195 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
10196 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10198 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10199 * nptl/Makefile (tests): Add tst-stack4.
10200 (modules-names): Add tst-stack4mod.
10201 ($(objpfx)tst-stack4): New.
10202 (tst-stack4mod.sos): Likewise.
10203 ($(objpfx)tst-stack4.out): Likewise.
10204 ($(tst-stack4mod.sos)): Likewise.
10206 * nptl/tst-stack4.c: New file.
10207 * nptl/tst-stack4mod.c: Likewise.
10209 2014-11-27 J. Brown <jb999@gmx.de>
10211 * sysdeps/x86/bits/string.h: Add recent CPUs.
10213 2014-11-27 Joseph Myers <joseph@codesourcery.com>
10215 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10218 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10221 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10224 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
10226 * nscd/connections.c: Include libc-internal.h because of macro
10227 usage ignore_value.
10229 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10231 * string/bits/string3.h (__warn_memset_zero_len): Don't
10232 declare for gcc newer than 5.0.
10233 (memset): Don't test for zero-length __LEN for gcc newer than
10236 2014-11-27 Joseph Myers <joseph@codesourcery.com>
10238 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10239 size_t for %zu format.
10241 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10242 difference, not %ju.
10244 2014-11-26 Joseph Myers <joseph@codesourcery.com>
10246 * include/libc-internal.h (ignore_value): New macro.
10247 * nscd/connections.c (restart): Wrap calls to setuid and setgid
10250 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10253 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10254 pthread_cleanup_push to void *.
10256 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10262 instead of 1L << 52.
10264 * libio/bug-rewind.c (do_test): Check fwscanf return values.
10265 * libio/bug-rewind2.c (do_test): Likewise.
10267 * debug/test-stpcpy_chk-ifunc.c: Remove file.
10268 * debug/test-strcpy_chk-ifunc.c: Likewise.
10269 * wcsmbs/test-wcschr-ifunc.c: Likewise.
10270 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10271 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10272 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10273 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10274 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10275 * Rules [$(multi-arch) = no] (tests): Do not filter out
10277 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10278 * debug/Makefile (tests-ifunc): Remove variable.
10279 (tests): Do not add $(tests-ifunc).
10280 * wcsmbs/Makefile (tests-ifunc): Remove variable.
10281 (tests): Do not add $(tests-ifunc).
10282 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10283 [TEST_IFUNC]: Remove conditionals.
10284 * string/test-string.h (TEST_IFUNC): Remove macro.
10285 [TEST_IFUNC]: Remove conditionals.
10287 * string/test-strchr.c [!WIDE] (L): New macro.
10288 [WIDE] (L): Likewise.
10289 (check1): Use CHAR instead of char. Use L on string and character
10292 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
10294 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10296 * sysdeps/powerpc/bits/atomic.h
10297 (__arch_atomic_exchange_and_add_32_acq): Add definition.
10298 (__arch_atomic_exchange_and_add_32_rel): Likewise.
10299 (atomic_exchange_and_add_acq): Likewise.
10300 (atomic_exchange_and_add_rel): Likewise.
10301 * sysdeps/powerpc/powerpc32/bits/atomic.h
10302 (__arch_atomic_exchange_and_add_64_acq): Add definition.
10303 (__arch_atomic_exchange_and_add_64_rel): Likewise.
10304 * sysdeps/powerpc/powerpc64/bits/atomic.h
10305 (__arch_atomic_exchange_and_add_64_acq): Add definition.
10306 (__arch_atomic_exchange_and_add_64_rel): Likewise.
10308 2014-11-26 Torvald Riegel <triegel@redhat.com>
10310 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10311 Change synchronization of __sched_fifo_min_prio and
10312 __sched_fifo_max_prio.
10313 * nptl/pthread_mutexattr_getprioceiling.c
10314 (pthread_mutexattr_getprioceiling): Likewise.
10315 * nptl/pthread_mutexattr_setprioceiling.c
10316 (pthread_mutexattr_setprioceiling): Likewise.
10317 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10318 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10321 2014-11-26 Joseph Myers <joseph@codesourcery.com>
10323 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10326 2014-11-25 Joseph Myers <joseph@codesourcery.com>
10328 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10329 third argument const.
10331 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
10333 fnmatch: work around GCC compiler warning bug with uninit var
10334 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10335 This works around a bug with x86-64 GCC 4.9.2 and earlier
10336 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10337 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10338 used uninitialized in this function [-Wmaybe-uninitialized]".
10340 2014-11-25 Joseph Myers <joseph@codesourcery.com>
10342 * posix/bug-regex31.c (main): Return RES not 0.
10344 2014-11-25 Anton Blanchard <anton@samba.org>
10346 * sysdeps/powerpc/bits/atomic.h
10347 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10349 2014-11-24 Sterling Augustine <saugustine@google.com>
10351 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10353 2014-11-24 Ryan Cumming <etaoins@gmail.com>
10356 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10358 2014-11-24 Joseph Myers <joseph@codesourcery.com>
10361 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10362 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10364 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10365 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10367 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
10369 * string/strncpy.c (strncpy): Improve performance by using memset.
10371 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
10373 * string/strcpy.c (strcpy):
10374 Improve performance by using strlen and memcpy.
10376 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
10378 * string/strcoll_l.c (get_next_seq): __always_inline.
10379 * string/strcoll_l.c (do_compare): __always_inline.
10381 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10383 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10385 * include/mqueue.h: Likewise.
10386 * include/stdlib.h: Likewise.
10388 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10389 (get_null_defines): Adjust.
10390 * sunrpc/Makefile: Adjust comment.
10391 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10392 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10393 (CFLAGS-interp.c): Likewise.
10394 (CFLAGS-ldconfig.c): Likewise.
10395 (CPPFLAGS-.os): Likewise.
10396 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10397 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10398 * extra-modules.mk (extra-modules.mk): Likewise.
10399 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10400 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10401 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10402 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10403 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10404 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10405 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10406 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10407 * iconvdata/Makefile (CPPFLAGS): Likewise.
10408 (cpp-srcs-left): Add libof for all iconvdata routines.
10409 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10410 * include/assert.h: Likewise.
10411 * include/ctype.h: Likewise.
10412 * include/errno.h: Likewise.
10413 * include/libc-symbols.h: Likewise.
10414 * include/math.h: Likewise.
10415 * include/netdb.h: Likewise.
10416 * include/resolv.h: Likewise.
10417 * include/stdio.h: Likewise.
10418 * include/stdlib.h: Likewise.
10419 * include/string.h: Likewise.
10420 * include/sys/stat.h: Likewise.
10421 * include/wctype.h: Likewise.
10422 * intl/l10nflist.c: Likewise.
10423 * libidn/idn-stub.c: Likewise.
10424 * libio/libioP.h: Likewise.
10425 * nptl/libc_multiple_threads.c: Likewise.
10426 * nptl/pthreadP.h: Likewise.
10427 * posix/regex_internal.h: Likewise.
10428 * resolv/res_hconf.c: Likewise.
10429 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10430 * sysdeps/arm/memmove.S: Likewise.
10431 * sysdeps/arm/sysdep.h: Likewise.
10432 * sysdeps/generic/_itoa.h: Likewise.
10433 * sysdeps/generic/symbol-hacks.h: Likewise.
10434 * sysdeps/gnu/errlist.awk: Likewise.
10435 * sysdeps/gnu/errlist.c: Likewise.
10436 * sysdeps/i386/i586/memcpy.S: Likewise.
10437 * sysdeps/i386/i586/memset.S: Likewise.
10438 * sysdeps/i386/i686/memcpy.S: Likewise.
10439 * sysdeps/i386/i686/memmove.S: Likewise.
10440 * sysdeps/i386/i686/mempcpy.S: Likewise.
10441 * sysdeps/i386/i686/memset.S: Likewise.
10442 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10443 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10444 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10445 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10446 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10447 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10448 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10449 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10450 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10454 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10455 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10459 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10462 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10463 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10464 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10465 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10466 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10467 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10468 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10469 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10470 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10472 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10473 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10476 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10478 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10480 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10482 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10485 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10486 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10487 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10488 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10489 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10490 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10492 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10493 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10494 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10495 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10497 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10498 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10500 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10503 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10504 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10505 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10506 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10507 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10508 * sysdeps/posix/closedir.c: Likewise.
10509 * sysdeps/posix/opendir.c: Likewise.
10510 * sysdeps/posix/readdir.c: Likewise.
10511 * sysdeps/posix/rewinddir.c: Likewise.
10512 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10513 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10514 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10515 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10516 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10523 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10529 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10531 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10539 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10545 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10548 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10549 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10550 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10551 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10552 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10553 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10554 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10556 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10557 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10558 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10559 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10560 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10561 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10562 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10563 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10564 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10565 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10566 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10567 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10569 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10570 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10571 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10572 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10573 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10574 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10575 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10576 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10577 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10578 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10579 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10580 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10581 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10582 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10583 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10584 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10585 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10586 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10587 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10588 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10589 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10590 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10591 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10592 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10594 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10596 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10598 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10599 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10600 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10602 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10603 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10604 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10606 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10607 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10608 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10610 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10611 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10613 * sysdeps/unix/alpha/sysdep.S: Likewise.
10614 * sysdeps/unix/alpha/sysdep.h: Likewise.
10615 * sysdeps/unix/make-syscalls.sh: Likewise.
10616 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10618 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10619 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10621 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10622 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10623 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10624 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10625 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10626 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10627 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10629 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10630 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10631 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10632 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10633 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10634 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10635 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10636 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10637 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10638 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10639 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10640 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10641 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10645 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10650 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10654 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10655 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10656 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10657 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10658 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10659 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10666 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10667 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10668 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10669 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10670 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10672 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10674 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10675 * sysdeps/x86_64/memcpy.S: Likewise.
10676 * sysdeps/x86_64/memmove.c: Likewise.
10677 * sysdeps/x86_64/memset.S: Likewise.
10678 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10679 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10680 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10681 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10682 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10683 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10685 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10686 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10687 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10688 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10689 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10690 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10691 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10692 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10695 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10697 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10698 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10699 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10700 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10702 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10703 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10704 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10705 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10706 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10707 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10708 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10709 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10710 * sysdeps/x86_64/strcmp.S: Likewise.
10712 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10714 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10715 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10716 * elf/rtld-Rules: Likewise.
10717 * elf/setup-vdso.h: Likewise.
10718 * include/assert.h: Likewise.
10719 * include/bits/stdlib-float.h: Likewise.
10720 * include/errno.h: Likewise.
10721 * include/sys/stat.h: Likewise.
10722 * include/unistd.h: Likewise.
10723 * sysdeps/aarch64/setjmp.S: Likewise.
10724 * sysdeps/alpha/setjmp.S: Likewise.
10725 * sysdeps/arm/__longjmp.S: Likewise.
10726 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10727 * sysdeps/arm/setjmp.S: Likewise.
10728 * sysdeps/arm/sysdep.h: Likewise.
10729 * sysdeps/generic/_itoa.h: Likewise.
10730 * sysdeps/generic/dl-sysdep.h: Likewise.
10731 * sysdeps/generic/ldsodefs.h: Likewise.
10732 * sysdeps/i386/dl-tls.h: Likewise.
10733 * sysdeps/i386/setjmp.S: Likewise.
10734 * sysdeps/m68k/setjmp.c: Likewise.
10735 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10736 * sysdeps/mach/hurd/opendir.c: Likewise.
10737 * sysdeps/posix/getcwd.c: Likewise.
10738 * sysdeps/posix/opendir.c: Likewise.
10739 * sysdeps/posix/profil.c: Likewise.
10740 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10743 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10744 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10745 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10746 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10747 * sysdeps/s390/dl-tls.h: Likewise.
10748 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10749 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10750 * sysdeps/sh/sh3/setjmp.S: Likewise.
10751 * sysdeps/sh/sh4/setjmp.S: Likewise.
10752 * sysdeps/unix/alpha/sysdep.h: Likewise.
10753 * sysdeps/unix/arm/sysdep.S: Likewise.
10754 * sysdeps/unix/i386/sysdep.S: Likewise.
10755 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10756 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10757 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10760 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10761 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10763 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10764 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10765 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10766 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10770 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10773 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10775 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10778 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10779 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10780 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10782 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10783 * sysdeps/x86_64/setjmp.S: Likewise.
10785 * include/math.h: Use IS_IN instead of IS_IN_libm.
10786 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10798 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10806 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10807 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10808 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10809 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10810 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10811 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10813 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10814 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10815 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10816 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10817 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10818 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10829 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10832 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10833 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10834 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10840 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10841 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10842 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10843 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10844 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10845 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10847 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10848 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10849 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10850 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10852 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10853 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10855 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10857 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10858 * nptl/pthreadP.h: Likewise.
10859 * nptl_db/structs.def: Likewise.
10860 * sysdeps/arm/sysdep.h: Likewise.
10861 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10862 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10863 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10864 * sysdeps/unix/alpha/sysdep.h: Likewise.
10865 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10866 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10867 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10868 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10869 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10871 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10872 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10873 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10874 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10875 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10876 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10877 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10878 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10883 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10886 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10887 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10888 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10889 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10892 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10893 * nptl/pthreadP.h: Likewise.
10894 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10896 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10897 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10898 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10899 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10900 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10901 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10902 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10903 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10904 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10905 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10912 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10915 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10916 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10917 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10919 * dlfcn/dladdr.c: Use IS_IN.
10920 * dlfcn/dladdr1.c: Likewise.
10921 * dlfcn/dlclose.c: Likewise.
10922 * dlfcn/dlerror.c: Likewise.
10923 * dlfcn/dlinfo.c: Likewise.
10924 * dlfcn/dlmopen.c: Likewise.
10925 * dlfcn/dlopen.c: Likewise.
10926 * dlfcn/dlsym.c: Likewise.
10927 * dlfcn/dlvsym.c: Likewise.
10929 * include/ifaddrs.h: Use IS_IN.
10930 * inet/check_pf.c: Likewise.
10931 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10932 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10934 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10936 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10937 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10939 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10940 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10943 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10945 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10947 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10948 * include/libc-symbols.h (IS_IN_LIB): New macro.
10949 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10950 * include/netdb.h: Likewise.
10951 * include/stap-probe.h: Remove all uses of IN_LIB.
10953 * Makeconfig (module-cppflags-real): Define MODULE_NAME
10954 instead of IN_MODULE.
10955 * include/libc-symbols.h (IN_MODULE): Define using
10957 (PASTE_NAME, PASTE_NAME1): New macros.
10958 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10960 (STAP_PROBE_ASM): Likewise.
10962 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10964 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10965 __mach_init in dlopened libc.
10967 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10969 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10970 * sysdeps/arm/preconfigure: Regenerate.
10972 2014-11-21 Roland McGrath <roland@hack.frob.com>
10974 * nptl/pthread_create.c (__pthread_create_2_1): Set
10975 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10976 when copying values from IATTR into PD.
10978 2014-11-21 Will Newton <will.newton@linaro.org>
10979 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10981 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10982 Refactor inline-asm. Also add comment.
10984 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10985 ElfW macro instead of hardcoded Elf64 types.
10986 (la_aarch64_gnu_pltenter): Likewise.
10987 * sysdeps/aarch64/dl-machine.h
10988 (elf_machine_runtime_setup): Use ElfW(Addr).
10990 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10991 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10992 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10993 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10994 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10995 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10996 (R_AARCH64_TLS_DTPMOD): This.
10997 (R_AARCH64_TLS_DTPREL64): Rename to ...
10998 (R_AARCH64_TLS_DTPREL): This.
10999 (R_AARCH64_TLS_TPREL64): Rename to ...
11000 (R_AARCH64_TLS_TPREL): This.
11001 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11002 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11003 R_AARCH64_TLS_TPREL64.
11004 (elf_machine_rela): Likewise.
11006 2014-11-21 Torvald Riegel <triegel@redhat.com>
11008 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11009 by setting it to 0. 64b atomics are not supported currently.
11011 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11014 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11015 search domain names.
11017 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11021 * resolv/res_query.c (__libc_res_nquerydomain): Retain
11023 * posix/tst-getaddrinfo5.c: New.
11024 * posix/Makefile (tests): Add it.
11026 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11030 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11031 after parsing line but before break_if_match.
11032 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11033 if there is a protocol mismatch.
11035 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11037 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11038 because the potential race is on the user-supplied stream.
11040 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11042 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11043 string literal if not passed a buffer.
11044 * manual/job.texi (ctermid): Update reasoning, note deviation
11045 from posix, suggest mtasurace when not passed a buffer, for
11046 future non-preliminary safety notes.
11048 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11050 * manual/users.texi (cuserid): Fix MT-Safety note for the case
11051 of not passing it a buffer.
11052 Reported by Peng Haitao.
11054 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11056 * manual/Makefile ($(objpfx)stamp-summary): Require
11057 check-safety.sh to pass.
11058 * manual/check-safety.sh: Wish for verification that every
11059 @deftypefn and @deftypefun is followed by a @safety remark.
11061 2014-11-20 Roland McGrath <roland@hack.frob.com>
11063 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11065 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11066 PTHREAD_CANCEL_ASYNCHRONOUS.
11067 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11070 * nptl/default-sched.h: New file.
11071 * sysdeps/unix/sysv/linux/default-sched.h: New file.
11072 * nptl/pthread_create.c: Include it.
11073 (__pthread_create_2_1): Use collect_default_sched instead of making
11074 Linux syscalls here directly.
11076 2014-11-20 Torvald Riegel <triegel@redhat.com>
11078 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11079 __pthread_once): Use C11 atomics.
11081 2014-11-20 Torvald Riegel <triegel@redhat.com>
11083 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11085 2014-11-20 Torvald Riegel <triegel@redhat.com>
11087 * include/atomic.h (__atomic_link_error, __atomic_check_size,
11088 atomic_thread_fence_acquire, atomic_thread_fence_release,
11089 atomic_thread_fence_seq_cst, atomic_load_relaxed,
11090 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11091 atomic_compare_exchange_weak_relaxed,
11092 atomic_compare_exchange_weak_acquire,
11093 atomic_compare_exchange_weak_release,
11094 atomic_exchange_acquire, atomic_exchange_release,
11095 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11096 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11097 atomic_fetch_and_acquire,
11098 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11100 2014-11-20 Torvald Riegel <triegel@redhat.com>
11102 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11103 USE_ATOMIC_COMPILER_BUILTINS): Define.
11104 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11106 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11108 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11110 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11112 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11114 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11116 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11118 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11120 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11122 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11124 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11126 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11128 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11130 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11132 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11134 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11135 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11136 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11138 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11139 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11140 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11141 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11142 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11143 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11145 2014-11-19 Roland McGrath <roland@hack.frob.com>
11147 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11148 the sched_priority value here. It was already checked when the user
11149 called pthread_attr_setschedparam.
11151 * nptl/tst-bad-schedattr.c: New file.
11152 * nptl/Makefile (tests): Add it.
11154 2014-11-19 Carlos O'Donell <carlos@redhat.com>
11155 Florian Weimer <fweimer@redhat.com>
11156 Joseph Myers <joseph@codesourcery.com>
11157 Adam Conrad <adconrad@0c3.net>
11158 Andreas Schwab <schwab@suse.de>
11159 Brooks <bmoses@google.com>
11162 * wordexp-test.c (__dso_handle): Add prototype.
11163 (__register_atfork): Likewise.
11164 (__app_register_atfork): New function.
11165 (registered_forks): New global.
11166 (register_fork): New function.
11167 (test_case): Add 3 new tests for WRDE_CMDSUB.
11168 (main): Call __app_register_atfork.
11169 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11170 fork count is non-zero fail the test.
11171 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11173 (parse_dollars): Remove check for WRDE_NOCMD.
11174 (parse_dquote): Likewise.
11176 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11178 * Makeconfig (built-modules): List non-library modules to be
11180 (module-cppflags): Include libc-modules.h for
11181 everything except shlib-versions.v.i.
11182 (CPPFLAGS): Use it.
11183 (before-compile): Add libc-modules.h.
11184 ($(common-objpfx)libc-modules.h,
11185 $(common-objpfx)libc-modules.stmp): New targets.
11186 (common-generated): Add libc-modules.h and libc-modules.stmp.
11187 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11188 * include/libc-symbols.h: Don't include libc-modules.h.
11189 * include/libc-modules.h: Remove file.
11190 * scripts/gen-libc-modules.awk: New script to generate
11192 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11193 Depend on libc-modules.stmp.
11195 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11197 * Makeconfig (in-module): Get value of libof set for the
11199 (CPPFLAGS): Use $(in-module).
11200 * Makerules: Don't suffix routine names for nonlib.
11201 * include/libc-modules.h: New file.
11202 * include/libc-symbols.h: Include libc-modules.h
11203 (IS_IN): New macro to replace IS_IN_* macros.
11204 * elf/Makefile: Set libof-* for each routine.
11205 * elf/rtld-Rules: Likewise.
11206 * extra-modules.mk: Likewise.
11207 * iconv/Makefile: Likewise.
11208 * iconvdata/Makefile: Likewise.
11209 * locale/Makefile: Likewise.
11210 * malloc/Makefile: Likewise.
11211 * nss/Makefile: Likewise.
11212 * sysdeps/gnu/Makefile: Likewise.
11213 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11214 * sysdeps/unix/sysv/linux/Makefile: Likewise.
11215 * sysdeps/s390/s390-64/Makefile: Likewise.
11216 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
11217 CPPFLAGS for nscd instead of nonlib.
11219 2014-11-18 Roland McGrath <roland@hack.frob.com>
11221 * nptl/createthread.c: New file.
11223 * nptl/createthread.c: Moved ...
11224 * sysdeps/unix/sysv/linux/createthread.c: ... here.
11226 * nptl/createthread.c: Add proper top-line comment.
11227 (do_clone): Folded into ...
11228 (create_thread): ... here. Take new arguments STOPPED_START and
11229 THREAD_RAN. Always set PD->stopped_start to something here. Don't
11230 increment __nptl_threads, do event-reporting logic, do
11231 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11232 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
11233 resource cleanup if sched_setaffinity or sched_setscheduler fails,
11234 just send SIGCANCEL.
11235 * nptl/pthread_create.c: Forward-declare create_thread before
11236 including createthread.c.
11237 (start_thread): Use new macro START_THREAD_DEFN to replace defining
11238 declaration, and new macro START_THREAD_SELF to replace argument.
11239 Remove return statement.
11240 (report_thread_creation): New function.
11241 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
11242 synchronization logic, and __nptl_nthreads increment here, around
11243 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
11244 PD->parent_cancelhandling here, before create_thread. When
11245 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11246 __deallocate_stack, and ENOMEM translation here.
11248 2014-11-18 Joseph Myers <joseph@codesourcery.com>
11251 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11252 (mptwo): Rename to __mptwo.
11253 (__inv): Use __mptwo instead of mptwo.
11254 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11255 (mptwo): Rename to __mptwo.
11256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11257 of mpone and __mptwo instead of mptwo.
11258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11261 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11262 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11263 of mpone and __mptwo instead of mptwo.
11264 (__mpranred): Use __mpone instead of mpone.
11265 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11267 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11268 (test-xfail-ISO99/math.h/linknamespace): Likewise.
11269 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11270 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11271 (test-xfail-ISO11/math.h/linknamespace): Likewise.
11272 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11273 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11274 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11275 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11276 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11277 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11278 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11279 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11280 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11281 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11282 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11283 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11284 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11285 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11287 2014-11-18 Tom de Vries <tom@codesoucery.com>
11289 * manual/signal.texi (Primitives Interrupted by Signals): In section,
11290 replace BSD Handler xref with BSD Signal Handling.
11292 2014-11-17 Richard Henderson <rth@redhat.com>
11294 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11295 (_FP_PACK_RAW_2): Remove.
11296 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11297 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11298 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11299 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11300 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11301 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11302 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11303 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11304 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11305 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11306 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11307 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11308 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11309 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11310 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11311 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11313 2014-11-14 Roland McGrath <roland@hack.frob.com>
11315 * signal/signal.h [__USE_MISC]
11316 (struct sigvec): Remove type.
11317 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11318 (sigvec): Remove declaration.
11319 * sysdeps/posix/sigvec.c: Moved ...
11320 * signal/sigvec.c: ... here, replacing old file.
11321 (struct sigvec): New type, copied from old signal.h definition.
11322 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11323 (__sigvec): Convert definition to prototype.
11324 (sigvec): Replace weak_alias with compat_symbol.
11325 * signal/Versions (libc: GLIBC_2.21): New version set.
11326 * include/signal.h: Remove __sigvec declaration.
11327 * sysdeps/unix/bsd/sigvec.c: Remove file.
11328 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11329 * manual/signal.texi (BSD Handler): Remove subsection.
11330 Move siginterrupt up to ...
11331 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
11332 (Blocking in BSD): Fold subsection into its parent.
11333 * NEWS: Mention sigvec removal.
11335 2014-11-14 Joseph Myers <joseph@codesourcery.com>
11337 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11338 (DLA_FMS): Make definition conditional only on [__FMA4__].
11339 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11342 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11343 Make definition conditional only on [PROF].
11344 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11346 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11347 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11349 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11351 * include/signal.h (__sigpause): Move declaration above call to
11353 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11355 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11356 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11358 2014-11-14 David S. Miller <davem@davemloft.net>
11360 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11361 Define before including <string/memcpy.c> and <string/mempcpy.c>.
11363 2014-11-14 Joseph Myers <joseph@codesourcery.com>
11365 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11366 * configure: Regenerated.
11367 * manual/install.texi (Tools for Compilation): Document a
11368 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11369 compiler verified to work.
11370 * INSTALL: Regenerated.
11372 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11373 redeclare with asm name.
11374 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11375 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11376 including <string.h>.
11377 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11378 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11379 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11380 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11381 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11382 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11383 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11385 2014-11-13 Joseph Myers <joseph@codesourcery.com>
11387 * stdlib/strtol.c (__strtol): Use prototype definition.
11390 * stdlib/strtol.c (SYM__): New macro.
11391 (SYM__1): Likewise.
11392 (__strtol): Likewise.
11393 (strtol): Rename to __strtol and define as weak alias of
11394 __strtol. Use libc_hidden_weak.
11396 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11398 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11399 Use numbered labels in inline assembly.
11401 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11403 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11404 Add setjmp LIBC_PROBE.
11405 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11407 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11408 Add longjmp, longjmp_target LIBC_PROBE.
11409 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11412 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11415 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11416 to get rid of unused variable warning.
11418 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11420 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11421 Check for unwind_backtrace == NULL only in SHARED case.
11422 (__backchain_backtrace): Compile only in SHARED case.
11423 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11425 (__backchain_backtrace): Declare as static.
11427 2014-11-12 Roland McGrath <roland@hack.frob.com>
11429 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11430 (__libc_multiple_threads_ptr): Variable moved ...
11431 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11433 2014-11-12 Joseph Myers <joseph@codesourcery.com>
11435 * conform/GlibcConform.pm: New file.
11436 * conform/conformtest.pl: Use GlibcConform module.
11437 * conform/linknamespace.pl: New file.
11438 * conform/list-header-symbols.pl: Likewise.
11439 * conform/Makefile (linknamespace-symlists-base): New variable.
11440 (linknamespace-symlists-tests): Likewise.
11441 (linknamespace-header-base): Likewise.
11442 (linknamespace-header-tests): Likewise.
11443 (tests-special): Add new tests.
11444 ($(linknamespace-symlists-tests)): New rule.
11445 (linknamespace-libs): New variable.
11446 ($(objpfx)symlist-stdlibs): New rule.
11447 ($(linknamespace-header-tests)): Likewise.
11448 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11449 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11450 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11451 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11452 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11453 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11454 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11455 (test-xfail-ISO/math.h/linknamespace): Likewise.
11456 (test-xfail-ISO/signal.h/linknamespace): Likewise.
11457 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11458 (test-xfail-ISO/time.h/linknamespace): Likewise.
11459 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11460 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11461 (test-xfail-ISO99/math.h/linknamespace): Likewise.
11462 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11463 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11464 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11465 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11466 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11467 (test-xfail-ISO11/math.h/linknamespace): Likewise.
11468 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11469 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11470 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11471 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11472 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11473 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11474 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11475 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11476 (test-xfail-XPG3/search.h/linknamespace): Likewise.
11477 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11478 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11479 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11480 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11481 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11482 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11483 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11484 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11485 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11486 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11487 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11488 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11489 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11490 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11491 (test-xfail-XPG4/search.h/linknamespace): Likewise.
11492 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11493 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11494 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11495 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11496 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11497 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11498 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11499 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11500 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11501 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11502 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11503 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11504 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11505 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11506 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11507 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11508 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11509 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11510 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11511 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11512 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11513 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11514 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11515 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11516 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11517 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11518 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11519 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11520 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11521 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11522 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11523 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11524 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11525 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11526 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11527 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11528 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11529 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11530 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11531 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11532 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11533 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11534 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11535 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11536 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11537 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11538 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11539 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11540 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11541 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11542 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11543 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11544 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11545 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11546 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11547 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11548 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11549 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11550 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11551 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11552 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11553 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11554 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11555 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11556 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11557 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11558 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11559 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11560 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11561 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11562 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11563 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11564 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11565 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11566 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11567 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11568 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11569 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11570 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11571 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11572 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11573 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11574 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11575 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11576 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11577 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11578 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11579 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11580 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11581 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11582 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11583 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11584 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11585 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11586 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11587 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11588 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11589 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11590 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11591 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11592 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11593 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11594 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11595 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11596 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11597 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11598 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11599 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11600 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11601 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11602 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11603 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11604 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11605 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11606 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11607 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11608 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11611 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11615 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11616 (memmem): Rename to __memmem and define as weak alias of
11617 __memmem. Use libc_hidden_weak.
11618 (__memmem): Use libc_hidden_def.
11619 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
11620 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11624 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11625 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
11626 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11627 and define as weak alias of __fgets_unlocked. Use
11629 (__fgets_unlocked): Use libc_hidden_def.
11630 * include/stdio.h (__fgets_unlocked): Declare. Use
11632 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11633 __fgets_unlocked instead of fgets_unlocked.
11634 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11635 (GET_NPROCS_CONF_PARSER): Likewise.
11636 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11637 (GET_NPROCS_CONF_PARSER): Likewise.
11640 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11641 weak alias of __wmemset. Use libc_hidden_weak.
11642 (__wmemset): Use libc_hidden_def.
11643 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
11644 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11648 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11649 with asm name __mempcpy.
11650 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11653 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11654 and define as weak alias of __rawmemchr.
11655 (__rawmemchr): Do not define as strong alias of rawmemchr.
11658 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11659 alias of __qsort_r.
11660 (qsort): Call __qsort_r instead of qsort_r.
11661 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11662 (__qsort_r): Declare. Call libc_hidden_proto.
11663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11664 instead of qsort_r.
11665 * nscd/gai.c (__qsort_r): Define to qsort_r.
11666 * posix/tst-rfc3484.c (__qsort_r): Likewise.
11667 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11668 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11671 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11672 define as weak alias of __malloc_info.
11675 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11676 as weak alias of __rewinddir. Don't use libc_hidden_def.
11677 (__rewinddir): Use libc_hidden_def.
11678 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11679 as weak alias of __rewinddir. Don't use libc_hidden_def.
11680 (__rewinddir): Use libc_hidden_def.
11681 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11682 weak alias of __rewinddir. Don't use libc_hidden_def.
11683 (__rewinddir): Use libc_hidden_def.
11684 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11685 (__rewinddir): Use libc_hidden_proto.
11686 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11688 (__getcwd): Use __rewinddir instead of rewinddir.
11691 * libio/fileno.c (fileno): Rename to __fileno and define as weak
11692 alias of __fileno. Use libc_hidden_weak.
11693 (__fileno): Use libc_hidden_def.
11694 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11695 * libio/ftello.c (ftello): Rename to __ftello and define as weak
11697 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11699 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11700 (__fread_unlocked): Define as strong alias of _IO_fread. Use
11702 (fread_unlocked): Don't use libc_hidden_ver.
11703 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11704 and define as weak alias of __fread_unlocked. Don't use
11706 (__fread_unlocked): Use libc_hidden_def.
11707 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
11708 (ftello): Don't use libc_hidden_proto.
11709 (__ftello): Declare. Use libc_hidden_proto.
11710 (fread_unlocked): Don't use libc_hidden_proto.
11711 (__fread_unlocked): Declare. Use libc_hidden_proto.
11712 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11713 and __ftello instead of fileno, fread_unlocked and ftello.
11715 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11717 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11719 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11721 (_dl_start_user): Likewise.
11722 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11724 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11725 Siddhesh Poyarekar <siddhesh@redhat.com>
11727 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11728 Move argv and envp down instead of moving argc up.
11729 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11731 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11734 * test-skeleton.c (main): Return successful if one of
11735 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11736 * string/tst-strcoll-overflow.c: Define expected status.
11738 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
11741 * locale/iso-639.def: Define Bhili and Tulu language codes.
11743 2014-11-11 Alan Hayward <alan.hayward@arm.com>
11745 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11747 2014-11-10 Renlin Li <Renlin.Li@arm.com>
11750 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11752 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11754 * configure.ac: Updated check of minimal required version to
11756 * manual/install.texi (Tools for Compilation): Updated version
11758 * configure: Regenerated.
11759 * INSTALL: Likewise.
11761 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
11763 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11766 2014-11-07 Joseph Myers <joseph@codesourcery.com>
11768 * include/sys/wait.h (__libc_waitpid): Remove declaration.
11769 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11770 (__waitpid): Don't define as alias. Use libc_hidden_def not
11772 (waitpid): Define as alias of __waitpid.
11773 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11775 (__waitpid): Don't define as alias. Use libc_hidden_def not
11777 (waitpid): Define as alias of __waitpid.
11778 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11779 __libc_waitpid alias.
11780 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11781 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11783 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11784 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11785 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11787 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11789 (__waitpid): Don't define as alias. Use libc_hidden_def not
11791 (waitpid): Define as alias of __waitpid.
11793 2014-11-06 Carlos O'Donell <carlos@redhat.com>
11795 * manual/llio.texi: Add comment that write safety has been
11798 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11799 (localplt-build-dso): Add elf/ld.so.
11800 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11801 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11802 and free for ld.so.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11804 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11809 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11810 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11811 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11812 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11813 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11814 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11815 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11816 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11817 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11818 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11821 2014-11-05 Joseph Myers <joseph@codesourcery.com>
11824 * include/libc-symbols.h (INTUSE): Remove macro.
11825 (INTDEF): Likewise.
11826 (INTVARDEF): Likewise.
11827 (_INTVARDEF): Likewise.
11828 (INTDEF2): Likewise.
11829 (INTVARDEF2): Likewise.
11830 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11831 rtld_hidden_def instead of INTVARDEF.
11832 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11833 (_dl_starting_up_internal): Remove declaration.
11834 (_dl_starting_up): Use rtld_hidden_proto.
11835 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11837 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11838 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11840 * elf/dl-writev.h (_dl_writev): Likewise.
11841 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11842 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11843 _dl_starting_up_internal.
11845 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11847 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11850 2014-11-05 Will Newton <will.newton@linaro.org>
11852 * benchtests/Makefile: (bench-malloc): Add malloc thread
11853 scalability benchmark.
11854 * benchtests/bench-malloc-threads.c: New file.
11856 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
11858 * sysdeps/aarch64/strchrnul.S: New file.
11860 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11862 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11864 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11866 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11875 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
11877 * catgets/test-gencat.c: Use test-skeleton.c.
11878 * catgets/tst-catgets.c: Likewise.
11879 * csu/tst-empty.c: Likewise.
11880 * elf/tst-audit2.c: Likewise.
11881 * elf/tst-global1.c: Likewise.
11882 * elf/tst-pathopt.c: Likewise.
11883 * elf/tst-piemod1.c: Likewise.
11884 * elf/tst-tls10.c: Likewise.
11885 * elf/tst-tls11.c: Likewise.
11886 * elf/tst-tls12.c: Likewise.
11887 * gnulib/tst-gcc.c: Likewise.
11888 * iconvdata/tst-e2big.c: Likewise.
11889 * iconvdata/tst-loading.c: Likewise.
11890 * iconv/tst-iconv1.c: Likewise.
11891 * iconv/tst-iconv2.c: Likewise.
11892 * inet/test-inet6_opt.c: Likewise.
11893 * inet/tst-gethnm.c: Likewise.
11894 * inet/tst-network.c: Likewise.
11895 * inet/tst-ntoa.c: Likewise.
11896 * intl/tst-codeset.c: Likewise.
11897 * intl/tst-gettext2.c: Likewise.
11898 * intl/tst-gettext3.c: Likewise.
11899 * intl/tst-ngettext.c: Likewise.
11900 * intl/tst-translit.c: Likewise.
11901 * io/test-stat.c: Likewise.
11902 * libio/test-fmemopen.c: Likewise.
11903 * libio/tst-freopen.c: Likewise.
11904 * libio/tst-sscanf.c: Likewise.
11905 * libio/tst-ungetwc1.c: Likewise.
11906 * libio/tst-ungetwc2.c: Likewise.
11907 * libio/tst-widetext.c: Likewise.
11908 * localedata/tst-ctype.c: Likewise.
11909 * localedata/tst-digits.c: Likewise.
11910 * localedata/tst-leaks.c: Likewise.
11911 * localedata/tst-mbswcs1.c: Likewise.
11912 * localedata/tst-mbswcs2.c: Likewise.
11913 * localedata/tst-mbswcs3.c: Likewise.
11914 * localedata/tst-mbswcs4.c: Likewise.
11915 * localedata/tst-mbswcs5.c: Likewise.
11916 * localedata/tst-setlocale.c: Likewise.
11917 * localedata/tst-trans.c: Likewise.
11918 * localedata/tst-wctype.c: Likewise.
11919 * localedata/tst-xlocale1.c: Likewise.
11920 * login/tst-grantpt.c: Likewise.
11921 * malloc/tst-calloc.c: Likewise.
11922 * malloc/tst-malloc.c: Likewise.
11923 * malloc/tst-mallocstate.c: Likewise.
11924 * malloc/tst-mcheck.c: Likewise.
11925 * malloc/tst-mtrace.c: Likewise.
11926 * malloc/tst-obstack.c: Likewise.
11927 * math/atest-exp2.c: Likewise.
11928 * math/atest-exp.c: Likewise.
11929 * math/atest-sincos.c: Likewise.
11930 * math/test-matherr.c: Likewise.
11931 * math/test-misc.c: Likewise.
11932 * math/test-powl.c: Likewise.
11933 * math/tst-definitions.c: Likewise.
11934 * misc/tst-dirname.c: Likewise.
11935 * misc/tst-efgcvt.c: Likewise.
11936 * misc/tst-fdset.c: Likewise.
11937 * misc/tst-hsearch.c: Likewise.
11938 * misc/tst-mntent2.c: Likewise.
11939 * nptl/tst-sem7.c: Likewise.
11940 * nptl/tst-sem8.c: Likewise.
11941 * nptl/tst-sem9.c: Likewise.
11942 * nss/test-netdb.c: Likewise.
11943 * posix/tst-fnmatch.c: Likewise.
11944 * posix/tst-getlogin.c: Likewise.
11945 * posix/tst-gnuglob.c: Likewise.
11946 * posix/tst-mmap.c: Likewise.
11947 * pwd/tst-getpw.c: Likewise.
11948 * resolv/tst-inet_ntop.c: Likewise.
11949 * rt/tst-timer.c: Likewise.
11950 * stdio-common/test-fseek.c: Likewise.
11951 * stdio-common/test-popen.c: Likewise.
11952 * stdio-common/test-vfprintf.c: Likewise.
11953 * stdio-common/tst-cookie.c: Likewise.
11954 * stdio-common/tst-fileno.c: Likewise.
11955 * stdio-common/tst-gets.c: Likewise.
11956 * stdio-common/tst-obprintf.c: Likewise.
11957 * stdio-common/tst-perror.c: Likewise.
11958 * stdio-common/tst-sprintf2.c: Likewise.
11959 * stdio-common/tst-sprintf3.c: Likewise.
11960 * stdio-common/tst-sprintf.c: Likewise.
11961 * stdio-common/tst-swprintf.c: Likewise.
11962 * stdio-common/tst-tmpnam.c: Likewise.
11963 * stdio-common/tst-unbputc.c: Likewise.
11964 * stdio-common/tst-wc-printf.c: Likewise.
11965 * stdlib/tst-environ.c: Likewise.
11966 * stdlib/tst-fmtmsg.c: Likewise.
11967 * stdlib/tst-limits.c: Likewise.
11968 * stdlib/tst-rand48-2.c: Likewise.
11969 * stdlib/tst-rand48.c: Likewise.
11970 * stdlib/tst-random2.c: Likewise.
11971 * stdlib/tst-random.c: Likewise.
11972 * stdlib/tst-strtol.c: Likewise.
11973 * stdlib/tst-strtoll.c: Likewise.
11974 * stdlib/tst-tls-atexit.c: Likewise.
11975 * stdlib/tst-xpg-basename.c: Likewise.
11976 * string/test-ffs.c: Likewise.
11977 * string/tst-bswap.c: Likewise.
11978 * string/tst-inlcall.c: Likewise.
11979 * string/tst-strtok.c: Likewise.
11980 * string/tst-strxfrm.c: Likewise.
11981 * sysdeps/x86_64/tst-audit10.c: Likewise.
11982 * sysdeps/x86_64/tst-audit3.c: Likewise.
11983 * sysdeps/x86_64/tst-audit4.c: Likewise.
11984 * sysdeps/x86_64/tst-audit5.c: Likewise.
11985 * time/tst-ftime_l.c: Likewise.
11986 * time/tst-getdate.c: Likewise.
11987 * time/tst-mktime3.c: Likewise.
11988 * time/tst-mktime.c: Likewise.
11989 * time/tst-posixtz.c: Likewise.
11990 * time/tst-strptime2.c: Likewise.
11991 * time/tst-strptime3.c: Likewise.
11992 * wcsmbs/tst-btowc.c: Likewise.
11993 * wcsmbs/tst-mbrtowc.c: Likewise.
11994 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11995 * wcsmbs/tst-wchar-h.c: Likewise.
11996 * wcsmbs/tst-wcpncpy.c: Likewise.
11997 * wcsmbs/tst-wcrtomb.c: Likewise.
11998 * wcsmbs/tst-wcsnlen.c: Likewise.
11999 * wcsmbs/tst-wcstof.c: Likewise.
12001 2014-11-04 Joseph Myers <joseph@codesourcery.com>
12004 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12006 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12008 (_dl_mcount): Use rtld_hidden_proto.
12009 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12011 * elf/rtld.c (_rtld_global_ro): Likewise.
12014 * elf/dl-init.c (_dl_init): Don't use INTDEF.
12015 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12016 of _dl_init_internal.
12017 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12018 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12019 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12020 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12021 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12022 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12023 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12024 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12025 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12026 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12027 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12028 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12029 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12030 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12031 * sysdeps/tile/dl-start.S (_start): Likewise.
12032 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12033 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12036 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12037 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12038 (rtld_progname): Make macro definition unconditional.
12039 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12041 (dlmopen_doit): Do not use INTUSE with _dl_argv.
12042 (dl_main): Likewise.
12043 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12044 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12045 instead of _dl_argv_internal.
12046 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12047 __GI__dl_argv instead of INTUSE(_dl_argv).
12048 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12049 __GI__dl_argv instead of _dl_argv_internal.
12051 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12052 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12054 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12055 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12057 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12058 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12060 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12061 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12063 2014-11-04 Andreas Schwab <schwab@suse.de>
12065 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12067 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12070 mtvsrd instruction in binary form.
12072 2014-11-03 Andreas Schwab <schwab@suse.de>
12075 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12076 for less than MB_LEN_MAX use a local buffer of that size.
12077 * libio/tst-fputws.c: New file.
12078 * libio/Makefile (tests): Add tst-fputws.
12080 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
12082 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12083 the size of the fpu_fr.fpu_dregs[] array.
12085 2014-11-01 Joseph Myers <joseph@codesourcery.com>
12087 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12088 (__nanosleep): Do not define as alias.
12089 (nanosleep): Define as alias of __nanosleep.
12090 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12091 __libc_nanosleep name.
12093 2014-10-31 Joseph Myers <joseph@codesourcery.com>
12095 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12096 install.texi in comment.
12098 2014-10-31 Torvald Riegel <triegel@redhat.com>
12100 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12101 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12102 ... add here and use lwsync or sync ...
12103 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12104 ... and add here using lwsync.
12106 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
12108 * elf/dl-machine-reject-phdr.h: New file.
12109 * elf/dl-load.c: #include that.
12110 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12111 if that returned true.
12113 2014-10-31 Roland McGrath <roland@hack.frob.com>
12116 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12117 gen-as-const-headers chunk. Add a big scare comment after the last
12118 safe place to touch before-compile.
12120 2014-10-31 Joseph Myers <joseph@codesourcery.com>
12122 * manual/install.texi (Tools for Compilation): Update autoconf
12123 version requirements.
12124 * INSTALL: Regenerated.
12126 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12127 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12128 (__libc_pselect): Likewise.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12136 2014-10-31 Torvald Riegel <triegel@redhat.com>
12138 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12139 correct barrier instruction.
12140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12142 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12145 2014-10-30 Roland McGrath <roland@hack.frob.com>
12147 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12148 after defining inlines. Instead, just use parens to defeat macro
12149 expansion of __isctype in its declaration.
12151 2014-10-30 Joseph Myers <joseph@codesourcery.com>
12153 * include/sys/uio.h (__libc_readv): Remove declaration.
12154 (__libc_writev): Likewise.
12155 * misc/readv.c (__libc_readv): Rename to __readv.
12156 (__readv): Do not define as alias.
12157 (readv): Define as alias of __readv.
12158 * misc/writev.c (__libc_writev): Rename to __writev.
12159 (__writev): Do not define as alias.
12160 (writev): Define as alias of __writev.
12161 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12162 (__readv): Do not define as alias.
12163 (readv): Define unconditionally as alias of __readv.
12164 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12165 (__writev): Do not define as alias.
12166 (writev): Define unconditionally as alias of __writev.
12167 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12169 (writev): Do not define __libc_writev name.
12171 2014-10-30 Roland McGrath <roland@hack.frob.com>
12173 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12174 (convert_charseq): New function, broken out of ...
12175 (use_from_charmap): ... here. Call it.
12176 (use_to_charmap): Use convert_charseq and free instead of duplicating
12177 its code with a variable-length stack struct.
12179 2014-10-30 Joseph Myers <joseph@codesourcery.com>
12181 * include/fcntl.h (__libc_creat): Remove declaration.
12182 * io/creat.c (__libc_creat): Rename to creat.
12183 (creat): Do not define as alias.
12184 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12185 of creat instead of __libc_creat.
12186 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12188 (creat): Do not define as alias.
12189 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12191 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12193 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12196 2014-10-29 Carlos O'Donell <carlos@redhat.com>
12198 * manual/llio.texi: Add comments discussing why write() may be
12199 considered MT-unsafe on Linux.
12201 2014-10-28 Carlos O'Donell <carlos@redhat.com>
12203 * dl-load.c (local_strdup): Remove.
12204 (expand_dynamic_string_token): Use __strdup.
12205 (decompose_rpath): Likewise.
12206 (_dl_map_object): Likewise.
12208 2014-10-28 Joseph Myers <joseph@codesourcery.com>
12211 * sysdeps/generic/unwind-dw2-fde.c
12212 (__register_frame_info_bases_internal): Do not declare.
12213 (__register_frame_info_table_bases_internal): Likewise.
12214 (__deregister_frame_info_bases_internal): Likewise.
12215 (__register_frame_info_bases): Declare and use hidden_proto before
12216 definition. Use hidden_def instead of INTDEF.
12217 (__register_frame_info_table_bases): Likewise.
12218 (__deregister_frame_info_bases): Likewise.
12219 (__register_frame_info): Do not use INTUSE.
12220 (__register_frame): Likewise.
12221 (__register_frame_info_table): Likewise.
12222 (__register_frame_table): Likewise.
12223 (__deregister_frame_info): Likewise.
12224 (__deregister_frame): Likewise.
12226 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
12228 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12229 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12231 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12233 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12236 2014-10-27 Joseph Myers <joseph@codesourcery.com>
12239 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12240 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12241 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12242 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12243 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12244 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12245 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12246 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12247 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12248 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12249 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12251 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12253 (setfsuid): Likewise.
12254 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12255 (setfsuid): Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12257 (setfsuid): Likewise.
12258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12260 (setfsuid): Likewise.
12261 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12262 (setfsuid): Likewise.
12263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12265 (setfsuid): Likewise.
12267 2014-10-27 Andreas Schwab <schwab@suse.de>
12270 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12271 check for Slow_SSE4_2 feature bit.
12272 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12273 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12274 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12275 Likewise. Fix check for Fast_Unaligned_Load feature bit.
12277 2014-10-24 Roland McGrath <roland@hack.frob.com>
12279 * configure.ac: Validate compiler version with a empirical test of
12280 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12282 * configure: Regenerated.
12284 * inet/htons.c (htons): Prototypify.
12285 * inet/htonl.c (htonl): Likewise.
12287 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12289 * string/strncat.c (strncat): Improve performance by using strlen.
12291 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12293 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12295 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12297 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12298 Call libc_fetestexcept_aarch64.
12300 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12302 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12303 Call libc_feholdexcept_aarch64.
12305 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12307 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12308 Call get_rounding_mode.
12310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12315 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
12317 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12320 2014-10-24 Joseph Myers <joseph@codesourcery.com>
12323 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12324 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12325 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12326 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12327 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12328 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12329 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12330 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12331 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12332 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12333 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12335 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12336 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12337 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12339 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12340 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12341 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12342 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12343 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12347 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12351 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12352 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12353 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12354 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12355 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12356 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12357 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12360 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12363 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12365 (geteuid): Likewise.
12366 (getgid): Likewise.
12367 (getuid): Likewise.
12368 (getresgid): Likewise.
12369 (getresuid): Likewise.
12370 (getgroups): Likewise.
12371 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12372 (geteuid): Likewise.
12373 (getgid): Likewise.
12374 (getuid): Likewise.
12375 (getresgid): Likewise.
12376 (getresuid): Likewise.
12377 (getgroups): Likewise.
12378 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12379 (geteuid): Likewise.
12380 (getgid): Likewise.
12381 (getuid): Likewise.
12382 (getresgid): Likewise.
12383 (getresuid): Likewise.
12384 (getgroups): Likewise.
12385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12387 (geteuid): Likewise.
12388 (getgid): Likewise.
12389 (getuid): Likewise.
12390 (getresgid): Likewise.
12391 (getresuid): Likewise.
12392 (getgroups): Likewise.
12393 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12394 (geteuid): Likewise.
12395 (getgid): Likewise.
12396 (getuid): Likewise.
12397 (getresgid): Likewise.
12398 (getresuid): Likewise.
12399 (getgroups): Likewise.
12400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12402 (geteuid): Likewise.
12403 (getgid): Likewise.
12404 (getuid): Likewise.
12405 (getgroups): Likewise.
12408 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12409 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12410 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12412 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12414 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12415 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12416 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12417 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12420 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12422 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12423 (lchown): Likewise.
12424 (fchown): Likewise.
12425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12427 (lchown): Likewise.
12428 (fchown): Likewise.
12429 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12430 (lchown): Likewise.
12431 (fchown): Likewise.
12432 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12434 (lchown): Likewise.
12435 (fchown): Likewise.
12437 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12439 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12442 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12447 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12450 Remove unused include.
12452 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12454 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12455 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12456 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12457 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12459 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
12460 Helge Deller <deller@gmx.de>
12463 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12464 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12465 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12467 2014-10-23 Joseph Myers <joseph@codesourcery.com>
12470 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12471 Remove macro definition.
12472 (__ashrdi3_v_glibc20): Likewise.
12473 (__lshrdi3_v_glibc20): Likewise.
12474 (__cmpdi2_v_glibc20): Likewise.
12475 (__ucmpdi2_v_glibc20): Likewise.
12476 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12477 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12478 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12479 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12480 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12481 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12483 2014-10-22 Roland McGrath <roland@hack.frob.com>
12485 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12486 old GNU extension [0] syntax.
12487 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12488 alloca rather than an array member with variable length.
12489 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12490 * nscd/nscd.c (invalidate_db): New function, broken out of ...
12491 (parse_opt): ... here. Likewise use alloca there.
12492 Validate the -i argument before checking for rootness.
12493 (send_shutdown): New function, broken out of ...
12494 (parse_opt): ... here.
12496 2014-10-22 Roland McGrath <roland@hack.frob.com>
12498 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12499 macro to get at the _rt_local_ro field.
12500 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12501 ([PIC] case) or _dl_hwcap ([!PIC] case).
12502 * sysdeps/arm/setjmp.S: Likewise.
12504 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12505 * sysdeps/arm/configure.ac: New check to define it.
12506 * sysdeps/arm/configure: Regenerated.
12507 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12508 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12509 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12510 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12511 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12512 Use move/movt pair instead of a load.
12513 (LDST_GLOBAL): Macro removed.
12514 (LDR_GLOBAL): New macro replaces it.
12515 (LDR_HIDDEN): New macro.
12516 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12517 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12519 * setjmp/tst-setjmp-static.c: New file.
12520 * setjmp/Makefile (tests): Add it.
12521 (tests-static): New variable.
12523 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
12526 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12528 2014-10-21 Joseph Myers <joseph@codesourcery.com>
12531 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12533 2014-10-21 Roland McGrath <roland@hack.frob.com>
12535 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12537 2014-10-20 Roland McGrath <roland@hack.frob.com>
12539 * io/fts.c (dirent_not_directory): New function.
12540 (fts_build): Call it.
12542 2014-10-20 Roland McGrath <roland@hack.frob.com>
12544 * nptl/version.c (__nptl_main): Use normal __write rather than
12546 (banner): Update copyright years.
12548 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12550 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12551 * nptl/pthread_cond_timedwait.c: Likewise.
12552 * nptl/pthread_mutex_timedlock.c: Likewise.
12553 * nptl/sem_timedwait.c: Likewise.
12555 * sysdeps/nptl/bits/libc-lock.h
12556 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12557 (__libc_lock_init_recursive): Return void, not 0.
12558 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12559 (__libc_rwlock_init): Likewise.
12560 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12562 2014-10-20 Torvald Riegel <triegel@redhat.com>
12565 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12566 (__pthread_once_slow): ... here.
12567 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12568 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12570 2014-10-20 Torvald Riegel <triegel@redhat.com>
12573 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12574 __PTHREAD_ONCE_FORK_GEN_INCR): New.
12575 * sysdeps/nptl/fork.c (__libc_fork): Use them.
12576 * nptl/pthread_once.c (__pthread_once): Likewise.
12579 2014-10-20 Joseph Myers <joseph@codesourcery.com>
12582 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12584 (writev): Use __libc_writev as strong name.
12585 * sysdeps/unix/sysv/linux/readv.c: Remove file.
12586 * sysdeps/unix/sysv/linux/writev.c: Likewise.
12588 2014-10-17 Roland McGrath <roland@hack.frob.com>
12590 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12592 * sysdeps/i386/nptl/tls.h
12593 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12594 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12596 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12597 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12598 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12599 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12600 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12601 Call CHECK_THREAD_SYSINFO instead of doing an assert.
12603 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12604 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12606 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12608 (__pthread_mutex_init): ... here. Call it.
12609 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12610 Conditionalize PI cases on [__NR_futex].
12611 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12612 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12613 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12615 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12616 conditional on [SIGSETXID].
12617 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12618 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12619 is defined. Likewise for SIGSETXID.
12620 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12621 Conditionalize definitions on [SIGSETXID].
12622 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12623 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12624 unblocking on [SIGCANCEL].
12626 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12627 [__NR_set_robust_list].
12629 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12631 * string/strcoll_l.c (get_next_seq): Fix up formatting.
12632 (do_compare): Likewise.
12634 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
12637 * string/strcoll_l.c: Don't include stdio.h.
12638 (coll_seq): Remove members idxarr and rulearr.
12639 (get_next_seq_cached): Remove function.
12640 (get_next_seq): Likewise.
12641 (get_next_seq_nocache): Rename to get_next_seq.
12642 (do_compare): Remove function.
12643 (do_compare_nocache): Rename to do_compare.
12644 (STRCOLL): Remove weight and rules cache.
12646 2014-10-16 Roland McGrath <roland@hack.frob.com>
12648 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12649 * sysdeps/arm/sfp-machine.h: ... to here.
12650 * sysdeps/arm/Implies: Remove arm/soft-fp.
12652 2014-10-14 Joseph Myers <joseph@codesourcery.com>
12654 * conform/data/sys/utsname.h-data (*_t): Allow.
12655 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12656 [POSIX] (WEXITED): Do not expect constant.
12657 [POSIX] (WSTOPPED): Likewise.
12658 [POSIX] (WNOHANG): Likewise.
12659 [POSIX] (WNOWAIT): Likewise.
12660 [POSIX] (siginfo_t): Do not expect type or elements.
12661 [POSIX] (pid_t): Do not expect type.
12662 [POSIX] (signal.h): Do not allow header.
12663 [POSIX] (sys/resource.h): Likewise.
12664 [POSIX] (si_*): Do not allow pattern.
12665 [POSIX] (W*): Likewise.
12666 [POSIX] (P_*): Likewise.
12667 [POSIX] (BUS_*): Likewise.
12668 [POSIX] (CLD_*): Likewise.
12669 [POSIX] (FPE_*): Likewise.
12670 [POSIX] (ILL_*): Likewise.
12671 [POSIX] (POLL_*): Likewise.
12672 [POSIX] (SEGV_*): Likewise.
12673 [POSIX] (SI_*): Likewise.
12674 [POSIX] (TRAP_*): Likewise.
12675 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12678 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12681 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12682 infinite loop when __recvmsg returns 0.
12684 2014-10-10 Joseph Myers <joseph@codesourcery.com>
12686 * CANCEL-FCT-WAIVE: Remove file.
12687 * CANCEL-FILE-WAIVE: Likewise.
12690 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12691 instead of INTVARDEF.
12692 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12693 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12694 rtld_hidden_data_def instead of INTVARDEF.
12695 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12696 * elf/dl-deps.c (expand_dst): Likewise.
12697 * elf/dl-load.c (_dl_dst_count): Likewise.
12698 (_dl_dst_substitute): Likewise.
12699 (decompose_rpath): Likewise.
12700 (_dl_init_paths): Likewise.
12701 (open_path): Likewise.
12702 (_dl_map_object): Likewise.
12703 * elf/rtld.c (dl_main): Likewise.
12704 (process_dl_audit): Likewise.
12705 (process_envvars): Likewise.
12706 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12707 Remove declaration.
12708 (__libc_enable_secure): Use rtld_hidden_proto.
12710 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12713 (add_path): New function broken out of _dl_rtld_di_serinfo.
12714 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
12716 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12718 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12719 parentheses around macro arguments.
12720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12726 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12729 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12730 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12731 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12733 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12734 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12735 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12736 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12740 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12744 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12749 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12752 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12753 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12754 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12755 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12764 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12768 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12769 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12778 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12779 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12782 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12783 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12784 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12785 (_FP_FRAC_SRS_1): Likewise.
12786 (_FP_FRAC_CLZ_1): Likewise.
12787 (_FP_MUL_MEAT_1_imm): Likewise.
12788 (_FP_MUL_MEAT_1_wide): Likewise.
12789 (_FP_MUL_MEAT_1_hard): Likewise.
12790 (_FP_SQRT_MEAT_1): Likewise.
12791 (_FP_FRAC_ASSEMBLE_1): Likewise.
12792 (_FP_FRAC_DISASSEMBLE_1): Likewise.
12793 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12794 (__FP_CLZ_2): Likewise.
12795 (_FP_MUL_MEAT_2_wide): Likewise.
12796 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12797 (_FP_MUL_MEAT_2_gmp): Likewise.
12798 (_FP_MUL_MEAT_2_120_240_double): Likewise.
12799 (_FP_SQRT_MEAT_2): Likewise.
12800 (_FP_FRAC_ASSEMBLE_2): Likewise.
12801 (_FP_FRAC_DISASSEMBLE_2): Likewise.
12802 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12803 (_FP_FRAC_CLZ_4): Likewise.
12804 (_FP_MUL_MEAT_4_wide): Likewise.
12805 (_FP_MUL_MEAT_4_gmp): Likewise.
12806 (_FP_SQRT_MEAT_4): Likewise.
12807 (_FP_FRAC_ASSEMBLE_4): Likewise.
12808 (_FP_FRAC_DISASSEMBLE_4): Likewise.
12809 * soft-fp/op-common.h (_FP_CMP): Likewise.
12810 (_FP_CMP_EQ): Likewise.
12811 (_FP_CMP_UNORD): Likewise.
12812 (_FP_TO_INT): Likewise.
12813 (_FP_FROM_INT): Likewise.
12814 [!__FP_CLZ] (__FP_CLZ): Likewise.
12815 (_FP_DIV_HELP_imm): Likewise.
12816 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12822 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12826 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12827 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12828 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12829 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12830 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12831 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12832 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12833 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12834 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12847 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12849 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12851 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12852 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12853 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12854 (FP_UNPACK_RAW_SP): Likewise.
12855 (FP_PACK_RAW_S): Likewise.
12856 (FP_PACK_RAW_SP): Likewise.
12857 (FP_UNPACK_S): Likewise.
12858 (FP_UNPACK_SP): Likewise.
12859 (FP_UNPACK_SEMIRAW_S): Likewise.
12860 (FP_UNPACK_SEMIRAW_SP): Likewise.
12861 (FP_PACK_S): Likewise.
12862 (FP_PACK_SP): Likewise.
12863 (FP_PACK_SEMIRAW_S): Likewise.
12864 (FP_PACK_SEMIRAW_SP): Likewise.
12865 (_FP_SQRT_MEAT_S): Likewise.
12866 (FP_CMP_S): Likewise.
12867 (FP_CMP_EQ_S): Likewise.
12868 (FP_CMP_UNORD_S): Likewise.
12869 (FP_TO_INT_S): Likewise.
12870 (FP_FROM_INT_S): Likewise.
12872 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12874 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12875 (FP_EX_INVALID_IMZ): Likewise.
12876 (FP_EX_INVALID_IMZ_FMA): Likewise.
12877 (FP_EX_INVALID_ISI): Likewise.
12878 (FP_EX_INVALID_ZDZ): Likewise.
12879 (FP_EX_INVALID_IDI): Likewise.
12880 (FP_EX_INVALID_SQRT): Likewise.
12881 (FP_EX_INVALID_CVI): Likewise.
12882 (FP_EX_INVALID_VC): Likewise.
12883 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12884 "invalid" exceptions.
12885 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12886 (_FP_ADD_INTERNAL): Likewise.
12887 (_FP_MUL): Likewise.
12888 (_FP_FMA): Likewise.
12889 (_FP_DIV): Likewise.
12890 (_FP_CMP_CHECK_NAN): Likewise.
12891 (_FP_SQRT): Likewise.
12892 (_FP_TO_INT): Likewise.
12893 (FP_EXTEND): Likewise.
12895 2014-10-09 Allan McRae <allan@archlinux.org>
12897 * po/fr.po: Update French translation from translation project.
12899 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12902 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12904 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12905 (__cxa_atexit): Use libc_hidden_proto.
12906 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12909 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12911 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12912 [!_ISOMAC] (__iswspace_l_internal): Likewise.
12913 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12914 [!_ISOMAC] (__iswctype_internal): Likewise.
12915 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12916 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12918 (fcntl): Remove __fcntl_internal alias.
12919 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12920 __connect_internal alias.
12921 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12924 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12925 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12927 (_FP_CHECK_FLUSH_ZERO): New macro.
12928 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12929 (_FP_CMP): Likewise.
12930 (_FP_CMP_EQ): Likewise.
12931 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12933 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12934 (FP_TRUNC): Likewise.
12936 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12937 treated as invalid conversion, not as normal exponent.
12939 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12940 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
12941 (_FP_CMP_EQ): Likewise.
12942 (_FP_CMP_UNORD): Likewise.
12943 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12944 (FP_CMP_EQ_D): Likewise.
12945 (FP_CMP_UNORD_D): Likewise.
12946 * soft-fp/extended.h (FP_CMP_E): Likewise.
12947 (FP_CMP_EQ_E): Likewise.
12948 (FP_CMP_UNORD_E): Likewise.
12949 * soft-fp/quad.h (FP_CMP_Q): Likewise.
12950 (FP_CMP_EQ_Q): Likewise.
12951 (FP_CMP_UNORD_Q): Likewise.
12952 * soft-fp/single.h (FP_CMP_S): Likewise.
12953 (FP_CMP_EQ_S): Likewise.
12954 (FP_CMP_UNORD_S): Likewise.
12955 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12956 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12957 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12958 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12959 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12960 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12961 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12962 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12963 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12964 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12965 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12966 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12967 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12969 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12971 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12972 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12974 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12976 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12977 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12978 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12979 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12981 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12983 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12984 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12986 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12988 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12989 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12990 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12991 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12994 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12995 a subnormal result, set the underflow exception if trapping on
12996 underflow is enabled.
12997 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12998 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12999 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13001 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13002 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13003 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13004 * soft-fp/extendxftf2.c (__extendxftf2): Use
13005 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13007 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13008 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13009 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13010 FP_HANDLE_EXCEPTIONS.
13011 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13012 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13013 FP_HANDLE_EXCEPTIONS.
13014 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13015 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13016 FP_HANDLE_EXCEPTIONS.
13017 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13018 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13019 FP_HANDLE_EXCEPTIONS.
13021 2014-10-08 Joseph Myers <joseph@codesourcery.com>
13024 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13025 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13027 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13028 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13030 (__adjtimex): Define using libc_hidden_ver.
13031 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13032 Remove declaration.
13033 (ntp_gettime): Call __adjtimex directly.
13034 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13035 Remove declaration.
13036 (ntp_gettimex): Call __adjtimex directly.
13037 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13038 __adjtimex_internal alias.
13040 2014-10-08 Roland McGrath <roland@hack.frob.com>
13043 * nscd/nscd.c (more_help): Rewrite list of tables collection
13044 using xstrdup and asprintf.
13046 * nscd/nscd_conf.c: Remove local xstrdup declaration.
13048 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13049 Roland McGrath <roland@hack.frob.com>
13051 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13052 (do_lookup_unique): ... local function 'enter' here; update callers.
13054 2014-10-06 Joseph Myers <joseph@codesourcery.com>
13056 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13057 compat_symbol calls on [SHARED].
13058 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13059 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13061 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13062 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13063 (oldsetrlimit): Remove.
13064 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13066 (lchown): New syscall entry.
13067 (oldsetrlimit): Remove.
13068 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13070 (oldsetrlimit): Remove.
13071 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13074 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13075 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13077 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13078 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13079 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13080 (fchown): Likewise.
13081 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13082 (fchown): Likewise.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13086 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13089 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13090 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13091 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13092 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13094 (__old_sem_post): Likewise.
13096 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
13098 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13099 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13100 HAVE_CLOCK_GETTIME_VSYSCALL macros.
13101 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13102 Use INLINE_VSYSCALL macro.
13103 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13104 __vdso_clock_gettime.
13105 * sysdeps/unix/sysv/linux/tile/init-first.c
13106 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13107 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13108 __vdso_clock_gettime.
13110 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13111 to set up frame more cleanly.
13113 * sysdeps/tile/memcmp.c: New file.
13115 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13117 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13118 * sysdeps/tile/tilegx/strcasestr.c: New file.
13119 * sysdeps/tile/tilegx/strnlen.c: New file.
13120 * sysdeps/tile/tilegx/strstr.c: New file.
13122 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13124 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
13126 * nptl/tst-setuid3.c: Write errors to stdout.
13128 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13131 (preload): New functions broken out of _dl_map_object_deps.
13132 (_dl_map_object_deps): Remove a nested function. Update call sites.
13134 2014-10-01 Joseph Myers <joseph@codesourcery.com>
13137 * sysdeps/unix/sysv/linux/execve.c: Remove file.
13138 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13140 2014-10-01 Steve Ellcey <sellcey@mips.com>
13142 * sysdeps/mips/strcmp.S: New.
13144 2014-09-30 Joseph Myers <joseph@codesourcery.com>
13147 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13148 (linkat): Likewise.
13149 (mkdirat): Likewise.
13150 (readlinkat): Likewise.
13151 (renameat): Likewise.
13152 (symlinkat): Likewise.
13153 (unlinkat): Likewise.
13154 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13155 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13156 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13157 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13158 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13159 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13160 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13162 2014-09-30 Will Newton <will.newton@linaro.org>
13164 * math/math.h: Define long double math functions if
13165 _LIBC_TEST is defined.
13166 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13168 * localedata/Makefile: Move assignment to tests-special
13169 into an ifdef testing run-built-tests.
13170 * timezone/Makefile: Likewise.
13172 2014-09-29 Joseph Myers <joseph@codesourcery.com>
13174 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13175 with $(BASH) not $(SHELL).
13177 2014-09-29 Carlos O'Donell <carlos@redhat.com>
13178 Matthew LeGendre <legendre1@llnl.gov>
13181 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13184 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13186 * stdio-common/printf_fp.c
13187 (hack_digit): New function, broken out of ...
13188 (__printf_fp): ... local function here. Update call sites.
13189 hack_digit now takes an additional parameter that is a pointer
13190 to a struct of the referenced locals. Those locals moved inside
13191 the struct and references updated.
13193 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
13195 * aclocal.m4: Require autoconf 2.69.
13196 * configure: Regenerated.
13197 * sysdeps/aarch64/configure: Likewise.
13198 * sysdeps/alpha/configure: Likewise.
13199 * sysdeps/arm/armv7/configure: Likewise.
13200 * sysdeps/arm/configure: Likewise.
13201 * sysdeps/ia64/configure: Likewise.
13202 * sysdeps/mach/configure: Likewise.
13203 * sysdeps/mips/configure: Likewise.
13204 * sysdeps/s390/configure: Likewise.
13205 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13208 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13210 * sysdeps/ia64/configure.ac: Likewise.
13212 2014-09-26 Joseph Myers <joseph@codesourcery.com>
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13215 specify symbol version for ld.so. Do not include entry for
13217 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13222 * Makeconfig [$(build-shared) = yes]
13223 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13225 [$(build-shared) = yes && $(soversions.mk-done) = t]
13226 ($(common-objpfx)gnu/lib-names.h): Remove rule.
13227 [$(build-shared) = yes && $(soversions.mk-done) = t]
13228 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
13230 [$(build-shared) = yes && $(soversions.mk-done) = t]
13231 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13233 [$(build-shared) = yes && $(soversions.mk-done) = t]
13234 (common-generated): Don't append gnu/lib-names.h and
13235 gnu/lib-names.stmp here.
13236 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13237 (lib-names-h-abi): New variable.
13238 [$(build-shared) = yes && $(soversions.mk-done) = t]
13239 (lib-names-stmp-abi): Likewise.
13240 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13241 abi-variants] (before-compile): Append
13242 $(common-objpfx)$(lib-names-h-abi).
13243 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13244 abi-variants] (common-generated): Append gnu/lib-names.h.
13245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13246 abi-variants] (install-others-nosubdir): Depend on
13247 $(inst_includedir)/$(lib-names-h-abi).
13248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13249 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13250 [$(build-shared) = yes && $(soversions.mk-done) = t]
13251 ($(common-objpfx)$(lib-names-h-abi)): New rule.
13252 [$(build-shared) = yes && $(soversions.mk-done) = t]
13253 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13254 [$(build-shared) = yes && $(soversions.mk-done) = t]
13255 (common-generated): Append $(lib-names-h-abi) and
13256 $(lib-names-stmp-abi).
13257 * scripts/lib-names.awk: Do not handle multi being set.
13258 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13260 (abi-lp64_be-ld-soname): Likewise.
13261 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13263 (abi-hard-ld-soname): Likewise.
13264 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13265 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13267 (abi-o32_hard-ld-soname): Likewise.
13268 (abi-o32_soft_2008-ld-soname): Likewise.
13269 (abi-o32_hard_2008-ld-soname): Likewise.
13270 (abi-n32_soft-ld-soname): Likewise.
13271 (abi-n32_hard-ld-soname): Likewise.
13272 (abi-n32_soft_2008-ld-soname): Likewise.
13273 (abi-n32_hard_2008-ld-soname): Likewise.
13274 (abi-n64_soft-ld-soname): Likewise.
13275 (abi-n64_hard-ld-soname): Likewise.
13276 (abi-n64_soft_2008-ld-soname): Likewise.
13277 (abi-n64_hard_2008-ld-soname): Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13280 (abi-64-v2-ld-soname): Likewise.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13283 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13285 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13287 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13289 (abi-64-ld-soname): Likewise.
13290 (abi-x32-ld-soname): Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13293 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13295 2014-09-23 Joseph Myers <joseph@codesourcery.com>
13298 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13299 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13300 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13301 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13302 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13303 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13304 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13305 syscall entry for GLIBC_2.2 symbol version.
13306 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13309 (setrlimit): Likewise.
13310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13313 2014-09-23 Will Newton <will.newton@linaro.org>
13315 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13316 _LINUX_ARM_SYSDEP_H include guard too.
13317 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13320 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13322 * sysdeps/unix/sysv/linux/eventfd.c:
13323 Make first argument unsigned.
13324 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13325 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13327 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
13329 * socket/recvmmsg.c (recvmmsg): Drop const argument.
13330 * socket/sys/socket.h: Likewise
13331 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13333 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13335 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13337 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
13339 * time/tst-ftime.c: New test.
13340 * time/Makefile (tests): Add tst-ftime.
13342 2014-09-17 Joseph Myers <joseph@codesourcery.com>
13344 * soft-fp/extended.h: Fix comment formatting.
13345 * soft-fp/op-1.h: Likewise.
13346 * soft-fp/op-2.h: Likewise.
13347 * soft-fp/op-4.h: Likewise.
13348 * soft-fp/op-8.h: Likewise.
13349 * soft-fp/op-common.h: Likewise.
13350 * soft-fp/soft-fp.h: Likewise.
13352 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13354 2014-09-16 Joseph Myers <joseph@codesourcery.com>
13357 * Makeconfig (soversions-default-setname): Remove variable.
13358 ($(common-objpfx)soversions.i): Don't pass default_setname to
13360 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13361 oldest_abi to abi-versions.awk.
13362 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13363 * config.make.in (oldest-abi): Remove variable.
13364 * configure.ac (--enable-oldest-abi): Remove configure option.
13365 * configure: Regenerated.
13366 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13368 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13369 * scripts/soversions.awk: Do not handle default_setname variable.
13370 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13372 * sysdeps/mach/hurd/configure: Regenerated.
13373 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13375 * sysdeps/unix/sysv/linux/configure: Regenerated.
13377 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 * elf/Makefile (CFLAGS-interp.c): Remove.
13380 ($(elf-objpfx)runtime-linker.h): Generate header with linker
13382 * elf/interp.c: Include generated runtime-linker.h
13384 * Makerules (lib%.so): Don't include $(+interp) in
13386 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13387 * dlfcn/eval.c: Remove file.
13389 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13393 * misc/sys/cdefs.h: Define __extern_always_inline for clang
13397 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13399 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13400 Jakub Jelinek <jakub@redhat.com>
13403 * libio/stdio.h: Check definition of __fortify_function
13404 instead of __extern_always_inline to include bits/stdio2.h.
13405 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13406 check if __extern_always_inline is defined.
13407 [__USE_MISC || __USE_XOPEN]: Likewise.
13408 [__USE_ISOC99] Likewise.
13409 * misc/sys/cdefs.h (__fortify_function): Define only if
13410 __extern_always_inline is defined.
13411 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13412 __extern_always_inline and __extern_inline only for g++-4.3
13413 and newer or a compatible gcc.
13415 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
13418 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13419 last change to handle zero prefix length.
13421 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13423 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13426 * posix/getconf.c (vars): Add _POSIX_IPV6 and
13427 _POSIX_RAW_SOCKETS.
13429 2014-09-13 Allan McRae <allan@archlinux.org>
13431 * po/ru.po: Update Russian translation from translation project.
13433 2014-09-12 Roland McGrath <roland@hack.frob.com>
13435 * locale/programs/locale.c (show_locale_vars): Inline local function
13436 into its sole call site. Clean up some style nits.
13437 (print_item): New function, broken out of ...
13438 (show_info): ... local function here. Clean up style nits.
13440 * locale/programs/ld-ctype.c (set_one_default): New function, broken
13442 (set_class_defaults): ... local function set_default here.
13443 Define set_default as a macro locally to pass constant parameters.
13444 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13445 rather than a shared local.
13447 * stdlib/rpmatch.c (try): New function, broken out of ...
13448 (rpmatch): ... local function here. Also, prototypify definition.
13450 2014-09-12 Joseph Myers <joseph@codesourcery.com>
13452 * scripts/soversions.awk: Do not handle configuration names.
13453 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13454 vendor and os variables to soversions.awk.
13455 * configure.ac: Do not modify gnu-* host_os.
13456 * configure: Regenerated
13457 * shlib-versions: Remove first column with configuration names.
13458 * nptl/shlib-versions: Likewise.
13459 * nptl_db/shlib-versions: Likewise.
13460 * sysdeps/hppa/shlib-versions: Likewise.
13461 * sysdeps/m68k/shlib-versions: Likewise.
13462 * sysdeps/mach/hurd/shlib-versions: Likewise.
13463 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13464 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13465 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13466 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13467 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13468 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13469 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13470 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13473 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13474 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13475 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13476 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13477 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13478 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13479 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13480 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13483 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13486 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13488 Condition symbol version definitions on [HAVE_ELFV2_ABI].
13490 * shlib-versions: Remove OS-specific entries. Moved to files in
13492 * sysdeps/mach/hurd/shlib-versions: New file.
13493 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13495 * nptl/shlib-versions: Remove architecture-specific entries.
13496 Moved to files in sysdeps.
13497 * shlib-versions: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13500 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13501 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13505 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13506 (UDP_NO_CHECK6_RX): Likewise.
13508 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13510 * sysdeps/posix/sysconf.c (__sysconf): Spell
13511 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13513 2014-08-12 Florian Weimer <fweimer@redhat.com>
13515 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13517 * iconv/Versions (__gconv_transliterate): Export for use from
13519 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13520 (struct __gconv_trans_data, __gconv_trans_fct,
13521 __gconv_trans_context_fct, __gconv_trans_query_fct,
13522 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13524 (struct __gconv_step_data): Remove __trans member.
13525 (__gconv_transliterate): Declaration moved from gconv_int.h. No
13526 longer hidden. Remove unused trans_data argument.
13527 * iconv/gconv_int.h (struct trans_struct): Remove definition.
13528 (__gconv_translit_find): Remove declaration.
13529 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
13531 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13532 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13533 trans_data argument. Add hidden definition.
13534 (__gconv_translit_find): Remove.
13535 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13536 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13537 * iconv/skeleton.c: Remove transliteration initialization.
13538 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13539 __gconv_step_data initialization.
13540 * libio/iofwide.c (__libio_translit_): Remove.
13541 (_IO_fwide): Adjust struct __gconv_step_data initialization.
13542 * wcsmbs/btowc.c (__btowc): Likewise.
13543 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13544 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13545 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13546 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13547 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13548 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13549 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13550 * wcsmbs/wctob.c (wctob): Likewise.
13552 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13555 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13556 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
13558 * sysdeps/x86/Makefile: Adjust.
13560 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13561 Roland McGrath <roland@hack.frob.com>
13563 * locale/weight.h: Add include guard.
13564 (findidx): Make static rather than auto; take new parameters
13565 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13566 * locale/weightwc.h: Likewise.
13567 * posix/fnmatch_loop.c
13568 (FCT): Change type of EXTRA from int32_t to wint_t.
13569 Don't include either header inside the function.
13570 Call FINDIDX rather than findidx, and pass new arguments.
13571 #undef FINDIDX at the end of the file.
13572 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13573 FINDIDX before including fnmatch_loop.c for the non-wide version.
13574 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13575 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13576 for the wide version.
13577 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13578 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13579 Pass new arguments to findidx.
13580 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13581 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13582 Don't #include it inside the function. Pass new arguments to findidx.
13583 * posix/regex_internal.h
13584 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13585 (re_string_elem_size_at): Don't #include it inside the function.
13586 Pass new arguments to findidx.
13587 * string/strcoll_l.c: #include WEIGHT_H at top level.
13588 (get_next_seq): Don't #include it inside the function.
13589 Pass new arguments to findidx.
13590 (get_next_seq_nocache): Likewise.
13591 * string/strxfrm_l.c: #include WEIGHT_H at top level.
13592 (STRXFRM): Don't #include it inside the function.
13593 Pass new arguments to findidx.
13595 2014-09-11 Florian Weimer <fweimer@redhat.com>
13598 * malloc/malloc.c (unlink): Turn asserts into a call to
13601 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
13604 * libio/wfileops (do_ftell_wide): Free OUT.
13606 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
13608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13610 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13613 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13614 group if the current group is empty.
13616 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618 * benchtests/bench-memset.c (test_main): Add more test from size
13619 from 32 to 512 bytes.
13620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13621 Add POWER8 memset object.
13622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13623 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13624 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13626 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13628 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13629 multiarch POWER8 memset optimization.
13630 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13631 POWER8 memset optimization.
13633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13634 Remove bzero multiarch objects.
13635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13637 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13638 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13640 [__bzero]: Redefine to specific name.
13641 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13642 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13643 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13646 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13648 2014-09-10 Florian Weimer <fweimer@redhat.com>
13650 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13651 warnings into errors.
13653 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13654 __cxa_thread_atexit_impl prototype.
13656 2014-09-09 Steve Ellcey <sellcey@mips.com>
13658 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13659 Fix capitalization of error message.
13661 2014-09-09 Steve Ellcey <sellcey@mips.com>
13663 * sysdeps/mips/preconfigure: Modify ABI tests.
13665 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
13667 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13669 2014-09-07 Roland McGrath <roland@hack.frob.com>
13670 Carlos O'Donell <carlos@systemhalted.org>
13672 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13673 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13674 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13675 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13676 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13678 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13679 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13680 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13687 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13688 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13689 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13690 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13691 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13692 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13693 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13694 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13696 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13697 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13698 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13699 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13700 Deconditionalize the code that was previously under [RESET_PID].
13701 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13702 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13703 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13704 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13707 2014-09-08 Allan McRae <allan@archlinux.org>
13709 * version.h (RELEASE): Set to "development".
13710 (VERSION): Set to "2.20.90"
13712 2014-09-07 Allan McRae <allan@archlinux.org
13714 * version.h (RELEASE): Set to "stable".
13715 (VERSION): Set to "2.20"
13716 * include/features.h (__GLIBC_MINOR__): Set to 20.
13718 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13721 * po/ko.po: Update Korean translation from translation project.
13723 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13726 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13727 macro for handling signed relocations.
13729 2014-09-03 Florian Weimer <fweimer@redhat.com>
13732 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13733 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13735 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13736 * iconvdata/ibm935.c (BODY): Likewise.
13737 * iconvdata/ibm937.c (BODY): Likewise.
13738 * iconvdata/ibm939.c (BODY): Likewise.
13739 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13741 * iconvdata/Makefile (iconv-test.out): Pass module list to test
13743 * iconvdata/run-iconv-test.sh: New test loop for checking for
13746 2014-09-02 Khem Raj <raj.khem@gmail.com>
13748 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13751 2014-09-01 Allan McRae <allan@archlinux.org>
13753 * po/eo.po: Update Esperanto translation from translation project.
13755 * po/ca.po: Update Catalan translation from translation project.
13757 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13759 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13760 __proc_dostop call.
13762 2014-08-27 Mark Wielaard <mjw@redhat.com>
13765 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13766 to call set_thread_area instead of hand written asm.
13767 (__NR_set_thread_area): Removed define.
13768 (TLS_FLAG_WRITABLE): Likewise.
13769 (__ASSUME_SET_THREAD_AREA): Remove check.
13770 (TLS_EBX_ARG): Remove define.
13771 (TLS_LOAD_EBX): Likewise.
13773 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13775 Simplify atomicity of socket creation in bind.
13777 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13778 looking up the name after linking the file.
13780 2014-08-27 Allan McRae <allan@archlinux.org>
13782 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13784 2014-08-26 Florian Weimer <fweimer@redhat.com>
13787 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13788 trans_compare, open_translit, __gconv_translit_find):
13789 Remove module loading code.
13791 2014-08-26 Allan McRae <allan@archlinux.org>
13793 * po/vi.po: Update Vietnamese translation from translation project.
13795 * po/uk.po: Update Ukrainian translation from translation project.
13797 * po/fr.po: Update French translation from translation project.
13799 * po/ru.po: Update Russian translation from translation project.
13801 * po/pl.po: Update Polish translation from translation project.
13803 * po/cs.po: Update Czech translation from translation project.
13805 * po/de.po: Update German translation from translation project.
13807 * po/bg.po: Update Bulgarian translation from translation project.
13809 * po/sv.po: Update Sweedish translation from translation project.
13811 * po/nl.po: Update Dutch translation from translation project.
13813 * po/es.po: Update Spanish translation from translation project.
13815 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13817 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13819 * catgets/Makefile (CPPFLAGS-gencat): Remove.
13820 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13821 (CPPFLAGS-iconvconfig): Likewise.
13822 * timezone/Makefile (CPPFLAGS-zic): Likewise.
13824 * include/libc-symbols.h: Remove unnecessary check for
13826 * nptl/pthreadP.h: Likewise.
13827 * sysdeps/aarch64/setjmp.S: Likewise.
13828 * sysdeps/alpha/setjmp.S: Likewise.
13829 * sysdeps/arm/sysdep.h: Likewise.
13830 * sysdeps/i386/setjmp.S: Likewise.
13831 * sysdeps/m68k/setjmp.c: Likewise.
13832 * sysdeps/posix/getcwd.c: Likewise.
13833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13834 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13835 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13836 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13837 * sysdeps/sh/sh3/setjmp.S: Likewise.
13838 * sysdeps/sh/sh4/setjmp.S: Likewise.
13839 * sysdeps/unix/alpha/sysdep.h: Likewise.
13840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13842 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13843 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13851 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13853 * sysdeps/x86_64/setjmp.S: Likewise.
13855 2014-08-13 Joseph Myers <joseph@codesourcery.com>
13858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13860 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13861 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13863 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13865 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13868 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13869 and __x86_64__ when disabling x87 inline functions.
13871 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
13874 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13875 asm statement with __cpuid_count.
13877 2014-08-12 Mike Frysinger <vapier@gentoo.org>
13879 * configure.ac: Change __ehdr_start code to dereference the struct.
13880 Run readelf on the output to look for relocations.
13881 * configure: Regenerated.
13883 2014-08-12 Joseph Myers <joseph@codesourcery.com>
13886 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13888 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13890 2014-08-12 Roland McGrath <roland@hack.frob.com>
13892 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13894 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
13897 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13898 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13900 2014-08-12 Sean Anderson <seanga2@gmail.com>
13902 * malloc/malloc.c: Fix typo in comment.
13904 2014-08-09 Allan McRae <allan@archlinux.org>
13906 * Regenerate libc.po.
13908 2014-08-08 Mike Frysinger <vapier@gentoo.org>
13910 * intl/tst-gettext2.sh: Check every lang file for creation.
13912 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13914 * sysdeps/aarch64/fpu/math_private.h
13915 (libc_feholdsetround_noex_aarch64_ctx): New function.
13917 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13919 * sysdeps/arm/armv6/strcpy.S (strcpy):
13920 Fix performance issue in misaligned cases.
13922 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13924 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13925 Move definition from termios.h.
13926 (struct termio): Likewise.
13927 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13928 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13929 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13930 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13933 Move definition to ioctl-types.h
13934 (struct termio): Likewise.
13935 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13936 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13937 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13938 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13941 2014-08-05 Richard Henderson <rth@redhat.com>
13943 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13945 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13947 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13948 Use __feraiseexcept.
13949 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13950 Protect libm symbols with IS_IN_libm.
13952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13954 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
13956 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13958 2014-08-04 Will Newton <will.newton@linaro.org>
13960 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13963 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13965 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13966 variants for each function.
13968 2014-08-04 Roland McGrath <roland@hack.frob.com>
13970 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13972 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13973 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13975 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13976 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13977 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13978 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13979 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13980 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13981 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13982 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13983 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13984 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13985 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13986 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13987 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13988 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13989 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13990 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13991 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13992 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13993 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13994 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13995 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14006 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14007 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14008 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14009 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14010 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14011 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14012 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14013 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14014 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14017 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14019 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14021 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14022 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14023 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14025 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14026 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14027 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14029 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14030 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14032 2014-08-04 Roland McGrath <roland@hack.frob.com>
14034 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14035 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14036 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14037 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14038 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14039 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14041 2014-08-04 Roland McGrath <roland@hack.frob.com>
14043 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14044 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14045 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14046 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14048 2014-08-04 Roland McGrath <roland@hack.frob.com>
14050 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14051 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14052 (__libc_vfork): Define function under this name.
14053 (__vfork): Define as an alias.
14054 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14055 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14057 2014-08-04 Roland McGrath <roland@hack.frob.com>
14059 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14060 that was previously under [RESET_PID].
14061 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14063 2014-08-04 Andreas Schwab <schwab@suse.de>
14065 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14067 2014-08-03 Mike Frysinger <vapier@gentoo.org>
14069 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14072 2014-08-01 Roland McGrath <roland@hack.frob.com>
14074 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14076 2014-08-01 Richard Henderon <rth@redhat.com>
14078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14079 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14080 typo in exact zero test.
14081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14085 2014-08-01 Roland McGrath <roland@hack.frob.com>
14087 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14088 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14089 * sysdeps/arm/sysdep.h: ... here.
14090 [!__ASSEMBLER__]: Include <stdint.h>.
14092 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14094 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14095 (HAVE_WCTYPE_H): Likewise.
14096 (HAVE_ISWCTYPE): Likewise.
14097 (ENABLE_NLS): Likewise.
14098 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14099 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14101 * posix/regex_internal.c: Check if DEBUG is defined and is
14104 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14105 (HAVE_MBSRTOWCS): Likewise.
14106 * posix/fnmatch.c: Include string.h unconditionally.
14108 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14110 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14113 2014-07-31 Roland McGrath <roland@hack.frob.com>
14115 * sysdeps/generic/safe-fatal.h: New file.
14116 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14117 * nptl/forward.c: Include it.
14118 (__pthread_unwind): Use __safe_fatal as default action, rather
14119 than a bogus use of INTERNAL_SYSCALL that could never work.
14121 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14122 * configure.ac (libc_cv_builtin_trap): New test.
14123 * configure: Regenerated.
14124 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14125 (ABORT_INSTRUCTION): Define using __builtin_trap.
14127 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14128 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14129 * sysdeps/nptl/nptl-signals.h: New file.
14130 * nptl/pthreadP.h: Include <nptl-signals.h>.
14132 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14134 * sysdeps/s390/s390-64/utf16-utf32-z9.c
14135 (ONE_DIRECTION): Define.
14136 * sysdeps/s390/s390-64/utf8-utf16-z9.c
14137 (ONE_DIRECTION): Define.
14138 * sysdeps/s390/s390-64/utf8-utf32-z9.c
14139 (ONE_DIRECTION): Define.
14141 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14143 * sysdeps/s390/Makefile: Delete file.
14144 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14145 * sysdeps/s390/__longjmp.c: Delete file.
14146 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14147 Remove fields __flags and __reserved.
14148 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14149 and add versioning.
14150 * sysdeps/s390/rtld-__longjmp.c: Delete file.
14151 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14152 * sysdeps/s390/rtld-setjmp.S: Likewise.
14153 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14154 * sysdeps/s390/s390-32/__longjmp.c: ... here.
14155 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14156 * sysdeps/s390/s390-32/setjmp.S: ... here.
14158 (__sigsetjmp): Remove setting __flags field.
14159 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14160 * sysdeps/s390/s390-64/__longjmp.c: ... here.
14161 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14162 * sysdeps/s390/s390-64/setjmp.S: ... here.
14164 (__sigsetjmp): Remove setting __flags field.
14165 * sysdeps/s390/setjmp.S: Delete file.
14166 * sysdeps/s390/sigjmp.c: Likewise.
14167 * sysdeps/s390/v1-longjmp.c: Likewise.
14168 * sysdeps/s390/v1-setjmp.h: Likewise.
14169 * sysdeps/s390/v1-sigjmp.c: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14171 Remove v1-longjmp_chk.
14172 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14173 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14174 Include debug/longjmp_chk.c and add versioning.
14175 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14176 Include nptl/pt-longjmp.c and add versioning.
14177 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14178 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14179 Include __longjmp.c.
14180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14183 (__getcontext): Remove setting __flags field.
14185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14186 Don't restore upper high grps.
14187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14189 (__swapcontext): Remove setting uc_flags field.
14190 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14193 Include __longjmp.c.
14194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14197 (__getcontext): Remove setting __flags field.
14199 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14200 (__swapcontext): Remove setting uc_flags field.
14201 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14203 Remove fields uc_high_gprs and __reserved.
14204 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14205 New file with reverted content.
14206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14212 2014-07-31 Andreas Schwab <schwab@suse.de>
14214 * config.h.in (HAVE_IFUNC): Define to 0.
14215 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14218 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
14220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14221 memmove-avx-unaligned, memcpy-avx-unaligned and
14222 mempcpy-avx-unaligned.
14223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14224 Add tests for AVX memcpy functions.
14225 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14226 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14228 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14229 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14231 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14232 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14234 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14235 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14236 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14238 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14241 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14244 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
14247 * manual/llio.texi: Add section about open file description locks.
14248 * manual/examples/ofdlocks.c: Example of open file description
14250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14251 F_OFD_SETLK, and F_OFD_SETLKW.
14253 2014-07-23 Allan McRae <allan@archlinux.org>
14255 * po/es.po: Update Spanish translation from translation project.
14257 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
14259 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14261 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
14264 * sysdeps/arm/dl-machine.h (elf_machine_rela)
14265 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14266 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14268 2014-07-17 Joseph Myers <joseph@codesourcery.com>
14271 * math/fesetenv.c (__fesetenv)
14272 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14273 * math/feupdateenv.c (__feupdateenv)
14274 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14276 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14277 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14278 (__ASSUME_SOCKETCALL): Do not define.
14280 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14281 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14282 (__ASSUME_SOCKETCALL): Do not define.
14283 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14284 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14285 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14286 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14287 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14288 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14289 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14290 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14293 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14294 (__ASSUME_SOCKETCALL): Do not define.
14295 (__ASSUME_IPC64): Define unconditionally.
14296 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14297 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14298 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14299 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14300 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14301 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14302 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14305 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14306 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14307 (__ASSUME_SOCKETCALL): Do not define.
14308 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14309 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14310 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14311 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14312 (__ASSUME_REQUEUE_PI): Define unconditionally.
14313 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14314 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14315 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14316 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14317 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14318 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14320 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14321 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14322 (__ASSUME_SOCKETCALL): Do not define.
14323 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14324 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14325 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14326 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14327 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14328 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14330 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14331 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14333 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14335 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14337 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14338 (__ASSUME_GETCPU_SYSCALL): Likewise.
14340 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14341 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
14342 cases for individual architectures.
14343 * sysdeps/gnu/configure: Regenerated.
14344 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14345 LIBC_SLIBDIR_RTLDDIR.
14346 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14347 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14348 LIBC_SLIBDIR_RTLDDIR.
14349 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14351 LIBC_SLIBDIR_RTLDDIR.
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14354 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14355 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14357 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14358 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14360 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14361 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14362 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14363 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14365 * sysdeps/aarch64/shlib-versions: Move to ...
14366 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14367 * sysdeps/alpha/shlib-versions: Move to ...
14368 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14369 * sysdeps/arm/shlib-versions: Move to ...
14370 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14371 * sysdeps/hppa/shlib-versions: Move all contents except for
14372 libgcc_s entry to ...
14373 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
14375 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
14376 * sysdeps/ia64/shlib-versions: Move to ...
14377 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
14379 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
14380 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14381 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14382 * sysdeps/microblaze/shlib-versions: Move to ...
14383 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14384 * sysdeps/mips/shlib-versions: Move to ...
14385 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
14387 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
14388 * sysdeps/tile/shlib-versions: Move to ...
14389 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14390 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14392 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
14393 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14395 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
14397 2014-07-17 Will Newton <will.newton@linaro.org>
14399 * sysdeps/arm/bits/atomic.h
14400 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14401 (__arch_compare_and_exchange_bool_16_int): Likewise.
14402 (__arch_compare_and_exchange_bool_64_int): Likewise.
14404 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14405 into an #else block.
14407 2014-07-16 Roland McGrath <roland@hack.frob.com>
14409 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14410 just Linux configurations. Test empirically that the compiler sets
14411 __ARM_EABI__, rather than using the tuple to decide.
14412 * sysdeps/arm/preconfigure: Regenerated.
14413 * sysdeps/unix/sysv/linux/arm/configure: File removed.
14414 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14415 contents appended ...
14416 * sysdeps/arm/configure.ac: ... here.
14417 * sysdeps/arm/configure: Regenerated.
14419 2014-07-15 Roland McGrath <roland@hack.frob.com>
14421 * nptl/pthread_kill.c: New file.
14422 * nptl/pthread_sigmask.c: New file.
14423 * nptl/pthread_sigqueue.c: New file.
14425 * sysdeps/nptl/lowlevellock.h: New file.
14426 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14427 * sysdeps/nptl/lowlevellock-futex.h: New file.
14429 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14430 Remove dead declarations.
14432 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
14434 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14435 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14436 config-cflags-avx2.
14437 * sysdeps/x86_64/configure.ac: Likewise.
14438 * sysdeps/i386/configure: Regenerated.
14439 * sysdeps/x86_64/configure: Likewise.
14440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14441 memset-avx2 only if config-cflags-avx2 is yes.
14442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14443 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14445 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14446 only if HAVE_AVX2_SUPPORT is defined.
14447 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14449 2014-07-14 Alan Modra <amodra@gmail.com>
14452 * elf/elf.h (DT_PPC64_NUM): Correct value.
14453 * NEWS: Add to fixed bug list.
14455 2014-07-13 Jim Meyering <meyering@fb.com>
14458 regex: don't deref NULL upon heap allocation failure
14459 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14460 failure in one more place.
14461 To trigger the segfault, configure grep -with-included-regex,
14462 build it, and run these commands:
14463 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14465 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
14467 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14469 2014-07-11 Richard Henderson <rth@redhat.com>
14471 * sysdeps/aarch64/libm-test-ulps: Update.
14473 2014-07-10 Florian Weimer <fweimer@redhat.com>
14476 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14477 * nptl/allocatestack.c (__nptl_setxid_error): New function.
14478 (__nptl_setxid): Initialize error member. Call
14479 __nptl_setxid_error.
14480 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14481 * nptl/descr.h (struct xid_command): Add error member.
14482 * nptl/tst-setuid3.c: New file.
14483 * nptl/Makefile (tests): Add it.
14485 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14487 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14489 (__lll_trylock): Use __lll_base_trylock.
14490 (__lll_cond_trylock): Likewise.
14492 2014-07-10 Roland McGrath <roland@hack.frob.com>
14494 * nptl/pthread_create.c (start_thread): Use atomic_or and
14495 lll_futex_wake directly rather than lll_robust_dead.
14496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14497 (lll_robust_dead): Macro removed.
14498 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14499 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14500 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14501 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14502 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14503 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14504 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14505 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14506 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14510 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14511 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14512 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14514 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14515 Use atomic_compare_and_exchange_val_acq directly rather than
14516 lll_robust_trylock.
14517 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14518 (__lll_robust_trylock, lll_robust_trylock): Removed.
14519 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14520 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14521 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14522 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14524 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14525 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14526 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14528 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14529 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14531 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14534 2014-07-02 Florian Weimer <fweimer@redhat.com>
14536 * manual/locale.texi (Locale Names): New section documenting
14537 locale name syntax. Adjust menu and node chaining accordingly.
14538 (Choosing Locale): Reference Locale Names, Locale Categories.
14539 Mention setting LC_ALL=C. Reflect that name syntax is now
14541 (Locale Categories): New section title. Reference Locale Names.
14542 LC_ALL is an environment variable, but not a category.
14543 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14544 description, now in Locale Name. Reference that section. Locale
14545 name syntax is now documented.
14547 2014-07-02 Florian Weimer <fweimer@redhat.com>
14550 * locale/findlocale.c (name_present, valid_locale_name): New
14552 (_nl_find_locale): Use the loc_name variable to store name
14553 candidates. Call name_present and valid_locale_name to check and
14554 validate locale names. Return an error if the locale is invalid.
14556 2014-07-02 Florian Weimer <fweimer@redhat.com>
14558 * locale/setlocale.c (setlocale): Use strdup for allocating
14559 composite name copy.
14561 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14563 Sync up with gnulib.
14564 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14565 [!_LIBC && ENABLE_NLS]: Include gettext.h.
14566 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14567 and _GL_ARG_NONNULL.
14568 [USE_UNLOCKED_IO]: Include unlocked-io.h.
14569 [!_LIBC]: Include code for Windows and Cygwin.
14570 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14571 Include prototype for int strerror_r.
14572 [!_LIBC] (is_open): New function.
14573 (flush_stdout): New function.
14574 (print_errno_message): Use it.
14576 (error_at_line): Likewise.
14577 (error_tail) Add function attribute macros. Use
14580 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14582 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14584 * io/ftw.c: Include sys/param.h unconditionally.
14586 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14589 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14591 (freecache): New function to free CACHE on exit.
14593 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14596 2014-07-09 David S. Miller <davem@davemloft.net>
14598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14600 * sysdeps/sparc/nptl/internaltypes.h: Delete.
14601 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14602 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14603 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14604 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14605 * sysdeps/sparc/nptl/sem_init.c: Likewise.
14606 * sysdeps/sparc/nptl/sem_post.c: Likewise.
14607 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14608 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14609 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14610 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14611 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14612 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14614 2014-07-09 Andreas Schwab <schwab@suse.de>
14616 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14618 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14619 (do_test): Likewise.
14621 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14623 2014-07-09 Will Newton <will.newton@linaro.org>
14625 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14626 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14627 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14628 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14629 * sysdeps/hppa/start.S (_start): Likewise.
14631 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14633 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14635 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14638 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14640 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14641 after checking that it is non-NULL.
14643 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14645 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14647 * sysdeps/powerpc/memmove.c: Remove file.
14648 * sysdeps/powerpc/powerpc32/power4/memcopy.h
14649 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14651 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14653 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14654 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14655 string memmove instead of removed powerpc one.
14657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14658 [weak_alias]: Fix compiler warning due trailing data.
14659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14660 [weak_alias]: Likewise.
14661 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14662 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14665 (__libc_ifunc_impl_list): Add memmove functions.
14667 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14669 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14671 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14673 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14675 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14677 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14679 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14681 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14683 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14685 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14687 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14689 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14691 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14693 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14695 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14697 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14699 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14701 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14704 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14707 to avoid alignment traps in non-cacheable memory.
14708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14713 file: multiarch power7 memmove.
14714 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14715 multiarch default memmove.
14716 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14717 multiarch memove for powerpc32/power4.
14719 * string/bcopy.c: Use full path to include memmove.c.
14720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14722 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14723 bcopy for powerpc64.
14724 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14725 bcopy for powerpc64.
14726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14727 and memmove implementations.
14728 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14729 optimized multiarch memmove for POWER7/powerpc64.
14730 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14731 default multiarch memmove for powerpc64.
14732 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14733 multiarch for powerpc64.
14734 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14735 for POWER7/powerpc64.
14736 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14737 memmove for POWER7/powerpc64.
14739 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14742 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14743 __ELF_NATIVE_CLASS equal to 64.
14745 2014-07-07 Roland McGrath <roland@hack.frob.com>
14747 * sysdeps/nptl/lowlevellock.h: File removed.
14749 * NEWS: NPTL is no longer an add-on!
14750 * nptl/internaltypes.h: Moved ...
14751 * sysdeps/nptl/internaltypes.h: ... here.
14752 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14753 * sysdeps/nptl/fork.c: Likewise.
14754 * sysdeps/nptl/gai_misc.h: Likewise.
14755 * sysdeps/nptl/librt-cancellation.c: Likewise.
14756 * sysdeps/nptl/jmp-unwind.c: Likewise.
14757 * sysdeps/nptl/setxid.h: Likewise.
14758 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14759 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14760 * sysdeps/unix/sysv/linux/arm/Implies: New file.
14761 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14762 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14763 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14764 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14765 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14766 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14767 * sysdeps/unix/sysv/linux/mips/Implies: New file.
14768 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14769 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14770 * sysdeps/unix/sysv/linux/sh/Implies: New file.
14771 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14772 * sysdeps/unix/sysv/linux/tile/Implies: New file.
14773 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14774 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14775 * nptl/Makeconfig: Moved ...
14776 * sysdeps/nptl/Makeconfig: ... here.
14777 * nptl/configure: File removed.
14778 * nptl/ANNOUNCE: File removed.
14779 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14780 * sysdeps/unix/sysv/linux/configure: Regenerated.
14782 * nptl/Makefile (routines): Add libc_pthread_init,
14783 libc_multiple_threads, register-atfork and unregister-atfork.
14784 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14785 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14786 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14787 pthread-pi-defines.sym, structsem.sym.
14788 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14789 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14790 [$(subdir) = nptl] (tests): Add tst-setgetname.
14791 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14792 * sysdeps/unix/sysv/linux/sigaction.c: Just include
14793 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14794 [!LIBC_SIGACTION]: Remove aliases.
14795 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14796 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14797 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14798 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14799 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14800 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14801 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14802 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14804 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14805 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14806 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14807 __libc_allocate_rtsig_private.
14808 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14809 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14810 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14811 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14812 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14813 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14814 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14815 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14816 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14817 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14818 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14819 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14820 * nptl/internaltypes.h: ... here.
14821 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14822 * sysdeps/nptl/jmp-unwind.c: ... here.
14823 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14824 * nptl/libc-lowlevellock.c: ... here.
14825 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14826 * nptl/libc_multiple_threads.c: ... here.
14827 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14828 * nptl/libc_pthread_init.c: ... here.
14829 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14830 * nptl/lowlevelbarrier.sym: ... here.
14831 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14832 * nptl/lowlevelcond.sym: ... here.
14833 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14834 * nptl/lowlevellock.c: ... here.
14835 * nptl/lowlevellock.h: Moved ...
14836 * sysdeps/nptl/lowlevellock.h: ... here.
14837 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14838 * nptl/lowlevelrobustlock.c: ... here.
14839 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14840 * nptl/lowlevelrobustlock.sym: ... here.
14841 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14842 * nptl/lowlevelrwlock.sym: ... here.
14843 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14844 * nptl/pt-fork.c: ... here.
14845 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14846 * nptl/pthread-pi-defines.sym: ... here.
14847 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14848 * nptl/pthread_attr_getaffinity.c: ... here.
14849 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14850 * nptl/pthread_attr_setaffinity.c: ... here.
14851 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14852 * nptl/pthread_mutex_cond_lock.c: ... here.
14853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14855 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14856 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14857 * nptl/pthread_once.c: ... here, replacing old file.
14858 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14859 * nptl/pthread_yield.c: ... here.
14860 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14861 * nptl/register-atfork.c: ... here.
14862 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14863 * nptl/sem_post.c: ... here.
14864 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14865 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14866 * nptl/sem_timedwait.c: ... here.
14867 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14868 * nptl/sem_trywait.c: ... here.
14869 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14870 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14871 * nptl/sem_wait.c: ... here.
14872 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14873 * nptl/structsem.sym: ... here.
14874 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14875 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14876 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14877 * nptl/unregister-atfork.c: ... here.
14878 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14879 * nptl/unwindbuf.sym: ... here.
14880 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14881 * sysdeps/nptl/fork.c: ... here.
14882 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14883 * sysdeps/nptl/fork.h: ... here.
14884 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14885 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14886 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14887 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14888 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14889 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14890 * sysdeps/unix/sysv/linux/getpid.c: ... here.
14891 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14892 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14893 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14894 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14895 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14896 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14897 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14898 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14899 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14900 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14901 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14902 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14903 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14904 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14905 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14906 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14907 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14908 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14909 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14910 * sysdeps/unix/sysv/linux/raise.c: ... here.
14911 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14912 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14913 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14914 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14915 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14916 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14917 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14918 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14919 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14920 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14921 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14922 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14923 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14924 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14925 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14927 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * sysdeps/generic/memcopy.h: Add comment for
14930 MEMCPY_OK_FOR_FWD_MEMMOVE.
14932 2014-07-04 Will Newton <will.newton@linaro.org>
14934 * string/memchr.c: Merge from gnulib.
14935 [_LIBC]: Remove conditionals.
14936 (__ptr_t): Remove define.
14937 (LONG_MAX_32_BITS): Likewise.
14938 (LONG_MAX): Likewise.
14939 (MEMCHR): Use ANSI prototype and optimize algorithm.
14941 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14943 2014-07-03 Roland McGrath <roland@hack.frob.com>
14945 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14946 (lll_futex_timed_wait_bitset): Fix syscall argument count.
14948 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14949 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14950 in a bare environment with no <stdlib.h> installed.
14951 * sysdeps/nptl/configure: Regenerated.
14953 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14955 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14956 AC_EGREP_CPP for kernel header checks, so they only succeed if
14957 including <linux/version.h> actually works right.
14958 * sysdeps/unix/sysv/linux/configure: Regenerated.
14960 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14961 value so it's not diagnosed as unused.
14963 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14964 thing) with "ifeq ($(subdir),rt)".
14966 2014-07-03 Richard Henderson <rth@redhat.com>
14968 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14969 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14970 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14972 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14973 (math_force_eval): New.
14975 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14976 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14978 * sysdeps/alpha/fpu/s_round.c: Remove file.
14979 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14981 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14982 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14983 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14984 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14985 (_dl_start, print_statistics): Likewise.
14986 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14987 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14989 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14990 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14991 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14992 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14994 (HP_SMALL_TIMING_AVAIL): Define.
14995 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14996 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14997 (HP_SMALL_TIMING_AVAIL): Define.
14998 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14999 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15001 * sysdeps/aarch64/hp-timing.h: New file.
15003 * sysdeps/generic/hp-timing.h: Remove dead comment.
15004 * sysdeps/generic/hp-timing-common.h: New file.
15005 * sysdeps/alpha/hp-timing.h: Include it.
15006 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15007 * sysdeps/i386/i686/hp-timing.h: Likewise.
15008 * sysdeps/ia64/hp-timing.h: Likewise.
15009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15011 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15012 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15013 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15014 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15015 (hp_timing_t): New.
15017 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15018 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15019 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15020 * elf/rtld.c (_dl_start_final): Likewise.
15021 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15022 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15023 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15024 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15025 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15027 (HP_TIMING_DIFF_INIT): Remove.
15028 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15029 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15030 (HP_TIMING_DIFF_INIT): Remove.
15031 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15032 * sysdeps/i386/i686/hp-timing.c: Remove file.
15033 * sysdeps/x86_64/hp-timing.c: Remove file.
15034 * sysdeps/ia64/hp-timing.c: Remove file.
15035 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15036 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15038 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15040 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15041 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15043 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15045 (HP_TIMING_ACCUM): Remove.
15046 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15048 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15050 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15051 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15052 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15053 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15054 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15055 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15056 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15057 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15059 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15061 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
15063 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15065 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15067 Sync up with gettext.
15068 * intl/loadmsgcat.c: Define O_BINARY if not defined.
15069 [_MSC_VER]: Include malloc.h
15070 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15071 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15072 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
15073 TEMP_FAILURE_RETRY. Cast return of alloca.
15074 [!_LIBC] Call gl_rwlock_init.
15075 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15077 2014-07-02 Roland McGrath <roland@hack.frob.com>
15079 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15080 before checking its value.
15082 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15084 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15086 * debug/memcpy_chk.c: Don't include pagecopy.h.
15087 * debug/mempcpy_chk.c: Likewise.
15088 * string/memcpy.c: Likewise.
15089 * string/memmove.c: Likewise.
15090 * sysdeps/powerpc/memmove.c: Likewise.
15091 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
15092 definition of PAGE_COPY_FWD_MAYBE here...
15093 * sysdeps/generic/pagecopy.h: ... from here.
15094 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15096 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15097 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15099 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15103 (__libc_ifunc_impl_list): Likewise.
15104 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15105 multiarch strcat for PPC64.
15106 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15107 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15109 2014-07-02 Roland McGrath <roland@hack.frob.com>
15111 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15113 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15115 * intl/loadmsgcat.c: Remove declaration of
15116 get_sysdep_segment_value.
15117 (get_sysdep_segment_value): Use ISO C style.
15118 (_nl_load_domain): Use ISO C style. Get rid of redundant
15119 semicolon. Fix typo and formatting in comment.
15120 (_nl_unload_domain): Use ISO C style.
15122 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15124 2014-07-02 Will Newton <will.newton@linaro.org>
15126 * malloc/obstack.c: Merge from gnulib master.
15127 [HAVE_CONFIG_H]: Remove conditional code.
15128 [!_LIBC]: Include config.h.
15129 [!ELIDE_CODE]: Don't include inttypes.h, include
15130 stdint.h unconditionally.
15131 (print_and_abort): Mark as _Noreturn.
15132 (_obstack_allocated_p): Mark as __attribute_pure__.
15133 (obstack_free): Rename to __obstack_free.
15134 [!__attribute__]: Remove conditional code.
15135 * malloc/obstack.h: Merge from gnulib master.
15136 [__cplusplus]: Move conditional down.
15137 [!__attribute_pure__]: Define __attribute_pure__ here
15138 if it is not already defined.
15139 (_obstack_memory_used): Mark as __attribute_pure__.
15140 [!__obstack_free]: Define as obstack_free.
15141 [__GNUC__]: Remove check for ancient NeXT gcc.
15143 2014-07-02 Will Newton <will.newton@linaro.org>
15144 Paul Eggert <eggert@cs.ucla.edu>
15146 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15148 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15150 * resolv/gethnamaddr.c: Add comment warning that the file is
15153 2014-07-01 Carlos O'Donell <carlos@redhat.com>
15155 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15158 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15159 entry for aio_cancel and aio_cancel64.
15160 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15161 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15162 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15163 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15164 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15165 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15167 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15168 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15169 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15170 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15171 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15172 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15174 2014-07-01 Roland McGrath <roland@hack.frob.com>
15176 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15177 * nptl/pthread_mutex_lock.c: Likewise.
15178 * nptl/pthread_mutex_timedlock.c: Likewise.
15179 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15181 2014-07-01 Richard henderson <rth@redhat.com>
15183 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15184 (__isnan, __isnanl): Remove.
15185 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15187 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15189 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15193 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 * resolv/nss_dns/dns-host.c (getanswer_r)
15196 [MULTI_PTRS_ARE_ALIASES]: Remove code.
15198 2014-07-01 Joseph Myers <joseph@codesourcery.com>
15200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15201 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15203 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15204 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15206 2014-07-01 Roland McGrath <roland@hack.frob.com>
15208 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15209 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15211 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15212 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15214 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15217 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15218 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15220 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15221 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15222 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15223 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15225 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15226 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15227 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15231 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15233 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15234 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15235 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15236 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15237 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15238 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15239 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15240 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15241 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15242 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15243 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15244 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15245 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15246 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15247 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15248 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15249 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15250 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15251 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15252 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15254 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15255 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15256 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15257 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15258 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15259 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15260 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15261 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15263 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
15265 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15266 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15267 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15270 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15274 2014-06-30 Joseph Myers <joseph@codesourcery.com>
15276 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15277 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15281 * sysdeps/arm/libm-test-ulps: Regenerated.
15283 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
15284 Roland McGrath <roland@hack.frob.com>
15286 * test-skeleton.c (signal_handler): Kill the whole process group
15287 before killing the child individually.
15288 (main): Report any failure on `setpgid'.
15290 2014-06-30 Roland McGrath <roland@hack.frob.com>
15292 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15293 from _TLS_H to _ARM_NPTL_TLS_H.
15294 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15295 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15297 2014-06-30 Joseph Myers <joseph@codesourcery.com>
15300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15301 (__expm1l): Return argument unchanged when small but not
15304 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15305 include macro name.
15306 (_FP_UNPACK_RAW_1_P): Likewise.
15307 (_FP_PACK_RAW_1): Likewise.
15308 (_FP_PACK_RAW_1_P): Likewise.
15309 (_FP_MUL_MEAT_1_wide): Likewise.
15310 (_FP_MUL_MEAT_DW_1_hard): Likewise.
15311 (_FP_MUL_MEAT_1_hard): Likewise.
15312 (_FP_DIV_MEAT_1_imm): Likewise.
15313 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15314 (_FP_DIV_MEAT_1_udiv): Likewise.
15315 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15316 (_FP_UNPACK_RAW_2): Likewise.
15317 (_FP_UNPACK_RAW_2_P): Likewise.
15318 (_FP_PACK_RAW_2): Likewise.
15319 (_FP_PACK_RAW_2_P): Likewise.
15320 (_FP_MUL_MEAT_DW_2_wide): Likewise.
15321 (_FP_MUL_MEAT_2_wide): Likewise.
15322 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15323 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15324 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15325 (_FP_MUL_MEAT_2_gmp): Likewise.
15326 (_FP_DIV_MEAT_2_udiv): Likewise.
15327 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15328 (_FP_FRAC_SRL_4): Likewise.
15329 (_FP_FRAC_SRST_4): Likewise.
15330 (_FP_FRAC_SRS_4): Likewise.
15331 (_FP_UNPACK_RAW_4): Likewise.
15332 (_FP_UNPACK_RAW_4_P): Likewise.
15333 (_FP_PACK_RAW_4): Likewise.
15334 (_FP_PACK_RAW_4_P): Likewise.
15335 (_FP_MUL_MEAT_DW_4_wide): Likewise.
15336 (_FP_MUL_MEAT_4_wide): Likewise.
15337 (_FP_MUL_MEAT_4_gmp): Likewise.
15338 (umul_ppppmnnn): Likewise.
15339 (_FP_DIV_MEAT_4_udiv): Likewise.
15340 (__FP_FRAC_ADD_4): Likewise.
15341 (__FP_FRAC_SUB_3): Likewise.
15342 (__FP_FRAC_SUB_4): Likewise.
15343 (__FP_FRAC_DEC_3): Likewise.
15344 (__FP_FRAC_DEC_4): Likewise.
15345 (__FP_FRAC_ADDI_4): Likewise.
15346 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15347 (_FP_FRAC_SRL_8): Likewise.
15348 (_FP_FRAC_SRS_8): Likewise.
15350 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15351 include macro name.
15352 (FP_UNPACK_RAW_EP): Likewise.
15353 (FP_PACK_RAW_E): Likewise.
15354 (FP_PACK_RAW_EP): Likewise.
15355 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15356 (_FP_ISSIGNAN): Likewise.
15357 (_FP_ADD_INTERNAL): Likewise.
15358 (_FP_FMA): Likewise.
15359 (_FP_CMP): Likewise.
15360 (_FP_SQRT): Likewise.
15361 (_FP_TO_INT): Likewise.
15362 (_FP_FROM_INT): Likewise.
15363 (FP_EXTEND): Likewise.
15364 (_FP_DIV_MEAT_N_loop): Likewise.
15366 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
15368 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15371 2014-06-29 Joseph Myers <joseph@codesourcery.com>
15374 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15375 result with correct sign in case of exponents that produce
15376 overflow except for X very close to 1.
15378 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
15380 mktime: merge #if/#ifdef usage from glibc
15381 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15382 as that works with both Glibc's and Gnulib's style.
15383 See thread starting at Siddhesh Poyarekar's bug report at:
15384 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15386 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15388 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15389 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15390 * sysdeps/tile/tilegx/memmove.c: Remove file.
15392 2014-06-27 Joseph Myers <joseph@codesourcery.com>
15394 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15395 abi-name definition.
15396 * scripts/soversions.awk: Do not handle or generate ABI lines.
15397 * shlib-versions: Remove ABI entries.
15398 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15399 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15401 2014-06-27 Roland McGrath <roland@hack.frob.com>
15403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15404 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15405 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15408 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15411 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15414 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15416 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15418 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15420 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15424 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15446 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15448 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15451 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15453 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15454 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15456 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15459 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15461 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15464 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15466 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15467 Identical file removed.
15468 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15470 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15472 Identical file removed.
15473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15477 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15479 Identical file removed.
15480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15481 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15482 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15483 Identical file removed.
15484 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15485 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15486 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15487 Identical file removed.
15488 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15489 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15491 Identical file removed.
15492 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15494 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15496 Identical file removed.
15497 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15499 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15501 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15503 Identical file removed.
15504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15506 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15509 Identical file removed.
15510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15512 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15514 Identical file removed.
15515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15517 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15519 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15525 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15526 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15528 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15529 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15530 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15531 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15532 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15534 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
15537 * nscd/nscd.c (monitor_child): Return exit status of child
15538 instead of return value from wait syscall.
15540 2014-06-27 Joseph Myers <joseph@codesourcery.com>
15542 * configure.ac (libc_commonpagesize): Remove variable.
15543 (libc_relro_required): Likewise.
15544 (libc_cv_z_relro): Remove configure test.
15545 * configure: Regenerated.
15546 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15548 (libc_relro_required): Likewise.
15549 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15550 (libc_relro_required): Likewise.
15551 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15552 (libc_relro_required): Likewise.
15553 * sysdeps/arm/preconfigure: Regenerated.
15554 * sysdeps/ia64/preconfigure: Remove file.
15555 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15557 (libc_relro_required): Likewise.
15561 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15562 (__ieee754_yn): Set FE_TONEAREST mode internally and then
15563 recompute overflowing results in original rounding mode.
15564 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15565 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15566 recompute overflowing results in original rounding mode.
15567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15568 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15569 recompute overflowing results in original rounding mode.
15570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15571 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15572 recompute overflowing results in original rounding mode.
15573 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15574 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15575 recompute overflowing results in original rounding mode.
15576 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15577 (libc_feholdsetround_ctx): New macro.
15578 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15579 * sysdeps/i386/fpu/libm-test-ulps: Update.
15580 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15582 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15584 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15585 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15586 corresponding .cpsetup call.
15588 2014-06-26 Roland McGrath <roland@hack.frob.com>
15590 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15591 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15592 * sysdeps/arm/Makefile [$(subdir) = csu]
15593 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15594 (static-only-routines): Add aeabi_read_tp here.
15595 (shared-only-routines): Add libc-aeabi_read_tp here.
15596 (CFLAGS-libc-start.c): Add -fexceptions here.
15597 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15598 (sysdep_routines, static-only-routines, shared-only-routines):
15599 Don't add to these here.
15600 (CFLAGS-libc-start.c): Likewise.
15602 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15603 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15604 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15605 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15606 * sysdeps/arm/Makefile [$(subdir) = rt]
15607 (librt-sysdep_routines, librt-shared-only-routines):
15608 Append rt-aeabi_unwind_cpp_pr1 here.
15609 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15610 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15611 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15612 (libpthread-sysdep_routines, libpthread-shared-only-routines):
15613 Append nptl-aeabi_unwind_cpp_pr1 here.
15614 (tests): Filter out tst-cleanupx4 here.
15615 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15616 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15617 Don't do those here.
15619 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15621 * scripts/list-sources.sh: Do not handle ports specially.
15623 2014-06-26 Roland McGrath <roland@hack.frob.com>
15625 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15626 * sysdeps/arm/feupdateenv.c: Likewise.
15628 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15630 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15632 * manual/texinfo.tex: Update to version 2014-05-05.10 with
15633 trailing whitespace removed.
15634 * scripts/config.guess: Update to version 2014-03-23.
15635 * scripts/config.sub: Update to version 2014-05-01
15636 * scripts/install-sh: Update to version 2013-12-25.23.
15637 * scripts/move-if-change: Update from gnulib.
15639 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15641 * debug/memmove_chk.c: Remove pagecopy.h include.
15643 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
15645 * time/mktime.c (leapyear): Remove inline keyword. The code is now
15646 identical to gnulib mktime.
15648 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15650 * configure.ac: Do not test for machine being rs6000. Do not test
15651 for powerpc*-*soft.
15652 * configure: Regenerated.
15655 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15657 * configure: Regenerated.
15658 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15659 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15660 Remove configure test.
15661 * sysdeps/arm/configure: Regenerated.
15662 * sysdeps/nptl/configure.ac: Do not check
15663 libc_cv_asm_cfi_directives.
15664 * sysdeps/nptl/configure: Regenerated.
15665 * sysdeps/x86_64/nptl/configure.ac: Remove file.
15666 * sysdeps/x86_64/nptl/configure: Remove generated file.
15667 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15669 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15671 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15673 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15674 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15675 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15678 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15679 instead of whether it is defined.
15680 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15681 * sysdeps/hppa/dl-machine.h: Likewise.
15682 * sysdeps/ia64/dl-machine.h: Likewise.
15683 * sysdeps/m68k/dl-machine.h: Likewise.
15684 * sysdeps/microblaze/dl-machine.h: Likewise.
15685 * sysdeps/mips/dl-machine.: Likewise.
15686 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15687 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15688 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15689 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15690 * sysdeps/sh/dl-machine.h: Likewise.
15691 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15692 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15693 * sysdeps/tile/dl-machine.h: Likewise.
15694 * sysdeps/x86_64/dl-machine.h: Likewise.
15696 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15698 (verify_persistent_db): Likewise.
15700 2014-06-26 Roland McGrath <roland@hack.frob.com>
15702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15703 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15705 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15708 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15711 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15713 Identical file removed.
15714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15715 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15717 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15719 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15721 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15723 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15726 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15728 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15730 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15733 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15735 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15737 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15739 Identical file removed.
15740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15741 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15743 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15746 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15749 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15751 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15753 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15755 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15757 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15760 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15763 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15765 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15768 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15770 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15772 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15774 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15775 * sysdeps/unix/sysv/linux/s390/Versions
15776 (libpthread: GLIBC_2.19): New version set.
15777 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15778 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15779 (librt: GLIBC_2.3.3): New version set.
15780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15781 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15782 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15783 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15784 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15785 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15786 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15788 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15790 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15791 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15792 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15793 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15794 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15795 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15796 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15797 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15798 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15799 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15800 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15801 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15802 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15803 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15804 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15805 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15806 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15807 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15808 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15809 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15810 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15811 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15816 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15818 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15820 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15821 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15822 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15824 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15826 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15827 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15828 (__libc_vfork): Define the function under this name.
15829 [!NOT_IN_libc] (__vfork): Make this an alias.
15830 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15832 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15833 (__libc_vfork): Define the function under this name.
15834 [!NOT_IN_libc] (__vfork): Make this an alias.
15835 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15836 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15837 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15839 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15840 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15842 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15843 code that was previously under [RESET_PID].
15844 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15845 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15848 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15849 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15850 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15851 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15852 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15853 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15854 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15855 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15856 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15857 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15858 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15860 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15861 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15862 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15863 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15864 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15865 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15866 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15867 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15868 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15869 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15871 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15872 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15873 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15874 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15875 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15876 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15877 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15878 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15879 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15880 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15881 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15882 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15883 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15884 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15885 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15886 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15887 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15888 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15890 2014-06-25 Roland McGrath <roland@hack.frob.com>
15892 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15893 that was previously under [RESET_PID].
15894 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15896 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15898 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15899 not undefine and redefine.
15900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15901 [O_CLOEXEC]: Make code unconditional.
15902 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15903 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15904 <kernel-features.h>.
15905 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15906 conditional variable definition.
15907 (shm_open) [O_CLOEXEC]: Make code unconditional.
15908 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15911 * configure.ac (USE_REGPARMS): Don't define here.
15912 * configure: Regenerated.
15913 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15914 * sysdeps/i386/configure: Regenerated.
15916 * nptl/createthread.c: Don't include kernel-features.h.
15917 * nptl/pthread_cancel.c: Likewise.
15918 * nptl/pthread_condattr_setclock.c: Likewise.
15919 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15920 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15921 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15922 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15923 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15924 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15925 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15928 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15929 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15930 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15931 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15932 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15933 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15934 * nscd/gai.c: Likewise.
15935 * nss/nss_db/db-open.c: Likewise.
15936 * sysdeps/generic/ldsodefs.h: Likewise.
15937 * sysdeps/sh/nptl/tls.h: Likewise.
15938 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15939 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15940 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15941 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15942 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15943 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15944 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15945 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15947 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15948 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15949 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15950 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15951 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15952 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15953 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15954 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15955 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15956 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15957 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15960 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15961 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15964 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15965 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15966 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15967 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15968 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15969 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15972 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15973 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15974 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15975 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15976 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15977 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15978 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15979 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15980 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15981 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15982 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15983 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15984 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15985 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15986 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15987 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15988 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15989 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15990 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15991 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15992 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15993 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15994 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15995 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16018 * sysdeps/unix/sysv/linux/pread.c: Likewise.
16019 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16020 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16021 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16022 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16024 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16025 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16026 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16027 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16028 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16029 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16030 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16031 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16032 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16033 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16034 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16036 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16037 * sysdeps/unix/sysv/linux/system.c: Likewise.
16038 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16039 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16040 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16041 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16042 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16044 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16046 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16047 * configure: Regenerated.
16048 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16050 * configure.ac (base_machine): Do not set specially for particular
16052 * configure: Regenerated.
16053 * sysdeps/powerpc/preconfigure: Move machine and base_machine
16054 settings from configure.ac.
16055 * sysdeps/i386/preconfigure: New file.
16056 * sysdeps/s390/preconfigure: Likewise.
16057 * sysdeps/sh/preconfigure: Likewise.
16058 * sysdeps/sparc/preconfigure: Likewise.
16060 2014-06-25 Roland McGrath <roland@hack.frob.com>
16062 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16063 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16064 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16065 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16066 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16067 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16068 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16069 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16070 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16071 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16072 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16073 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16074 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16075 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16076 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16077 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16078 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16079 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16080 * sysdeps/sparc/sparc64/Makefile: ... appended here.
16082 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16083 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16084 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16085 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16086 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16087 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16088 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16089 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16090 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16091 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16092 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16093 * sysdeps/sparc/sparc32/sem_post.c: ... here.
16094 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16095 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16096 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16097 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16098 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16099 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16100 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16101 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16102 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16103 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16112 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16113 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16115 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16116 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16117 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16118 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16119 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16122 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16124 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16127 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16130 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16132 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16135 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16137 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16139 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16141 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16147 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16149 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16152 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16156 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16163 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16166 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16171 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16175 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16177 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16180 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16183 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16185 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16188 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16190 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16194 2014-06-25 Joseph Myers <joseph@codesourcery.com>
16196 * timezone/checktab.awk: Update from tzcode 2014e.
16197 * timezone/private.h: Likewise.
16198 * timezone/tzfile.h: Likewise.
16199 * timezone/zdump.c: Likewise.
16200 * timezone/zic.c: Likewise.
16202 * sysdeps/unix/sysv/linux/kernel-features.h
16203 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16205 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16206 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16207 Remove conditional code.
16209 2014-06-25 Will Newton <will.newton@linaro.org>
16211 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16212 (_dl_arm_cap_flags): Add HWCAP2 values.
16213 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16214 (_DL_HWCAP_COUNT): Increase to 37.
16215 (_DL_HWCAP_LAST): New define.
16216 (_DL_HWCAP2_LAST): New define.
16217 (_dl_procinfo): Add support for printing
16219 (_dl_string_hwcap): Use _dl_hwcap_string.
16221 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16225 2014-06-25 Joseph Myers <joseph@codesourcery.com>
16227 * README: Do not mention ports directory.
16229 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16231 * sysdeps/unix/sysv/linux/futimes.c: Do not include
16232 <kernel-features.h>.
16233 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16234 conditional variable definition.
16235 (__futimes): Update comment.
16236 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16237 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16240 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16241 arguments close to 0.
16242 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16244 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16246 * math/auto-libm-test-in: Add more tests of exp10.
16247 * math/auto-libm-test-out: Regenerated.
16248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16250 * sysdeps/unix/sysv/linux/kernel-features.h
16251 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16252 * sysdeps/unix/sysv/linux/readv.c: Do not include
16253 <kernel-features.h>.
16254 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16255 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16256 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16258 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16260 * sysdeps/unix/sysv/linux/writev.c: Do not include
16261 <kernel-features.h>.
16262 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16263 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16264 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16266 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16269 2014-06-25 Will Newton <will.newton@linaro.org>
16271 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16272 comment changes throughout the file. Remove checks
16273 for HAVE_*_H definitions that are not required.
16274 (__gen_tempname): Call abort if an unknown kind value is
16277 2014-06-25 Andreas Schwab <schwab@suse.de>
16280 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16281 scalbln, scalblnf, scalblnl in libc.
16283 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16287 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16288 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16290 2014-06-24 Roland McGrath <roland@hack.frob.com>
16292 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16293 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16294 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16295 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16297 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16298 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16300 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16301 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16302 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16303 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16304 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16305 * sysdeps/x86/bits/pthreadtypes.h: ... here.
16306 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16307 * sysdeps/x86/bits/semaphore.h: ... here.
16308 * sysdeps/x86/nptl/elide.h: Moved ...
16309 * sysdeps/x86/elide.h: ... here.
16310 * sysdeps/x86_64/nptl/Implies: File removed.
16311 * sysdeps/i386/nptl/Implies: File removed.
16313 2014-06-24 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16317 return the argument for normal arguments with exponent below -64.
16318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16320 * math/auto-libm-test-in: Add another test of expm1.
16321 * math/auto-libm-test-out: Regenerated.
16324 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16325 calling __erfcl for arguments at least 16.
16326 * math/auto-libm-test-in: Add more tests of erf.
16327 * math/auto-libm-test-out: Regenerated.
16329 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16330 individual architectures.
16331 * sysdeps/unix/sysv/linux/configure: Regenerated.
16332 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16333 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16334 * sysdeps/unix/sysv/linux/powerpc/configure.ac
16335 (ldd_rewrite_script): Define variable.
16336 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16341 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16342 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16343 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16344 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16345 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16346 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16347 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16348 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16350 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16353 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16354 Rename member __data.d to __data.__elision_data.
16356 2014-06-24 Wilco <wdijkstr@arm.com>
16358 * NEWS: Add 16918 to fixed bug list.
16360 2014-06-24 Wilco <wdijkstr@arm.com>
16362 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16364 2014-06-24 Wilco <wdijkstr@arm.com>
16366 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16367 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16368 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16369 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16370 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16371 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16372 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16375 2014-06-24 Wilco <wdijkstr@arm.com>
16377 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16379 2014-06-24 Wilco <wdijkstr@arm.com>
16381 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16382 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16383 * sysdeps/arm/fesetround.c (fesetround): Remove space.
16384 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16386 2014-06-24 Wilco <wdijkstr@arm.com>
16389 * sysdeps/arm/feupdateenv.c (feupdateenv):
16390 Rewrite to reduce FPSCR accesses and fix return value.
16392 2014-06-24 Wilco <wdijkstr@arm.com>
16394 * sysdeps/arm/fclrexcpt.c (feclearexcept):
16395 Optimize to avoid unnecessary FPSCR writes.
16396 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16397 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16398 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16399 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16401 2014-06-24 Wilco <wdijkstr@arm.com>
16403 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16404 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16405 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16406 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16407 Call libc_fetestexcept_vfp.
16408 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16409 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16410 __SOFTFP__ ifdef so that they can be built for softfp.
16412 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16414 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16415 argument type signed char.
16417 * Makerules (check-abi): Dump diff of symlist if the test
16420 2014-06-23 Roland McGrath <roland@hack.frob.com>
16422 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16425 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16426 Remove unused variable ST.
16428 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16433 small arguments before calling __expm1.
16434 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16435 small arguments before calling __expm1f.
16436 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16437 small arguments before calling __expm1l.
16438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16440 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16441 * math/auto-libm-test-in: Add more cosh tests. Do not allow
16442 spurious underflow for some cosh tests.
16443 * math/auto-libm-test-out: Regenerated.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16447 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16448 (__ieee754_y1): Set errno if return value overflows.
16449 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16450 (__ieee754_y1f): Set errno if return value overflows.
16451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16452 (__ieee754_y1l): Set errno if return value overflows.
16453 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16454 (__ieee754_y1l): Set errno if return value overflows.
16455 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16456 * math/auto-libm-test-out: Regenerated.
16458 * math/gen-auto-libm-tests.c: Document use of
16459 ignore-zero-inf-sign.
16460 (input_flag_type): Add value flag_ignore_zero_inf_sign.
16461 (input_flags): Add ignore-zero-inf-sign.
16462 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16463 * math/gen-libm-test.pl (generate_testfile): Handle
16464 ignore-zero-inf-sign.
16465 * math/auto-libm-test-in: Mark some cpow tests with
16466 ignore-zero-inf-sign and some with xfail-rounding.
16467 * math/auto-libm-test-out: Regenerated.
16468 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16469 * sysdeps/i386/fpu/libm-test-ulps: Update.
16470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16473 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16474 overflowing or underflowing operations take place with sign of
16476 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16477 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16479 (__ieee754_pow): Recompute overflowing and underflowing results in
16480 original rounding mode.
16481 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16482 (__powl_helper): Allow negative argument X and scale negated value
16483 as needed. Avoid passing value outside [-1, 1] to f2xm1.
16484 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16485 overflowing or underflowing operations take place with sign of
16487 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16489 * math/auto-libm-test-in: Add more tests of pow.
16490 * math/auto-libm-test-out: Regenerated.
16491 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16492 (pow_tonearest_test_data): Remove.
16493 (pow_test_tonearest): Likewise.
16494 (pow_towardzero_test_data): Likewise.
16495 (pow_test_towardzero): Likewise.
16496 (pow_downward_test_data): Likewise.
16497 (pow_test_downward): Likewise.
16498 (pow_upward_test_data): Likewise.
16499 (pow_test_upward): Likewise.
16500 (main): Don't call removed functions.
16501 * sysdeps/i386/fpu/libm-test-ulps: Update.
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16504 2014-06-23 Roland McGrath <roland@hack.frob.com>
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16680 2014-06-23 Will Newton <will.newton@linaro.org>
16681 Wilco <wdijkstr@arm.com>
16683 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16684 implementation. Include get-rounding-mode.h.
16685 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16686 [!libc_feholdsetround_noex_ctx]: Define
16687 libc_feholdsetround_noex_ctx.
16688 [!libc_feholdsetround_noexf_ctx]: Define
16689 libc_feholdsetround_noexf_ctx.
16690 [!libc_feholdsetround_noexl_ctx]: Define
16691 libc_feholdsetround_noexl_ctx.
16692 (libc_feholdsetround_ctx): New function.
16693 (libc_feresetround_ctx): New function.
16694 (libc_feholdsetround_noex_ctx): New function.
16695 (libc_feresetround_noex_ctx): New function.
16697 2014-06-23 Roland McGrath <roland@hack.frob.com>
16699 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16700 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16701 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16702 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16703 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16704 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16706 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16707 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16708 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16709 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16710 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16711 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16713 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16715 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16718 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16721 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16723 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16726 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16728 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16730 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16732 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16733 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16735 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16736 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16738 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16739 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16740 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16741 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16743 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16744 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16745 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16746 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16747 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16748 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16749 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16750 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16751 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16752 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16754 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16757 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16759 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16761 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16763 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16765 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16767 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16770 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16772 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16773 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16774 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16775 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16777 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16778 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16779 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16780 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16781 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16783 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16784 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16785 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16786 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16787 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16788 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16789 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16790 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16792 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16793 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16794 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16795 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16796 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16797 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16798 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16799 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16800 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16801 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16802 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16803 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16804 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16805 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16806 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16807 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16808 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16809 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16810 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16812 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16815 (FALLOC_FL_COLLAPSE_RANGE): New macro.
16816 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16817 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16818 (IPV6_PMTUDISC_INTERFACE): Likewise.
16819 (IPV6_PMTUDISC_OMIT): Likewise.
16821 2014-06-23 Andreas Schwab <schwab@suse.de>
16823 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16824 Remove unused errout label.
16826 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16829 macro: hardware supports Vector Crypto instructions.
16831 2014-06-23 Will Newton <will.newton@linaro.org>
16833 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16834 rather than __builtin_expect.
16836 * elf/dl-lookup.c (undefined_msg): Remove variable.
16837 (_dl_lookup_symbol_x): Replace undefined_msg with string
16840 * elf/dl-lookup.c (do_lookup_unique): New function.
16841 (do_lookup_x): Move STB_GNU_UNIQUE handling code
16842 to a separate function.
16844 2014-06-23 Andreas Schwab <schwab@suse.de>
16847 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16848 before reading the next line.
16850 2014-06-23 Will Newton <will.newton@linaro.org>
16852 * test-skeleton.c (signal_handler): Use printf and %m
16853 rather than perror. Use printf rather than fprintf to
16854 stderr. Use puts rather than fputs to stderr.
16857 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16859 * nscd/nscd.c (thread_info_t): Remove typedef.
16860 (thread_info): Remove variable.
16862 2014-06-21 Allan McRae <allan@archlinux.org>
16864 * NEWS: Mention CVE-2014-4043.
16866 2014-06-20 Roland McGrath <roland@hack.frob.com>
16868 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16869 * nptl/smp.h: ... here.
16871 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16873 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16874 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16875 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16876 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16878 * nptl/allocatestack.c: Include <stack-aliasing.h>.
16879 * nptl/stack-aliasing.h: New file.
16880 * sysdeps/i386/i686/stack-aliasing.h: New file.
16881 * sysdeps/i386/i686/nptl/Makefile: File removed.
16882 * sysdeps/x86_64/stack-aliasing.h: New file.
16883 * sysdeps/x86_64/nptl/Makefile
16884 (CFLAGS-pthread_create.c): Variable removed.
16886 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16887 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16889 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16890 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16893 2014-06-21 Joseph Myers <joseph@codesourcery.com>
16895 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16896 (__ASSUME_SIGFRAME_V2): Remove macro.
16897 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16898 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16899 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16900 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16901 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16902 Declare as function. Remove conditional macro definitions.
16903 (__default_rt_sa_restorer): Likewise.
16904 (__default_sa_restorer_v1): Remove declaration.
16905 (__default_sa_restorer_v2): Likewise.
16906 (__default_rt_sa_restorer_v1): Likewise.
16907 (__default_rt_sa_restorer_v2): Likewise.
16908 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16909 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16910 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16912 2014-06-20 Roland McGrath <roland@hack.frob.com>
16914 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16915 (libpthread-routines): Add sysdep.
16916 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16917 * sysdeps/unix/sysv/linux/sparc/Versions
16918 (libpthread: GLIBC_2.3.3): New version set.
16919 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16920 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16921 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16922 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16923 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
16924 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16926 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16927 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16928 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16929 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16930 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16931 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16932 * sysdeps/sparc/nptl/sem_init.c: ... here.
16933 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16934 * sysdeps/sparc/nptl/sem_post.c: ... here.
16935 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16936 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16937 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16938 * sysdeps/sparc/nptl/sem_wait.c: ... here.
16939 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16940 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16941 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16942 (libpthread-routines): Add cpu_relax.
16943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16945 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16946 (librt: GLIBC_2.3.3): New version set.
16947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16948 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16950 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16953 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16956 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16958 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16960 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16962 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16964 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16967 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16971 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16975 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16979 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16983 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16987 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16990 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16998 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17001 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17003 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17005 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17007 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17009 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17010 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17011 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17012 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17013 * nscd/nscd.c: Likewise.
17014 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17015 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17016 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17017 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17019 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17020 <kernel-features.h>.
17021 (init_mq_netlink): Remove conditional have_sock_cloexec
17022 definitions. Remove code conditional on have_sock_cloexec < 0.
17023 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17024 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17025 * sysdeps/unix/sysv/linux/opensock.c: Do not include
17026 <kernel-features.h>.
17027 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17028 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17030 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17033 Add tests for memset_chk and memset.
17035 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17038 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17041 * elf/tst-dl-iter-static.c: New file.
17042 * elf/Makefile (tests-static): Add tst-dl-iter-static.
17044 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17047 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/unix/sysv/linux/kernel-features.h
17050 (__ASSUME_F_GETOWN_EX): Remove macro.
17051 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17052 <kernel-features.h>.
17053 (miss_F_GETOWN_EX): Remove variable or macro.
17054 (do_fcntl): Do not check miss_F_GETOWN_EX.
17055 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17060 [!__ASSUME_AT_RANDOM]: Remove conditional code.
17061 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17063 * sysdeps/unix/sysv/linux/kernel-features.h
17064 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17065 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17066 [ADJ_OFFSET_SS_READ]: Make code unconditional.
17067 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17069 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17072 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17073 Fix calculation of the symbol's value.
17074 * sysdeps/arm/tst-armtlsdescloc.c: New file.
17075 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17076 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17077 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17078 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17079 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17080 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17081 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17082 (modules-names): Add `tst-armtlsdescmod',
17083 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17084 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17085 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17086 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17087 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17088 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17089 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17090 ($(objpfx)tst-armtlsdescloc): New dependency.
17091 ($(objpfx)tst-armtlsdescextnow): Likewise.
17092 ($(objpfx)tst-armtlsdescextlazy): Likewise.
17093 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17094 TLS scheme support.
17095 * sysdeps/arm/configure: Regenerate.
17097 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17099 * include/fcntl.h (__atfct_seterrno): Remove prototype.
17100 (__atfct_seterrno_2): Likewise.
17101 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17102 <kernel-features.h>.
17103 (__ASSUME_ATFCTS): Do not undefine and redefine.
17104 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17105 (__have_atfcts): Remove conditional definition.
17106 (__fxstatat([__NR_fstatat64]: Make code unconditional.
17107 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17108 unreachable if [__ASSUME_ATFCTS].
17109 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17110 not undefine and redefine.
17111 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17112 <kernel-features.h>.
17113 (faccessat) [__NR_faccessat]: Make code unconditional.
17114 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17115 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17116 <kernel-features.h>.
17117 (fchmodat) [__NR_fchmodat]: Make code unconditional.
17118 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17119 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17120 <kernel-features.h>.
17121 (fchownat) [__NR_fchownat]: Make code unconditional.
17122 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17123 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17124 <kernel-features.h>.
17125 (futimesat) [__NR_futimesat]: Make code unconditional.
17126 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17127 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17128 <kernel-features.h>.
17129 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17130 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17131 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17132 <kernel-features.h>.
17133 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17134 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17135 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17136 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17137 <kernel-features.h>.
17138 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17139 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17140 * sysdeps/unix/sysv/linux/linkat.c: Do not include
17141 <kernel-features.h>.
17142 (linkat) [__NR_linkat]: Make code unconditional.
17143 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17144 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17145 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17146 <kernel-features.h>.
17147 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17148 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17149 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17150 <kernel-features.h>.
17151 (mkdirat) [__NR_mkdirat]: Make code unconditional.
17152 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17153 * sysdeps/unix/sysv/linux/openat.c: Do not include
17154 <kernel-features.h>.
17155 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17156 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17157 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17158 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17159 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17160 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17161 <kernel-features.h>.
17162 (readlinkat) [__NR_readlinkat]: Make code unconditional.
17163 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
17164 result of INLINE_SYSCALL directly, not via int variable.
17165 * sysdeps/unix/sysv/linux/renameat.c: Do not include
17166 <kernel-features.h>.
17167 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17168 (renameat) [__NR_renameat]: Make code unconditional.
17169 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17170 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17171 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17172 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17173 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17174 (__ASSUME_ATFCTS): Do not undefine and redefine.
17175 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17176 <kernel-features.h>.
17177 (symlinkat) [__NR_symlinkat]: Make code unconditional.
17178 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17179 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17180 <kernel-features.h>.
17181 (unlinkat) [__NR_unlinkat]: Make code unconditional.
17182 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17183 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17184 (__ASSUME_ATFCTS): Do not undefine and redefine.
17185 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17186 <kernel-features.h>.
17187 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17188 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17189 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17190 <kernel-features.h>.
17191 (__xmknodat) [__NR_mknodat]: Make code unconditional.
17192 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17194 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17196 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17198 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
17201 * posix/regcomp.c (parse_reg_exp): Deallocate partially
17202 constructed tree before returning error.
17203 * posix/bug-regexp36.c: Expand test case.
17205 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17208 * math/libm-test.inc (scalbln_test_date):
17209 Add errno expectations.
17210 * math/w_scalblnf.c: New File.
17211 Add wrapper which checks for setting errno to ERANGE.
17212 Add weak_alias for corresponding scalbln function.
17213 * math/w_scalbln.c: Likewise.
17214 * math/w_scalblnl.c: Likewise.
17215 * math/Makefile (libm-calls): Add w_scalbln.
17216 * sysdeps/ieee754/flt-32/s_scalblnf.c:
17217 Remove weak_alias for corresponding scalbln function.
17218 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17220 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17222 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17223 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17224 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17225 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17226 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17227 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17228 Remove long_double_symbol for scalblnl function in libm, libc.
17229 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17230 Add wrapper which checks for setting errno to ERANGE.
17231 Add long_double_symbol for scalblnl function in libm, libc.
17232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17233 Remove long_double_symbol for scalblnl in libm.
17234 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17235 Add wrapper which checks for setting errno to ERANGE.
17236 Add long_double_symbol for scalblnl function in libm.
17237 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17238 Do not use wrapper because of own implementation.
17240 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
17242 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17243 3 bytes for __pad1 for x32.
17244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17246 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
17247 H.J. Lu <hongjiu.lu@intel.com>
17249 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17250 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17251 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17252 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17253 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17255 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
17258 * posix/regcomp.c (parse_expression): Deallocate partially
17259 constructed tree before returning error.
17260 * posix/Makefile.c (tests): Add bug-regex36.
17261 (generated): Add bug-regex36.mtrace.
17262 (tests-special): Add $(objpfx)bug-regex36-mem.out
17263 (bug-regex36-ENV): New variable.
17264 ($(objpfx)bug-regex36-mem.out): New rule.
17265 * posix/bug-regex36.c: New file.
17267 2014-06-19 Will Newton <will.newton@linaro.org>
17269 * malloc/malloc.c (systrim): If extra is zero then return
17272 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17276 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
17278 * sysdeps/aarch64/strchr.S: New file.
17280 2014-06-18 Joseph Myers <joseph@codesourcery.com>
17283 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17284 from arguments -2 or below.
17285 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17286 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17288 2014-06-18 Andreas Schwab <schwab@suse.de>
17291 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17292 of a bracket expr not to run off the end of the string.
17293 * posix/Makefile (tests): Add tst-fnmatch3.
17294 * posix/tst-fnmatch3.c: New file.
17296 2014-06-18 Joseph Myers <joseph@codesourcery.com>
17298 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17299 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17300 [$(cross-compiling) = no]: Likewise.
17301 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17302 [$(cross-compiling) = no]: Likewise.
17304 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17307 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17308 double, adjusted for any remainder from the high double.
17309 * math/libm-test.inc (nearbyint): Add tests.
17312 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17314 * nptl/sysdeps/powerpc/Makefile: Moved ...
17315 * sysdeps/powerpc/nptl/Makefile: ... here.
17316 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17317 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17318 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17319 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17320 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17321 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17322 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17323 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17324 * nptl/sysdeps/powerpc/tls.h: Moved ...
17325 * sysdeps/powerpc/nptl/tls.h: ... here.
17327 2014-06-16 Joseph Myers <joseph@codesourcery.com>
17330 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17331 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17332 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17333 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17334 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17335 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17336 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17337 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17338 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17340 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
17342 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17344 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
17346 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17349 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17352 2014-06-16 Florian Weimer <fweimer@redhat.com>
17355 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17356 non-executed part of the test.
17358 2014-06-16 Andreas Schwab <schwab@suse.de>
17360 * string/bits/string2.h (strdup, strndup): Update feature guard.
17362 2014-06-14 David S. Miller <davem@davemloft.net>
17364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17366 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
17368 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17369 that was previously under [RESET_PID].
17370 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17372 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17373 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17374 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17375 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17376 (__libc_vfork): New strong alias.
17377 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17379 2014-06-14 Andi Kleen <ak@linux.intel.com>
17381 * sysdeps/generic/elide.h: New file.
17383 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
17385 * Makefile (installed-headers): Adjust path of pthread.h header.
17387 2014-06-13 Roland McGrath <roland@hack.frob.com>
17389 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17390 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17391 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17392 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17394 * nptl/sysdeps/s390/Makefile: Moved ...
17395 * sysdeps/s390/nptl/Makefile: ... here.
17396 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17397 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17398 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17399 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17400 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17401 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17402 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17403 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17404 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17405 * sysdeps/s390/nptl/pthreaddef.h: ... here.
17406 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17407 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17408 * nptl/sysdeps/s390/tls.h: Moved ...
17409 * sysdeps/s390/nptl/tls.h: ... here.
17411 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17412 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17414 2014-06-13 David S. Miller <davem@davemloft.net>
17416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17419 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17423 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17424 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17425 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17426 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17427 Remove RESET_PID cpp guards.
17428 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17429 Remove RESET_PID cpp guards.
17430 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17432 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
17434 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17437 2014-06-13 Andi Kleen <ak@linux.intel.com>
17439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17440 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17443 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17446 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17447 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17448 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17456 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17457 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17458 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17460 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17461 (pthread_rwlock_rdlock): Add elision.
17462 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17463 (pthread_rwlock_wrlock): Add elision.
17464 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17465 (pthread_rwlock_trywrlock): Add elision.
17466 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17467 (pthread_rwlock_tryrdlock): Add elision.
17468 * nptl/pthread_rwlock_unlock.c: Include elide.h.
17469 (pthread_rwlock_tryrdlock): Add elision unlock.
17470 * nptl/sysdeps/pthread/pthread.h:
17471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17472 (PTHREAD_RWLOCK_INITIALIZER,
17473 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17474 Handle new elision field.
17475 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17476 * sysdeps/arm/nptl/bits/pthreadtypes.h
17477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17478 * sysdeps/sh/nptl/bits/pthreadtypes.h
17479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17480 * sysdeps/tile/nptl/bits/pthreadtypes.h
17481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17482 * sysdeps/a/nptl/bits/pthreadtypes.h
17483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17486 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17488 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17490 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17492 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17494 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17495 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17496 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17498 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17500 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17501 (elision_init): Set try_xbegin to zero when no RTM.
17502 * sysdeps/x86/nptl/bits/pthreadtypes.h
17503 (pthread_rwlock_t): Change __pad1 to __rwelision.
17504 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17506 2014-06-13 Andi Kleen <ak@linux.intel.com>
17508 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17509 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17510 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17511 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17513 2014-06-13 Meador Inge <meadori@codesourcery.com>
17516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17517 that the cached result has been set before returning it.
17519 2014-06-12 Roland McGrath <roland@hack.frob.com>
17521 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17522 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17524 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17525 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17526 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17528 * nptl/sysdeps/sparc/Makefile: Moved ...
17529 * sysdeps/sparc/nptl/Makefile: ... here.
17530 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17531 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17532 * nptl/sysdeps/sparc/tls.h: Moved ...
17533 * sysdeps/sparc/nptl/tls.h: ... here.
17534 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17535 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17536 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17537 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17538 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17539 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17540 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17541 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17542 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17543 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17544 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17545 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17546 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17547 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17548 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17549 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17550 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17553 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17554 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17556 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17559 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17560 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17563 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17565 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17566 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17568 * sysdeps/pthread/posix-timer.h: Include <list.h>.
17569 (struct list_links): Type removed.
17570 (struct thread_node, struct timer_node): Replace struct list_links
17571 with struct list_head.
17572 (list_unlink_ip): Likewise.
17573 * sysdeps/pthread/timer_routines.c
17574 (timer_free_list, thread_free_list, thread_active_list): Likewise.
17575 (list_append, list_insbefore): Likewise.
17576 (list_init): Function removed.
17577 (thread_init, init_module): Use INIT_LIST_HEAD instead.
17578 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17579 * sysdeps/pthread/Makefile: ... here, new file.
17581 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17582 * sysdeps/nptl/Implies: ... here.
17583 * sysdeps/unix/sysv/linux/Implies: Add nptl.
17584 * nptl/sysdeps/pthread/list.h: Moved ...
17585 * include/list.h: ... here.
17586 * nptl/sysdeps/pthread/createthread.c: Moved ...
17587 * nptl/createthread.c: ... here.
17588 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17589 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17590 * nptl/pt-longjmp.c: ... here.
17591 * nptl/sysdeps/pthread/Makefile: Moved ...
17592 * sysdeps/nptl/Makefile: ... here.
17593 * nptl/sysdeps/pthread/Subdirs: Moved ...
17594 * sysdeps/nptl/Subdirs: ... here.
17595 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17596 * sysdeps/nptl/aio_misc.h: ... here.
17597 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17598 * sysdeps/nptl/bits/libc-lock.h: ... here.
17599 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17600 * sysdeps/nptl/bits/libc-lockP.h: ... here.
17601 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17602 * sysdeps/nptl/bits/stdio-lock.h: ... here.
17603 * nptl/sysdeps/pthread/configure: Moved ...
17604 * sysdeps/nptl/configure: ... here.
17605 * nptl/sysdeps/pthread/configure.ac: Moved ...
17606 * sysdeps/nptl/configure.ac: ... here.
17607 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17608 * sysdeps/nptl/gai_misc.h: ... here.
17609 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17610 * sysdeps/nptl/librt-cancellation.c: ... here.
17611 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17612 * sysdeps/nptl/malloc-machine.h: ... here.
17613 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17614 * sysdeps/nptl/pthread-functions.h: ... here.
17615 * nptl/sysdeps/pthread/pthread.h: Moved ...
17616 * sysdeps/nptl/pthread.h: ... here.
17617 * nptl/sysdeps/pthread/setxid.h: Moved ...
17618 * sysdeps/nptl/setxid.h: ... here.
17619 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17620 * sysdeps/nptl/sigfillset.c: ... here.
17621 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17622 * sysdeps/nptl/tcb-offsets.h: ... here.
17623 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17624 * sysdeps/nptl/tst-mqueue8x.c: ... here.
17625 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17626 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17627 * nptl/sysdeps/pthread/allocalim.h: Moved ...
17628 * sysdeps/pthread/allocalim.h: ... here.
17629 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17630 * sysdeps/pthread/bits/sigthread.h: ... here.
17631 * nptl/sysdeps/pthread/flockfile.c: Moved ...
17632 * sysdeps/pthread/flockfile.c: ... here.
17633 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17634 * sysdeps/pthread/ftrylockfile.c: ... here.
17635 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17636 * sysdeps/pthread/funlockfile.c: ... here.
17637 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17638 * sysdeps/pthread/posix-timer.h: ... here.
17639 * nptl/sysdeps/pthread/timer_create.c: Moved ...
17640 * sysdeps/pthread/timer_create.c: ... here.
17641 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17642 * sysdeps/pthread/timer_delete.c: ... here.
17643 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17644 * sysdeps/pthread/timer_getoverr.c: ... here.
17645 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17646 * sysdeps/pthread/timer_gettime.c: ... here.
17647 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17648 * sysdeps/pthread/timer_routines.c: ... here.
17649 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17650 * sysdeps/pthread/timer_settime.c: ... here.
17651 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17652 * sysdeps/pthread/tst-timer.c: ... here.
17653 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17654 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17656 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17657 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17659 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17660 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17661 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17662 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17663 Update #include target.
17664 * nptl/sysdeps/i386/i686/Makefile: Moved ...
17665 * sysdeps/i386/i686/nptl/Makefile: ... here.
17666 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17667 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17668 Update #include target.
17669 * nptl/sysdeps/i386/i686/tls.h: Moved ...
17670 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
17671 * nptl/sysdeps/i386/Makefile: Moved ...
17672 * sysdeps/i386/nptl/Makefile: ... here.
17673 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17674 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17675 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17676 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17677 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17678 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17679 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17680 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17681 * sysdeps/i386/nptl/pthreaddef.h: ... here.
17682 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17683 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17684 * nptl/sysdeps/i386/tls.h: Moved ...
17685 * sysdeps/i386/nptl/tls.h: ... here.
17687 * sysdeps/sh/Makefile [$(subdir) = csu]
17688 (gen-as-const-headers): Add tcb-offsets.sym.
17689 * nptl/sysdeps/sh/Makefile: File removed.
17690 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17691 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17692 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17693 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17694 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17695 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17696 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17697 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17698 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17699 * sysdeps/sh/nptl/pthreaddef.h: ... here.
17700 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17701 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17702 * nptl/sysdeps/sh/tls.h: Moved ...
17703 * sysdeps/sh/nptl/tls.h: ... here.
17704 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17705 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17707 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17709 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17710 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17711 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17712 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17713 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17715 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17717 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17719 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17721 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17723 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17724 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17725 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17727 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17728 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17731 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17733 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17734 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17735 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17736 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17737 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17738 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17739 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17740 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17741 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17742 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17743 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17744 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17745 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17746 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17747 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17749 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17751 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17753 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17755 * posix/spawn_faction_addopen.c: Include string.h.
17757 2014-06-11 Roland McGrath <roland@hack.frob.com>
17759 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17760 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17761 * nptl/sysdeps/x86_64/Makefile: Moved ...
17762 * sysdeps/x86_64/nptl/Makefile: ... here.
17763 * nptl/sysdeps/x86_64/configure: Moved ...
17764 * sysdeps/x86_64/nptl/configure: ... here.
17765 * nptl/sysdeps/x86_64/configure.ac: Moved ...
17766 * sysdeps/x86_64/nptl/configure.ac: ... here.
17767 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17768 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17769 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17770 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17771 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17772 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17773 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17774 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17775 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17776 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17777 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17778 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17779 * nptl/sysdeps/x86_64/tls.h: Moved ...
17780 * sysdeps/x86_64/nptl/tls.h: ... here.
17781 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17782 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17783 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17784 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17786 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17788 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17792 2014-06-11 Joseph Myers <joseph@codesourcery.com>
17794 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17796 [POSIX] (off_t): Likewise.
17797 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17798 [POSIX] (S_ISBLK): Require macro.
17799 [POSIX] (S_ISCHR): Likewise.
17800 [POSIX] (S_ISDIR): Likewise.
17801 [POSIX] (S_ISFIFO): Likewise.
17802 [POSIX] (S_ISREG): Likewise.
17803 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17805 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17807 [POSIX] (time_t): Likewise.
17808 [POSIX] (timer_t): Likewise.
17810 2014-06-11 Florian Weimer <fweimer@redhat.com>
17813 * posix/spawn_int.h (struct __spawn_action): Make the path string
17814 non-const to support deallocation.
17815 * posix/spawn_faction_addopen.c
17816 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17817 * posix/spawn_faction_destroy.c
17818 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
17819 path in all spawn_do_open actions.
17820 * posix/tst-spawn.c (do_test): Exercise the copy operation in
17821 posix_spawn_file_actions_addopen.
17823 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
17825 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17826 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17827 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17828 conditional code always true.
17829 (__libc_vfork): New alias.
17831 2014-06-11 Roland McGrath <roland@hack.frob.com>
17833 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17834 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17836 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17838 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17839 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17841 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17842 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17844 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17845 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17847 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17849 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17850 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17851 multiarch strcmp for PPC64.
17852 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17853 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17855 multiarch optimizations.
17856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17857 (__libc_ifunc_impl_list): Likewise.
17859 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17861 * benchtests/scripts/validate_benchout.py: New script.
17862 * benchtests/Makefile (bench-func): Call it.
17863 * benchtests/scripts/benchout.schema.json: New file.
17865 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
17867 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17868 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17869 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17870 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17871 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17872 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17873 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17874 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17875 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17876 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17877 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17878 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17879 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17880 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17881 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17882 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17986 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17987 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17989 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17992 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17995 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17996 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17997 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17999 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18001 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18003 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18005 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18008 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18009 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18011 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18012 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18013 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18014 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18016 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18017 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18018 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18019 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18020 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18021 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18022 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18024 2014-06-10 Wilco <wdijkstr@arm.com>
18026 * math/test-fenv-return.c: New file.
18027 * math/Makefile: Add new test test-fenv-return.
18029 2014-06-10 Joseph Myers <joseph@codesourcery.com>
18032 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18033 when x - 1 is zero.
18034 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18035 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18036 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18037 0.0L for an argument of 1.0L.
18038 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18040 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18041 value when x - 1 is zero.
18042 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18043 * sysdeps/i386/fpu/libm-test-ulps: Update.
18044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18046 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
18049 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18051 2014-06-09 Roland McGrath <roland@hack.frob.com>
18053 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18054 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18056 2014-06-09 Roland McGrath <roland@hack.frob.com>
18058 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18059 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18061 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18062 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18064 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18065 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18067 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18068 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18070 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18071 if not already defined.
18072 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18073 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18074 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18075 (TLS_INIT_TP): Use it.
18076 (TLS_DEFINE_INIT_TP): New macro.
18077 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18079 2014-06-09 Joseph Myers <joseph@codesourcery.com>
18081 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18083 [POSIX] (IXANY): Likewise.
18084 [POSIX] (OLCUC): Likewise.
18085 [POSIX || POSIX2008] (CBAUD): Do not allow.
18086 [POSIX || POSIX2008] (DEFECHO): Likewise.
18087 [POSIX || POSIX2008] (ECHOCTL): Likewise.
18088 [POSIX || POSIX2008] (ECHOKE): Likewise.
18089 [POSIX || POSIX2008] (ECHOPRT): Likewise.
18090 [POSIX || POSIX2008] (EXTA): Likewise.
18091 [POSIX || POSIX2008] (EXTB): Likewise.
18092 [POSIX || POSIX2008] (FLUSHO): Likewise.
18093 [POSIX || POSIX2008] (LOBLK): Likewise.
18094 [POSIX || POSIX2008] (PENDIN): Likewise.
18095 [POSIX || POSIX2008] (SWTCH): Likewise.
18096 [POSIX || POSIX2008] (VDISCARD): Likewise.
18097 [POSIX || POSIX2008] (VDSUSP): Likewise.
18098 [POSIX || POSIX2008] (VLNEXT): Likewise.
18099 [POSIX || POSIX2008] (VREPRINT): Likewise.
18100 [POSIX || POSIX2008] (VSTATUS): Likewise.
18101 [POSIX || POSIX2008] (VWERASE): Likewise.
18102 (B*): Change to B[0123456789]*.
18103 * conform/data/time.h-data [POSIX || UNIX98]
18104 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18105 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18106 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18107 [POSIX] (tm_*): Do not allow.
18109 2014-06-07 Joseph Myers <joseph@codesourcery.com>
18111 * Makefile (install): Don't set LANGUAGE.
18112 * Makefile.in (install): Likewise.
18113 * assert/Makefile (test-assert-ENV): Remove variable.
18114 (test-assert-perr-ENV): Likewise.
18115 * elf/Makefile (neededtest4-ENV): Likewise.
18116 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18117 [$(cross-compiling) = no]: Don't set LANGUAGE.
18118 * io/ftwtest-sh (LANG): Remove variable.
18119 * libio/Makefile (tst-widetext-ENV): Likewise.
18120 * manual/install.texi (Running make install): Don't refer to
18121 environment settings for make install.
18122 * INSTALL: Regenerated.
18123 * nptl/tst-tls6.sh: Don't set LANG.
18124 * posix/globtest.sh (LANG): Remove variable.
18125 * string/Makefile (tester-ENV): Likewise.
18126 (inl-tester-ENV): Likewise.
18127 (noinl-tester-ENV): Likewise.
18128 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18129 [$(cross-compiling) = no]: Don't set LANGUAGE.
18130 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18131 without explicit environment settings.
18133 2014-06-06 Roland McGrath <roland@hack.frob.com>
18135 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18136 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18137 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18138 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18140 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
18142 * crypt/crypt-private.h [DOS]: Add some includes taken from the
18143 other files in the crypt directory.
18144 * crypt/crypt.c: Remove duplicate includes.
18145 * crypt/crypt-entry.c: Likewise.
18146 * crypt/crypt_util.c: Likewise.
18148 2014-06-06 Joseph Myers <joseph@codesourcery.com>
18150 * Makeconfig (run-program-env): New variable.
18151 (run-program-prefix-before-env): Likewise.
18152 (run-program-prefix-after-env): Likewise.
18153 (run-program-prefix): Define in terms of new variables.
18154 (built-program-cmd-before-env): New variable.
18155 (built-program-cmd-after-env): Likewise.
18156 (built-program-cmd): Define in terms of new variables.
18157 (test-program-prefix-before-env): New variable.
18158 (test-program-prefix-after-env): Likewise.
18159 (test-program-prefix): Define in terms of new variables.
18160 (test-program-cmd-before-env): New variable.
18161 (test-program-cmd-after-env): Likewise.
18162 (test-program-cmd): Define in terms of new variables.
18163 * Rules (make-test-out): Use $(run-program-env).
18164 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18165 (help): Do not mention environment variables. Mention
18166 --timeoutfactor option.
18167 (timeoutfactor): New variable.
18168 (blacklist_exports): Remove function.
18169 (exports): Remove variable.
18170 (command): Do not include ${exports}.
18171 * manual/install.texi (Configuring and compiling): Do not mention
18172 test wrappers preserving environment variables. Mention that last
18173 assignment to a variable must take precedence.
18174 * INSTALL: Regenerated.
18175 * benchtests/Makefile (run-bench): Use $(run-program-env).
18176 * catgets/Makefile ($(objpfx)test1.cat): Use
18177 $(built-program-cmd-before-env), $(run-program-env) and
18178 $(built-program-cmd-after-env).
18179 ($(objpfx)test2.cat): Do not specify environment variables
18181 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18182 $(run-program-env) and $(built-program-cmd-after-env).
18183 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18184 $(run-program-env) and $(test-program-cmd-after-env).
18185 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18187 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18188 run_program_env and test_program_cmd_after_env arguments.
18189 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18190 * elf/tst-pathopt.sh: Use run_program_env argument.
18191 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18192 $(test-wrapper-env) and $(run-program-env).
18193 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18194 run_program_env arguments.
18195 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18196 * intl/Makefile ($(objpfx)tst-gettext.out): Use
18197 $(test-program-prefix-before-env), $(run-program-env) and
18198 $(test-program-prefix-after-env).
18199 ($(objpfx)tst-gettext2.out): Likewise.
18200 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18201 run_program_env and test_program_prefix_after_env arguments.
18202 * intl/tst-gettext2.sh: Likewise.
18203 * intl/tst-gettext4.sh: Do not set environment variables
18205 * intl/tst-gettext6.sh: Likewise.
18206 * intl/tst-translit.sh: Likewise.
18207 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18208 $(test-program-prefix-before-env), $(run-program-env) and
18209 $(test-program-prefix-after-env).
18210 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18211 run_program_env and test_program_prefix_after_env arguments.
18212 * math/Makefile (run-regen-ulps): Use $(run-program-env).
18213 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18214 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
18215 explicitly with each use of ${test_wrapper_env}.
18216 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18217 $(test-program-prefix-before-env), $(run-program-env) and
18218 $(test-program-prefix-after-env).
18219 * posix/tst-getconf.sh: Do not set environment variables
18221 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18222 run_program_env and test_program_prefix_after_env arguments.
18223 * stdio-common/tst-printf.sh: Do not set environment variables
18225 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18226 $(test-program-prefix-before-env), $(run-program-env) and
18227 $(test-program-prefix-after-env).
18228 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18229 run_program_env and test_program_prefix_after_env arguments.
18230 Split $test calls into $test_pre and $test.
18231 * timezone/Makefile (build-testdata): Use
18232 $(built-program-cmd-before-env), $(run-program-env) and
18233 $(built-program-cmd-after-env).
18235 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18237 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18238 strlen for non SHARED builds.
18240 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18242 * nptl/allocatestack.c (check_list): Inlined function...
18243 (__reclaim_stacks): ... here.
18245 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
18248 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18251 2014-06-05 Joseph Myers <joseph@codesourcery.com>
18253 * Rules (make-test-out): Include
18254 LOCPATH=$(common-objpfx)localedata in default environment.
18255 * debug/Makefile (tst-chk1-ENV): Remove variable.
18256 (tst-chk2-ENV): Likewise.
18257 (tst-chk3-ENV): Likewise.
18258 (tst-chk4-ENV): Likewise.
18259 (tst-chk5-ENV): Likewise.
18260 (tst-chk6-ENV): Likewise.
18261 (tst-lfschk1-ENV): Likewise.
18262 (tst-lfschk2-ENV): Likewise.
18263 (tst-lfschk3-ENV): Likewise.
18264 (tst-lfschk4-ENV): Likewise.
18265 (tst-lfschk5-ENV): Likewise.
18266 (tst-lfschk6-ENV): Likewise.
18267 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18268 (tst-iconv7-ENV): Likewise.
18269 * intl/Makefile (LOCPATH-ENV): Likewise.
18270 (tst-codeset-ENV): Likewise.
18271 (tst-gettext3-ENV): Likewise.
18272 (tst-gettext5-ENV): Likewise.
18273 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18274 (tst-fopenloc-ENV): Likewise.
18275 (tst-fgetws-ENV): Remove variable.
18276 (tst-ungetwc1-ENV): Likewise.
18277 (tst-ungetwc2-ENV): Likewise.
18278 (bug-ungetwc2-ENV): Likewise.
18279 (tst-swscanf-ENV): Likewise.
18280 (bug-ftell-ENV): Likewise.
18281 (tst-fgetwc-ENV): Likewise.
18282 (tst-fseek-ENV): Likewise.
18283 (tst-ftell-partial-wide-ENV): Likewise.
18284 (tst-ftell-active-handler-ENV): Likewise.
18285 (tst-ftell-append-ENV): Likewise.
18286 * posix/Makefile (tst-fnmatch-ENV): Likewise.
18287 (tst-regexloc-ENV): Likewise.
18288 (bug-regex1-ENV): Likewise.
18289 (tst-regex-ENV): Likewise.
18290 (tst-regex2-ENV): Likewise.
18291 (bug-regex5-ENV): Likewise.
18292 (bug-regex6-ENV): Likewise.
18293 (bug-regex17-ENV): Likewise.
18294 (bug-regex18-ENV): Likewise.
18295 (bug-regex19-ENV): Likewise.
18296 (bug-regex20-ENV): Likewise.
18297 (bug-regex22-ENV): Likewise.
18298 (bug-regex23-ENV): Likewise.
18299 (bug-regex25-ENV): Likewise.
18300 (bug-regex26-ENV): Likewise.
18301 (bug-regex30-ENV): Likewise.
18302 (bug-regex32-ENV): Likewise.
18303 (bug-regex33-ENV): Likewise.
18304 (bug-regex34-ENV): Likewise.
18305 (bug-regex35-ENV): Likewise.
18306 (tst-rxspencer-ENV): Likewise.
18307 (tst-rxspencer-no-utf8-ENV): Likewise.
18308 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18309 (tst-sscanf-ENV): Likewise.
18310 (tst-swprintf-ENV): Likewise.
18311 (tst-swscanf-ENV): Likewise.
18312 (test-vfprintf-ENV): Likewise.
18313 (scanf13-ENV): Likewise.
18314 (bug14-ENV): Likewise.
18315 (tst-grouping-ENV): Likewise.
18316 * stdlib/Makefile (tst-strtod-ENV): Likewise.
18317 (tst-strtod3-ENV): Likewise.
18318 (tst-strtod4-ENV): Likewise.
18319 (tst-strtod5-ENV): Likewise.
18320 (testmb2-ENV): Likewise./
18321 * string/Makefile (tst-strxfrm-ENV): Likewise.
18322 (tst-strxfrm2-ENV): Likewise.
18323 (bug-strcoll1-ENV): Likewise.
18324 (test-strcasecmp-ENV): Likewise.
18325 (test-strncasecmp-ENV): Likewise.
18326 * time/Makefile (tst-strptime-ENV): Likewise.
18327 (tst-ftime_l-ENV): Likewise.
18328 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18329 (tst-mbrtowc-ENV): Likewise.
18330 (tst-wcrtomb-ENV): Likewise.
18331 (tst-mbrtowc2-ENV): Likewise.
18332 (tst-c16c32-1-ENV): Likewise.
18333 (tst-mbsnrtowcs-ENV): Likewise.
18335 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
18337 * manual/resource.texi (How to get information about the memory
18338 subsystem?): Fix typo.
18339 Reported by Peon de la Parra Ivan <peon@keba.com>
18341 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
18344 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18345 (pthread_spin_lock): Branch out of spin loop to proper location.
18346 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18347 (pthread_spin_lock): Likewise.
18349 * nptl/tst-spin4.c: New test.
18350 * nptl/Makefile (tests): Add tst-spin4.
18352 2014-06-03 Andreas Schwab <schwab@suse.de>
18355 * resolv/res_send.c (send_dg): Reload file descriptor after
18358 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
18360 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18362 2014-06-03 Richard Henderson <rth@redhat.com>
18364 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18365 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18366 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18367 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
18368 in the SAVE_PID block.
18369 (__libc_vfork): New alias.
18370 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18372 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18373 child in registers, not on the stack. Remove RESET_PID conditionals.
18374 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18376 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
18378 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18380 2014-06-03 Wilco <wdijkstr@arm.com>
18382 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18383 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18384 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18385 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18386 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18389 2014-06-03 Wilco <wdijkstr@arm.com>
18391 * sysdeps/aarch64/fpu/math_private.h
18392 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18393 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18394 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18395 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18398 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18400 * crypt/crypt-private.h: Include ufc-crypt.h.
18401 (__b64_from_24bit): Declare extern.
18402 * crypt/crypt_util.c(__b64_from_24bit): New function.
18403 (b64t): New static const variable.
18404 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18405 (b64t): Remove variable.
18406 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18407 * crypt/sha256-crypt.c: Include crypt-private.h.
18408 (b64t): Remove variable.
18409 (__sha256_crypt_r): Remove b64_from_24bit and replace
18410 with __b64_from_24bit.
18411 * crypt/sha512-crypt.c: Likewise.
18413 2014-06-02 Roland McGrath <roland@hack.frob.com>
18415 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18416 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18417 Label the code __libc_vfork rather than __vfork.
18418 [!NOT_IN_libc] (vfork): Define as weak alias.
18419 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18420 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18421 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18423 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18425 * malloc/malloc.c (malloc_info): Fix format specifier for
18428 2014-06-02 Wilco <wdijkstr@arm.com>
18430 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18433 2014-06-02 Wilco <wdijkstr@arm.com>
18436 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18437 Rewrite to reduce FPCR/FPSR accesses.
18439 2014-06-01 David S. Miller <davem@davemloft.net>
18441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18443 2014-05-31 David S. Miller <davem@davemloft.net>
18445 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18446 to occur in round to nearest mode when |x| >= 2.0
18448 2014-05-30 Richard Henderson <rth@twiddle.net>
18450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18451 (PSEUDO_RET_NOERRNO): Remove.
18452 (ret): Don't redefine.
18453 (ret_NOERRNO): Define in terms of ret.
18454 (ret_ERRVAL): Likewise.
18456 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18457 use of PSEUDO_RET; perform the error check directly.
18459 2014-05-30 Marko Myllynen <myllynen@redhat.com>
18461 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18464 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18466 * malloc/malloc (malloc_info): Fix formatting.
18468 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18469 Roland McGrath <roland@hack.frob.com>
18471 * malloc/malloc (malloc_info): Also print mmapped statistics.
18473 2014-05-30 Roland McGrath <roland@hack.frob.com>
18475 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18476 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18478 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
18480 * malloc/malloc.c (malloc_info): Inline mi_arena.
18482 2014-05-29 Richard Henderson <rth@twiddle.net>
18484 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18485 Remove comma before expanding ASM_ARGS_##nr.
18486 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18487 Make _x0 a strict output; make _x8 a strict input; adjust expansion
18489 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18490 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18491 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18492 (ASM_ARGS_1): Add leading comma.
18494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18495 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18496 to __errno_location.
18497 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18498 Remove the expected plt for __errno_location.
18500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18501 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18505 Always allocate 64 bytes of stack frame. Use ldp/stp to create
18506 it and break it down.
18507 (DOCARGS_0, DOCARGS_1): Do nothing.
18508 (DOCARGS_2): Update to store into the new stack frame.
18509 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18510 (UNDOCARGS_1): Update to restore from the new stack frame.
18511 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18512 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18515 (SINGLE_THREAD_P): New parameter for result regno.
18516 (PSEUDO): Update to match; use cbz instead of beq.
18518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18519 Use ENTRY to define the _nocancel entry point. Share the syscall
18520 and syscall error check paths with the cancel path.
18523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18524 whitespace; tabs before and after asm mnemonics.
18526 2014-05-29 Eric Wong <normalperson@yhbt.net>
18529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18530 Call fstat64 or stat64 internally, depending on arguments passed.
18531 Replace stat buffer argument with file descriptor argument.
18532 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18533 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18534 Pass fd to __internal_statvfs instead of calling fstat64.
18535 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18536 Pass fd to __internal_statvfs64 instead of calling fstat64.
18537 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18538 Pass -1 to __internal_statvfs instead of calling stat64.
18539 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18540 Pass -1 to __internal_statvfs64 instead of calling stat64.
18542 2014-05-28 Roland McGrath <roland@hack.frob.com>
18544 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18545 that was previously under [RESET_PID].
18546 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18548 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18549 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18551 2014-05-27 Roland McGrath <roland@hack.frob.com>
18553 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18555 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18556 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18558 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
18560 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18562 2014-05-27 Andreas Schwab <schwab@suse.de>
18564 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18566 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18567 * elf/rtld.c (init_tls, dl_main): Likewise.
18568 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18569 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18570 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18571 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18572 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18573 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18574 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18575 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18576 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18577 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18578 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18579 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18580 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18581 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18582 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18583 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18584 * sysdeps/generic/tls.h: Update description.
18586 2014-05-27 Will Newton <will.newton@linaro.org>
18589 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18590 and restore r2 rather than just restoring.
18592 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18595 * libio/tst-ftell-append.c: New test case.
18596 * libio/Makefile (tests): Add test case.
18597 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18599 * libio/wfileops.c (do_ftell_wide): Likewise.
18601 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18605 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18609 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18610 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18611 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18612 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18613 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18614 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18621 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18622 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18623 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18624 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18625 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18627 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18628 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18630 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18632 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18634 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18635 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18636 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18638 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18639 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18640 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18641 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18656 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18659 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18664 conditional [RESET_PID].
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18673 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18674 (__libc_vfork): New strong alias.
18675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18682 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18683 (__libc_vfork): New strong alias.
18684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18689 2014-05-26 Carlos O'Donell <carlos@redhat.com>
18691 * malloc/malloc.c (mi_arena): New function.
18692 (malloc_info): Remove nested function mi_arena. Call non-nosted
18695 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18697 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18699 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18700 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18701 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18702 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18703 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18704 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18705 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18707 2014-05-26 Andreas Schwab <schwab@suse.de>
18710 * locale/programs/repertoire.c (repertoire_read): Add slash
18711 between I18NPATH element and file name.
18712 * locale/programs/locfile.c (locfile_read): Likewise.
18714 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18716 * nptl/pthread_mutexattr_settype.c
18717 (__pthread_mutexattr_settype):
18718 Disable lock elision for PTHREAD_MUTEX_NORMAL.
18720 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18722 * nptl/tst-mutex5 (do_test):
18723 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18725 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18727 * benchtests/README: Document 'init' directive.
18728 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18730 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18731 (parse_file): Recognize 'init' directive.
18733 2014-05-26 Kyle McMartin <kyle@redhat.com>
18736 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18737 alignment of struct pthread.
18739 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18742 * nscd/netgroupcache.c (addgetnetgrentX): Look for
18743 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18744 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18745 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18747 2014-05-25 Richard Henderson <rth@twiddle.net>
18749 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18750 (SINGLE_THREAD_P_PIC): Remove.
18751 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18752 (SINGLE_THREAD_P_PIC): Remove.
18754 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18755 branch to syscall error ...
18756 (PSEUDO): ... here.
18757 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18758 from __local_syscall_error to .Lsyscall_error.
18759 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18760 (SYSCALL_ERROR): Update label name.
18762 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18763 Do not use DOARGS/UNDOARGS.
18764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18765 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18766 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18767 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18768 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18770 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18773 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18774 define if !NOT_IN_libc.
18775 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18776 define with non-default symbol versions.
18778 2014-05-23 Richard Henderson <rth@twiddle.net>
18780 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18781 (vfork, __vfork): Define via compat_symbol.
18783 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18784 [!HAVE_IFUNC] (vfork_compat): Remove.
18785 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18787 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18790 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18791 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18794 2014-05-23 Richard Henderson <rth@twiddle.net>
18796 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18797 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18798 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18799 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18801 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18802 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18803 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18804 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18805 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18806 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18807 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18808 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18809 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18810 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18811 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18812 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18813 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18814 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18815 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18816 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18817 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18818 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18819 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18820 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18821 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18822 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18823 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18824 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18825 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18827 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18828 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18829 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18830 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18831 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18832 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18833 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18834 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18835 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18836 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18837 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18838 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18839 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18840 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18841 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18842 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18843 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18844 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18845 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18846 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18848 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18850 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18852 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18854 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18855 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18856 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18858 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18859 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18860 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
18861 before exiting on error.
18862 (__libc_vfork): New strong alias.
18863 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18864 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18866 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18867 that was previously under [RESET_PID].
18868 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18870 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18872 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18875 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18876 value when x - 1 is zero.
18877 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18878 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18879 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18880 0.0L for an argument of 1.0L.
18881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18883 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18884 value when x - 1 is zero.
18885 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18886 * sysdeps/i386/fpu/libm-test-ulps: Update.
18887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18889 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18891 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18892 alphasort and versionsort.
18894 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18896 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18898 [copysignf]: Likewise.
18900 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18902 * crypt/md5-crypt.c: Fix formatting.
18904 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18906 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18907 (b64_from_24bit): New function.
18909 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18912 libc_hidden_builtin_def to ifunc.
18913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18914 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18916 2014-05-21 Roland McGrath <roland@hack.frob.com>
18918 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18919 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18921 2014-05-21 Joseph Myers <joseph@codesourcery.com>
18923 * nscd/Depend (linuxthreads): Remove.
18925 * resolv/Depend (linuxthreads): Remove.
18926 * rt/Depend (linuxthreads): Remove.
18928 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18929 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18930 $(common-objpfx)elf/.
18931 (link-libc-before-gnulib): Likewise.
18932 (elfobjdir): Remove variable.
18933 * Makefile (install): Use $(elf-objpfx) instead of
18934 $(common-objpfx)elf/.
18935 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18937 (link-libc-deps): Likewise.
18938 ($(common-objpfx)libc.so): Likewise.
18939 ($(common-objpfx)linkobj/libc.so): Likewise.
18940 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18941 instead of $(common-objpfx)elf/.
18942 (symbolic-link-list): Likewise.
18943 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18944 [$(cross-compiling) = no]: Likewise.
18945 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18947 (static-gnulib-arch): Likewise.
18948 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18949 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18950 $(common-objpfx)elf/.
18952 2014-05-21 Richard Henderson <rth@redhat.com>
18954 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18955 (SINGLE_THREAD_P): Use the correct width load. Fold
18956 into the ldr offset.
18958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18959 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18961 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18963 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18964 (libgcc_s_resume): Use __attribute_used__.
18965 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18968 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18970 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18971 optimization when used with float constants.
18973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18975 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18978 * locale/nl_langinfo_l.c: Make direct reference to every
18979 _nl_current_CATEGORY symbol.
18980 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18981 (tests-static): Add tst-langinfo-static.
18982 (tests-special): Add tst-langinfo-static.out.
18983 ($(objpfx)tst-langinfo.out): Redirect output.
18984 ($(objpfx)tst-langinfo-static.out): New.
18985 * localedata/tst-langinfo.sh: Send output to stdout.
18986 * localedata/tst-langinfo-static.c: New file.
18989 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18990 when the shift amount is modulo the limb size.
18992 2014-05-20 Richard Henderson <rth@redhat.com>
18995 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18996 Change type of sa_flags from unsigned int to int.
18999 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19001 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19003 2014-05-20 Will Newton <will.newton@linaro.org>
19005 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19006 Test the return value of the system call in the nocancel case.
19008 2014-05-20 Will Newton <will.newton@linaro.org>
19009 Yvan Roux <yvan.roux@linaro.org>
19011 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19012 #include of asm/ptrace.h.
19013 (PTRACE_GET_THREAD_AREA): Remove #undef.
19014 (PTRACE_GETHBPREGS): Likewise.
19015 (PTRACE_SETHBPREGS): Likewise.
19016 (struct user_regs_struct): New structure.
19017 (struct user_fpsimd_struct): New structure.
19018 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19019 #include of asm/ptrace.h and second #include of sys/user.h.
19020 (PTRACE_GET_THREAD_AREA): Remove #undef.
19021 (PTRACE_GETHBPREGS): Likewise.
19022 (PTRACE_SETHBPREGS): Likewise.
19023 (ELF_NGREG): Use new struct user_regs_struct.
19024 (elf_fpregset_t): Use new struct user_fpsimd_struct.
19026 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19031 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19035 membar to avoid block loads/stores to overlap previous stores.
19037 2014-05-17 Richard Henderson <rth@redhat.com>
19039 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19040 Create the __##syscall_name##_nocancel entry point.
19041 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19042 Remove; let the sysdep-cancel.h code create it.
19044 2014-05-17 David S. Miller <davem@davemloft.net>
19046 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19047 Protect with __USE_GNU.
19048 (TIOCSET_TEMPT): Likewise.
19049 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19050 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19051 these are already provided in bits/ioctl-types.h
19053 2014-05-16 Roland McGrath <roland@hack.frob.com>
19055 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19056 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19058 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19059 Use wait4 regardless of [__NR_waitpid].
19061 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19064 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19065 (_FP_NANSIGN_Q): Set the quiet bit.
19067 2014-05-16 Joseph Myers <joseph@codesourcery.com>
19069 * benchtests/Makefile
19070 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19071 not $(common-objpfx)math/libm.so.
19072 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19073 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19074 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19075 $(common-objpfx)dlfcn/libdl.so.
19076 ($(objpfx)tst-audit8): Depend on $(libm), not
19077 $(common-objpfx)math/libm.so.
19078 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19079 not $(common-objpfx)dlfcn/libdl.so.
19081 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19082 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
19083 [$(build-shared) = yes].
19084 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19085 $(common-objpfx)nptl/libpthread.so.
19086 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19087 $(common-objpfx)math/libm.so$(libm.so-version) or
19088 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19089 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19090 $(common-objpfx)dlfcn/libdl.so.
19091 * setjmp/Makefile (link-libm): Remove variable.
19092 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19093 * stdio-common/Makefile (link-libm): Remove variable.
19094 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19095 * stdlib/Makefile (link-libm): Remove variable.
19096 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19097 ($(objpfx)tst-strtod-round): Likewise.
19098 ($(objpfx)tst-tininess): Likewise.
19099 ($(objpfx)tst-strtod-underflow): Likewise.
19100 ($(objpfx)tst-strtod6): Likewise.
19101 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19102 $(libdl), not $(common-objpfx)nptl/libpthread.so and
19103 $(common-objpfx)dlfcn/libdl.so.
19105 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19107 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19108 BSD terminal modes definitions.
19110 2014-05-16 Roland McGrath <roland@hack.frob.com>
19112 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19113 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19115 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19116 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19117 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19118 Don't do #include_next.
19119 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19120 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19121 Don't do #include_next.
19122 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19123 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19124 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19125 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19127 2014-05-16 Allan McRae <allan@archlinux.org>
19129 * po/sv.po: Update Swedish translation from translation project.
19131 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19134 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
19137 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19138 errno if the TIOCGPTN ioctl fails with an error different than
19140 * login/tst-ptsname.c: New file.
19141 * login/Makefile (tests): Add tst-ptsname.
19144 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19147 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19151 herrno to return EAI_AGAIN.
19153 2014-05-14 Roland McGrath <roland@hack.frob.com>
19155 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19156 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19157 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19158 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19159 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19160 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19161 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19162 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19163 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19164 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19165 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19166 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19167 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19168 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19169 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19170 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19171 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19172 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19174 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19175 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19176 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19177 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19178 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19179 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19180 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19181 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19182 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19183 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19184 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19186 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19188 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19191 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19193 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19195 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19197 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19199 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19203 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19205 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19207 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19209 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19211 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19213 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19215 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19217 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19220 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19222 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19226 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19228 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19232 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19234 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19236 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19238 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19241 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19243 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19245 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19246 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19247 (libpthread-sysdep_routines): Add elision-related stuff here instead.
19248 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19249 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19250 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19251 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19252 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19253 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19254 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19255 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19256 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19257 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19258 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19259 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19260 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19261 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19262 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19263 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19264 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19265 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19266 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19267 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19270 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19271 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19272 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19273 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19274 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19275 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19277 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19278 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19280 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19281 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19282 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19283 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19284 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19285 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19287 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19288 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19290 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19291 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19293 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19294 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19297 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19298 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19299 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19301 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19302 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19303 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19305 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19306 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19307 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19310 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19311 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19313 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19315 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19316 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19317 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19318 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19319 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19321 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19326 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19327 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19328 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19329 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19330 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19332 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19333 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19335 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19336 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19338 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19339 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19342 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19343 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19344 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19346 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19347 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19348 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19350 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19351 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19352 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19355 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19356 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19358 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19360 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19361 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19362 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19363 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19364 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19370 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19371 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19372 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19373 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19374 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19375 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19376 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19377 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19378 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19382 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19384 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19385 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19387 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19388 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19391 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19392 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19393 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19394 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19395 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19397 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19398 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19399 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19402 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19403 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19404 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19406 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19407 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19411 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19412 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19413 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19414 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19415 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19417 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19419 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19421 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19422 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19423 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19424 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19425 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19426 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19427 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19428 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19429 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19430 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19431 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19433 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19434 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19436 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19437 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19439 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19440 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19441 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19442 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19443 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19444 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19445 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19446 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19447 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19448 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19450 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19451 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19452 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19453 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19455 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19460 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19465 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19467 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19469 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19477 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19478 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19479 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19480 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19481 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19483 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19484 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19485 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19486 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19487 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19488 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19489 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19490 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19491 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19493 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19494 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19495 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19496 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19497 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19499 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19500 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19501 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19502 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19503 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19504 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19505 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19506 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19507 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19508 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19513 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19514 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19515 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19516 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19518 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19520 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19521 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19522 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19523 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19524 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19525 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19526 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19548 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19550 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19554 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19555 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19556 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19558 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19560 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
19561 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19564 that was previously under [RESET_PID].
19565 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19566 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19567 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19569 * sysdeps/i386/nptl/Implies: New file.
19570 * sysdeps/x86_64/nptl/Implies: New file.
19571 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19572 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19573 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19574 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19576 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19577 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19578 (__libc_vfork): New strong alias.
19579 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19580 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19582 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19583 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19584 (__libc_vfork): New strong alias.
19585 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19586 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19588 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19589 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19590 (__libc_vfork): New strong alias.
19591 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19592 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19593 * nptl/pt-vfork.c: New file.
19594 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19595 (libpthread: GLIBC_2.20): New version set (empty).
19597 2014-05-14 Will Newton <will.newton@linaro.org>
19599 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19602 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19605 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19606 arguments with exponent 65 or above.
19607 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19608 arguments 0x1p113L or above.
19609 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19610 to arguments 0x1p107L or above.
19611 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19612 positive arguments with exponent 65 or above.
19613 * math/auto-libm-test-in: Add more tests of log1p.
19614 * math/auto-libm-test-out: Regenerated.
19617 * math/s_cacos.c (__cacos): Ensure zero real part of result from
19618 non-finite arguments is +0.
19619 * math/s_cacosf.c (__cacosf): Likewise.
19620 * math/s_cacosl.c (__cacosl): Likewise.
19621 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19622 * sysdeps/i386/fpu/libm-test-ulps: Update.
19623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19626 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19628 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19629 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19630 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19631 for explicit high bit of mantissa when testing for argument equal
19633 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19634 * sysdeps/i386/fpu/libm-test-ulps: Update.
19635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19638 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19639 (__erf): Scale by 16 instead of 8 in potentially underflowing
19640 case. Ensure exception if result actually underflows.
19641 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19642 (__erff): Scale by 16 instead of 8 in potentially underflowing
19643 case. Ensure exception if result actually underflows.
19644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19645 (efx8): Remove variable.
19646 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19647 case. Ensure exception if result actually underflows.
19648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19649 (efx8): Remove variable.
19650 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19651 case. Ensure exception if result actually underflows.
19652 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19653 (efx8): Remove variable.
19654 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19655 case. Ensure exception if result actually underflows.
19656 * math/auto-libm-test-in: Add more tests of erf.
19657 * math/auto-libm-test-out: Regenerated.
19659 2014-05-14 Andreas Schwab <schwab@suse.de>
19661 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19662 Remove code conditionalized on USE___THREAD.
19664 * config.h.in (HAVE_PT_CHOWN): Define as 0.
19665 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19668 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19670 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19671 Define unconditionally.
19672 (__ASSUME_O_CLOEXEC): Likewise.
19673 (__ASSUME_SOCK_CLOEXEC): Likewise.
19674 (__ASSUME_IN_NONBLOCK): Likewise.
19675 (__ASSUME_PIPE2): Likewise.
19676 (__ASSUME_EVENTFD2): Likewise.
19677 (__ASSUME_SIGNALFD4): Likewise.
19678 (__ASSUME_DUP3): Likewise.
19679 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19680 (__ASSUME_DUP3): Do not define.
19681 (__ASSUME_EVENTFD2): Likewise.
19682 (__ASSUME_IN_NONBLOCK): Likewise.
19683 (__ASSUME_O_CLOEXEC): Likewise.
19684 (__ASSUME_PIPE2): Likewise.
19685 (__ASSUME_SIGNALFD4): Likewise.
19686 (__ASSUME_SOCK_CLOEXEC): Likewise.
19687 (__ASSUME_UTIMES): Undefine.
19688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19689 (__ASSUME_UTIMES): Do not define.
19690 (__ASSUME_O_CLOEXEC): Likewise.
19691 (__ASSUME_SOCK_CLOEXEC): Likewise.
19692 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19693 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19695 (__ASSUME_PIPE2): Likewise.
19696 (__ASSUME_EVENTFD2): Likewise.
19697 (__ASSUME_SIGNALFD4): Likewise.
19698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19699 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19701 (__ASSUME_EVENTFD2): Likewise.
19702 (__ASSUME_SIGNALFD4): Likewise.
19703 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19704 (__ASSUME_32BITUIDS): Likewise.
19705 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19706 (__ASSUME_IPC64): Likewise.
19707 (__ASSUME_ST_INO_64_BIT): Likewise.
19708 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19709 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19710 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19711 (__ASSUME_UTIMES): Do not define.
19712 (__ASSUME_PSELECT): Likewise.
19713 (__ASSUME_PPOLL): Likewise.
19714 (__ASSUME_O_CLOEXEC): Likewise.
19715 (__ASSUME_SOCK_CLOEXEC): Likewise.
19716 (__ASSUME_IN_NONBLOCK): Likewise.
19717 (__ASSUME_PIPE2): Likewise.
19718 (__ASSUME_EVENTFD2): Likewise.
19719 (__ASSUME_SIGNALFD4): Likewise.
19720 (__ASSUME_DUP3): Likewise.
19721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19722 (__ASSUME_UTIMES): Likewise.
19723 (__ASSUME_O_CLOEXEC): Likewise.
19724 (__ASSUME_SOCK_CLOEXEC): Likewise.
19725 (__ASSUME_IN_NONBLOCK): Likewise.
19726 (__ASSUME_PIPE2): Likewise.
19727 (__ASSUME_EVENTFD2): Likewise.
19728 (__ASSUME_SIGNALFD4): Likewise.
19729 (__ASSUME_DUP3): Likewise.
19730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19731 (__ASSUME_UTIMES): Likewise.
19732 (__ASSUME_O_CLOEXEC): Likewise.
19733 (__ASSUME_SOCK_CLOEXEC): Likewise.
19734 (__ASSUME_IN_NONBLOCK): Likewise.
19735 (__ASSUME_PIPE2): Likewise.
19736 (__ASSUME_EVENTFD2): Likewise.
19737 (__ASSUME_SIGNALFD4): Likewise.
19738 (__ASSUME_DUP3): Likewise.
19739 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19741 (__ASSUME_UTIMES): Likewise.
19742 (__ASSUME_EVENTFD2): Likewise.
19743 (__ASSUME_SIGNALFD4): Likewise.
19744 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19745 (__ASSUME_O_CLOEXEC): Likewise.
19746 (__ASSUME_SOCK_CLOEXEC): Likewise.
19747 (__ASSUME_IN_NONBLOCK): Likewise.
19748 (__ASSUME_PIPE2): Likewise.
19749 (__ASSUME_EVENTFD2): Likewise.
19750 (__ASSUME_SIGNALFD4): Likewise.
19751 (__ASSUME_DUP3): Likewise.
19752 (__ASSUME_UTIMES): Undefine.
19754 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19755 feclearexcept. Remove symbol versioning code.
19756 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
19757 symbol versioning code.
19758 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
19759 symbol versioning code.
19760 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19761 feupdateenv. Remove symbol versioning code.
19762 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19763 fegetexceptflag. Remove symbol versioning code.
19764 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19765 fesetexceptflag. Remove symbol versioning code.
19766 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19767 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
19768 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19769 (__posix_fadvise64_l32): Remove prototype.
19770 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19773 2014-05-13 Roland McGrath <roland@hack.frob.com>
19775 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19776 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19777 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19778 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19780 2014-05-13 Sami Kerola <kerolasa@iki.fi>
19782 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19783 current working directory
19785 2014-05-13 Roland McGrath <roland@hack.frob.com>
19787 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19788 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19789 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19790 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19791 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19792 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19793 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19794 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19795 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19796 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19797 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19798 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19799 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19800 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19801 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19802 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19803 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19804 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19805 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19806 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19807 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19808 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19809 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19810 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19811 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19812 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19813 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19814 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19815 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19816 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19817 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19818 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19819 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19820 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19821 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19822 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19823 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19824 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19825 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19826 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19827 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19828 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19830 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19831 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19833 * sysdeps/unix/sysv/linux/arm/Makefile
19834 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19835 Add rt-aeabi_unwind_cpp_pr1.
19836 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19837 Add nptl-aeabi_unwind_cpp_pr1.
19838 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19839 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19840 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19841 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19842 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19843 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19845 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19846 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19847 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19848 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19850 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19851 Deconditionalize the code that was previously under [RESET_PID].
19852 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19854 * sysdeps/generic/exit-thread.h: New file.
19855 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19856 * include/unistd.h (__exit_thread): Remove declaration.
19857 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19858 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19859 * csu/libc-start.c: Include <exit-thread.h>.
19860 (LIBC_START_MAIN): Pass no argument to __exit_thread.
19861 * nptl/pthread_create.c: Include <exit-thread.h>.
19862 (start_thread): Call __exit_thread in place of __exit_thread_inline.
19863 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19864 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19865 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19866 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19867 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19868 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19869 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19870 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19871 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19872 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19873 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19874 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19875 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19876 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19877 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19878 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19880 2014-05-13 Andreas Schwab <schwab@suse.de>
19882 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19884 2014-05-12 Joseph Myers <joseph@codesourcery.com>
19886 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19887 (__ASSUME_UTIMES): Do not condition on kernel version.
19888 (__ASSUME_PSELECT): Define unconditionally.
19889 (__ASSUME_PPOLL): Likewise.
19890 (__ASSUME_ATFCTS): Likewise.
19891 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19892 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19893 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19894 (__ASSUME_UTIMENSAT): Define unconditionally.
19895 (__ASSUME_PRIVATE_FUTEX): Likewise.
19896 (__ASSUME_FALLOCATE): Likewise.
19897 (__ASSUME_O_CLOEXEC): Likewise.
19898 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19899 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19900 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19901 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19902 (__ASSUME_IN_NONBLOCK): Likewise.
19903 (__ASSUME_PIPE2): Likewise.
19904 (__ASSUME_EVENTFD2): Likewise.
19905 (__ASSUME_SIGNALFD4): Likewise.
19906 (__ASSUME_DUP3): Likewise.
19907 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19908 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19909 (__ASSUME_AT_RANDOM): Likewise.
19910 (__ASSUME_PREADV): Likewise.
19911 (__ASSUME_PWRITEV): Likewise.
19912 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19913 (__ASSUME_F_GETOWN_EX): Define unconditionally.
19914 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19915 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19916 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19917 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19918 (__ASSUME_O_CLOEXEC): Define unconditionally.
19919 (__ASSUME_PSELECT): Do not undefine conditionally.
19920 (__ASSUME_PPOLL): Likewise.
19921 (__ASSUME_ATFCTS): Likewise.
19922 (__ASSUME_SET_ROBUST_LIST): Likewise.
19923 (__ASSUME_UTIMENSAT): Likewise.
19924 (__ASSUME_FDATASYNC): Define unconditionally.
19925 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19926 (__ASSUME_SIGFRAME_V2): Likewise.
19927 )__ASSUME_EVENTFD2): Likewise.
19928 (__ASSUME_SIGNALFD4): Likewise.
19929 (__ASSUME_PSELECT): Do not undefine conditionally.
19930 (__ASSUME_PPOLL): Likewise.
19931 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19932 (__ASSUME_PSELECT): Define unconditionally.
19933 (__ASSUME_PPOLL): Likewise.
19934 (__ASSUME_O_CLOEXEC): Likewise.
19935 (__ASSUME_SOCK_CLOEXEC): Likewise.
19936 (__ASSUME_IN_NONBLOCK): Likewise.
19937 (__ASSUME_PIPE2): Likewise.
19938 (__ASSUME_EVENTFD2): Likewise.
19939 (__ASSUME_SIGNALFD4): Likewise.
19940 (__ASSUME_DUP3): Likewise.
19941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19942 (__ASSUME_O_CLOEXEC): Likewise.
19943 (__ASSUME_SOCK_CLOEXEC): Likewise.
19944 (__ASSUME_IN_NONBLOCK): Likewise.
19945 (__ASSUME_PIPE2): Likewise.
19946 (__ASSUME_EVENTFD2): Likewise.
19947 (__ASSUME_SIGNALFD4): Likewise.
19948 (__ASSUME_DUP3): Likewise.
19949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19950 (__ASSUME_EVENTFD2): Likewise.
19951 (__ASSUME_SIGNALFD4): Likewise.
19952 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19954 2014-05-12 Andreas Schwab <schwab@suse.de>
19957 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19958 (_nss_nis_gethostbyname4_r): Return error if item length is larger
19959 than maximum RPC packet size.
19960 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19961 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19962 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19963 (_nss_nis_getservbyport_r): Likewise.
19965 2014-05-12 Will Newton <will.newton@linaro.org>
19967 * malloc/Makefile (tests): Add tst-mallopt.
19968 * malloc/tst-mallopt.c: New file.
19970 2014-05-09 Roland McGrath <roland@hack.frob.com>
19972 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19973 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19975 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19977 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19978 (tst-tlsmod6.so): Likewise.
19980 2014-05-09 Roland McGrath <roland@hack.frob.com>
19982 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19984 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19987 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19988 and <dl-procinfo.h>.
19989 (__fegetenv): Save SSE state in envp->__eip if supported.
19990 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19991 envp->__eip if supported.
19992 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19993 and <dl-procinfo.h>.
19994 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19995 __data_offset and __data_selector in environment to 0. Set SSE
19996 state if supported.
19997 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19999 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20001 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20003 2014-05-09 Will Newton <will.newton@linaro.org>
20005 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20006 and libc_relro_required for ARM.
20007 * sysdeps/arm/preconfigure: Regenerate.
20009 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
20010 Stefan Liebler <stli@linux.vnet.ibm.com>
20012 * config.make.in (enable-lock-elision): New Makefile variable.
20013 * configure.ac: Likewise.
20014 * configure: Regenerate.
20015 * sysdeps/s390/configure.ac:
20016 Add check for gcc transactions support.
20017 * sysdeps/s390/configure: Regenerate.
20018 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20019 Build elision files if enabled.
20020 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20021 Add lock elision support for s390.
20022 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20023 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20024 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20025 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20026 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20027 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20030 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20032 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20034 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20036 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20037 (__lll_timedlock_elision, __lll_lock_elision)
20038 (__lll_unlock_elision, __lll_trylock_elision)
20039 (lll_timedlock_elision, lll_lock_elision)
20040 (lll_unlock_elision, lll_trylock_elision): Add.
20041 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20042 (pthread_mutex_t): Add lock elision support for s390.
20044 2014-05-14 Wilco <wdijkstr@arm.com>
20046 * sysdeps/arm/fclrexcpt.c: Cleanup.
20047 * sysdeps/arm/fedisblxcpt.c: Cleanup.
20048 * sysdeps/arm/feenablxcpt.c: Cleanup.
20049 * sysdeps/arm/fegetenv.c: Cleanup.
20050 * sysdeps/arm/fegetexcept.c: Cleanup.
20051 * sysdeps/arm/fegetround.c: Cleanup.
20052 * sysdeps/arm/feholdexcpt.c: Cleanup.
20053 * sysdeps/arm/fesetenv.c: Cleanup.
20054 * sysdeps/arm/fesetround.c: Cleanup.
20055 * sysdeps/arm/feupdateenv.c: Cleanup.
20056 * sysdeps/arm/fgetexcptflg.c: Cleanup.
20057 * sysdeps/arm/fraiseexcpt.c: Cleanup.
20058 * sysdeps/arm/fsetexcptflg.c: Cleanup.
20059 * sysdeps/arm/ftestexcept.c: Cleanup.
20060 * sysdeps/arm/get-rounding-mode.h: Cleanup.
20061 * sysdeps/arm/setfpucw.c: Cleanup.
20063 2014-05-09 Will Newton <will.newton@linaro.org>
20065 * sysdeps/arm/armv7/strcmp.S: New file.
20066 * NEWS: Mention addition of ARMv7 optimized strcmp.
20068 2014-05-08 Roland McGrath <roland@hack.frob.com>
20070 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20071 look for %.ac rather than %.in.
20073 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20074 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20075 * sysdeps/mach/hurd/configure: Regenerated.
20076 * sysdeps/unix/sysv/linux/configure: Regenerated.
20078 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20080 2014-05-07 Steve Ellcey <sellcey@mips.com>
20083 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20087 2014-05-07 Andreas Schwab <schwab@suse.de>
20089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20090 when skipping over non-matching result from nscd.
20092 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
20095 * nptl/sockperf.c (client): Check socket return value.
20098 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20099 nscd security class.
20101 2014-05-06 Roland McGrath <roland@hack.frob.com>
20103 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20104 * sysdeps/arm/unwind.h: ... here.
20106 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
20109 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20112 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20114 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20115 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20116 multiarch strncpy for PPC64.
20117 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20118 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20120 multiarch optimizations.
20121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20122 (__libc_ifunc_impl_list): Likewise.
20123 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20125 multiarch stpncpy for PPC64.
20126 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20127 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20129 2014-05-06 Andreas Schwab <schwab@suse.de>
20132 * gmon/mcount.c (_MCOUNT_DECL): Use
20133 atomic_compare_and_exchange_bool_acq instead of
20134 catomic_compare_and_exchange_bool_acq.
20136 2014-05-05 Roland McGrath <roland@hack.frob.com>
20138 * elf/Makefile (others, install-bin): Remove pldd.
20139 (pldd-modules): Variable removed.
20140 ($(objpfx)pldd): Target removed.
20141 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20142 (others, install-bin): Append pldd here.
20143 ($(objpfx)pldd): New target.
20145 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20146 to 0, so the first #if test emitted later doesn't see it undefined.
20147 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20148 * sysdeps/gnu/errlist.c: Regenerated.
20150 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20152 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20153 [libc_hidden_builtin_def]: Define to empty value.
20154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20155 [libc_hidden_builtin_def]: Likewise.
20156 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20157 [libc_hidden_builtin_def]: Likewise.
20158 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20159 [libc_hidden_builtin_def]: Likewise.
20160 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20161 __redirect_memcpy and define ifunc as default hidden symbol.
20162 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20163 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20165 2014-05-04 Adam Conrad <adconrad@0c3.net>
20167 * locale/iso-4217.def: Reintroduce XDR currency.
20169 2014-05-04 Allan McRae <allan@archlinux.org>
20171 * po/eo.po: Update Esperanto translation from translation project.
20173 2014-05-02 Carlos O'Donell <carlos@redhat.com>
20175 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20176 and FEATURE_INDEX_MAX to 1.
20177 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20179 2014-05-01 Steve Ellcey <sellcey@mips.com>
20181 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20182 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20183 * iconvdata/big5.c (ONE_DIRECTION): Define.
20184 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20185 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20186 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20187 * iconvdata/cp932.c (ONE_DIRECTION): Define.
20188 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20189 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20190 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20191 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20192 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20193 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20194 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20195 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20196 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20197 * iconvdata/gbk.c (ONE_DIRECTION): Define.
20198 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20199 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20200 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20201 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20202 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20203 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20204 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20205 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20206 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20207 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20208 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20209 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20210 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20211 * iconvdata/iso646.c (ONE_DIRECTION): Define.
20212 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20213 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20214 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20215 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20216 * iconvdata/johab.c (ONE_DIRECTION): Define.
20217 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20218 * iconvdata/sjis.c (ONE_DIRECTION): Define.
20219 * iconvdata/t.61.c (ONE_DIRECTION): Define.
20220 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20221 * iconvdata/tscii.c (ONE_DIRECTION): Define.
20222 * iconvdata/uhc.c (ONE_DIRECTION): Define.
20223 * iconvdata/unicode.c (ONE_DIRECTION): Define.
20224 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20225 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20226 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20228 2014-05-01 Roland McGrath <roland@hack.frob.com>
20230 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20231 (_IO_JUMPS_OFFSET): Define to 0.
20233 * nptl/sysdeps/pthread/bits/libc-lock.h
20234 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20235 (__libc_lock_define_initialized_recursive): Always define using
20236 initializer. Modern compilers treat uninitialized (implicit zero) and
20237 explicit zero initializers the same (i.e. put the datum in bss).
20239 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20241 * nscd/nscd-client.h: Include <string.h>.
20243 2014-05-01 David S. Miller <davem@davemloft.net>
20246 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20247 multiple zero bytes exist at the end of a string.
20248 Reported by Aurelien Jarno <aurelien@aurel32.net>
20250 * string/test-strcmp.c (check): Add explicit test for situations where
20251 there are multiple zero bytes after the first.
20253 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20256 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20257 when compiling wprintf.
20258 * stdio-common/tstdiomisc.c (t3): New function.
20261 2014-05-01 Steve Ellcey <sellcey@mips.com>
20263 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20264 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20265 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20266 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20268 2014-05-01 Steve Ellcey <sellcey@mips.com>
20270 * stdlib/longlong.h: Updated from GCC.
20272 2014-05-01 Will Newton <will.newton@linaro.org>
20273 Bernard Ogden <bernie.ogden@linaro.org>
20275 * NEWS: Update fixed bug list.
20278 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20280 2014-04-30 David S. Miller <davem@davemloft.net>
20282 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20283 (libc_feholdexcept_setround_sparc_ctx): New function.
20284 (libc_fesetenv_sparc_ctx): Likewise.
20285 (libc_feupdateenv_sparc_ctx): Likewise.
20286 (libc_feholdsetround_sparc_ctx): Likewise.
20287 (libc_feholdexcept_setround_ctx): Define.
20288 (libc_feholdexcept_setroundf_ctx): Likewise.
20289 (libc_feholdexcept_setroundl_ctx): Likewise.
20290 (libc_fesetenv_ctx): Likewise.
20291 (libc_fesetenvf_ctx): Likewise.
20292 (libc_fesetenvl_ctx): Likewise.
20293 (libc_feupdateenv_ctx): Likewise.
20294 (libc_feupdateenvf_ctx): Likewise.
20295 (libc_feupdateenvl_ctx): Likewise.
20296 (libc_feresetround_ctx): Likewise.
20297 (libc_feresetroundf_ctx): Likewise.
20298 (libc_feresetroundl_ctx): Likewise.
20299 (libc_feholdsetround_ctx): Likewise.
20300 (libc_feholdsetroundf_ctx): Likewise.
20301 (libc_feholdsetroundl_ctx): Likewise.
20303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20304 with __USE_GNU instead of XOPEN cpp guards.
20306 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20310 with XOPEN cpp guards.
20312 2014-04-30 Julian Brown <julian@codesourcery.com>
20315 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20318 2014-04-30 Joseph Myers <joseph@codesourcery.com>
20321 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20323 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20324 * sysdeps/unix/sysv/linux/configure: Regenerated.
20325 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20326 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20327 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20328 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20329 * README: Update reference to required Linux kernel version.
20330 * manual/install.texi (Linux): Update reference to required Linux
20331 kernel headers version.
20332 * INSTALL: Regenerated.
20334 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20336 [POSIX] (limits.h): Likewise.
20337 [POSIX] (math.h): Likewise.
20338 [POSIX] (sys/wait.h): Likewise.
20339 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20341 [POSIX] (stddef.h): Do not allow header inclusion.
20343 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20345 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20347 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
20349 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20350 Return immediately after lll_futex_wake.
20352 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20355 * nscd/nscd-client.h (datahead_init_common): Initialize entire
20357 (datahead_init_pos): Call datahead_init_common early.
20358 (datahead_init_neg): Likewise.
20360 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20361 datahead_init_neg): New functions.
20362 * nscd/aicache.c (addhstaiX): Use them.
20363 * nscd/grpcache.c (cache_addgr): Likewise.
20364 * nscd/hstcache.c (cache_addhst): Likewise.
20365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20366 * nscd/netgroupcache.c (do_notfound): Likewise.
20367 (addgetnetgrentX): Likewise.
20368 (addinnetgrX): Likewise.
20369 * nscd/pwdcache.c (cache_addpw): Likewise.
20370 * nscd/servicescache.c (cache_addserv): Likewise.
20372 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20373 Atsushi Onoe <atsushi@onoe.org>
20378 * resolv/res_query.c (__libc_res_nsearch): Return if at least
20379 one response is valid.
20380 * resolv/res_send.c (send_dg): Check for validity of other
20381 response if the current response is a referral.
20383 2014-04-29 Steve Ellcey <sellcey@mips.com>
20385 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20387 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
20390 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20391 Always divide by positive zero when computing -Inf result.
20392 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20393 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20395 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20397 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20398 FPSCR if value do not change.
20399 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20400 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20401 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20402 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20403 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20404 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20407 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
20409 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20410 * sysdeps/unix/sysv/linux/hppa: Move directory from
20411 ports/systeps/unix/sysv/linux/hppa.
20412 * README: Update listing for hppa-*-linux-gnu.
20414 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
20417 * manual/stdio.texi (Hook functions): Fix types of stream hook
20420 * socket/sys/socket.h: Fix typo in comment.
20422 2014-04-28 Wilco <wdijkstr@arm.com>
20424 * sysdeps/arm/fenv_private.h: New file.
20425 * sysdeps/arm/math_private.h: New file.
20426 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20428 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
20430 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20432 (La_x86_64_retval): Likewise.
20434 2014-04-24 Ian Bolton <ian.bolton@arm.com>
20436 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20437 fpsr if value didn't change.
20438 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20439 to fpcr if value didn't change.
20440 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20441 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20442 fpsr or fpcr if value didn't change.
20443 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20444 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20445 fpcr if value didn't change.
20446 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20447 to fpsr if value didn't change.
20449 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * nptl/tst-sem3.c: Use test-skeleton.c
20452 (main): Rename to do_test. Use return instead of
20454 * nptl/tst-sem4.c: Use test-skeleton.c
20455 (main): Rename to do_test.
20457 2014-04-22 David S. Miller <davem@davemloft.net>
20459 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20460 (struct sigaction): New struct member __glibc_reserved0, change
20461 type of sa_flags to int.
20463 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
20465 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20466 (COUNT_LEADING_ZEROS_0): Define for AArch64.
20468 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20470 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20471 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20473 2014-04-22 Will Newton <will.newton@linaro.org>
20474 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
20476 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20477 (__longjmp): Add longjmp and longjmp_target SystemTap
20479 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20480 (__sigsetjmp): Add setjmp SystemTap probe.
20482 2014-04-17 Carlos O'Donell <carlos@redhat.com>
20484 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20485 match manual order.
20487 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20489 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20491 * sysdeps/powerpc/fpu/fenv_private.h
20492 (libc_feholdexcept_setroundl_ctx): Define to
20493 libc_feholdexcept_setround_ppc_ctx.
20494 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20495 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20496 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20497 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20499 2014-04-17 Ian Bolton <ian.bolton@arm.com>
20501 * sysdeps/aarch64/math-tests.h: New file.
20503 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
20505 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20508 Check and set bit_AVX2_Usable.
20509 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20511 (bit_AVX2): Likewise.
20512 (index_AVX2_Usable): Likewise.
20513 (CPUID_AVX2): Likewise.
20514 (HAS_AVX2): Likewise.
20516 2014-04-17 Will Newton <will.newton@linaro.org>
20518 * manual/setjmp.texi (System V contexts): Add note that
20519 calling setcontext on a context created by a call to a
20520 signal handler is undefined. Update text to note that
20521 setcontext from a signal handler is possible but not
20525 * stdlib/tst-setcontext.c: Include signal.h.
20526 (main): Check that the signal stack before and
20527 after swapcontext is the same.
20529 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20530 Re-implement to restore registers in user code and avoid
20531 rt_sigreturn system call.
20533 2014-04-17 Wilco <wdijkstr@arm.com>
20535 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20536 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20537 * math/test-fenv.c: Skip exception trap tests on targets which only
20538 support non-stop mode.
20540 2014-04-17 Ian Bolton <ian.bolton@arm.com>
20541 Wilco Dijkstra <wilco.dijkstra@arm.com>
20543 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20544 (libc_feholdsetround_aarch64_ctx)
20545 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20546 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20547 (libc_feresetround_ctx, libc_feresetroundf_ctx)
20548 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20549 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20550 (libc_feresetround_noexl_ctx): Define.
20552 2014-04-16 Richard Henderson <rth@redhat.com>
20554 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20556 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20559 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20560 const from the non-libc, non-ldso copy.
20562 * sysdeps/alpha/libm-test-ulps: Regenerate.
20564 2014-04-16 Ian Bolton <ian.bolton@arm.com>
20565 Wilco Dijkstra <wilco.dijkstra@arm.com>
20567 * sysdeps/aarch64/fpu/math_private.h: New file.
20569 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
20571 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20573 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
20576 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20577 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20579 Intel MPX bound registers before _dl_profile_fixup.
20580 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20581 registers after _dl_profile_fixup. Save and restore bound
20582 registers bnd0/bnd1 when calling _dl_call_pltexit.
20583 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20584 (LR_BND_OFFSET): Likewise.
20585 (LRV_BND0_OFFSET): Likewise.
20586 (LRV_BND1_OFFSET): Likewise.
20588 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20590 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20592 * sysdeps/mach/hurd/i386/tls.h: ... here.
20593 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20594 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20597 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20599 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20601 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20603 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20605 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20608 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20609 * sysdeps/s390/configure: Regenerate.
20612 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20613 Set round-to-nearest internally to reduce error accumulation.
20615 2014-04-16 Alan Modra <amodra@gmail.com>
20619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20620 * math/libm-test.inc (frexp_test_data): Add tests.
20621 * NEWS: Update fixed bug list.
20623 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20625 * benchtests/Makefile: Depend on libraries in build directory.
20626 (bench-math): Separate out math tests.
20627 (bench-pthread): Separate out pthread tests.
20628 (bench): Include math and pthread tests.
20630 2014-04-14 Carlos O'Donell <carlos@redhat.com>
20633 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20634 _dl_debug_initialize.
20636 * configure.ac: Remove SELinux header check.
20637 * configure: Regenerate.
20638 * nscd/selinux.c (perms): Array of const char* to permission names.
20639 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20640 default policy. Call string_to_security_class and string_to_av_perm to
20641 translate strings. Enforce default policy and call avs_has_perm with
20642 results of translated strings.
20644 2014-04-13 David S. Miller <davem@davemloft.net>
20646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20648 2014-04-12 Allan McRae <allan@archlinux.org>
20651 * manual/string.texi (Collation Functions): Fix qsort argument
20653 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20655 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
20657 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20658 Make the test a no-op if there are no exceptions defined.
20660 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20662 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20663 enable-hardcoded-path-in-tests
20665 2014-04-11 Will Newton <will.newton@linaro.org>
20667 * benchtests/Makefile (extra-objs): Add json-lib.o.
20668 (bench-func): Tidy up JSON output.
20669 * benchtests/bench-skeleton.c: Include json-lib.h.
20670 (main): Use JSON library functions to do output of
20672 * benchtests/bench-timing-type.c (main): Output the
20673 timing type simply, leaving formatting to the user.
20674 * benchtests/json-lib.c: New file.
20675 * benchtests/json-lib.h: Likewise.
20677 2014-04-11 Torvald Riegel <triegel@redhat.com>
20680 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20681 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
20682 memory barriers. Add comments.
20683 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20684 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20685 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20686 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20687 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20688 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20690 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20692 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20693 * sysdeps/s390/s390-64/configure.ac: ... this ...
20694 * sysdeps/s390/configure.ac: ... to here.
20695 * sysdeps/s390/s390-32/configure: Delete file.
20696 * sysdeps/s390/s390-64/configure: Delete file.
20697 * sysdeps/s390/configure: Regenerate.
20699 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
20701 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20703 2014-04-11 Will Newton <will.newton@linaro.org>
20705 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20706 to zero if it is not defined elsewhere. (mtrim): Test
20707 the value of MALLOC_DEBUG with #if rather than #ifdef.
20709 2014-04-10 Torvald Riegel <triegel@redhat.com>
20711 * benchtests/pthread_once-inputs: New file.
20712 * benchtests/pthread_once-source.c: New file.
20713 * benchtests/README: Update documentation.
20715 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
20716 H.J. Lu <hongjiu.lu@intel.com>
20719 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20720 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20721 * sysdeps/x86_64/configure: Regenerated.
20722 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20724 (REGISTER_SAVE_RAX): Likewise.
20725 (REGISTER_SAVE_RCX): Likewise.
20726 (REGISTER_SAVE_RDX): Likewise.
20727 (REGISTER_SAVE_RSI): Likewise.
20728 (REGISTER_SAVE_RDI): Likewise.
20729 (REGISTER_SAVE_R8): Likewise.
20730 (REGISTER_SAVE_R9): Likewise.
20731 (REGISTER_SAVE_BND0): Likewise.
20732 (REGISTER_SAVE_BND1): Likewise.
20733 (REGISTER_SAVE_BND2): Likewise.
20734 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
20735 bound registers when calling _dl_fixup.
20737 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20739 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20740 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20742 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20743 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20744 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20745 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20746 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20747 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20748 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20750 2014-04-09 Peter Brett <peter@peter-b.co.uk>
20753 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20754 pathconf(_PC_NAME_MAX).
20756 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20758 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20759 Remove macro usage.
20760 (__PTHREAD_SPINS): Move definition to ...
20761 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20762 (__PTHREAD_SPINS): ... here.
20763 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20764 (__PTHREAD_SPIN): Likewise.
20765 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20766 (__PTHREAD_SPIN): Likewise.
20767 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20768 (__PTHREAD_SPIN): Likewise.
20769 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20770 (__PTHREAD_SPIN): Likewise.
20771 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20772 (__PTHREAD_SPIN): Likewise.
20773 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20774 (__PTHREAD_SPIN): Likewise.
20775 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20776 (__PTHREAD_SPIN): Likewise.
20777 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20778 (__PTHREAD_SPIN): Likewise.
20779 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20780 (__PTHREAD_SPIN): Likewise.
20781 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20782 (__PTHREAD_SPIN): Likewise.
20783 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20784 (__PTHREAD_SPIN): Likewise.
20785 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20786 (__PTHREAD_SPIN): Likewise.
20788 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20789 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20790 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20791 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20793 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20794 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20795 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20796 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20797 correct imply path.
20798 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20799 strlen symbol for non multi-arch builds.
20800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20801 missing hidden_def and weak_alias.
20803 2014-04-08 Carlos O'Donell <carlos@redhat.com>
20805 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20807 2014-04-07 Will Newton <will.newton@linaro.org>
20809 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20810 and contents. [!_LIBC] Remove #ifndef and contents.
20811 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
20812 * string/memccpy.c (__memccpy): Use ANSI prototype.
20813 * string/memfrob.c (memfrob): Likewise.
20814 * string/strcoll.c (STRCOLL): Likewise.
20815 * string/strlen.c (strlen): Likewise.
20816 * string/strtok.c (STRTOK): Likewise.
20817 * string/strcat.c: Remove unused #include of memcopy.h.
20818 (strcat): Use ANSI prototype.
20819 * string/strchr.c: Remove unused #include of memcopy.h.
20820 (strchr): Use ANSI prototype.
20821 * string/strcmp.c: Remove unused #include of memcopy.h.
20822 (strcmp): Use ANSI prototype.
20823 * string/strcpy.c: Remove unused #include of memcopy.h.
20824 (strcpy): Use ANSI prototype.
20826 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20828 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20829 * config.make.in (config-extra-cppflags): Set it from
20830 libc_extra_cppflags.
20831 * configure.ac (libc_extra_cflags): Make it accumulate over
20832 configure fragments.
20833 (libc_extra_cppflags): New flag.
20834 * configure. Regenerate.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20836 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20837 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20841 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20842 result for FE_DOWNWARD rounding mode.
20843 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20847 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
20849 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20850 in function argument name.
20852 2014-04-03 David Svoboda <svoboda@cert.org>
20855 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20858 2014-04-03 Roland McGrath <roland@hack.frob.com>
20860 * elf/dl-unmap-segments.h: New file.
20861 * sysdeps/generic/ldsodefs.h
20862 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20863 * elf/dl-close.c: Include <dl-unmap-segments.h>.
20864 * elf/dl-fptr.c: Likewise.
20865 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20866 * sysdeps/aarch64/tlsdesc.c: Likewise.
20867 * sysdeps/arm/tlsdesc.c: Likewise.
20868 * sysdeps/i386/tlsdesc.c: Likewise.
20869 * sysdeps/tile/dl-runtime.c: Likewise.
20870 * sysdeps/x86_64/tlsdesc.c: Likewise.
20871 * elf/dl-load.h: New file.
20872 * elf/dl-load.c: Include it.
20873 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20874 Macros moved to dl-load.h.
20875 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20876 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20877 Use _dl_unmap_segments in place of __munmap.
20878 Break out segment-mapping loop into ...
20879 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20881 2014-04-03 Will Newton <will.newton@linaro.org>
20883 * elf/dl-lookup.c (do_lookup_x): Remove comment
20884 referring to nested function and move variable
20885 declarations down to before first use.
20887 2014-04-02 Joseph Myers <joseph@codesourcery.com>
20891 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20893 * math/s_catanf.c (__catanf): Likewise.
20894 * math/s_catanh.c (__catanh): Likewise.
20895 * math/s_catanhf.c (__catanhf): Likewise.
20896 * math/s_catanhl.c (__catanhl): Likewise.
20897 * math/s_catanl.c (__catanl): Likewise.
20898 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20899 by positive zero when computing -Inf result.
20900 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20901 (catanh_test): Likewise.
20902 * sysdeps/i386/fpu/libm-test-ulps: Update.
20903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20906 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20907 instead of using underflowing value in computing result.
20908 * math/s_clog10.c (__clog10): Likewise.
20909 * math/s_clog10f.c (__clog10f): Likewise.
20910 * math/s_clog10l.c (__clog10l): Likewise.
20911 * math/s_clogf.c (__clogf): Likewise.
20912 * math/s_clogl.c (__clogl): Likewise.
20913 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20914 (clog10_test): Likewise.
20915 * sysdeps/i386/fpu/libm-test-ulps: Update.
20916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20918 2014-04-02 Alan Modra <amodra@gmail.com>
20921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20922 output when value is near a power of two. Use int64_t for lx and
20923 remove casts. Use decimal rather than hex exponent constants.
20924 Don't use long double multiplication when double will suffice.
20925 * math/libm-test.inc (nextafter_test_data): Add tests.
20926 * NEWS: Add 16739 and 16786 to bug list.
20928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20930 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20932 2014-04-01 Will Newton <will.newton@linaro.org>
20934 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20935 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
20937 2014-04-01 Florian Weimer <fweimer@redhat.com>
20940 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20941 * nptl/tst-setuid2.c: New file.
20942 * nptl/Makefile (xtests): Add tst-setuid2.
20944 2014-04-01 Alan Modra <amodra@gmail.com>
20947 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20949 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20953 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20954 set errno as appropriate.
20955 * math/w_scalbf.c (__scalbf): Likewise.
20956 * math/w_scalbl.c (__scalbl): Likewise.
20957 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20958 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20959 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20960 Add more NaN tests.
20963 * math/w_atan2.c: Include <errno.h>.
20964 (__atan2): Set errno for result underflowing to zero.
20965 * math/w_atan2f.c: Include <errno.h>.
20966 (__atan2f): Set errno for result underflowing to zero.
20967 * math/w_atan2l.c: Include <errno.h>.
20968 (__atan2l): Set errno for result underflowing to zero.
20969 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20971 * math/auto-libm-test-out: Regenerated.
20973 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20976 Encode instruction correctly in little endian.
20977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20979 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20986 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20989 * sysdeps/unix/sysv/linux/kernel-features.h
20990 [__sparc__ && !__arch64__ && !__sparc_v9__]
20991 (__ASSUME_SET_ROBUST_LIST): Do not define.
20992 [__sparc__ && !__arch64__ && !__sparc_v9__]
20993 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20994 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20997 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20998 (__ASSUME_REQUEUE_PI): Likewise.
20999 (__ASSUME_SET_ROBUST_LIST): Likewise.
21000 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21001 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21006 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21008 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21011 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21013 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21014 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21019 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21020 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21022 2014-03-31 Will Newton <will.newton@linaro.org>
21024 * benchtests/Makefile (bench): Add ffs and ffsll to list
21026 * benchtests/ffs-inputs: New file.
21027 * benchtests/ffsll-inputs: Likewise.
21029 2014-03-29 Joseph Myers <joseph@codesourcery.com>
21032 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21033 too large before casting to int.
21034 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21035 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21036 * math/libm-test.inc (scalb_test_data): Add more tests.
21038 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21040 * benchtests/Makefile (DETAILED_OPT): New make option.
21041 (bench-func): Run benchmark program with -d if DETAILED_OPT is
21043 * benchtests/bench-skeleton.c: Include stdbool.h.
21044 (main): Store and print timings per input.
21045 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21046 member to each argument value.
21047 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21048 (_print_arg_data): Initialize per-input timing to 0.
21050 * benchtests/Makefile (timing-type): New binary.
21051 (bench-clean): Also remove bench-timing-type.
21052 (bench): New target for timing-type.
21053 (bench-func): Print output in JSON format.
21054 * benchtests/bench-skeleton.c (main): Print output in JSON
21056 * benchtests/bench-timing-type.c: New file.
21057 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21058 (TIMING_PRINT_STATS): Remove.
21059 * benchtests/scripts/bench.py (_print_arg_data): Store variant
21062 * benchtests/bench-modf.c: Remove.
21063 * benchtests/modf-inputs: New inputs file.
21065 2014-03-28 Joseph Myers <joseph@codesourcery.com>
21068 * math/s_clog10.c (M_PI_LOG10E): New macro.
21069 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21070 imaginary parts are 0.
21071 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21072 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21073 imaginary parts are 0.
21074 * math/s_clog10l.c (M_PI_LOG10El): New macro.
21075 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21076 imaginary parts are 0.
21077 * math/libm-test.inc (clog10_test_data): Update expected results
21078 for when real and imaginary parts are 0.
21080 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
21082 * elf/dl-load.c: Finish conversion of __builtin_expect into
21083 __glibc_{un}likely.
21085 2014-03-27 Joseph Myers <joseph@codesourcery.com>
21088 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21089 1+x for argument with exponent below -67.
21090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21092 * math/auto-libm-test-in: Add more tests of exp.
21093 * math/auto-libm-test-out: Regenerated.
21095 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21098 * inet/getnetgrent_r.c (get_nonempty_val): New function.
21099 (nscd_getnetgrent): Use it.
21102 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21105 2014-03-27 Andi Kleen <ak@linux.intel.com>
21107 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21108 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21109 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21110 (lll_robust_unlock): Remove out of line section. Use cfi
21112 (LLL_STUB_UNWIND_INFO*): Remove.
21113 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21114 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21115 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21116 (lll_robust_unlock): Remove out of line section. Use cfi
21118 (LLL_STUB_UNWIND_INFO*): Remove.
21120 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21123 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21126 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
21128 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21130 2014-03-26 Joseph Myers <joseph@codesourcery.com>
21133 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21135 * math/test-fenv-preserve.c: New file.
21136 * math/Makefile (tests): Add test-fenv-preserve.
21138 2014-03-26 Will Newton <will.newton@linaro.org>
21140 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21142 2014-03-25 Roland McGrath <roland@hack.frob.com>
21144 * scripts/versionlist.awk: Partition the version sets and emit all
21145 GLIBC_* (sorted) before all others (sorted).
21147 2014-03-25 Joseph Myers <joseph@codesourcery.com>
21149 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21150 GLIBC_2.2.5 version.
21152 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21154 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21157 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21162 2014-03-25 Andreas Schwab <schwab@suse.de>
21164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21165 label to be used after in6ailist is initialized.
21167 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21169 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21170 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21172 2014-03-25 Joseph Myers <joseph@codesourcery.com>
21176 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21178 (fp_formats): Update initializers.
21179 (init_fp_formats): Initialize new field.
21180 (output_for_one_input_case): Allow underflow for results up to
21182 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21183 * math/auto-libm-test-in: Don't mark some underflows from asin and
21185 * math/auto-libm-test-out: Regenerated.
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21189 2014-03-25 Andreas Schwab <schwab@suse.de>
21191 * libio/Makefile (tst-ftell-partial-wide-ENV)
21192 (tst-ftell-active-handler-ENV): Define.
21194 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21196 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21198 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21200 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21202 2014-03-24 Joseph Myers <joseph@codesourcery.com>
21204 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21205 * sysdeps/x86_64/fpu/multiarch/e_exp.c
21206 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21208 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21211 * elf/dl-load.c (open_verify): Add mode parameter.
21212 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21213 (open_path): Change from boolean 'secure' to complete flag 'mode'
21214 (_dl_map_object): Adjust.
21215 * elf/Makefile (tests): Add tst-dlopen-aout.
21216 * elf/tst-dlopen-aout.c: New test.
21218 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21221 * sysdeps/unix/sysv/linux/s390/bits/stat.h
21222 (struct stat): Rename member pad0 to __glibc_reserved0.
21225 * sysdeps/s390/s390-32/bits/wordsize.h
21226 (__WORDSIZE32_SIZE_ULONG): New define.
21227 * sysdeps/s390/s390-64/bits/wordsize.h
21228 (__WORDSIZE32_SIZE_ULONG): Likewise.
21229 * sysdeps/generic/stdint.h (SIZE_MAX):
21230 Define as UL if __WORDSIZE32_SIZE_ULONG.
21233 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21234 (__glibc_reserved0): New variable.
21235 (sa_flags): Change type to int.
21237 * posix/Makefile (before-compile): Use += before-compile instead
21240 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21241 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21243 2014-03-20 Andreas Schwab <schwab@suse.de>
21246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21247 non-matching result from nscd.
21249 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21251 * scripts/bench.py: Moved to ...
21252 * benchtests/scripts/bench.py: ... here.
21253 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21255 2014-03-24 Andreas Schwab <schwab@suse.de>
21258 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21259 alloca_account and account alloca use for struct in6ailist.
21261 2014-03-24 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21265 rounding mode to recompute results that overflow to infinity or
21267 * math/auto-libm-test-in: Don't mark tests as expected to fail for
21269 * math/auto-libm-test-out: Regenerated.
21270 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21271 (ccosh_test): Likewise.
21272 (csin_test_data): Use plus_oflow.
21273 (csin_test): Use ALL_RM_TEST.
21274 (csinh_test_data): Use plus_oflow.
21275 (csinh_test): Use ALL_RM_TEST.
21276 * sysdeps/i386/fpu/libm-test-ulps: Update.
21277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21279 2014-03-21 Joseph Myers <joseph@codesourcery.com>
21281 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21282 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21283 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21286 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21287 when x - 1 is zero.
21288 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21289 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21290 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21293 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21294 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21296 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21297 * sysdeps/i386/fpu/libm-test-ulps: Update.
21298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21300 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21302 * scripts/bench.pl: Remove file.
21303 * scripts/bench.py: New benchmark script.
21304 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21305 * benchtests/README: Mention python dependency.
21306 * scripts/pylintrc: New file.
21307 * scripts/pylint: New file.
21309 * bits/mathdef.h: Use #ifdef instead of #if.
21310 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21311 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21312 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21313 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21314 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21315 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21317 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21318 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21320 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21322 and strpbrk-ppc64 objects.
21323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21324 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21326 multiarch strpbrk for POWER7.
21327 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21328 multiarch strpbrk for PPC64.
21329 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21331 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21332 strpbrk for POWER7.
21334 2014-03-20 Joseph Myers <joseph@codesourcery.com>
21336 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21337 (atan_test): Likewise.
21338 (atanh_test_data): Use NO_TEST_INLINE for two tests.
21339 (atanh_test): Use ALL_RM_TEST.
21340 (atan2_test_data): Likewise.
21341 (cabs_test): Likewise.
21342 (cacosh_test): Likewise.
21343 (carg_test): Likewise.
21344 (casin_test): Likewise.
21345 (casinh_test): Likewise.
21346 (cbrt_test): Likewise.
21347 (csqrt_test): Likewise.
21348 (erf_test): Likewise.
21349 (erfc_test): Likewise.
21350 (pow10_test): Likewise.
21351 (exp2_test): Likewise.
21352 (hypot_test): Likewise.
21353 (j0_test): Likewise.
21354 (j1_test): Likewise.
21355 (lgamma_test): Likewise.
21356 (gamma_test): Likewise.
21357 (sincos_test): Likewise.
21358 (tanh_test): Likewise.
21359 (y0_test): Likewise.
21360 (y1_test): Likewise.
21361 * sysdeps/i386/fpu/libm-test-ulps: Update.
21362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21364 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21366 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21368 and strcspn-ppc64 objects.
21369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21370 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21371 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21372 multiarch strcspn for POWER7.
21373 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21374 multiarch strcspn for PPC64.
21375 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21377 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21378 strcspn for POWER7.
21380 2014-03-20 Joseph Myers <joseph@codesourcery.com>
21382 * math/gen-libm-test.pl (generate_testfile): Expect only function
21383 name as argument to AUTO_TESTS_* and pass results for all rounding
21384 modes to parse_args.
21385 (parse_auto_input): Separate inputs of automatic tests from
21386 outputs before storing in %auto_tests.
21387 * math/libm-test.inc (acos_test_data): Update call to
21389 (acos_test): Use ALL_RM_TEST.
21390 (acos_tonearest_test_data): Remove.
21391 (acos_test_tonearest): Likewise.
21392 (acos_towardzero_test_data): Likewise.
21393 (acos_test_towardzero): Likewise.
21394 (acos_downward_test_data): Likewise.
21395 (acos_test_downward): Likewise.
21396 (acos_upward_test_data): Likewise.
21397 (acos_test_upward): Likewise.
21398 (acosh_test_data): Update call to AUTO_TESTS_f_f.
21399 (asin_test_data): Likewise.
21400 (asin_test): Use ALL_RM_TEST.
21401 (asin_tonearest_test_data): Remove.
21402 (asin_test_tonearest): Likewise.
21403 (asin_towardzero_test_data): Likewise.
21404 (asin_test_towardzero): Likewise.
21405 (asin_downward_test_data): Likewise.
21406 (asin_test_downward): Likewise.
21407 (asin_upward_test_data): Likewise.
21408 (asin_test_upward): Likewise.
21409 (asinh_test_data): Update call to AUTO_TESTS_f_f.
21410 (atan_test_data): Likewise.
21411 (atanh_test_data): Likewise.
21412 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21413 (cabs_test_data): Update call to AUTO_TESTS_c_f.
21414 (carg_test_data): Likewise.
21415 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21416 (ccos_test_data): Update call to AUTO_TESTS_c_c.
21417 (ccosh_test_data): Likewise.
21418 (cexp_test_data): Likewise.
21419 (clog_test_data): Likewise.
21420 (clog10_test_data): Likewise.
21421 (cos_test_data): Update call to AUTO_TESTS_f_f.
21422 (cos_test): Use ALL_RM_TEST.
21423 (cos_tonearest_test_data): Remove.
21424 (cos_test_tonearest): Likewise.
21425 (cos_towardzero_test_data): Likewise.
21426 (cos_test_towardzero): Likewise.
21427 (cos_downward_test_data): Likewise.
21428 (cos_test_downward): Likewise.
21429 (cos_upward_test_data): Likewise.
21430 (cos_test_upward): Likewise.
21431 (cosh_test_data): Update call to AUTO_TESTS_f_f.
21432 (cosh_test): Use ALL_RM_TEST.
21433 (cosh_tonearest_test_data): Remove.
21434 (cosh_test_tonearest): Likewise.
21435 (cosh_towardzero_test_data): Likewise.
21436 (cosh_test_towardzero): Likewise.
21437 (cosh_downward_test_data): Likewise.
21438 (cosh_test_downward): Likewise.
21439 (cosh_upward_test_data): Likewise.
21440 (cosh_test_upward): Likewise.
21441 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21442 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21443 (ctan_test_data): Likewise.
21444 (ctan_test): Use ALL_RM_TEST.
21445 (ctan_tonearest_test_data): Remove.
21446 (ctan_test_tonearest): Likewise.
21447 (ctan_towardzero_test_data): Likewise.
21448 (ctan_test_towardzero): Likewise.
21449 (ctan_downward_test_data): Likewise.
21450 (ctan_test_downward): Likewise.
21451 (ctan_upward_test_data): Likewise.
21452 (ctan_test_upward): Likewise.
21453 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21454 (ctanh_test): Use ALL_RM_TEST.
21455 (ctanh_tonearest_test_data): Remove.
21456 (ctanh_test_tonearest): Likewise.
21457 (ctanh_towardzero_test_data): Likewise.
21458 (ctanh_test_towardzero): Likewise.
21459 (ctanh_downward_test_data): Likewise.
21460 (ctanh_test_downward): Likewise.
21461 (ctanh_upward_test_data): Likewise.
21462 (ctanh_test_upward): Likewise.
21463 (erf_test_data): Update call to AUTO_TESTS_f_f.
21464 (erfc_test_data): Likewise.
21465 (exp_test_data): Likewise.
21466 (exp_test): Use ALL_RM_TEST.
21467 (exp_tonearest_test_data): Remove.
21468 (exp_test_tonearest): Likewise.
21469 (exp_towardzero_test_data): Likewise.
21470 (exp_test_towardzero): Likewise.
21471 (exp_downward_test_data): Likewise.
21472 (exp_test_downward): Likewise.
21473 (exp_upward_test_data): Likewise.
21474 (exp_test_upward): Likewise.
21475 (exp10_test_data): Update call to AUTO_TESTS_f_f.
21476 (exp10_test): Use ALL_RM_TEST.
21477 (exp10_tonearest_test_data): Remove.
21478 (exp10_test_tonearest): Likewise.
21479 (exp10_towardzero_test_data): Likewise.
21480 (exp10_test_towardzero): Likewise.
21481 (exp10_downward_test_data): Likewise.
21482 (exp10_test_downward): Likewise.
21483 (exp10_upward_test_data): Likewise.
21484 (exp10_test_upward): Likewise.
21485 (exp2_test_data): Update call to AUTO_TESTS_f_f.
21486 (expm1_test_data): Likewise.
21487 (expm1_test): Use ALL_RM_TEST.
21488 (expm1_tonearest_test_data): Remove.
21489 (expm1_test_tonearest): Likewise.
21490 (expm1_towardzero_test_data): Likewise.
21491 (expm1_test_towardzero): Likewise.
21492 (expm1_downward_test_data): Likewise.
21493 (expm1_test_downward): Likewise.
21494 (expm1_upward_test_data): Likewise.
21495 (expm1_test_upward): Likewise.
21496 (fma_test_data): Update call to AUTO_TESTS_fff_f.
21497 (fma_test): Use ALL_RM_TEST.
21498 (fma_towardzero_test_data): Remove.
21499 (fma_test_towardzero): Likewise.
21500 (fma_downward_test_data): Likewise.
21501 (fma_test_downward): Likewise.
21502 (fma_upward_test_data): Likewise.
21503 (fma_test_upward): Likewise.
21504 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21505 (j0_test_data): Update call to AUTO_TESTS_f_f.
21506 (j1_test_data): Likewise.
21507 (jn_test_data): Update call to AUTO_TESTS_if_f.
21508 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21509 (log_test_data): Update call to AUTO_TESTS_f_f.
21510 (log10_test_data): Likewise.
21511 (log1p_test_data): Likewise.
21512 (log2_test_data): Likewise.
21513 (pow_test_data): Update call to AUTO_TESTS_ff_f.
21514 (pow_tonearest_test_data): Likewise.
21515 (sin_test_data): Update call to AUTO_TESTS_f_f.
21516 (sin_test): Use ALL_RM_TEST.
21517 (sin_tonearest_test_data): Remove.
21518 (sin_test_tonearest): Likewise.
21519 (sin_towardzero_test_data): Likewise.
21520 (sin_test_towardzero): Likewise.
21521 (sin_downward_test_data): Likewise.
21522 (sin_test_downward): Likewise.
21523 (sin_upward_test_data): Likewise.
21524 (sin_test_upward): Likewise.
21525 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21526 (sinh_test_data): Update call to AUTO_TESTS_f_f.
21527 (sinh_test): Use ALL_RM_TEST.
21528 (sinh_tonearest_test_data): Remove.
21529 (sinh_test_tonearest): Likewise.
21530 (sinh_towardzero_test_data): Likewise.
21531 (sinh_test_towardzero): Likewise.
21532 (sinh_downward_test_data): Likewise.
21533 (sinh_test_downward): Likewise.
21534 (sinh_upward_test_data): Likewise.
21535 (sinh_test_upward): Likewise.
21536 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21537 (sqrt_test): Use ALL_RM_TEST.
21538 (sqrt_tonearest_test_data): Remove.
21539 (sqrt_test_tonearest): Likewise.
21540 (sqrt_towardzero_test_data): Likewise.
21541 (sqrt_test_towardzero): Likewise.
21542 (sqrt_downward_test_data): Likewise.
21543 (sqrt_test_downward): Likewise.
21544 (sqrt_upward_test_data): Likewise.
21545 (sqrt_test_upward): Likewise.
21546 (tan_test_data): Update call to AUTO_TESTS_f_f.
21547 (tan_test): Use ALL_RM_TEST.
21548 (tan_tonearest_test_data): Remove.
21549 (tan_test_tonearest): Likewise.
21550 (tan_towardzero_test_data): Likewise.
21551 (tan_test_towardzero): Likewise.
21552 (tan_downward_test_data): Likewise.
21553 (tan_test_downward): Likewise.
21554 (tan_upward_test_data): Likewise.
21555 (tan_test_upward): Likewise.
21556 (tanh_test_data): Update call to AUTO_TESTS_f_f.
21557 (tgamma_test_data): Likewise.
21558 (y0_test_data): Likewise.
21559 (y1_test_data): Likewise.
21560 (yn_test_data): Update call to AUTO_TESTS_if_f.
21561 (main): Do not call removed functions.
21563 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21565 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21566 (ldexp_test_data): Remove.
21567 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
21569 (scalb_test): Use ALL_RM_TEST.
21571 2014-03-19 Andreas Schwab <schwab@suse.de>
21573 * nscd/nscd.service: Also invalidate netgroup cache on reload.
21575 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21578 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21579 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21580 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21581 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21582 (__ASSUME_PREADV): Undefine.
21583 (__ASSUME_PWRITEV): Likewise.
21585 2014-03-18 Roland McGrath <roland@hack.frob.com>
21587 * bits/mman-linux.h: Add comment about non-Linux use.
21588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21589 bits/mman-linux.h resting place.
21591 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21592 * bits/mman-linux.h: ... here.
21594 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21596 * conform/conformtest.pl: Add standard definition when calling C
21597 preprocessor on data files.
21598 (checknamespace): Remove unused variable.
21600 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21602 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21603 minus_oflow, plus_uflow and minus_uflow in expected results.
21604 * math/libm-test.inc (scalbn_test_data): Add more tests of
21605 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
21607 (scalbn_test): Use ALL_RM_TEST.
21608 (scalbln_test_data): Add more tests of negative arguments. Use
21609 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21610 (scalbln_test): Use ALL_RM_TEST.
21612 2014-03-18 Roland McGrath <roland@hack.frob.com>
21614 * scripts/abilist.awk: Ignore symbols marked with .hidden.
21616 2014-03-18 Will Newton <will.newton@linaro.org>
21618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21619 inaccurate comment.
21621 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21623 * Makerules [!subdir] (check-abi): Exit with error status if a
21626 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21628 * math/libm-test.inc (nearbyint_test_data): Include all tests used
21629 for rint. Include results for all rounding modes.
21630 (nearbyint_test): Use ALL_RM_TEST.
21631 (rint_test_data): Include all tests used for nearbyint.
21633 2014-03-17 Will Newton <will.newton@linaro.org>
21635 * nptl/sysdeps/pthread/pthread.h: Revert previous
21638 * sysdeps/generic/ldsodefs.h: Revert previous
21641 * libio/genops.c: Revert previous change.
21642 * libio/libioP.h: Likewise.
21643 * stdio-common/vfprintf.c: Likewise.
21645 * sysdeps/generic/math_private.h: Revert previous
21648 * sysdeps/generic/math_private.h: Check whether
21649 HAVE_RM_CTX is defined with #ifdef rather
21652 * argp/argp-fmtstream.h: Check whether
21653 __STRICT_ANSI__ is defined with #ifdef rather
21655 * argp/argp.h: Likewise.
21657 * libio/genops.c: Check whether
21658 _IO_JUMPS_OFFSET is defined with #ifdef rather
21660 * libio/libioP.h: Likewise.
21661 * stdio-common/vfprintf.c: Likewise.
21663 * sysdeps/generic/ldsodefs.h: Check whether
21664 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21667 * nptl/sysdeps/pthread/pthread.h: Check
21668 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21671 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21673 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21675 * libio/tst-ftell-active-handler.c (do_append_test): Add a
21679 * libio/fileops.c (_IO_file_open): Seek to end of file but
21680 don't cache the offset.
21681 (get_file_offset): Remove function.
21682 (do_ftell): Use cached offset when available.
21683 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21684 don't cache the offset.
21685 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21687 (do_one_test): Call it.
21688 (do_ftell_test): Fix up expected old offset for a+ mode.
21689 * libio/wfileops.c (do_ftell_wide): Used cached offset when
21692 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21693 up test status with function return status.
21694 (do_write_test): Likewise.
21695 (do_append_test): Likewise.
21697 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21698 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21701 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21703 * math/gen-libm-test.pl (parse_args): Handle results specified for
21704 each rounding mode separately.
21705 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21706 tests and results from lrint_tonearest_test_data,
21707 lrint_towardzero_test_data, lrint_downward_test_data and
21708 lrint_upward_test_data.
21709 (lrint_test): Use ALL_RM_TEST.
21710 (lrint_tonearest_test_data): Remove.
21711 (lrint_test_tonearest): Likewise.
21712 (lrint_towardzero_test_data): Likewise.
21713 (lrint_test_towardzero): Likewise.
21714 (lrint_downward_test_data): Likewise.
21715 (lrint_test_downward): Likewise.
21716 (lrint_upward_test_data): Likewise.
21717 (lrint_test_upward): Likewise.
21718 (llrint_test_data): Merge in per-rounding-mode tests and results
21719 from llrint_tonearest_test_data, llrint_towardzero_test_data,
21720 llrint_downward_test_data and llrint_upward_test_data.
21721 (llrint_test): Use ALL_RM_TEST.
21722 (llrint_tonearest_test_data): Remove.
21723 (llrint_test_tonearest): Likewise.
21724 (llrint_towardzero_test_data): Likewise.
21725 (llrint_test_towardzero): Likewise.
21726 (llrint_downward_test_data): Likewise.
21727 (llrint_test_downward): Likewise.
21728 (llrint_upward_test_data): Likewise.
21729 (llrint_test_upward): Likewise.
21730 (rint_test_data): Merge in per-rounding-mode tests and results
21731 from rint_tonearest_test_data, rint_towardzero_test_data,
21732 rint_downward_test_data and rint_upward_test_data. Add
21733 per-rounding-mode results for tests not in those arrays.
21734 (rint_test): Use ALL_RM_TEST.
21735 (rint_tonearest_test_data): Remove.
21736 (rint_test_tonearest): Likewise.
21737 (rint_towardzero_test_data): Likewise.
21738 (rint_test_towardzero): Likewise.
21739 (rint_downward_test_data): Likewise.
21740 (rint_test_downward): Likewise.
21741 (rint_upward_test_data): Likewise.
21742 (rint_test_upward): Likewise.
21743 (main): Don't call removed functions.
21745 2014-03-14 Roland McGrath <roland@hack.frob.com>
21747 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21748 "Compiled on ..." crapola. It is anti-useful.
21750 2014-03-14 Joseph Myers <joseph@codesourcery.com>
21752 * scripts/evaluate-test.sh: Handle fourth argument to determine
21753 whether test run should stop on failure.
21754 * Makeconfig (stop-on-test-failure): New variable.
21755 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21756 $(stop-on-test-failure).
21757 * Makefile (tests): Give a summary of results from testing and
21758 exit with failure status if they include an ERROR or FAIL.
21759 (xtests): Likewise.
21760 * manual/install.texi (Configuring and compiling): Mention
21761 stop-on-test-failure=y.
21762 * INSTALL: Regenerated.
21764 2014-03-14 Roland McGrath <roland@hack.frob.com>
21766 * scripts/versionlist.awk: New file.
21767 * Makerules [$(build-shared) = yes]
21768 (postclean-generated): Add Versions.def, not Versions.def.v and
21770 ($(common-objpfx)Versions.def.v.i): Target removed.
21771 ($(common-objpfx)Versions.def): New target.
21772 ($(common-objpfx)Versions.all): Depend on that rather that
21773 $(common-objpfx)Versions.def.v.
21774 * Versions.def: File removed.
21776 * Makeconfig (+gccwarn): Add -Wundef.
21777 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21778 a dl-sysdep.h breaking its contract.
21779 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21780 * include/stackinfo.h: New file.
21781 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21782 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21783 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21784 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21785 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21786 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21787 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21788 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21789 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21790 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21791 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21792 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21793 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21794 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21795 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21797 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21800 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21802 * math/libm-test.inc (round_test_data): Add more tests.
21805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21807 * math/libm-test.inc (nearbyint_test_data): Add more tests.
21810 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21812 * math/libm-test.inc (ceil_test_data): Add more tests.
21814 * math/libm-test.inc (trunc_test_data): Add more tests related to
21817 2014-03-14 Roland McGrath <roland@hack.frob.com>
21819 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21820 with #if rather than #ifdef.
21821 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21823 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
21825 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21826 first. Disable AVX-512 GCC support if assembler doesn't support
21828 * sysdeps/x86_64/configure: Regenerated.
21830 2014-03-13 Carlos O'Donell <carlos@redhat.com>
21832 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21833 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21834 (__old_pthread_attr_setstack): Likewise.
21835 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21836 [!_STACK_GROWS_DOWN]: Likewise.
21838 2014-03-13 Mike Frysinger <vapier@gentoo.org>
21840 * config.make.in (have-bash2): Delete.
21841 * configure.ac (libc_cv_have_bash2): Delete.
21842 * configure: Regenerate.
21843 * elf/Makefile (common-ldd-rewrite): Rename to ...
21844 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
21845 (sh-ldd-rewrite): Delete.
21846 (bash-ldd-rewrite): Delete.
21847 (have-bash2): Delete checks.
21848 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21851 * config.make.in (have-ksh): Delete.
21853 * configure.ac (libc_cv_have_ksh): Delete.
21854 * configure: Regenerate.
21856 * elf/Makefile: Delete $(have-ksh) check.
21857 ($(objpfx)sotruss): Change KSH to BASH.
21858 * elf/sotruss.ksh: Rename to ...
21859 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
21860 function style to match POSIX. Drop ksh vim mode setting.
21862 * manual/time.texi (Specifying the Time Zone with TZ): Change
21863 Tuesday to Thursday.
21865 * debug/tst-longjmp_chk2.c: Update header comment.
21866 (stackoverflow_handler): Add comment. Call assert on pass value.
21868 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
21871 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21872 (HAVE_AVX512_ASM_SUPPORT): Likewise.
21873 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21874 (La_x86_64_vector): Add zmm.
21875 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21876 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21877 ($(objpfx)tst-audit10): New target.
21878 ($(objpfx)tst-audit10.out): Likewise.
21879 (tst-audit10-ENV): New.
21880 (AVX512-CFLAGS): Likewise.
21881 (CFLAGS-tst-audit10.c): Likewise.
21882 (CFLAGS-tst-auditmod10a.c): Likewise.
21883 (CFLAGS-tst-auditmod10b.c): Likewise.
21884 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21885 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21886 * sysdeps/x86_64/configure: Regenerated.
21887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21888 AVX-512 zmm register support.
21889 (_dl_x86_64_save_sse): Likewise.
21890 (_dl_x86_64_restore_sse): Likewise.
21891 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21892 size vector registers.
21893 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21894 (ZMM_SIZE): Likewise.
21895 * sysdeps/x86_64/tst-audit10.c: New file.
21896 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21897 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21899 2014-03-13 Roland McGrath <roland@hack.frob.com>
21901 * configure.ac (HAVE_EHDR_START): New check.
21902 * configure: Regenerated.
21903 * config.h.in (HAVE_EHDR_START): New #undef.
21904 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21905 assuming the lowest-addressed segment maps the start of the file.
21907 2014-03-13 Joseph Myers <joseph@codesourcery.com>
21909 * INSTALL: Regenerated.
21911 2014-03-13 Will Newton <will.newton@linaro.org>
21913 * manual/setjmp.texi (System V contexts): Improve
21914 clarity and grammar of documentation.
21916 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21919 * elf/Makefile (tests): Add tst-pie2.
21920 (tests-pie): Add tst-pie2.
21921 * elf/tst-pie2.c: New file.
21922 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21924 * elf/rtld.c (map_doit): Load executable as lt_executable.
21925 (dl_main): Likewise.
21927 2014-03-12 Joseph Myers <joseph@codesourcery.com>
21930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21931 (__ASSUME_PSELECT): Undefine.
21933 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21937 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21939 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21940 selector for static builds.
21942 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21945 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21948 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21950 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21951 IFUNC selector for static builds.
21953 2014-03-11 Joseph Myers <joseph@codesourcery.com>
21955 * sysdeps/mips/math_private.h [__mips_hard_float]
21956 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21957 libc_feresetround_mips_ctx.
21958 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21959 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21960 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21963 * math/s_nextafter.c (__nextafter): Do not return value from
21964 overflowing computation.
21965 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21966 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21967 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21971 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21972 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21974 2014-03-11 Roland McGrath <roland@hack.frob.com>
21976 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21977 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21978 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21979 the new mov targetting sp.
21981 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21984 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21985 Define it for static builds as well.
21986 (NO_BZERO_IMPL): Likewise.
21988 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21990 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21991 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21992 multiarch strspn for PPC64.
21993 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21994 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21996 (__libc_ifunc_impl_list): Likewise.
21997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21998 multiarch optimizations
21999 * string/strspn.c (strspn): Using macro to redefine symbol name.
22001 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22002 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22004 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22005 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22006 multiarch strncat for PPC64.
22007 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22008 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22010 (__libc_ifunc_impl_list): Likewise.
22011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22012 multiarch optimizations
22014 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22017 * nscd/nscd.service: Make service type forking.
22019 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22021 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22022 sign in non default rounding modes.
22023 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22025 2014-03-08 Joseph Myers <joseph@codesourcery.com>
22027 * math/libm-test.inc (ALL_RM_TEST): New macro.
22028 (ceil_test): Use ALL_RM_TEST.
22029 (cimag_test): Likewise.
22030 (conj_test): Likewise.
22031 (copysign_test): Likewise.
22032 (cproj_test): Likewise.
22033 (creal_test): Likewise.
22034 (fabs_test): Likewise.
22035 (floor_test): Likewise.
22036 (fmax_test): Likewise.
22037 (fmin_test): Likewise.
22038 (fmod_test): Likewise.
22039 (fpclassify_test): Likewise.
22040 (frexp_test): Likewise.
22041 (ilogb_test): Likewise.
22042 (isfinite_test): Likewise.
22043 (finite_test): Likewise.
22044 (isgreater_test): Likewise.
22045 (isgreaterequal_test): Likewise.
22046 (isinf_test): Likewise.
22047 (isless_test): Likewise.
22048 (islessequal_test): Likewise.
22049 (islessgreater_test): Likewise.
22050 (isnan_test): Likewise.
22051 (isnormal_test): Likewise.
22052 (issignaling_test): Likewise.
22053 (isunordered_test): Likewise.
22054 (logb_test): Likewise.
22055 (logb_downward_test_data): Remove.
22056 (logb_test_downward): Likewise.
22057 (lround_test): Use ALL_RM_TEST.
22058 (llround_test): Likewise.
22059 (modf_test): Likewise.
22060 (nexttoward_test): Likewise.
22061 (remainder_test): Likewise.
22062 (drem_test): Likewise.
22063 (remainder_tonearest_test_data): Likewise.
22064 (remainder_test_tonearest): Likewise.
22065 (drem_test_tonearest): Likewise.
22066 (remainder_towardzero_test_data): Likewise.
22067 (remainder_test_towardzero): Likewise.
22068 (drem_test_towardzero): Likewise.
22069 (remainder_downward_test_data): Likewise.
22070 (remainder_test_downward): Likewise.
22071 (drem_test_downward): Likewise.
22072 (remainder_upward_test_data): Likewise.
22073 (remainder_test_upward): Likewise.
22074 (drem_test_upward): Likewise.
22075 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
22076 (round_test): Use ALL_RM_TEST.
22077 (signbit_test): Likewise.
22078 (trunc_test): Likewise.
22079 (significand_test): Likewise.
22080 (main): Don't call removed functions.
22082 2014-03-07 Joseph Myers <joseph@codesourcery.com>
22085 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22086 || __USE_XOPEN2K8].
22087 (ILL_ILLOPN): Likewise.
22088 (ILL_ILLADR): Likewise.
22089 (ILL_ILLTRP): Likewise.
22090 (ILL_PRVOPC): Likewise.
22091 (ILL_PRVREG): Likewise.
22092 (ILL_COPROC): Likewise.
22093 (ILL_BADSTK): Likewise.
22094 (FPE_INTDIV): Likewise.
22095 (FPE_INTOVF): Likewise.
22096 (FPE_FLTDIV): Likewise.
22097 (FPE_FLTOVF): Likewise.
22098 (FPE_FLTUND): Likewise.
22099 (FPE_FLTRES): Likewise.
22100 (FPE_FLTINV): Likewise.
22101 (FPE_FLTSUB): Likewise.
22102 (SEGV_MAPERR): Likewise.
22103 (SEGV_ACCERR): Likewise.
22104 (BUS_ADRALN): Likewise.
22105 (BUS_ADRERR): Likewise.
22106 (BUS_OBJERR): Likewise.
22107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22108 (TRAP_TRACE): Likewise.
22109 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22111 (CLD_KILLED): Likewise.
22112 (CLD_DUMPED): Likewise.
22113 (CLD_TRAPPED): Likewise.
22114 (CLD_STOPPED): Likewise.
22115 (CLD_CONTINUED): Likewise.
22116 (POLL_IN): Likewise.
22117 (POLL_OUT): Likewise.
22118 (POLL_MSG): Likewise.
22119 (POLL_ERR): Likewise.
22120 (POLL_PRI): Likewise.
22121 (POLL_HUP): Likewise.
22122 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22124 (ILL_ILLOPN): Likewise.
22125 (ILL_ILLADR): Likewise.
22126 (ILL_ILLTRP): Likewise.
22127 (ILL_PRVOPC): Likewise.
22128 (ILL_PRVREG): Likewise.
22129 (ILL_COPROC): Likewise.
22130 (ILL_BADSTK): Likewise.
22131 (FPE_INTDIV): Likewise.
22132 (FPE_INTOVF): Likewise.
22133 (FPE_FLTDIV): Likewise.
22134 (FPE_FLTOVF): Likewise.
22135 (FPE_FLTUND): Likewise.
22136 (FPE_FLTRES): Likewise.
22137 (FPE_FLTINV): Likewise.
22138 (FPE_FLTSUB): Likewise.
22139 (SEGV_MAPERR): Likewise.
22140 (SEGV_ACCERR): Likewise.
22141 (BUS_ADRALN): Likewise.
22142 (BUS_ADRERR): Likewise.
22143 (BUS_OBJERR): Likewise.
22144 (BUS_MCEERR_AR): Likewise.
22145 (BUS_MCEERR_AO): Likewise.
22146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22147 (TRAP_TRACE): Likewise.
22148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22150 (CLD_KILLED): Likewise.
22151 (CLD_DUMPED): Likewise.
22152 (CLD_TRAPPED): Likewise.
22153 (CLD_STOPPED): Likewise.
22154 (CLD_CONTINUED): Likewise.
22155 (POLL_IN): Likewise.
22156 (POLL_OUT): Likewise.
22157 (POLL_MSG): Likewise.
22158 (POLL_ERR): Likewise.
22159 (POLL_PRI): Likewise.
22160 (POLL_HUP): Likewise.
22161 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22162 (ILL_ILLOPN): Likewise.
22163 (ILL_ILLADR): Likewise.
22164 (ILL_ILLTRP): Likewise.
22165 (ILL_PRVOPC): Likewise.
22166 (ILL_PRVREG): Likewise.
22167 (ILL_COPROC): Likewise.
22168 (ILL_BADSTK): Likewise.
22169 (FPE_INTDIV): Likewise.
22170 (FPE_INTOVF): Likewise.
22171 (FPE_FLTDIV): Likewise.
22172 (FPE_FLTOVF): Likewise.
22173 (FPE_FLTUND): Likewise.
22174 (FPE_FLTRES): Likewise.
22175 (FPE_FLTINV): Likewise.
22176 (FPE_FLTSUB): Likewise.
22177 (SEGV_MAPERR): Likewise.
22178 (SEGV_ACCERR): Likewise.
22179 (BUS_ADRALN): Likewise.
22180 (BUS_ADRERR): Likewise.
22181 (BUS_OBJERR): Likewise.
22182 (BUS_MCEERR_AR): Likewise.
22183 (BUS_MCEERR_AO): Likewise.
22184 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22185 (TRAP_TRACE): Likewise.
22186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22188 (CLD_KILLED): Likewise.
22189 (CLD_DUMPED): Likewise.
22190 (CLD_TRAPPED): Likewise.
22191 (CLD_STOPPED): Likewise.
22192 (CLD_CONTINUED): Likewise.
22193 (POLL_IN): Likewise.
22194 (POLL_OUT): Likewise.
22195 (POLL_MSG): Likewise.
22196 (POLL_ERR): Likewise.
22197 (POLL_PRI): Likewise.
22198 (POLL_HUP): Likewise.
22199 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22201 (ILL_ILLOPN): Likewise.
22202 (ILL_ILLADR): Likewise.
22203 (ILL_ILLTRP): Likewise.
22204 (ILL_PRVOPC): Likewise.
22205 (ILL_PRVREG): Likewise.
22206 (ILL_COPROC): Likewise.
22207 (ILL_BADSTK): Likewise.
22208 (ILL_BADIADDR): Likewise.
22209 (ILL_BREAK): Likewise.
22210 (FPE_INTDIV): Likewise.
22211 (FPE_INTOVF): Likewise.
22212 (FPE_FLTDIV): Likewise.
22213 (FPE_FLTOVF): Likewise.
22214 (FPE_FLTUND): Likewise.
22215 (FPE_FLTRES): Likewise.
22216 (FPE_FLTINV): Likewise.
22217 (FPE_FLTSUB): Likewise.
22218 (FPE_DECOVF): Likewise.
22219 (FPE_DECDIV): Likewise.
22220 (FPE_DECERR): Likewise.
22221 (FPE_INVASC): Likewise.
22222 (FPE_INVDEC): Likewise.
22223 (SEGV_MAPERR): Likewise.
22224 (SEGV_ACCERR): Likewise.
22225 (SEGV_PSTKOVF): Likewise.
22226 (BUS_ADRALN): Likewise.
22227 (BUS_ADRERR): Likewise.
22228 (BUS_OBJERR): Likewise.
22229 (BUS_MCEERR_AR): Likewise.
22230 (BUS_MCEERR_AO): Likewise.
22231 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22232 (TRAP_TRACE): Likewise.
22233 (TRAP_BRANCH): Likewise.
22234 (TRAP_HWBKPT): Likewise.
22235 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22237 (CLD_KILLED): Likewise.
22238 (CLD_DUMPED): Likewise.
22239 (CLD_TRAPPED): Likewise.
22240 (CLD_STOPPED): Likewise.
22241 (CLD_CONTINUED): Likewise.
22242 (POLL_IN): Likewise.
22243 (POLL_OUT): Likewise.
22244 (POLL_MSG): Likewise.
22245 (POLL_ERR): Likewise.
22246 (POLL_PRI): Likewise.
22247 (POLL_HUP): Likewise.
22248 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22249 (ILL_ILLOPN): Likewise.
22250 (ILL_ILLADR): Likewise.
22251 (ILL_ILLTRP): Likewise.
22252 (ILL_PRVOPC): Likewise.
22253 (ILL_PRVREG): Likewise.
22254 (ILL_COPROC): Likewise.
22255 (ILL_BADSTK): Likewise.
22256 (FPE_INTDIV): Likewise.
22257 (FPE_INTOVF): Likewise.
22258 (FPE_FLTDIV): Likewise.
22259 (FPE_FLTOVF): Likewise.
22260 (FPE_FLTUND): Likewise.
22261 (FPE_FLTRES): Likewise.
22262 (FPE_FLTINV): Likewise.
22263 (FPE_FLTSUB): Likewise.
22264 (SEGV_MAPERR): Likewise.
22265 (SEGV_ACCERR): Likewise.
22266 (BUS_ADRALN): Likewise.
22267 (BUS_ADRERR): Likewise.
22268 (BUS_OBJERR): Likewise.
22269 (BUS_MCEERR_AR): Likewise.
22270 (BUS_MCEERR_AO): Likewise.
22271 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22272 (TRAP_TRACE): Likewise.
22273 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22275 (CLD_KILLED): Likewise.
22276 (CLD_DUMPED): Likewise.
22277 (CLD_TRAPPED): Likewise.
22278 (CLD_STOPPED): Likewise.
22279 (CLD_CONTINUED): Likewise.
22280 (POLL_IN): Likewise.
22281 (POLL_OUT): Likewise.
22282 (POLL_MSG): Likewise.
22283 (POLL_ERR): Likewise.
22284 (POLL_PRI): Likewise.
22285 (POLL_HUP): Likewise.
22286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22287 (ILL_ILLOPN): Likewise.
22288 (ILL_ILLADR): Likewise.
22289 (ILL_ILLTRP): Likewise.
22290 (ILL_PRVOPC): Likewise.
22291 (ILL_PRVREG): Likewise.
22292 (ILL_COPROC): Likewise.
22293 (ILL_BADSTK): Likewise.
22294 (FPE_INTDIV): Likewise.
22295 (FPE_INTOVF): Likewise.
22296 (FPE_FLTDIV): Likewise.
22297 (FPE_FLTOVF): Likewise.
22298 (FPE_FLTUND): Likewise.
22299 (FPE_FLTRES): Likewise.
22300 (FPE_FLTINV): Likewise.
22301 (FPE_FLTSUB): Likewise.
22302 (SEGV_MAPERR): Likewise.
22303 (SEGV_ACCERR): Likewise.
22304 (BUS_ADRALN): Likewise.
22305 (BUS_ADRERR): Likewise.
22306 (BUS_OBJERR): Likewise.
22307 (BUS_MCEERR_AR): Likewise.
22308 (BUS_MCEERR_AO): Likewise.
22309 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22310 (TRAP_TRACE): Likewise.
22311 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22313 (CLD_KILLED): Likewise.
22314 (CLD_DUMPED): Likewise.
22315 (CLD_TRAPPED): Likewise.
22316 (CLD_STOPPED): Likewise.
22317 (CLD_CONTINUED): Likewise.
22318 (POLL_IN): Likewise.
22319 (POLL_OUT): Likewise.
22320 (POLL_MSG): Likewise.
22321 (POLL_ERR): Likewise.
22322 (POLL_PRI): Likewise.
22323 (POLL_HUP): Likewise.
22324 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22325 (ILL_ILLOPN): Likewise.
22326 (ILL_ILLADR): Likewise.
22327 (ILL_ILLTRP): Likewise.
22328 (ILL_PRVOPC): Likewise.
22329 (ILL_PRVREG): Likewise.
22330 (ILL_COPROC): Likewise.
22331 (ILL_BADSTK): Likewise.
22332 (FPE_INTDIV): Likewise.
22333 (FPE_INTOVF): Likewise.
22334 (FPE_FLTDIV): Likewise.
22335 (FPE_FLTOVF): Likewise.
22336 (FPE_FLTUND): Likewise.
22337 (FPE_FLTRES): Likewise.
22338 (FPE_FLTINV): Likewise.
22339 (FPE_FLTSUB): Likewise.
22340 (SEGV_MAPERR): Likewise.
22341 (SEGV_ACCERR): Likewise.
22342 (BUS_ADRALN): Likewise.
22343 (BUS_ADRERR): Likewise.
22344 (BUS_OBJERR): Likewise.
22345 (BUS_MCEERR_AR): Likewise.
22346 (BUS_MCEERR_AO): Likewise.
22347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22348 (TRAP_TRACE): Likewise.
22349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22351 (CLD_KILLED): Likewise.
22352 (CLD_DUMPED): Likewise.
22353 (CLD_TRAPPED): Likewise.
22354 (CLD_STOPPED): Likewise.
22355 (CLD_CONTINUED): Likewise.
22356 (POLL_IN): Likewise.
22357 (POLL_OUT): Likewise.
22358 (POLL_MSG): Likewise.
22359 (POLL_ERR): Likewise.
22360 (POLL_PRI): Likewise.
22361 (POLL_HUP): Likewise.
22362 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22363 (ILL_ILLOPN): Likewise.
22364 (ILL_ILLADR): Likewise.
22365 (ILL_ILLTRP): Likewise.
22366 (ILL_PRVOPC): Likewise.
22367 (ILL_PRVREG): Likewise.
22368 (ILL_COPROC): Likewise.
22369 (ILL_BADSTK): Likewise.
22370 (ILL_DBLFLT): Likewise.
22371 (ILL_HARDWALL): Likewise.
22372 (FPE_INTDIV): Likewise.
22373 (FPE_INTOVF): Likewise.
22374 (FPE_FLTDIV): Likewise.
22375 (FPE_FLTOVF): Likewise.
22376 (FPE_FLTUND): Likewise.
22377 (FPE_FLTRES): Likewise.
22378 (FPE_FLTINV): Likewise.
22379 (FPE_FLTSUB): Likewise.
22380 (SEGV_MAPERR): Likewise.
22381 (SEGV_ACCERR): Likewise.
22382 (BUS_ADRALN): Likewise.
22383 (BUS_ADRERR): Likewise.
22384 (BUS_OBJERR): Likewise.
22385 (BUS_MCEERR_AR): Likewise.
22386 (BUS_MCEERR_AO): Likewise.
22387 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22388 (TRAP_TRACE): Likewise.
22389 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22391 (CLD_KILLED): Likewise.
22392 (CLD_DUMPED): Likewise.
22393 (CLD_TRAPPED): Likewise.
22394 (CLD_STOPPED): Likewise.
22395 (CLD_CONTINUED): Likewise.
22396 (POLL_IN): Likewise.
22397 (POLL_OUT): Likewise.
22398 (POLL_MSG): Likewise.
22399 (POLL_ERR): Likewise.
22400 (POLL_PRI): Likewise.
22401 (POLL_HUP): Likewise.
22402 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22403 (ILL_ILLOPN): Likewise.
22404 (ILL_ILLADR): Likewise.
22405 (ILL_ILLTRP): Likewise.
22406 (ILL_PRVOPC): Likewise.
22407 (ILL_PRVREG): Likewise.
22408 (ILL_COPROC): Likewise.
22409 (ILL_BADSTK): Likewise.
22410 (FPE_INTDIV): Likewise.
22411 (FPE_INTOVF): Likewise.
22412 (FPE_FLTDIV): Likewise.
22413 (FPE_FLTOVF): Likewise.
22414 (FPE_FLTUND): Likewise.
22415 (FPE_FLTRES): Likewise.
22416 (FPE_FLTINV): Likewise.
22417 (FPE_FLTSUB): Likewise.
22418 (SEGV_MAPERR): Likewise.
22419 (SEGV_ACCERR): Likewise.
22420 (BUS_ADRALN): Likewise.
22421 (BUS_ADRERR): Likewise.
22422 (BUS_OBJERR): Likewise.
22423 (BUS_MCEERR_AR): Likewise.
22424 (BUS_MCEERR_AO): Likewise.
22425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22426 (TRAP_TRACE): Likewise.
22427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22429 (CLD_KILLED): Likewise.
22430 (CLD_DUMPED): Likewise.
22431 (CLD_TRAPPED): Likewise.
22432 (CLD_STOPPED): Likewise.
22433 (CLD_CONTINUED): Likewise.
22434 (POLL_IN): Likewise.
22435 (POLL_OUT): Likewise.
22436 (POLL_MSG): Likewise.
22437 (POLL_ERR): Likewise.
22438 (POLL_PRI): Likewise.
22439 (POLL_HUP): Likewise.
22440 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22441 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22444 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22445 before #include of <time.h>.
22446 [!__USE_XOPEN2K] (__need_timespec): Likewise.
22447 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22448 (test-xfail-UNIX98/sched.h/conform): Likewise.
22450 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
22452 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22453 error absence of trapping exception support.
22454 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22456 2014-03-07 Joseph Myers <joseph@codesourcery.com>
22458 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22459 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22460 * timezone/Makefile (testdata): Move definition above include of
22462 (test-zones): New variable.
22463 (tests-special): Add zone files.
22464 (build-testdata): Use $(evaluate-test).
22466 * elf/Makefile (tests-special): Rename tests to end with .out.
22467 ($(objpfx)noload-mem): Likewise.
22468 ($(objpfx)tst-leaks1-mem): Likewise.
22469 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22470 * iconv/Makefile (xtests-special): Change test-iconvconfig to
22471 $(objpfx)test-iconvconfig.out.
22472 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
22473 set -e inside subshell and redirect output to file.
22474 * iconvdata/Makefile (generated): Rename tests to end with .out.
22476 (tests-special): Rename tests to end with .out.
22477 ($(objpfx)mtrace-tst-loading): Likewise.
22478 * intl/Makefile (generated): Likewise.
22479 (tests-special): Likewise.
22480 ($(objpfx)mtrace-tst-gettext): Likewise.
22481 * misc/Makefile (generated): Likewise.
22482 (tests-special): Likewise.
22483 ($(objpfx)tst-error1-mem): Likewise.
22484 * nptl/Makefile (tests-special): Likewise.
22485 ($(objpfx)tst-stack3-mem): Likewise.
22486 (generated): Likewise.
22487 * posix/Makefile (generated): Likewise.
22488 (tests-special): Likewise.
22489 (xtests-special): Likewise.
22490 ($(objpfx)tst-fnmatch-mem): Likewise.
22491 ($(objpfx)bug-regex2-mem): Likewise.
22492 ($(objpfx)bug-regex14-mem): Likewise.
22493 ($(objpfx)bug-regex21-mem): Likewise.
22494 ($(objpfx)bug-regex31-mem): Likewise.
22495 ($(objpfx)tst-vfork3-mem): Likewise.
22496 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22497 ($(objpfx)tst-pcre-mem): Likewise.
22498 ($(objpfx)tst-boost-mem): Likewise.
22499 ($(objpfx)bug-ga2-mem): Likewise.
22500 ($(objpfx)bug-glob2-mem): Likewise.
22501 * resolv/Makefile (generate): Likewise.
22502 (tests-special): Likewise.
22503 (xtests-special): Likewise.
22504 (generated): Likewise.
22505 ($(objpfx)mtrace-tst-leaks): Likewise.
22506 ($(objpfx)mtrace-tst-leaks2): Likewise.
22508 * scripts/merge-test-results.sh: New file.
22509 * Makefile (tests-special-notdir): New variable.
22510 (tests): Run merge-test-results.sh.
22511 (xtests): Likewise.
22512 * Rules (tests-special-notdir): New variable.
22513 (xtests-special-notdir): Likewise.
22514 (tests): Run merge-test-results.sh
22515 (xtests): Likewise.
22517 * Makeconfig (test-xfail-name): New variable.
22518 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22519 compute variable name for expected failures.
22520 * conform/Makefile (conformtest-headers-data): New variable.
22521 (conformtest-standards): Likewise.
22522 (conformtest-headers-ISO): Likewise.
22523 (conformtest-headers-ISO99): Likewise.
22524 (conformtest-headers-ISO11): Likewise.
22525 (conformtest-headers-POSIX): Likewise.
22526 (conformtest-headers-XPG3): Likewise.
22527 (conformtest-headers-XPG4): Likewise.
22528 (conformtest-headers-UNIX98): Likewise.
22529 (conformtest-headers-XOPEN2K): Likewise.
22530 (conformtest-headers-POSIX2008): Likewise.
22531 (conformtest-headers-XOPEN2K8): Likewise.
22532 (conformtest-header-list-base): Likewise.
22533 (conformtest-header-list-tests): Likewise.
22534 (conformtest-header-base): Likewise.
22535 (conformtest-header-tests): Likewise.
22536 (tests-special): Add $(conformtest-header-list-tests). If
22537 [$(fast-check) && !$(cross-compiling)], add
22538 $(conformtest-header-tests) instead of
22539 $(objpfx)run-conformtest.out.
22540 (generated): Add $(conformtest-header-list-base). If
22541 [$(fast-check) && !$(cross-compiling)], add
22542 $(conformtest-header-base). Remove previous setting.
22543 ($(conformtest-header-list-tests)): New target.
22544 (test-xfail-run-conformtest): Remove variable.
22545 ($(objpfx)run-conformtest.out): Remove target.
22546 (test-xfail-ISO11/complex.h/conform): New variable.
22547 (test-xfail-ISO11/stdalign.h/conform): Likewise.
22548 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22549 (test-xfail-XPG3/varargs.h/conform): Likewise.
22550 (test-xfail-XPG4/varargs.h/conform): Likewise.
22551 (test-xfail-UNIX98/varargs.h/conform): Likewise.
22552 (test-xfail-XPG4/ndbm.h/conform): Likewise.
22553 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22554 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22555 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22556 (test-xfail-XPG3/fcntl.h/conform): Likewise.
22557 (test-xfail-XPG3/ftw.h/conform): Likewise.
22558 (test-xfail-XPG3/grp.h/conform): Likewise.
22559 (test-xfail-XPG3/langinfo.h/conform): Likewise.
22560 (test-xfail-XPG3/limits.h/conform): Likewise.
22561 (test-xfail-XPG3/pwd.h/conform): Likewise.
22562 (test-xfail-XPG3/search.h/conform): Likewise.
22563 (test-xfail-XPG3/signal.h/conform): Likewise.
22564 (test-xfail-XPG3/stdio.h/conform): Likewise.
22565 (test-xfail-XPG3/stdlib.h/conform): Likewise.
22566 (test-xfail-XPG3/string.h/conform): Likewise.
22567 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22568 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22569 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22570 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22571 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22572 (test-xfail-XPG3/sys/types.h/conform): Likewise.
22573 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22574 (test-xfail-XPG3/termios.h/conform): Likewise.
22575 (test-xfail-XPG3/time.h/conform): Likewise.
22576 (test-xfail-XPG3/unistd.h/conform): Likewise.
22577 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22578 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22579 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22580 (test-xfail-XPG4/netdb.h/conform): Likewise.
22581 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22582 (test-xfail-XPG4/signal.h/conform): Likewise.
22583 (test-xfail-XPG4/stdio.h/conform): Likewise.
22584 (test-xfail-XPG4/stdlib.h/conform): Likewise.
22585 (test-xfail-XPG4/stropts.h/conform): Likewise.
22586 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22587 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22588 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22589 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22590 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22591 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22592 (test-xfail-XPG4/sys/time.h/conform): Likewise.
22593 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22594 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22595 (test-xfail-XPG4/termios.h/conform): Likewise.
22596 (test-xfail-XPG4/ucontext.h/conform): Likewise.
22597 (test-xfail-XPG4/unistd.h/conform): Likewise.
22598 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22599 (test-xfail-POSIX/sched.h/conform): Likewise.
22600 (test-xfail-POSIX/signal.h/conform): Likewise.
22601 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22602 (test-xfail-POSIX/tar.h/conform): Likewise.
22603 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22604 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22605 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22606 (test-xfail-UNIX98/netdb.h/conform): Likewise.
22607 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22608 (test-xfail-UNIX98/sched.h/conform): Likewise.
22609 (test-xfail-UNIX98/signal.h/conform): Likewise.
22610 (test-xfail-UNIX98/stdio.h/conform): Likewise.
22611 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22612 (test-xfail-UNIX98/stropts.h/conform): Likewise.
22613 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22614 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22615 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22616 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22617 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22618 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22619 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22620 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22621 (test-xfail-UNIX98/unistd.h/conform): Likewise.
22622 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22623 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22624 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22625 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22626 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22627 (test-xfail-XOPEN2K/math.h/conform): Likewise.
22628 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22629 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22630 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22631 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22632 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22633 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22634 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22635 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22636 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22637 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22638 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22639 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22640 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22641 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22642 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22643 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22644 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22645 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22646 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22647 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22648 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22649 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22650 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22651 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22652 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22653 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22654 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22655 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22656 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22657 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22658 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22659 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22660 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22661 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22662 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22663 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22664 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22665 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22666 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22667 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22668 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22669 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22670 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22671 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22672 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22673 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22674 (conformtest-cc-flags): Likewise.
22675 ($(conformtest-header-tests): New target.
22676 * conform/check-header-lists.sh: New file.
22677 * conform/run-conformtest.sh: Remove.
22679 * conform/conformtest.pl: Allow ' and \ in values given for
22681 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22683 [POSIX] (sys/types.h): Likewise.
22684 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22686 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22688 * conform/data/signal.h-data (SIGIO): Remove expectation.
22689 [XPG3] (SIGBUS): Do not expect.
22690 [POSIX || XPG3] (SIGPOLL): Likewise.
22691 [POSIX || XPG3] (SIGPROF): Likewise.
22692 [POSIX || XPG3] (SIGSYS): Likewise.
22693 [XPG3] (SIGTRAP): Likewise.
22694 [POSIX || XPG3] (SIGURG): Likewise.
22695 [POSIX || XPG3] (SIGVTALRM): Likewise.
22696 [POSIX || XPG3] (SIGXCPU): Likewise.
22697 [POSIX || XPG3] (SIGXFSZ): Likewise.
22698 [POSIX] (SA_SIGINFO): Expect.
22699 [XPG3] (siginfo_t): Do not expect type or contents.
22700 [POSIX] (si_pid): Do not expect element.
22701 [POSIX] (si_uid): Likewise.
22702 [POSIX] (si_addr): Likewise.
22703 [POSIX] (si_status): Likewise.
22704 [POSIX] (si_band): Likewise.
22705 [XPG4] (si_value): Likewise.
22706 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22707 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22708 [POSIX || XPG3] (ILL_ILLADR): Likewise.
22709 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22710 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22711 [POSIX || XPG3] (ILL_PRVREG): Likewise.
22712 [POSIX || XPG3] (ILL_COPROC): Likewise.
22713 [POSIX || XPG3] (ILL_BADSTK): Likewise.
22714 [POSIX || XPG3] (FPE_INTDIV): Likewise.
22715 [POSIX || XPG3] (FPE_INTOVF): Likewise.
22716 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22717 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22718 [POSIX || XPG3] (FPE_FLTUND): Likewise.
22719 [POSIX || XPG3] (FPE_FLTRES): Likewise.
22720 [POSIX || XPG3] (FPE_FLTINV): Likewise.
22721 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22722 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22723 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22724 [POSIX || XPG3] (BUS_ADRALN): Likewise.
22725 [POSIX || XPG3] (BUS_ADRERR): Likewise.
22726 [POSIX || XPG3] (BUS_OBJERR): Likewise.
22727 [POSIX || XPG3] (CLD_EXITED): Likewise.
22728 [POSIX || XPG3] (CLD_KILLED): Likewise.
22729 [POSIX || XPG3] (CLD_DUMPED): Likewise.
22730 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22731 [POSIX || XPG3] (CLD_STOPPED): Likewise.
22732 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22733 [POSIX || XPG3] (POLL_IN): Likewise.
22734 [POSIX || XPG3] (POLL_OUT): Likewise.
22735 [POSIX || XPG3] (POLL_MSG): Likewise.
22736 [POSIX || XPG3] (POLL_ERR): Likewise.
22737 [POSIX || XPG3] (POLL_PRI): Likewise.
22738 [POSIX || XPG3] (POLL_HUP): Likewise.
22739 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22740 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22741 (SIG*): Do not allow.
22742 [XPG3] (si_*): Likewise.
22743 [XPG3] (SI_*): Likewise.
22744 [XPG3 || XPG4] (sigev_*): Likewise.
22745 [XPG3 || XPG4] (SIGEV_*): Likewise.
22746 [XPG3 || XPG4] (sival_*): Likewise.
22747 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22748 [POSIX || XPG3] (BUS_*): Likewise.
22749 [POSIX || XPG3] (CLD_*): Likewise.
22750 [POSIX || XPG3] (FPE_*): Likewise.
22751 [POSIX || XPG3] (ILL_*): Likewise.
22752 [POSIX || XPG3] (POLL_*): Likewise.
22753 [POSIX || XPG3] (SEGV_*): Likewise.
22754 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22755 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22756 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22757 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22758 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22759 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22760 Specify type and value.
22761 (TVERSLEN): Likewise.
22762 (REGTYPE): Likewise.
22763 (AREGTYPE): Likewise.
22764 (LNKTYPE): Likewise.
22765 (SYMTYPE): Likewise.
22766 (CHRTYPE): Likewise.
22767 (BLKTYPE): Likewise.
22768 (DIRTYPE): Likewise.
22769 (FIFOTYPE): Likewise.
22770 (CONTTYPE): Likewise.
22774 (TUREAD): Likewise.
22775 (TUWRITE): Likewise.
22776 (TUEXEC): Likewise.
22777 (TGREAD): Likewise.
22778 (TGWRITE): Likewise.
22779 (TGEXEC): Likewise.
22780 (TOREAD): Likewise.
22781 (TOWRITE): Likewise.
22782 (TOEXEC): Likewise.
22783 [POSIX] (TSVTX): Expect constant.
22785 2014-03-06 Joseph Myers <joseph@codesourcery.com>
22787 * Makefile (tests): Change dependencies to ....
22788 (tests-special): ... additions to this variable.
22789 (tests): Depend on $(tests-special).
22790 * Makerules (check-abi-list): New variable.
22791 (check-abi): Depend on $(check-abi-list).
22792 [$(subdir) = elf] (tests-special): Add
22793 $(objpfx)check-abi-libc.out.
22794 [$(build-shared) = yes && subdir] (tests-special): Add
22796 [$(build-shared) = yes && subdir] (tests): Do not depend on
22798 * Rules (tests): Depend on $(tests-special).
22799 (xtests): Depend on $(xtests-special).
22800 * catgets/Makefile (tests): Change dependencies to ....
22801 (tests-special): ... additions to this variable.
22802 * conform/Makefile (tests): Change dependencies to ....
22803 (tests-special): ... additions to this variable.
22804 * elf/Makefile (tests): Change dependencies to ....
22805 (tests-special): ... additions to this variable.
22806 * grp/Makefile (tests): Change dependencies to ....
22807 (tests-special): ... additions to this variable.
22808 * iconv/Makefile (xtests): Change dependencies to ....
22809 (xtests-special): ... additions to this variable.
22810 * iconvdata/Makefile (tests): Change dependencies to ....
22811 (tests-special): ... additions to this variable.
22812 * intl/Makefile (tests): Change dependencies to ....
22813 (tests-special): ... additions to this variable. Also add
22814 $(objpfx)tst-gettext.out.
22815 * io/Makefile (tests): Change dependencies to ....
22816 (tests-special): ... additions to this variable.
22817 * libio/Makefile (tests): Change dependencies to ....
22818 (tests-special): ... additions to this variable.
22819 * malloc/Makefile (tests): Change dependencies to ....
22820 (tests-special): ... additions to this variable.
22821 * misc/Makefile (tests): Change dependencies to ....
22822 (tests-special): ... additions to this variable.
22823 * nptl/Makefile (tests): Change dependencies to ....
22824 (tests-special): ... additions to this variable.
22825 * nptl_db/Makefile (tests): Change dependencies to ....
22826 (tests-special): ... additions to this variable.
22827 * posix/Makefile (tests): Change dependencies to ....
22828 (tests-special): ... additions to this variable.
22829 (xtests): Change dependencies to ....
22830 (xtests-special): ... additions to this variable.
22831 * resolv/Makefile (tests): Change dependencies to ....
22832 (tests-special): ... additions to this variable.
22833 (xtests): Change dependencies to ....
22834 (xtests-special): ... additions to this variable.
22835 * stdio-common/Makefile (tests): Change dependencies to ....
22836 (tests-special): ... additions to this variable.
22837 (do-tst-unbputc): Remove target.
22838 (do-tst-printf): Likewise.
22839 * stdlib/Makefile (tests): Change dependencies to ....
22840 (tests-special): ... additions to this variable.
22841 * string/Makefile (tests): Change dependencies to ....
22842 (tests-special): ... additions to this variable.
22843 * sysdeps/x86/Makefile (tests): Change dependencies to ....
22844 (tests-special): ... additions to this variable.
22846 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22848 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22850 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22851 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22853 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22854 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22855 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22856 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22857 * conform/data/libgen.h-data [XPG3]: Likewise.
22858 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22859 * conform/data/ndbm.h-data [XPG3]: Likewise.
22860 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22861 * conform/data/netdb.h-data [XPG3]: Likewise.
22862 * conform/data/netinet/in.h-data [XPG3]: Likewise.
22863 * conform/data/poll.h-data [XPG3]: Likewise.
22864 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22865 * conform/data/strings.h-data [XPG3]: Likewise.
22866 * conform/data/stropts.h-data [XPG3]: Likewise.
22867 * conform/data/sys/mman.h-data [XPG3]: Likewise.
22868 * conform/data/sys/resource.h-data [XPG3]: Likewise.
22869 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22871 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22872 * conform/data/sys/time.h-data [XPG3]: Likewise.
22873 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22874 * conform/data/sys/uio.h-data [XPG3]: Likewise.
22875 * conform/data/sys/un.h-data [XPG3]: Likewise.
22876 * conform/data/syslog.h-data [XPG3]: Likewise.
22877 * conform/data/ucontext.h-data [XPG3]: Likewise.
22878 * conform/data/utmpx.h-data [XPG3]: Likewise.
22879 * conform/data/varargs.h-data [UNIX98]: Enable file.
22881 * manual/Makefile (INSTALL_INFO): Remove variable setting.
22883 * math/libm-test.inc (struct test_f_f_data): Move expected results
22884 into structure for each rounding mode.
22885 (struct test_ff_f_data): Likewise.
22886 (struct test_ff_f_data_nexttoward): Likewise.
22887 (struct test_fi_f_data): Likewise.
22888 (struct test_fl_f_data): Likewise.
22889 (struct test_if_f_data): Likewise.
22890 (struct test_fff_f_data): Likewise.
22891 (struct test_c_f_data): Likewise.
22892 (struct test_f_f1_data): Likewise.
22893 (struct test_fF_f1_data): Likewise.
22894 (struct test_ffI_f1_data): Likewise.
22895 (struct test_c_c_data): Likewise.
22896 (struct test_cc_c_data): Likewise.
22897 (struct test_f_i_data): Likewise.
22898 (struct test_ff_i_data): Likewise.
22899 (struct test_f_l_data): Likewise.
22900 (struct test_f_L_data): Likewise.
22901 (struct test_fFF_11_data): Likewise.
22903 (RM_FE_DOWNWARD): Likewise.
22904 (RM_FE_TONEAREST): Likewise.
22905 (RM_FE_TOWARDZERO): Likewise.
22906 (RM_FE_UPWARD): Likewise.
22907 (RUN_TEST_LOOP_f_f): Update references to expected results.
22908 (RUN_TEST_LOOP_2_f): Likewise.
22909 (RUN_TEST_LOOP_fff_f): Likewise.
22910 (RUN_TEST_LOOP_c_f): Likewise.
22911 (RUN_TEST_LOOP_f_f1): Likewise.
22912 (RUN_TEST_LOOP_fF_f1): Likewise.
22913 (RUN_TEST_LOOP_fI_f1): Likewise.
22914 (RUN_TEST_LOOP_ffI_f1): Likewise.
22915 (RUN_TEST_LOOP_c_c): Likewise.
22916 (RUN_TEST_LOOP_cc_c): Likewise.
22917 (RUN_TEST_LOOP_f_i): Likewise.
22918 (RUN_TEST_LOOP_f_i_tg): Likewise.
22919 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22920 (RUN_TEST_LOOP_f_b): Likewise.
22921 (RUN_TEST_LOOP_f_b_tg): Likewise.
22922 (RUN_TEST_LOOP_f_l): Likewise.
22923 (RUN_TEST_LOOP_f_L): Likewise.
22924 (RUN_TEST_LOOP_fFF_11): Likewise.
22925 * math/gen-libm-test.pl (parse_args): Output four copies of
22926 expected results for each test.
22928 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22929 (__ASSUME_UTIMES): Remove.
22930 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22931 (__ASSUME_UTIMES): Likewise.
22933 * math/gen-auto-libm-tests.c: Update comment on output format.
22934 (output_for_one_input_case): Generate before-rounding and
22935 after-rounding information as conditions on output flags not
22936 floating-point format.
22937 * math/auto-libm-test-out: Regenerated.
22938 * math/gen-libm-test.pl (cond_value): New function.
22939 (or_cond_value): Use cond_value.
22940 (generate_testfile): Handle conditional exceptions.
22942 2014-03-05 Joseph Myers <joseph@codesourcery.com>
22944 * math/libm-test.inc (max_valid_error): New variable.
22945 (init_max_error): Take new argument specifying whether function
22946 results are exactly determined. Set max_valid_error and bound
22947 other variables for errors based on this argument.
22948 (set_max_error): Do not record results above max_valid_error.
22949 (check_float_internal): Only accept errors of up to 0.5ulps if
22950 also at most max_valid_error.
22951 (START): Take new argument EXACT and pass it to init_max_error.
22952 (acos_test): Update call to START.
22953 (acos_test_tonearest): Likewise.
22954 (acos_test_towardzero): Likewise.
22955 (acos_test_downward): Likewise.
22956 (acos_test_upward): Likewise.
22957 (acosh_test): Likewise.
22958 (asin_test): Likewise.
22959 (asin_test_tonearest): Likewise.
22960 (asin_test_towardzero): Likewise.
22961 (asin_test_downward): Likewise.
22962 (asin_test_upward): Likewise.
22963 (asinh_test): Likewise.
22964 (atan_test): Likewise.
22965 (atanh_test): Likewise.
22966 (atan2_test): Likewise.
22967 (cabs_test): Likewise.
22968 (cacos_test): Likewise.
22969 (cacosh_test): Likewise.
22970 (carg_test): Likewise.
22971 (casin_test): Likewise.
22972 (casinh_test): Likewise.
22973 (catan_test): Likewise.
22974 (catanh_test): Likewise.
22975 (cbrt_test): Likewise.
22976 (ccos_test): Likewise.
22977 (ccosh_test): Likewise.
22978 (ceil_test): Likewise.
22979 (cexp_test): Likewise.
22980 (cimag_test): Likewise.
22981 (clog_test): Likewise.
22982 (clog10_test): Likewise.
22983 (conj_test): Likewise.
22984 (copysign_test): Likewise.
22985 (cos_test): Likewise.
22986 (cos_test_tonearest): Likewise.
22987 (cos_test_towardzero): Likewise.
22988 (cos_test_downward): Likewise.
22989 (cos_test_upward): Likewise.
22990 (cosh_test): Likewise.
22991 (cosh_test_tonearest): Likewise.
22992 (cosh_test_towardzero): Likewise.
22993 (cosh_test_downward): Likewise.
22994 (cosh_test_upward): Likewise.
22995 (cpow_test): Likewise.
22996 (cproj_test): Likewise.
22997 (creal_test): Likewise.
22998 (csin_test): Likewise.
22999 (csinh_test): Likewise.
23000 (csqrt_test): Likewise.
23001 (ctan_test): Likewise.
23002 (ctan_test_tonearest): Likewise.
23003 (ctan_test_towardzero): Likewise.
23004 (ctan_test_downward): Likewise.
23005 (ctan_test_upward): Likewise.
23006 (ctanh_test): Likewise.
23007 (ctanh_test_tonearest): Likewise.
23008 (ctanh_test_towardzero): Likewise.
23009 (ctanh_test_downward): Likewise.
23010 (ctanh_test_upward): Likewise.
23011 (erf_test): Likewise.
23012 (erfc_test): Likewise.
23013 (exp_test): Likewise.
23014 (exp_test_tonearest): Likewise.
23015 (exp_test_towardzero): Likewise.
23016 (exp_test_downward): Likewise.
23017 (exp_test_upward): Likewise.
23018 (exp10_test): Likewise.
23019 (exp10_test_tonearest): Likewise.
23020 (exp10_test_towardzero): Likewise.
23021 (exp10_test_downward): Likewise.
23022 (exp10_test_upward): Likewise.
23023 (pow10_test): Likewise.
23024 (exp2_test): Likewise.
23025 (expm1_test): Likewise.
23026 (expm1_test_tonearest): Likewise.
23027 (expm1_test_towardzero): Likewise.
23028 (expm1_test_downward): Likewise.
23029 (expm1_test_upward): Likewise.
23030 (fabs_test): Likewise.
23031 (fdim_test): Likewise.
23032 (floor_test): Likewise.
23033 (fma_test): Likewise.
23034 (fma_test_towardzero): Likewise.
23035 (fma_test_downward): Likewise.
23036 (fma_test_upward): Likewise.
23037 (fmax_test): Likewise.
23038 (fmin_test): Likewise.
23039 (fmod_test): Likewise.
23040 (fpclassify_test): Likewise.
23041 (frexp_test): Likewise.
23042 (hypot_test): Likewise.
23043 (ilogb_test): Likewise.
23044 (isfinite_test): Likewise.
23045 (finite_test): Likewise.
23046 (isgreater_test): Likewise.
23047 (isgreaterequal_test): Likewise.
23048 (isinf_test): Likewise.
23049 (isless_test): Likewise.
23050 (islessequal_test): Likewise.
23051 (islessgreater_test): Likewise.
23052 (isnan_test): Likewise.
23053 (isnormal_test): Likewise.
23054 (issignaling_test): Likewise.
23055 (isunordered_test): Likewise.
23056 (j0_test): Likewise.
23057 (j1_test): Likewise.
23058 (jn_test): Likewise.
23059 (ldexp_test): Likewise.
23060 (lgamma_test): Likewise.
23061 (gamma_test): Likewise.
23062 (lrint_test): Likewise.
23063 (lrint_test_tonearest): Likewise.
23064 (lrint_test_towardzero): Likewise.
23065 (lrint_test_downward): Likewise.
23066 (lrint_test_upward): Likewise.
23067 (llrint_test): Likewise.
23068 (llrint_test_tonearest): Likewise.
23069 (llrint_test_towardzero): Likewise.
23070 (llrint_test_downward): Likewise.
23071 (llrint_test_upward): Likewise.
23072 (log_test): Likewise.
23073 (log10_test): Likewise.
23074 (log1p_test): Likewise.
23075 (log2_test): Likewise.
23076 (logb_test): Likewise.
23077 (logb_test_downward): Likewise.
23078 (lround_test): Likewise.
23079 (llround_test): Likewise.
23080 (modf_test): Likewise.
23081 (nearbyint_test): Likewise.
23082 (nextafter_test): Likewise.
23083 (nexttoward_test): Likewise.
23084 (pow_test): Likewise.
23085 (pow_test_tonearest): Likewise.
23086 (pow_test_towardzero): Likewise.
23087 (pow_test_downward): Likewise.
23088 (pow_test_upward): Likewise.
23089 (remainder_test): Likewise.
23090 (drem_test): Likewise.
23091 (remainder_test_tonearest): Likewise.
23092 (drem_test_tonearest): Likewise.
23093 (remainder_test_towardzero): Likewise.
23094 (drem_test_towardzero): Likewise.
23095 (remainder_test_downward): Likewise.
23096 (drem_test_downward): Likewise.
23097 (remainder_test_upward): Likewise.
23098 (drem_test_upward): Likewise.
23099 (remquo_test): Likewise.
23100 (rint_test): Likewise.
23101 (rint_test_tonearest): Likewise.
23102 (rint_test_towardzero): Likewise.
23103 (rint_test_downward): Likewise.
23104 (rint_test_upward): Likewise.
23105 (round_test): Likewise.
23106 (scalb_test): Likewise.
23107 (scalbn_test): Likewise.
23108 (scalbln_test): Likewise.
23109 (signbit_test): Likewise.
23110 (sin_test): Likewise.
23111 (sin_test_tonearest): Likewise.
23112 (sin_test_towardzero): Likewise.
23113 (sin_test_downward): Likewise.
23114 (sin_test_upward): Likewise.
23115 (sincos_test): Likewise.
23116 (sinh_test): Likewise.
23117 (sinh_test_tonearest): Likewise.
23118 (sinh_test_towardzero): Likewise.
23119 (sinh_test_downward): Likewise.
23120 (sinh_test_upward): Likewise.
23121 (sqrt_test): Likewise.
23122 (sqrt_test_tonearest): Likewise.
23123 (sqrt_test_towardzero): Likewise.
23124 (sqrt_test_downward): Likewise.
23125 (sqrt_test_upward): Likewise.
23126 (tan_test): Likewise.
23127 (tan_test_tonearest): Likewise.
23128 (tan_test_towardzero): Likewise.
23129 (tan_test_downward): Likewise.
23130 (tan_test_upward): Likewise.
23131 (tanh_test): Likewise.
23132 (tgamma_test): Likewise.
23133 (trunc_test): Likewise.
23134 (y0_test): Likewise.
23135 (y1_test): Likewise.
23136 (yn_test): Likewise.
23137 (significand_test): Likewise.
23139 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23140 individual tests in comment.
23141 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23142 (prev_max_error): New variable.
23143 (prev_real_max_error): Likewise.
23144 (prev_imag_max_error): Likewise.
23145 (compare_ulp_data): Don't refer to test names in comment.
23146 (find_test_ulps): Remove function.
23147 (find_function_ulps): Likewise.
23148 (find_complex_function_ulps): Likewise.
23149 (init_max_error): Take function name as argument. Look up ulps
23151 (print_ulps): Remove function.
23152 (print_max_error): Use prev_max_error instead of calling
23153 find_function_ulps.
23154 (print_complex_max_error): Use prev_real_max_error and
23155 prev_imag_max_error instead of calling find_complex_function_ulps.
23156 (check_float_internal): Take max_ulp parameter instead of calling
23157 find_test_ulps. Don't call print_ulps.
23158 (check_float): Update call to check_float_internal.
23159 (check_complex): Update calls to check_float_internal.
23160 (START): Pass argument to init_max_error.
23161 * math/gen-libm-test.pl (%results): Don't include "kind"
23163 (parse_ulps): Don't handle ulps of individual tests.
23164 (print_ulps_file): Likewise.
23165 (output_ulps): Likewise.
23166 * math/README.libm-test: Update.
23167 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23169 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23170 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23171 * sysdeps/arm/libm-test-ulps: Likewise.
23172 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23173 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23174 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23175 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23176 * sysdeps/microblaze/libm-test-ulps: Likewise.
23177 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23178 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23179 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23180 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23182 * sysdeps/sh/libm-test-ulps: Likewise.
23183 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23184 * sysdeps/tile/libm-test-ulps: Likewise.
23185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23187 2014-03-04 Joseph Myers <joseph@codesourcery.com>
23189 * math/libm-test.inc (print_complex_max_error): Check separately
23190 whether real and imaginary errors are within allowed range and
23191 pass 0 to print_complex_function_ulps instead of value within
23194 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23196 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23198 (get_handles_fopen): Likewise.
23199 (do_write_test): Likewise.
23201 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23203 * libio/fileops.c (do_ftell): Use cached offset when
23205 * libio/iofwide.c (do_ftell_wide): Likewise.
23206 * libio/iofdopen.c (_IO_new_fdopen): Don't use
23208 * libio/wfileops.c (_IO_fwide): Don't cache offset.
23211 * libio/libioP.h (get_file_offset): New function.
23212 * libio/fileops.c (get_file_offset): Likewise.
23213 (do_ftell): Likewise.
23214 (_IO_new_file_seekoff): Split out ftell logic.
23215 * libio/wfileops.c (do_ftell_wide): Likewise.
23216 (_IO_wfile_seekoff): Split out ftell logic.
23217 * libio/tst-ftell-active-handler.c: New test case.
23218 * libio/Makefile (tests): Add it.
23220 2014-03-03 Roland McGrath <roland@hack.frob.com>
23222 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23223 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23225 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23228 * nscd/connections.c (nscd_init): Call do_exit.
23229 (start_threads): Call do_exit and notify_parent.
23230 (begin_drop_privileges): Call do_exit.
23231 (finish_drop_privileges): Likewise.
23232 * nscd/selinux.c (preserve_capabilities): Likewise.
23233 (install_real_capabilities): Likewise.
23234 (nscd_selinux_enabled): Likewise.
23235 (avc_create_thread): Likewise.
23236 (avc_alloc_lock): Likewise.
23237 (nscd_avc_init): Likewise.
23238 * nscd/nscd.c (parent_fd): New static variable.
23239 (main): Create a pipe between parent and child processes.
23240 Skip closing parent_fd.
23241 (monitor_child): New function.
23242 (do_exit): Likewise.
23243 (notify_parent): Likewise.
23244 * nscd/nscd.h (notify_parent): Likewise.
23245 (do_exit): Likewise.
23247 2014-03-03 Carlos O'Donell <carlos@redhat.com>
23249 * malloc/malloc.c (__libc_calloc): Revert last change.
23251 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23255 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23257 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23261 (__libc_ifunc_impl_list): Likewise.
23262 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23263 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23264 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23265 * string/strrchr.c: Define STRRCHR.
23267 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
23269 * benchtest/bench-strtok.c (simple_strtok): Delete.
23270 (strtok_string): Use as benchmark.
23271 * string/strtok (STRTOK): New macro.
23273 2014-02-28 Carlos O'Donell <carlos@redhat.com>
23275 * manual/threads.texi: Add header and standard comments to all
23278 * elf/dl-lookup.c (check_match): New function.
23279 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23280 (do_lookup_x): Remove nested function check_match. Use non-nested
23281 function check_match.
23283 2014-02-28 Roland McGrath <roland@hack.frob.com>
23285 * csu/Makefile (generated, before-compile): Use += rather than =.
23286 * catgets/Makefile (generated, generated-dirs): Likewise.
23287 * debug/Makefile (generated): Likewise.
23288 * dlfcn/Makefile (generated): Likewise.
23289 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23290 * iconvdata/Makefile (before-compile, generated): Likewise.
23291 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23292 * libio/Makefile (generated): Likewise.
23293 * malloc/Makefile (generated): Likewise.
23294 * manual/Makefile (generated, generated-dirs): Likewise.
23295 * misc/Makefile (generated): Likewise.
23296 * posix/Makefile (generated): Likewise.
23297 * resolv/Makefile (generated): Likewise.
23298 * sunrpc/Makefile (generated, generated-dirs): Likewise.
23299 * timezone/Makefile (generated, generated-dirs): Likewise.
23301 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23303 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23306 power8 implementation.
23307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23308 file: POWER8 llround ifunc implementation.
23309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23310 (__lllround): Add POWER8 implementation.
23311 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23312 POWER8 llround implementation.
23314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23315 power8 implementation.
23316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23317 file: POWER8 llrint ifunc implementation.
23318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23319 Add POWER8 implementation.
23320 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23321 POWER8 llrint implementation.
23323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23324 power8 implementation.
23325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23326 file: POWER8 finite ifunc implementation.
23327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23328 Add POWER8 implementation.
23329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23331 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23332 POWER8 finite implementation.
23333 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23336 power8 implementation.
23337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23338 file: POWER8 isinf ifunc implementation.
23339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23340 POWER8 implementation.
23341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23344 isinf implementation.
23345 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23347 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23348 (INIT_ARCH): Add hwcap2 initialization.
23349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23350 power8 implementation.
23351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23352 file: POWER8 isnan ifunc implementation.
23353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23354 POWER8 implementation.
23355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23358 isnan implementation.
23359 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23361 2014-02-27 Joey Ye <joey.ye@arm.com>
23363 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23364 (_FP_NANFRAC_Q): Set to zero.
23366 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23369 * math/auto-libm-test-in: New test inputs.
23370 * math/auto-libm-test-out: Regenerate.
23371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23374 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23376 2014-02-27 Joseph Myers <joseph@codesourcery.com>
23378 * scripts/evaluate-test.sh: Take new argument indicating whether
23379 failure is expected.
23380 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23381 indicating whether failure is expected.
23382 * conform/Makefile (test-xfail-run-conformtest): New variable.
23383 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23385 * posix/Makefile (test-xfail-annexc): New variable.
23386 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23388 2014-02-26 Joseph Myers <joseph@codesourcery.com>
23390 * argp/Makefile: Include Makeconfig immediately after defining
23392 * assert/Makefile: Likewise.
23393 * benchtests/Makefile: Likewise.
23394 * catgets/Makefile: Likewise.
23395 * conform/Makefile: Likewise.
23396 * crypt/Makefile: Likewise.
23397 * csu/Makefile: Likewise.
23398 (all): Remove target.
23399 * ctype/Makefile: Include Makeconfig immediately after defining
23401 * debug/Makefile: Likewise.
23402 * dirent/Makefile: Likewise.
23403 * dlfcn/Makefile: Likewise.
23404 * gmon/Makefile: Likewise.
23405 * gnulib/Makefile: Likewise.
23406 * grp/Makefile: Likewise.
23407 * gshadow/Makefile: Likewise.
23408 * hesiod/Makefile: Likewise.
23409 * hurd/Makefile: Likewise.
23410 (all): Remove target.
23411 * iconvdata/Makefile: Include Makeconfig immediately after
23413 * inet/Makefile: Likewise.
23414 * intl/Makefile: Likewise.
23415 * io/Makefile: Likewise.
23416 * libio/Makefile: Likewise.
23417 (all): Remove target.
23418 * locale/Makefile: Include Makeconfig immediately after defining
23420 * login/Makefile: Likewise.
23421 * mach/Makefile: Likewise.
23422 (all): Remove target.
23423 * malloc/Makefile: Include Makeconfig immediately after defining
23425 (all): Remove target.
23426 * manual/Makefile: Include Makeconfig immediately after defining
23428 * math/Makefile: Likewise.
23429 * misc/Makefile: Likewise.
23430 * nis/Makefile: Likewise.
23431 * nss/Makefile: Likewise.
23432 * po/Makefile: Likewise.
23433 (all): Remove target.
23434 * posix/Makefile: Include Makeconfig immediately after defining
23436 * pwd/Makefile: Likewise.
23437 * resolv/Makefile: Likewise.
23438 * resource/Makefile: Likewise.
23439 * rt/Makefile: Likewise.
23440 * setjmp/Makefile: Likewise.
23441 * shadow/Makefile: Likewise.
23442 * signal/Makefile: Likewise.
23443 * socket/Makefile: Likewise.
23444 * soft-fp/Makefile: Likewise.
23445 * stdio-common/Makefile: Likewise.
23446 * stdlib/Makefile: Likewise.
23447 * streams/Makefile: Likewise.
23448 * string/Makefile: Likewise.
23449 * sunrpc/Makefile: Likewise.
23450 (all): Remove target.
23451 * sysvipc/Makefile: Include Makeconfig immediately after defining
23453 * termios/Makefile: Likewise.
23454 * time/Makefile: Likewise.
23455 * timezone/Makefile: Likewise.
23456 (all): Remove target.
23457 * wcsmbs/Makefile: Include Makeconfig immediately after defining
23459 * wctype/Makefile: Likewise.
23461 2014-02-26 Steve Ellcey <sellcey@mips.com>
23463 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23464 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23465 (libc_feholdexcept_setround_mips): Ditto.
23466 (libc_feholdsetround): New.
23467 (libc_feholdsetroundf): New.
23468 (libc_feholdsetroundl): New.
23469 (libc_feupdateenv_test_mips): New.
23470 (libc_feupdateenv_test): New.
23471 (libc_feupdateenv_testf): New.
23472 (libc_feupdateenv_testl): New.
23473 (libc_feresetround): New.
23474 (libc_feresetroundf): New.
23475 (libc_feresetroundl): New.
23476 (libc_fetestexcept_mips): New.
23477 (libc_fetestexcept): New.
23478 (libc_fetestexceptf): New.
23479 (libc_fetestexceptl): New.
23480 (HAVE_RM_CTX): New.
23481 (libc_feholdexcept_setround_mips_ctx): New.
23482 (libc_feholdexcept_setround_ctx): New.
23483 (libc_feholdexcept_setroundf_ctx): New.
23484 (libc_feholdexcept_setroundl_ctx): New.
23485 (libc_fesetenv_mips_ctx): New.
23486 (libc_fesetenv_ctx): New.
23487 (libc_fesetenv_ctxf): New.
23488 (libc_fesetenv_ctxl): New.
23489 (libc_feupdateenv_mips_ctx): New.
23490 (libc_feupdateenv_ctx): New.
23491 (libc_feupdateenvf_ctx): New.
23492 (libc_feupdateenvl_ctx): New.
23493 (libc_feholdsetround_mips_ctx): New.
23494 (libc_feholdsetround_ctx): New.
23495 (libc_feholdsetroundf_ctx): New.
23496 (libc_feholdsetroundl_ctx): New.
23497 (libc_feresetround_mips_ctx): New.
23498 (libc_feresetround_ctx): New.
23499 (libc_feresetroundf_ctx): New.
23500 (libc_feresetroundl_ctx): New.
23502 2014-02-26 Carlos O'Donell <carlos@redhat.com>
23504 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23506 * manual/ipc.texi: New file.
23507 * manual/Makefile (chapters): Add ipc.
23508 * manual/job.texi: Add "Inter-Process Communication" to next.
23509 * manual/process.texi: Add "Inter-Process Communication" to prev.
23511 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23515 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
23517 * malloc/malloc.c (__libc_calloc): Simplify implementation.
23519 * manual/arith.texi: Fix spaces after sentences.
23520 * manual/charset.texi: Likewise.
23521 * manual/errno.texi: Likewise.
23522 * manual/install.texi: Likewise.
23523 * manual/llio.texi: Likewise.
23524 * manual/locale.texi: Likewise.
23525 * manual/maint.texi: Likewise.
23526 * manual/math.texi: Likewise.
23527 * manual/memory.texi: Likewise.
23528 * manual/message.texi: Likewise.
23529 * manual/probes.texi: Likewise.
23530 * manual/resource.texi: Likewise.
23531 * manual/signal.texi: Likewise.
23532 * manual/socket.texi: Likewise.
23533 * manual/stdio.texi: Likewise.
23534 * manual/string.texi: Likewise.
23535 * manual/time.texi: Likewise.
23536 * manual/users.texi: Likewise.
23538 2014-02-25 Carlos O'Donell <carlos@redhat.com>
23541 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23542 _DEFAULT_SOURCE is defined.
23544 2014-02-25 Ulrich Drepper <drepper@gmail.com>
23545 Carlos O'Donell <carlos@redhat.com>
23548 * elf/dl-tls.c (_dl_count_modids): New function.
23549 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23550 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23551 audit library and increment generation counter.
23552 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23553 * elf/tst-audit9.c: New file.
23554 * elf/tst-auditmod9a.c: New file.
23555 * elf/tst-auditmod9b.c: New file.
23556 * elf/Makefile: Add rules to build and run tst-audit9.
23558 2014-02-25 Florian Weimer <fweimer@redhat.com>
23561 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23563 2014-02-25 Will Newton <will.newton@linaro.org>
23565 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23566 (__longjmp): Restore sp and lr before restoring callee
23567 saved registers. Add longjmp and longjmp_target
23568 SystemTap probe point.
23569 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23570 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23571 Define to zero to match jmpbuf layout.
23572 * sysdeps/arm/setjmp.S: Include stap-probe.h.
23573 (__sigsetjmp): Save sp and lr before saving callee
23574 saved registers. Add setjmp SystemTap probe point.
23576 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23578 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23580 2014-02-24 Andreas Schwab <schwab@suse.de>
23583 * elf/pldd.c (wait_for_ptrace_stop): New function.
23584 (main): Call it after attaching.
23586 2014-02-22 Roland McGrath <roland@hack.frob.com>
23588 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23589 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23590 Versions files is now verboten.
23591 * hurd/Versions (libc: GLIBC_2.0):
23592 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23593 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23594 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23595 * mach/Versions: Likewise.
23597 * csu/Versions: Remove unused %include.
23598 * resolv/Versions: Likewise.
23600 2014-02-21 Joseph Myers <joseph@codesourcery.com>
23602 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23603 ($(objpfx)check-local-headers.out): Likewise.
23604 ($(objpfx)begin-end-check.out): Likewise.
23605 * Makerules (check-abi-%.out): Likewise.
23606 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23607 ($(objpfx)test2.cat): Likewise.
23608 ($(objpfx)de/libc.cat): Likewise.
23609 ($(objpfx)test-gencat.out): Likewise.
23610 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23611 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23612 ($(objpfx)noload-mem): Likewise.
23613 ($(objpfx)tst-pathopt.out): Likewise.
23614 ($(objpfx)tst-rtld-load-self.out): Likewise.
23615 ($(objpfx)tst-array1-cmp.out): Likewise.
23616 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23617 ($(objpfx)tst-array2-cmp.out): Likewise.
23618 ($(objpfx)tst-array3-cmp.out): Likewise.
23619 ($(objpfx)tst-array4-cmp.out): Likewise.
23620 ($(objpfx)tst-array5-cmp.out): Likewise.
23621 ($(objpfx)tst-array5-static-cmp.out): Likewise.
23622 ($(objpfx)check-textrel.out): Likewise.
23623 ($(objpfx)check-execstack.out): Likewise.
23624 ($(objpfx)check-localplt.out): Likewise.
23625 ($(objpfx)order2-cmp.out): Likewise.
23626 ($(objpfx)tst-leaks1-mem): Likewise.
23627 ($(objpfx)tst-leaks1-static-mem): Likewise.
23628 ($(objpfx)tst-initorder-cmp.out): Likewise.
23629 ($(objpfx)tst-initorder2-cmp.out): Likewise.
23630 ($(objpfx)tst-unused-dep.out): Likewise.
23631 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23632 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23633 * iconv/Makefile (test-iconvconfig): Likewise.
23634 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23635 ($(objpfx)iconv-test.out): Likewise.
23636 ($(objpfx)tst-tables.out): Likewise.
23637 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23638 ($(objpfx)tst-gettext.out): Likewise.
23639 ($(objpfx)tst-translit.out): Likewise.
23640 ($(objpfx)tst-gettext2.out): Likewise.
23641 ($(objpfx)tst-gettext4.out): Likewise.
23642 ($(objpfx)tst-gettext6.out): Likewise.
23643 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23644 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23645 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23646 ($(objpfx)tst-fopenloc-mem.out): Likewise.
23647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23648 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23649 * posix/Makefile ($(objpfx)globtest.out): Likewise.
23650 ($(objpfx)wordexp-tst.out): Likewise.
23651 ($(objpfx)annexc.out): Likewise.
23652 ($(objpfx)tst-fnmatch-mem): Likewise.
23653 ($(objpfx)bug-regex2-mem): Likewise.
23654 ($(objpfx)bug-regex14-mem): Likewise.
23655 ($(objpfx)bug-regex21-mem): Likewise.
23656 ($(objpfx)bug-regex31-mem): Likewise.
23657 ($(objpfx)tst-vfork3-mem): Likewise.
23658 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23659 ($(objpfx)tst-pcre-mem): Likewise.
23660 ($(objpfx)tst-boost-mem): Likewise.
23661 ($(objpfx)tst-getconf.out): Likewise.
23662 ($(objpfx)bug-ga2-mem): Likewise.
23663 ($(objpfx)bug-glob2-mem): Likewise.
23664 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23665 ($(objpfx)mtrace-tst-leaks2): Likewise.
23666 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23667 ($(objpfx)tst-printf.out): Likewise.
23668 ($(objpfx)tst-setvbuf1.out): Likewise.
23669 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23670 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23671 ($(objpfx)tst-fmtmsg.out): Likewise.
23672 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23673 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23675 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23676 * bits/sigaction.h [__USE_MISC]: Likewise.
23677 * bits/waitstatus.h: Update #endif comments.
23678 * ctype/ctype.h: Likewise.
23679 * dirent/dirent.h: Likewise.
23680 [__USE_MISC]: Remove redundant conditionals.
23681 * grp/grp.h: Update #endif comments.
23682 [__USE_GNU]: Remove redundant conditionals.
23683 [__USE_MISC]: Likewise.
23684 * inet/netinet/in.h [__USE_GNU]: Likewise.
23685 * io/sys/stat.h [__USE_MISC]: Likewise.
23686 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23687 * libio/bits/stdio.h: Update #endif comments.
23688 [__USE_MISC]: Remove redundant conditionals.
23689 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23690 * libio/stdio.h: Update #endif comments.
23691 [__USE_MISC]: Remove redundant conditionals.
23692 * math/bits/math-finite.h [__USE_MISC]: Likewise.
23693 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23694 * math/math.h: Update #else and #endif comments.
23695 [__USE_MISC]: Remove redundant conditionals.
23696 * misc/sys/uio.h: Update #endif comments.
23697 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23698 * posix/glob.h [__USE_MISC]: Likewise.
23699 * posix/sys/types.h: Update #endif comments.
23700 [__USE_MISC]: Remove redundant conditionals.
23701 * posix/sys/wait.h: Update #endif comments.
23702 [__USE_MISC]: Remove redundant conditionals.
23703 * posix/unistd.h: Update #endif comments.
23704 [__USE_MISC]: Remove redundant conditionals.
23705 * pwd/pwd.h [__USE_GNU]: Likewise.
23706 [__USE_MISC]: Likewise.
23707 * resolv/netdb.h [__USE_GNU]: Likewise.
23708 * signal/signal.h: Update #endif comments.
23709 [__USE_MISC]: Remove redundant conditionals.
23710 * stdlib/stdlib.h: Update #else and #endif comments.
23711 [__USE_MISC]: Remove redundant conditionals.
23712 [__USE_GNU]: Likewise.
23713 * string/bits/string2.h [__USE_MISC]: Likewise.
23714 * string/string.h: Update #endif comments.
23715 [__USE_MISC]: Remove redundant conditionals.
23716 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23718 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23719 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23720 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23722 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23724 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23726 [__USE_MISC]: Remove redundant conditionals.
23727 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23728 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23729 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23730 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23731 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23733 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23734 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23736 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23737 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23739 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23741 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23742 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23744 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23746 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23747 * sysdeps/x86/bits/string.h: Update #endif comments.
23748 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23750 * time/sys/time.h: Update #endif comments.
23751 * time/time.h: Likewise.
23752 [__USE_MISC]: Remove redundant conditionals.
23754 2014-02-21 Yury Gribov <y.gribov@samsung.com>
23757 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23759 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
23761 * Versions.def (librt): Add GLIBC_2.17.
23763 2014-02-21 Adam Conrad <adconrad@0c3.net>
23765 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23766 synonym for _SYS_AUXV_H to allow direct inclusion.
23767 * sysdeps/sparc/bits/hwcap.h: Likewise.
23768 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23769 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23770 * sysdeps/sparc/sysdep.h: Likewise.
23772 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23774 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23776 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23778 * benchtests/bench-strrchr.c: Print length instead of position.
23780 2014-02-20 Joseph Myers <joseph@codesourcery.com>
23783 * sysdeps/unix/sysv/linux/kernel-features.h
23784 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23785 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23786 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23787 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23789 [__i386__ || __powerpc__ || __sh__ || __sparc__]
23790 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23791 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23792 (__ASSUME_SENDMMSG): Define instead of using previous
23793 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23794 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23795 (__ASSUME_SENDMMSG_SYSCALL): Define.
23796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23797 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23799 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23800 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23803 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23805 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23806 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23807 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23808 [__ASSUME_SENDMMSG]: Change conditionals to
23809 [__ASSUME_SENDMMSG_SOCKETCALL].
23810 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23811 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23813 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23814 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23816 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23817 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23818 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23819 [!__ASSUME_SENDMMSG]: Change conditional to
23820 [!__ASSUME_SENDMMSG_SOCKETCALL].
23821 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23822 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23826 * sysdeps/unix/sysv/linux/kernel-features.h
23827 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23828 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23829 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23830 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23831 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23832 [__i386__ || __sparc__]
23833 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23834 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23835 (__ASSUME_RECVMMSG): Define instead of using previous
23836 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23837 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23838 (__ASSUME_RECVMMSG_SYSCALL): Define.
23839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23840 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23843 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23846 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23848 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23849 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23850 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23851 [__ASSUME_RECVMMSG]: Change condition to
23852 [__ASSUME_RECVMMSG_SOCKETCALL].
23853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23854 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23856 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23857 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23860 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23861 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23862 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23863 [!__ASSUME_RECVMMSG]: Change condition to
23864 [!__ASSUME_RECVMMSG_SOCKETCALL].
23865 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23866 (__ASSUME_RECVMMSG_SYSCALL): Define.
23869 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23870 __powerpc__ || __s390__ || __sh__ || __sparc__]
23871 (__ASSUME_SOCKETCALL): Define.
23872 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23873 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23874 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23875 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23876 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23877 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23878 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23879 (__ASSUME_ACCEPT4): Define instead of using previous
23880 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23881 __powerpc__ || __sparc__ || __s390__)] condition.
23882 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23883 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23884 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23885 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23886 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23887 [!__ASSUME_ACCEPT4]: Change condition to
23888 [!__ASSUME_ACCEPT4_SOCKETCALL].
23889 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23890 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
23891 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23892 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23893 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23894 __ASSUME_ACCEPT4_SYSCALL.
23895 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23896 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23897 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23898 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23899 __ASSUME_ACCEPT4_SYSCALL.
23900 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23901 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23902 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23903 [__ASSUME_ACCEPT4]: Change condition to
23904 [__ASSUME_ACCEPT4_SOCKETCALL].
23905 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23906 (__ASSUME_SOCKETCALL): Define.
23907 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23909 (__ASSUME_SOCKETCALL): Define.
23910 (__ASSUME_ACCEPT4): Remove.
23911 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23913 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23914 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23916 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23917 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23919 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23921 (HWCAP_ARM_LPAE): Likewise.
23922 (HWCAP_ARM_EVTSTRM): Likewise.
23923 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23924 Add vpfd32, lpae and evtstrm.
23925 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23928 2014-02-19 Joseph Myers <joseph@codesourcery.com>
23930 * math/auto-libm-test-in: Add tests of clog10.
23931 * math/auto-libm-test-out: Regenerated.
23932 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23933 * sysdeps/i386/fpu/libm-test-ulps: Update.
23934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23936 2014-02-18 Andreas Schwab <schwab@suse.de>
23939 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23940 Store non-zero if the second buffer was newly allocated.
23941 (send_dg): Likewise.
23942 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23943 to send_vc and send_dg.
23944 (res_nsend): Pass NULL for ansp2_malloced.
23945 * resolv/res_query.c (__libc_res_nquery): Add parameter
23946 answerp2_malloced and pass it down to __libc_res_nsend.
23947 (res_nquery): Pass additional NULL to __libc_res_nquery.
23948 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23949 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
23950 second answer buffer if answerp2_malloced was set.
23951 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23952 (__libc_res_nquerydomain): Add parameter
23953 answerp2_malloced and pass it down to __libc_res_nquery.
23954 (res_nquerydomain): Pass additional NULL to
23955 __libc_res_nquerydomain.
23956 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23957 additional NULL to __libc_res_nsend and __libc_res_nquery.
23958 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23959 additional NULL to __libc_res_nsearch.
23960 (_nss_dns_gethostbyname4_r): Revert last change. Use new
23961 parameter of __libc_res_nsearch to check for separately allocated
23963 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23965 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23966 additional NULL to __libc_res_nquery.
23967 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23968 __libc_res_nsearch.
23969 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23970 * include/resolv.h: Update prototypes of __libc_res_nquery,
23971 __libc_res_nsearch, __libc_res_nsend.
23973 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23975 * math/auto-libm-test-in: Add tests of fma.
23976 * math/auto-libm-test-out: Regenerated.
23977 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23978 (fma_towardzero_test_data): Likewise.
23979 (fma_downward_test_data): Likewise.
23980 (fma_upward_test_data): Likewise.
23981 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23983 (rounding_modes): Add values for new field.
23984 (func_calc_method): Add value mpfr_fff_f.
23985 (func_calc_desc): Add mpfr_fff_f union field.
23986 (test_function): Add field exact_args.
23987 (FUNC): Add macro argument EXACT_ARGS.
23988 (FUNC_mpfr_f_f): Update call to FUNC.
23989 (FUNC_mpfr_f_f): Likewise.
23990 (FUNC_mpfr_ff_f): Likewise.
23991 (FUNC_mpfr_if_f): Likewise.
23992 (FUNC_mpc_c_f): Likewise.
23993 (FUNC_mpc_c_c): Likewise.
23994 (test_functions): Add fma. Update calls to FUNC.
23995 (handle_input_arg): Add argument exact_args.
23996 (add_test): Update call to handle_input_arg.
23997 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23998 (output_for_one_input_case): Update call to calc_generic_results.
23999 Recalculate exact zero results in each rounding mode.
24001 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24002 non-negative before setting low bit.
24003 * math/auto-libm-test-in: Mark one asin test possibly having
24004 spurious underflow.
24005 * math/auto-libm-test-out: Regenerated.
24006 * sysdeps/i386/fpu/libm-test-ulps: Update.
24007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24009 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
24011 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24012 * sysdeps/unix/sysv/linux/microblaze: Move directory from
24013 ports/sysdeps/unix/sysv/linux/microblaze.
24014 * README: Add missing listing for microblaze*-*-linux-gnu.
24016 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
24018 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24021 2014-02-16 Mike Frysinger <vapier@gentoo.org>
24023 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24024 * sysdeps/unix/sysv/linux/ia64: Move directory from
24025 ports/sysdeps/unix/sysv/linux/ia64.
24026 * README: Update listing for ia64-*-linux-gnu.
24028 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
24029 Joseph Myers <joseph@codesourcery.com>
24031 * Makeconfig (test-name): New variable.
24032 (evaluate-test): Likewise.
24033 * Makerules (do-test-clean): Remove .test-result files.
24034 (common-mostlyclean): Likewise.
24035 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24036 * scripts/evaluate-test.sh: New file.
24038 2014-02-14 Joseph Myers <joseph@codesourcery.com>
24040 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24041 separate $(objpfx)tst-fopenloc-cmp.out and
24042 $(objpfx)tst-fopenloc-mem.out targets.
24043 (tests): Update dependencies.
24044 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24045 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24046 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24047 (tst-rxspencer-no-utf8-ARGS): New variable.
24048 (tst-rxspencer-no-utf8-ENV): Likewise.
24049 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24050 instead of $(objpfx)tst-rxspencer-mem.
24051 ($(objpfx)tst-rxspencer-mem): Change target to
24052 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
24053 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24054 * posix/tst-rxspencer-no-utf8.c: New file.
24056 * elf/Makefile ($(objpfx)order.out): Remove rule.
24057 [$(run-built-tests) = yes] (tests): Depend on
24058 $(objpfx)order-cmp.out.
24059 ($(objpfx)order-cmp.out): New rule.
24060 [$(run-built-tests) = yes] (tests): Depend on
24061 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24062 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24063 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24064 $(objpfx)tst-array5-static-cmp.out.
24065 ($(objpfx)tst-array1.out): Remove rule.
24066 ($(objpfx)tst-array1-cmp.out): New rule.
24067 ($(objpfx)tst-array1-static.out): Remove rule.
24068 ($(objpfx)tst-array1-static-cmp.out): New rule.
24069 ($(objpfx)tst-array2.out): Remove rule.
24070 ($(objpfx)tst-array2-cmp.out): New rule.
24071 ($(objpfx)tst-array3.out): Remove rule.
24072 ($(objpfx)tst-array3-cmp.out): New rule.
24073 ($(objpfx)tst-array4.out): Remove rule.
24074 ($(objpfx)tst-array4-cmp.out): New rule.
24075 ($(objpfx)tst-array5.out): Remove rule.
24076 ($(objpfx)tst-array5-cmp.out): New rule.
24077 ($(objpfx)tst-array5-static.out): Remove rule.
24078 ($(objpfx)tst-array5-static-cmp.out): New rule.
24079 [$(run-built-tests) = yes] (tests): Depend on
24080 $(objpfx)order2-cmp.out.
24081 ($(objpfx)order2.out): Remove rule.
24082 ($(objpfx)order2-cmp.out): New rule.
24083 ($(objpfx)tst-initorder.out): Remove rule.
24084 [$(run-built-tests) = yes] (tests): Depend on
24085 $(objpfx)tst-initorder-cmp.out.
24086 ($(objpfx)tst-initorder-cmp.out): New rule.
24087 ($(objpfx)tst-initorder2.out): Remove rule.
24088 [$(run-built-tests) = yes] (tests): Depend on
24089 $(objpfx)tst-initorder2-cmp.out.
24090 ($(objpfx)tst-initorder2-cmp.out): New rule.
24091 [$(run-built-tests) = yes] (tests): Depend on
24092 $(objpfx)tst-unused-dep-cmp.out.
24093 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24094 ($(objpfx)tst-unused-dep-cmp.out): New rule.
24095 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24096 on $(objpfx)tst-setvbuf1-cmp.out.
24097 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24098 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24099 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24100 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24101 ($(objpfx)tst-svc.out): Remove rule.
24102 ($(objpfx)tst-svc-cmp.out): New rule.
24104 2014-02-13 Joseph Myers <joseph@codesourcery.com>
24106 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24107 * ctype/ctype.h [__USE_MISC]: Likewise.
24108 * dirent/dirent.h [__USE_MISC]: Likewise.
24109 * grp/grp.h [__USE_MISC]: Likewise.
24110 * io/fcntl.h [__USE_MISC]: Likewise.
24111 * io/sys/stat.h [__USE_MISC]: Likewise.
24112 * libio/stdio.h [__USE_MISC]: Likewise.
24113 * posix/unistd.h [__USE_MISC]: Likewise.
24114 * pwd/pwd.h [__USE_MISC]: Likewise.
24115 * stdlib.h [__USE_MISC]: Likewise.
24116 * string/bits/string2.h [__USE_MISC]: Likewise.
24117 * string/string.h [__USE_MISC]: Likewise.
24118 * time/time.h [__USE_MISC]: Likewise.
24120 2014-02-13 Andreas Schwab <schwab@suse.de>
24123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24124 second answer buffer if it was separately allocated.
24126 2014-02-12 Joseph Myers <joseph@codesourcery.com>
24128 * sysdeps/mips/math-tests.h: Include <features.h>.
24129 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24130 (ROUNDING_TESTS_long_double): Do not define.
24131 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24132 (EXCEPTION_TESTS_long_double): Likewise.
24133 * sysdeps/mips/mips64/libm-test-ulps: Update.
24135 * include/features.h (__USE_BSD): Remove macro definitions.
24136 (__USE_SVID): Likewise.
24137 (_BSD_SOURCE): Likewise.
24138 (_SVID_SOURCE): Likewise.
24139 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24140 from definition of _DEFAULT_SOURCE.
24141 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24143 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24144 * bits/mman.h [__USE_BSD]: Likewise.
24145 * bits/termios.h [__USE_BSD]: Likewise.
24146 * bits/waitstatus.h [__USE_BSD]: Likewise.
24147 * ctype/ctype.h [__USE_SVID]: Likewise.
24148 * dirent/dirent.h [__USE_BSD]: Likewise.
24149 * grp/grp.h [__USE_SVID]: Likewise.
24150 [__USE_BSD]: Likewise.
24151 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24152 * io/fcntl.h [__USE_BSD]: Likewise.
24153 * io/ftw.h [__USE_BSD]: Likewise.
24154 * io/sys/stat.h [__USE_BSD]: Likewise.
24155 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24156 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24157 * libio/stdio.h [__USE_SVID]: Likewise.
24158 [__USE_BSD]: Likewise.
24159 * math/math.h [__USE_SVID]: Likewise.
24160 [__USE_BSD]: Likewise.
24161 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24162 * misc/bits/syslog.h [__USE_BSD]: Likewise.
24163 * misc/search.h [__USE_SVID]: Likewise.
24164 * misc/sys/mman.h [__USE_BSD]: Likewise.
24165 * misc/sys/syslog.h [__USE_BSD]: Likewise.
24166 * misc/sys/uio.h [__USE_BSD]: Likewise.
24167 * posix/bits/unistd.h [__USE_BSD]: Likewise.
24168 * posix/glob.h [__USE_BSD]: Likewise.
24169 * posix/regex.h [__USE_BSD]: Likewise.
24170 * posix/sys/types.h [__USE_BSD]: Likewise.
24171 [__USE_SVID]: Likewise.
24172 * posix/sys/utsname.h [__USE_SVID]: Likewise.
24173 * posix/sys/wait.h [__USE_BSD]: Likewise.
24174 [__USE_SVID]: Likewise.
24175 * posix/unistd.h [__USE_BSD]: Likewise.
24176 [__USE_SVID]: Likewise.
24177 * pwd/pwd.h [__USE_SVID]: Likewise.
24178 * resolv/netdb.h [__USE_BSD]: Likewise.
24179 * setjmp/setjmp.h [__USE_BSD]: Likewise.
24180 * signal/signal.h [__USE_BSD]: Likewise.
24181 [__USE_SVID]: Likewise.
24182 * socket/sys/socket.h [__USE_BSD]: Likewise.
24183 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24184 * stdlib/stdlib.h [__USE_BSD]: Likewise.
24185 [__USE_SVID]: Likewise.
24186 * string/bits/string2.h [__USE_BSD]: Likewise.
24187 [__USE_SVID]: Likewise.
24188 * string/bits/string3.h [__USE_BSD]: Likewise.
24189 * string/endian.h [__USE_BSD]: Likewise.
24190 * string/string.h [__USE_SVID]: Likewise.
24191 [__USE_BSD]: Likewise.
24192 * string/strings.h [__USE_BSD]: Likewise.
24193 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24194 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24195 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24196 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24197 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24198 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24200 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24202 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24203 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24205 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24206 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24208 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24210 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24211 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24214 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24216 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24217 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24218 * termios/termios.h [__USE_BSD]: Likewise.
24219 * time/sys/time.h [__USE_BSD]: Likewise.
24220 * time/time.h [__USE_BSD]: Likewise.
24221 [__USE_SVID]: Likewise.
24223 * Makefile (subdir_targets): Remove subdir_lint.out.
24225 * stdio-common/Makefile (do-tst-unbputc): Remove target.
24226 (do-tst-printf): Likewise.
24227 (tests): Depend directly on $(objpfx)tst-unbputc.out and
24228 $(objpfx)tst-printf.out.
24230 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24232 * Makerules (check-abi-%): Change target to
24233 $(objpfx)check-abi-%.out.
24234 (check-abi target): Update dependencies.
24235 (check-abi-pattern variable): Redirect output of diff to $@.
24236 (check-abi variable): Likewise.
24237 * elf/Makefile (check-abi): Update dependencies.
24239 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24241 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24242 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24244 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24245 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24246 value has largest subnormal exponent.
24247 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24248 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24249 * sysdeps/aarch64/soft-fp/sfp-machine.h
24250 (_FP_TININESS_AFTER_ROUNDING): New macro.
24251 * sysdeps/alpha/soft-fp/sfp-machine.h
24252 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24253 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24255 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24257 * sysdeps/mips/soft-fp/sfp-machine.h
24258 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24259 * sysdeps/powerpc/soft-fp/sfp-machine.h
24260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24261 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24264 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24265 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24266 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24267 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24270 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
24273 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24276 2014-02-12 Richard Henderson <rth@redhat.com>
24278 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24279 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24280 * sysdeps/unix/sysv/linux/alpha: Move directory from
24281 ports/sysdeps/unix/sysv/linux/alpha.
24282 * README: Update listing for alpha-*-linux-gnu.
24284 2014-02-11 Joseph Myers <joseph@codesourcery.com>
24286 * include/features.h: Update comment documenting feature test
24288 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
24290 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24291 (_SVID_SOURCE): Likewise.
24292 (_DEFAULT_SOURCE): Update description of default features.
24293 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24295 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24296 (S_ISVTX): Likewise.
24297 * manual/math.texi (Mathematical Constants): Likewise.
24298 * manual/signal.texi (Interrupted Primitives): Likewise.
24299 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24300 * math/test-matherr.c (_SVID_SOURCE): Do not define.
24301 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24302 Don't refer to _SVID_SOURCE in warning text.
24304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24306 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24308 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24309 * sysdeps/mips/dl-lookup.c: Remove.
24310 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24312 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24315 * math/auto-libm-test-in: Add testcase for expl.
24316 * math/auto-libm-test-out: Regenerate.
24317 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24318 calculation of unsafe.
24319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24321 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
24323 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24324 * sysdeps/unix/sysv/linux/aarch64: Move directory from
24325 ports/sysdeps/unix/sysv/linux/aarch64.
24326 * README: Update listing for aarch64*-*-linux-gnu.
24328 2014-02-11 Will Newton <will.newton@linaro.org>
24330 * manual/probes.texi (Mathematical Function Probes): Use
24331 "triggered" instead of "hit".
24333 * manual/probes.texi (Internal Probes): Add documentation
24334 of setjmp, longjmp and longjmp_target probes.
24336 * include/stap-probe.h: Add comment about probe argument
24339 * malloc/mtrace.c (attribute_hidden): Remove unused macro
24340 definition. (tr_where, tr_freehook, tr_mallochook,
24341 tr_reallochook, tr_memalignhook): Use ANSI protoype.
24343 2014-02-11 David S. Miller <davem@davemloft.net>
24345 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24346 processing int_tests.
24348 2014-02-10 Joseph Myers <joseph@codesourcery.com>
24350 * sysdeps/mips: Move directory from ports/sysdeps/mips.
24351 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24352 * sysdeps/unix/sysv/linux/mips: Move directory from
24353 ports/sysdeps/unix/sysv/linux/mips.
24354 * README: Update listing for mips-*-linux-gnu and
24355 mips64-*-linux-gnu.
24357 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
24359 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24360 * sysdeps/unix/sysv/linux/m68k: Move directory from
24361 ports/sysdeps/unix/sysv/linux/m68k.
24362 * README: Update listing for m68k-*-linux-gnu.
24364 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
24366 * sysdeps/tile: Move directory from ports/sysdeps/tile.
24367 * sysdeps/unix/sysv/linux/generic: Move directory from
24368 ports/sysdeps/unix/sysv/linux/generic.
24369 * sysdeps/unix/sysv/linux/tile: Move directory from
24370 ports/sysdeps/unix/sysv/linux/tile.
24371 * README: Update listing for tile*-*-linux-gnu.
24373 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
24375 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24377 * benchtests/bench-memmem.c (simple_memmem): Likewise.
24378 * catgets/open_catalog.c (__open_catalog): Likewise.
24379 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24380 * debug/confstr_chk.c: Likewise.
24381 * debug/fread_chk.c (__fread_chk): Likewise.
24382 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24383 * debug/getgroups_chk.c: Likewise.
24384 * debug/mbsnrtowcs_chk.c: Likewise.
24385 * debug/mbsrtowcs_chk.c: Likewise.
24386 * debug/mbstowcs_chk.c: Likewise.
24387 * debug/memcpy_chk.c: Likewise.
24388 * debug/memmove_chk.c: Likewise.
24389 * debug/mempcpy_chk.c: Likewise.
24390 * debug/memset_chk.c: Likewise.
24391 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24392 * debug/strcat_chk.c (__strcat_chk): Likewise.
24393 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24394 * debug/strncat_chk.c (__strncat_chk): Likewise.
24395 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24396 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24397 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24398 * debug/wcpncpy_chk.c: Likewise.
24399 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24400 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24401 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24402 * debug/wcsncpy_chk.c: Likewise.
24403 * debug/wcsnrtombs_chk.c: Likewise.
24404 * debug/wcsrtombs_chk.c: Likewise.
24405 * debug/wcstombs_chk.c: Likewise.
24406 * debug/wmemcpy_chk.c: Likewise.
24407 * debug/wmemmove_chk.c: Likewise.
24408 * debug/wmempcpy_chk.c: Likewise.
24409 * debug/wmemset_chk.c: Likewise.
24410 * dirent/scandirat.c (SCANDIRAT): Likewise.
24411 * dlfcn/dladdr1.c (dladdr1): Likewise.
24412 * dlfcn/dladdr.c (dladdr): Likewise.
24413 * dlfcn/dlclose.c (dlclose_doit): Likewise.
24414 * dlfcn/dlerror.c (__dlerror): Likewise.
24415 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24416 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24417 * dlfcn/dlopen.c (dlopen_doit): Likewise.
24418 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24419 * dlfcn/dlsym.c (dlsym_doit): Likewise.
24420 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24421 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24422 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24424 * elf/dl-conflict.c: Likewise.
24425 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24426 * elf/dl-dst.h: Likewise.
24427 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24428 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24429 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24430 * elf/dl-init.c (call_init, _dl_init): Likewise.
24431 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24432 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24433 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24435 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24437 * elf/dl-minimal.c (__libc_memalign): Likewise.
24438 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24439 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24440 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24441 * elf/dl-sym.c (do_sym): Likewise.
24442 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24443 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24444 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24445 * elf/dl-writev.h (_dl_writev): Likewise.
24446 * elf/ldconfig.c (search_dir): Likewise.
24447 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24448 (dl_main): Likewise.
24449 * elf/setup-vdso.h (setup_vdso): Likewise.
24450 * grp/compat-initgroups.c (compat_call): Likewise.
24451 * grp/fgetgrent.c (fgetgrent): Likewise.
24452 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24453 * grp/putgrent.c (putgrent): Likewise.
24454 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24456 * hurd/hurdinit.c: Likewise.
24457 * iconvdata/8bit-gap.c (struct): Likewise.
24458 * iconvdata/ansi_x3.110.c : Likewise.
24459 * iconvdata/big5.c : Likewise.
24460 * iconvdata/big5hkscs.c : Likewise.
24461 * iconvdata/cp1255.c: Likewise.
24462 * iconvdata/cp1258.c : Likewise.
24463 * iconvdata/cp932.c : Likewise.
24464 * iconvdata/euc-cn.c: Likewise.
24465 * iconvdata/euc-jisx0213.c : Likewise.
24466 * iconvdata/euc-jp.c: Likewise.
24467 * iconvdata/euc-jp-ms.c : Likewise.
24468 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24469 * iconvdata/gb18030.c : Likewise.
24470 * iconvdata/gbbig5.c (const): Likewise.
24471 * iconvdata/gbgbk.c: Likewise.
24472 * iconvdata/gbk.c : Likewise.
24473 * iconvdata/ibm1364.c : Likewise.
24474 * iconvdata/ibm930.c : Likewise.
24475 * iconvdata/ibm932.c: Likewise.
24476 * iconvdata/ibm933.c : Likewise.
24477 * iconvdata/ibm935.c : Likewise.
24478 * iconvdata/ibm937.c : Likewise.
24479 * iconvdata/ibm939.c : Likewise.
24480 * iconvdata/ibm943.c: Likewise.
24481 * iconvdata/iso_11548-1.c: Likewise.
24482 * iconvdata/iso-2022-cn.c : Likewise.
24483 * iconvdata/iso-2022-cn-ext.c : Likewise.
24484 * iconvdata/iso-2022-jp-3.c: Likewise.
24485 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24486 * iconvdata/iso-2022-kr.c : Likewise.
24487 * iconvdata/iso646.c (gconv_end): Likewise.
24488 * iconvdata/iso_6937-2.c : Likewise.
24489 * iconvdata/iso_6937.c : Likewise.
24490 * iconvdata/iso8859-1.c: Likewise.
24491 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24492 * iconvdata/shift_jisx0213.c : Likewise.
24493 * iconvdata/sjis.c : Likewise.
24494 * iconvdata/t.61.c : Likewise.
24495 * iconvdata/tcvn5712-1.c : Likewise.
24496 * iconvdata/tscii.c: Likewise.
24497 * iconvdata/uhc.c : Likewise.
24498 * iconvdata/unicode.c (gconv_end): Likewise.
24499 * iconvdata/utf-16.c (gconv_end): Likewise.
24500 * iconvdata/utf-32.c (gconv_end): Likewise.
24501 * iconvdata/utf-7.c (base64): Likewise.
24502 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24503 * iconv/gconv_close.c (__gconv_close): Likewise.
24504 * iconv/gconv_open.c (__gconv_open): Likewise.
24505 * iconv/gconv_simple.c (internal_ucs4_loop_single)
24506 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24507 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24508 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24509 (ucs4le_internal_loop_single): Likewise.
24510 * iconv/iconv.c (iconv): Likewise.
24511 * iconv/iconv_close.c: Likewise.
24512 * iconv/loop.c (SINGLE): Likewise.
24513 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24514 * include/atomic.h: Likewise.
24515 * inet/inet6_option.c (option_alloc): Likewise.
24516 * intl/bindtextdom.c (set_binding_values): Likewise.
24517 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24518 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24519 * intl/localealias.c (read_alias_file): Likewise.
24520 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24521 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24522 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24523 * libio/fmemopen.c (fmemopen): Likewise.
24524 * libio/iofgets.c (_IO_fgets): Likewise.
24525 * libio/iofgets_u.c (fgets_unlocked): Likewise.
24526 * libio/iofgetws.c (fgetws): Likewise.
24527 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24528 * libio/iogetdelim.c (_IO_getdelim): Likewise.
24529 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24530 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24531 * locale/findlocale.c (_nl_find_locale): Likewise.
24532 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24533 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24535 * locale/setlocale.c (setlocale): Likewise.
24536 * login/programs/pt_chown.c (main): Likewise.
24537 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24538 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24539 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24540 (mmap, mmap64, mremap, munmap): Likewise.
24541 * math/e_exp2l.c: Likewise.
24542 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24543 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24544 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24545 * math/s_catan.c (__catan): Likewise.
24546 * math/s_catanf.c (__catanf): Likewise.
24547 * math/s_catanh.c (__catanh): Likewise.
24548 * math/s_catanhf.c (__catanhf): Likewise.
24549 * math/s_catanhl.c (__catanhl): Likewise.
24550 * math/s_catanl.c (__catanl): Likewise.
24551 * math/s_ccosh.c (__ccosh): Likewise.
24552 * math/s_ccoshf.c (__ccoshf): Likewise.
24553 * math/s_ccoshl.c (__ccoshl): Likewise.
24554 * math/s_cexp.c (__cexp): Likewise.
24555 * math/s_cexpf.c (__cexpf): Likewise.
24556 * math/s_cexpl.c (__cexpl): Likewise.
24557 * math/s_clog10.c (__clog10): Likewise.
24558 * math/s_clog10f.c (__clog10f): Likewise.
24559 * math/s_clog10l.c (__clog10l): Likewise.
24560 * math/s_clog.c (__clog): Likewise.
24561 * math/s_clogf.c (__clogf): Likewise.
24562 * math/s_clogl.c (__clogl): Likewise.
24563 * math/s_csin.c (__csin): Likewise.
24564 * math/s_csinf.c (__csinf): Likewise.
24565 * math/s_csinh.c (__csinh): Likewise.
24566 * math/s_csinhf.c (__csinhf): Likewise.
24567 * math/s_csinhl.c (__csinhl): Likewise.
24568 * math/s_csinl.c (__csinl): Likewise.
24569 * math/s_csqrt.c (__csqrt): Likewise.
24570 * math/s_csqrtf.c (__csqrtf): Likewise.
24571 * math/s_csqrtl.c (__csqrtl): Likewise.
24572 * math/s_ctan.c (__ctan): Likewise.
24573 * math/s_ctanf.c (__ctanf): Likewise.
24574 * math/s_ctanh.c (__ctanh): Likewise.
24575 * math/s_ctanhf.c (__ctanhf): Likewise.
24576 * math/s_ctanhl.c (__ctanhl): Likewise.
24577 * math/s_ctanl.c (__ctanl): Likewise.
24578 * math/w_pow.c: Likewise.
24579 * math/w_powf.c: Likewise.
24580 * math/w_powl.c: Likewise.
24581 * math/w_scalb.c (sysv_scalb): Likewise.
24582 * math/w_scalbf.c (sysv_scalbf): Likewise.
24583 * math/w_scalbl.c (sysv_scalbl): Likewise.
24584 * misc/error.c (error_tail): Likewise.
24585 * misc/pselect.c (__pselect): Likewise.
24586 * nis/nis_callback.c (__nis_create_callback): Likewise.
24587 * nis/nis_call.c (__nisfind_server): Likewise.
24588 * nis/nis_creategroup.c (nis_creategroup): Likewise.
24589 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24590 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24591 * nis/nis_getservlist.c (nis_getservlist): Likewise.
24592 * nis/nis_lookup.c (nis_lookup): Likewise.
24593 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24594 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24595 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24596 * nis/nis_xdr.c (xdr_endpoint): Likewise.
24597 * nis/nss_compat/compat-grp.c (getgrent_next_file)
24598 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24599 * nis/nss_compat/compat-initgroups.c (add_group)
24600 (internal_getgrent_r): Likewise.
24601 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24602 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24603 * nis/nss_compat/compat-spwd.c (getspent_next_file)
24604 (internal_getspnam_r): Likewise.
24605 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24606 (_nss_nis_getaliasbyname_r): Likewise.
24607 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24608 (_nss_nis_getntohost_r): Likewise.
24609 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24610 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24611 (_nss_nis_getgrgid_r): Likewise.
24612 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24613 (internal_nis_gethostent_r, internal_gethostbyname2_r)
24614 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24615 (_nss_nis_gethostbyname4_r): Likewise.
24616 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24617 (initgroups_netid): Likewise.
24618 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24619 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24620 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24621 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24622 (_nss_nis_getprotobynumber_r): Likewise.
24623 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24624 (_nss_nis_getsecretkey): Likewise.
24625 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24626 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24627 (_nss_nis_getpwuid_r): Likewise.
24628 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24629 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24630 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24631 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24632 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24633 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24634 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24636 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24637 (_nss_nisplus_getntohost_r): Likewise.
24638 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24639 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24640 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24641 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24643 * nis/nss_nisplus/nisplus-initgroups.c
24644 (_nss_nisplus_initgroups_dyn): Likewise.
24645 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24646 (_nss_nisplus_getnetbyaddr_r): Likewise.
24647 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24648 (_nss_nisplus_getprotobynumber_r): Likewise.
24649 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24650 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24651 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24653 * nis/nss_nisplus/nisplus-service.c
24654 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24655 (_nss_nisplus_getservbyport_r): Likewise.
24656 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24657 (_nss_nisplus_getspnam_r): Likewise.
24658 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24660 * nscd/aicache.c (addhstaiX): Likewise.
24661 * nscd/cache.c (cache_search, prune_cache): Likewise.
24662 * nscd/connections.c (register_traced_file, send_ro_fd)
24663 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24664 (main_loop_epoll): Likewise.
24665 * nscd/grpcache.c (addgrbyX): Likewise.
24666 * nscd/hstcache.c (addhstbyX): Likewise.
24667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24668 * nscd/mem.c (gc, mempool_alloc): Likewise.
24669 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24670 (addinnetgrX): Likewise.
24671 * nscd/nscd-client.h (__nscd_acquire_maplock)
24672 (__nscd_drop_map_ref): Likewise.
24673 * nscd/nscd_getai.c (__nscd_getai): Likewise.
24674 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24675 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24677 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24679 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24680 (__nscd_get_map_ref): Likewise.
24681 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24682 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24684 * nscd/pwdcache.c (addpwbyX): Likewise.
24685 * nscd/selinux.c (preserve_capabilities): Likewise.
24686 * nscd/servicescache.c (addservbyX): Likewise.
24687 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24688 * posix/fnmatch.c (fnmatch): Likewise.
24689 * posix/getopt.c (_getopt_internal_r): Likewise.
24690 * posix/glob.c (glob, glob_in_dir): Likewise.
24691 * posix/wordexp.c (exec_comm_child): Likewise.
24692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24693 (getanswer_r, gaih_getanswer_slice): Likewise.
24694 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24695 * resolv/res_init.c: Likewise.
24696 * resolv/res_mkquery.c (res_nmkquery): Likewise.
24697 * resolv/res_query.c (__libc_res_nquery): Likewise.
24698 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24701 * stdio-common/perror.c (perror): Likewise.
24702 * stdio-common/printf_fp.c (___printf_fp): Likewise.
24703 * stdio-common/tmpnam.c (tmpnam): Likewise.
24704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24705 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24706 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24708 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24709 * stdlib/putenv.c (putenv): Likewise.
24710 * stdlib/setenv.c (__add_to_environ): Likewise.
24711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24712 * stdlib/strtol_l.c (INTERNAL): Likewise.
24713 * string/memmem.c (memmem): Likewise.
24714 * string/strerror.c (strerror): Likewise.
24715 * string/strnlen.c (__strnlen): Likewise.
24716 * string/test-memmem.c (simple_memmem): Likewise.
24717 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24718 * sunrpc/pm_getport.c (__get_socket): Likewise.
24719 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24720 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24721 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24722 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24724 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24725 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24726 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24727 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24728 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24729 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24731 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24733 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24734 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24736 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24737 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24739 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24740 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24741 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24742 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24743 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24744 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24748 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24750 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24754 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24755 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24756 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24767 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24769 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24773 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24775 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24777 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24778 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24779 * sysdeps/posix/opendir.c (__opendirat): Likewise.
24780 * sysdeps/posix/sleep.c: Likewise.
24781 * sysdeps/posix/tempname.c: Likewise.
24782 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24783 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24785 * sysdeps/powerpc/powerpc32/dl-machine.h
24786 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24787 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24789 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24790 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24792 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24793 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24794 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24795 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24796 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24797 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24798 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24799 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24800 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24803 (elf_machine_lazy_rel): Likewise.
24804 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24805 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24806 (elf_machine_lazy_rel): Likewise.
24807 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24808 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24809 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24810 * sysdeps/unix/grantpt.c (grantpt): Likewise.
24811 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24812 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24816 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24817 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24818 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24819 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24820 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24821 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24822 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24823 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24824 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24825 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24826 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24828 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24829 (__posix_fallocate64_l64): Likewise.
24830 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24831 (posix_fallocate): Likewise.
24832 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24834 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24835 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24836 (getifaddrs_internal): Likewise.
24837 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24838 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24839 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24840 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24841 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24842 (__posix_fallocate64_l64): Likewise.
24843 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24845 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24847 (__get_clockfreq): Likewise.
24848 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24849 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24850 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24854 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24855 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24857 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24858 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24859 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24860 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24862 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24863 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24865 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24866 (posix_fallocate): Likewise.
24867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24868 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24869 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24870 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24871 (elf_machine_rela, elf_machine_rela_relative)
24872 (elf_machine_lazy_rel): Likewise.
24873 * time/asctime.c (asctime_internal): Likewise.
24874 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24875 * time/tzset.c (__tzset_parse_tz): Likewise.
24876 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24877 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24878 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24879 * wcsmbs/wcsmbsload.h: Likewise.
24882 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24884 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24885 (arena_get2): Remove THREAD_STATS conditionals.
24886 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24887 (__malloc_stats, int): Likewise.
24889 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24891 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24892 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
24894 * manual/setjmp.texi: Fix typos/grammar errors.
24896 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24897 Only return early when n is <= 0. Delete unused return statement.
24899 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24900 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24901 * debug/tst-longjmp_chk3.c: New file.
24903 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24904 (test_main): Replace code with set_fortify_handler call.
24905 * debug/test-strcpy_chk.c: Likewise.
24906 * debug/tst-chk1.c: Likewise.
24907 * debug/tst-longjmp_chk.c: Likewise.
24908 * test-skeleton.c: Include fcntl.h & paths.h
24909 (set_fortify_handler): Define.
24911 * debug/tst-longjmp_chk.c: Add header comment and include
24912 ../test-skeleton.c.
24913 (do_test): Mark static.
24914 (TEST_FUNCTION): Define.
24916 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24917 (IP_PMTUDISC_INTERFACE): Likewise.
24918 (IP_MULTICAST_IF): Likewise.
24919 (IP_MULTICAST_TTL): Likewise.
24920 (IP_MULTICAST_LOOP): Likewise.
24921 (IP_ADD_MEMBERSHIP): Likewise.
24922 (IP_DROP_MEMBERSHIP): Likewise.
24923 (IP_UNBLOCK_SOURCE): Likewise.
24924 (IP_BLOCK_SOURCE): Likewise.
24925 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24926 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24927 (IP_MSFILTER): Likewise.
24928 (MCAST_JOIN_GROUP): Likewise.
24929 (MCAST_BLOCK_SOURCE): Likewise.
24930 (MCAST_UNBLOCK_SOURCE): Likewise.
24931 (MCAST_LEAVE_GROUP): Likewise.
24932 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24933 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24934 (MCAST_MSFILTER): Likewise.
24935 (IP_MULTICAST_ALL): Likewise.
24936 (IP_UNICAST_IF): Likewise.
24938 * timezone/Makefile: Delete $(have-ksh) check.
24939 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24940 * timezone/tzselect.ksh: Add +x mode bits.
24942 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24943 (ANON_INODE_FS_MAGIC): Likewise.
24944 (BDEVFS_MAGIC): Likewise.
24945 (BINFMTFS_MAGIC): Likewise.
24946 (BTRFS_TEST_MAGIC): Likewise.
24947 (CRAMFS_MAGIC_WEND): Likewise.
24948 (DEBUGFS_MAGIC): Likewise.
24949 (ECRYPTFS_SUPER_MAGIC): Likewise.
24950 (EXT3_SUPER_MAGIC): Likewise.
24951 (EXT4_SUPER_MAGIC): Likewise.
24952 (FUTEXFS_SUPER_MAGIC): Likewise.
24953 (HOSTFS_SUPER_MAGIC): Likewise.
24954 (HUGETLBFS_MAGIC): Likewise.
24955 (MINIX3_SUPER_MAGIC): Likewise.
24956 (MTD_INODE_FS_MAGIC): Likewise.
24957 (NILFS_SUPER_MAGIC): Likewise.
24958 (OPENPROM_SUPER_MAGIC): Likewise.
24959 (PIPEFS_MAGIC): Likewise.
24960 (PSTOREFS_MAGIC): Likewise.
24961 (QNX6_SUPER_MAGIC): Likewise.
24962 (RAMFS_MAGIC): Likewise.
24963 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24964 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24965 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24966 (SECURITYFS_MAGIC): Likewise.
24967 (SELINUX_MAGIC): Likewise.
24968 (SMACK_MAGIC): Likewise.
24969 (SOCKFS_MAGIC): Likewise.
24970 (SQUASHFS_MAGIC): Likewise.
24971 (STACK_END_MAGIC): Likewise.
24972 (TMPFS_MAGIC): Likewise.
24973 (USBDEVICE_SUPER_MAGIC): Likewise.
24974 (V9FS_MAGIC): Likewise.
24975 (XENFS_SUPER_MAGIC): Likewise.
24976 (CRAMFS_MAGIC): Fix typo in comment.
24977 (EXT2_SUPER_MAGIC): Update comment.
24978 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24980 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24982 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24983 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24984 * sysdeps/unix/sysv/linux/arm: Move directory from
24985 ports/sysdeps/unix/sysv/linux/arm.
24986 * README: Update listing for arm-*-linux-gnueabi.
24988 * README: Remove mention of am33.
24990 2014-02-07 Roland McGrath <roland@hack.frob.com>
24992 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24993 than the comma operator, to avoid "rhs of comma has no effect"
24995 (__sigfillset, __sigandset, __sigorset): Likewise.
24996 * include/signal.h (__sigemptyset): Likewise.
24997 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24999 2014-02-07 Allan McRae <allan@archlinux.org>
25001 * version.h (RELEASE): Set to "development".
25002 (VERSION): Set to "2.19.90"
25003 * NEWS: Add 2.20 section.
25005 2014-02-06 Carlos O'Donell <carlos@redhat.com>
25008 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25010 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25012 * manual/contrib.texi: Update entry for Carlos O'Donell,
25013 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25015 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
25017 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25019 * sysdeps/unix/sysv/linux/kernel-features.h
25020 [__LINUX_KERNEL_VERSION >= 0x020621]
25021 (__ASSUME_PROC_PID_TASK_COMM): Define.
25023 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25026 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25027 conversion when destination buffer does not have enough space.
25028 * libio/tst-ftell-partial-wide.c: New test case.
25029 * libio/Makefile (tests): Add tst-ftell-partial-wide.
25031 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25032 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
25033 Leonard and Allan McRae.
25035 2014-02-04 David S. Miller <davem@davemloft.net>
25037 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25040 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25069 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25071 * nptl/shlib-versions: Change powerpc*le start to 2.17.
25072 * shlib-versions: Likewise.
25074 2014-02-04 Roland McGrath <roland@hack.frob.com>
25075 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25077 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25078 (abilist-pattern): New variable, set to %-le.abilist.
25080 * Makerules (abilist-pattern): New variable.
25081 (vpath): Use $(abilist-pattern) in place of %.abilist.
25082 (check-abi-% pattern rule): Likewise.
25083 (check-abi, update-abi): Likewise.
25085 2014-02-04 Eric Wong <normalperson@yhbt.net>
25087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25089 2014-02-03 Carlos O'Donell <carlos@redhat.com>
25091 * manual/startup.texi: Add next, previous, and top entries for
25092 the `Program Arguments' and `Environment Variables' nodes.
25094 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
25096 * manual/macros.texi: Add comments before MTASC-safety macros.
25098 * manual/users.texi: Document MTASC-safety properties.
25100 * manual/threads.texi (pthread_key_create, pthread_key_delete)
25101 (pthread_getspecific, pthread_setspecific): Format with
25102 @deftypefun, and add @safety note.
25103 * manual/signal.texi: Move comments that analyze the above
25104 functions to their home place.
25106 2014-02-03 Allan McRae <allan@archlinux.org>
25108 * po/sl.po: Update Slovenian translation from translation project.
25110 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
25112 * manual/time.texi (timegm): Add missing blank after @c.
25113 Reported by Joseph Myers <joseph@codesourcery.com>.
25115 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
25117 * manual/check-safety.sh: New.
25118 * manual/Makefile ($(objpfx)stamp-summary): Run it.
25120 * manual/terminal.texi: Document MTASC-safety properties.
25122 * manual/filesys.texi: Document MTASC-safety properties.
25124 * manual/errno.texi: Document MTASC-safety properties.
25126 * manual/intro.texi: Document safety identifiers and
25129 * manual/string.texi (wcstok): Fix prototype.
25130 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25132 * manual/time.texi: Document MTASC-safety properties.
25134 * manual/string.texi: Document MTASC-safety properties.
25136 * manual/threads.texi: Document MTASC-safety properties.
25138 * manual/stdio.texi: Document MTASC-safety properties.
25140 * manual/syslog.texi: Document MTASC-safety properties.
25142 * manual/sysinfo.texi: Document MTASC-safety properties.
25144 * manual/startup.texi: Document MTASC-safety properties.
25146 * manual/socket.texi: Document MTASC-safety properties.
25148 * manual/signal.texi: Document MTASC-safety properties.
25150 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
25152 * manual/setjmp.texi: Document MTASC-safety properties.
25154 * manual/search.texi: Document MTASC-safety properties.
25156 * manual/resource.texi: Document MTASC-safety properties.
25158 * manual/process.texi: Document MTASC-safety properties.
25160 * manual/platform.texi: Document MTASC-safety properties.
25162 * manual/pipe.texi: Document MTASC-safety properties.
25164 * manual/pattern.texi: Document MTASC-safety properties.
25166 * manual/message.texi: Document MTASC-safety properties.
25169 * manual/memory.texi: Document MTASC-safety properties.
25171 * manual/math.texi: Document MTASC-safety properties.
25173 * manual/locale.texi: Document MTASC-safety properties.
25175 * manual/llio.texi: Document MTASC-safety properties.
25177 * manual/libdl.texi: New.
25179 * manual/lang.texi: Document MTASC-safety properties.
25181 * manual/job.texi: Document MTASC-safety properties.
25183 * manual/getopt.texi: Document MTASC-safety properties.
25185 * manual/ctype.texi: Document MTASC-safety properties.
25187 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
25190 * csu/libc-tls.c (static_map): Remove variable.
25191 (__libc_setup_tls): Use main executable's link map for TLS data.
25192 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25193 casing for LM_ID_BASE and GL(dl_nns).
25194 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25195 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
25196 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25197 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25198 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25200 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25203 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
25205 * manual/debug.texi: Document MTASC-safety properties.
25207 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
25210 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25211 of __x86_64__ when disabling x87 inline functions.
25213 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
25215 * manual/charset.texi: Document MTASC-safety properties.
25217 * manual/crypt.texi: Document MTASC-safety properties.
25219 * manual/conf.texi: Document MTASC-safety properties.
25221 * manual/arith.texi: Document MTASC-safety properties.
25223 * manual/argp.texi: Document MTASC-safety properties.
25225 * manual/macros.texi: Introduce macros to document multi
25226 thread, asynchronous signal and asynchronous cancellation
25228 * manual/intro.texi: Introduce the properties themselves.
25230 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25232 * sysdeps/sh/sh4/Makefile: New file.
25234 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
25236 * math/gen-libm-test.pl ($srcdir): New variable.
25237 ($auto_input): Use it.
25239 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25242 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25243 access beyond array bounds when parsing netgroups file.
25245 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25246 the old buffer before realloc.
25248 2014-01-27 Allan McRae <allan@archlinux.org>
25250 * po/fr.po: Update French translation from translation project.
25252 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25254 * sysdeps/sh/libm-test-ulps: Regenerate.
25256 2014-01-24 David S. Miller <davem@davemloft.net>
25258 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25260 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25262 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25263 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25265 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25268 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25269 string pointers after reallocation.
25271 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25273 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25274 __SH4A__ instead of __SH_FPU_ANY__.
25276 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25278 * sysdeps/sh/fpu_control.h: New file.
25279 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25280 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25281 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25282 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25283 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25284 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25285 * sysdeps/sh/sys/ucontext.h: Remove.
25286 * sysdeps/sh/sys: Remove directory.
25288 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25290 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25291 s390/sys/ucontext.h.
25292 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25293 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25295 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
25298 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25300 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25303 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25304 Adjust the vDSO correctly for internal calls.
25305 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25307 2014-01-20 Allan McRae <allan@archlinux.org>
25309 * po/ca.po: Update Catalan translation from translation project.
25311 2014-01-16 Mike Frysinger <vapier@gentoo.org>
25313 * sysdeps/s390/sotruss-lib.c: New file.
25315 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25318 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25319 (__GI___gettimeofday): Alias for a different internal symbol to avoid
25320 local calls issues by not having a PLT stub required for IFUNC calls.
25321 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25323 2014-01-16 Joseph Myers <joseph@codesourcery.com>
25325 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25326 * math/test-fpucw-static.c: Likewise.
25328 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25331 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25333 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25335 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25336 implementation for powerpc.
25338 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
25341 * sysdeps/posix/system.c (__libc_system): Do not enable
25342 asynchronous cancellation.
25344 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25347 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25348 handling only for numbers special also in the IEEE case.
25350 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25352 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25354 2014-01-11 Allan McRae <allan@archlinux.org>
25356 * po/bg.po: Update Bulgarian translation from translation project.
25358 * po/de.po: Update German translation from translation project.
25360 2014-01-10 Roland McGrath <roland@hack.frob.com>
25362 * sysdeps/generic/gcc-compat.h: New file.
25364 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25366 * benchtests/asin-inputs: Correct slow inputs.
25367 * benchtests/acos-inputs: Likewise.
25369 2014-01-10 Allan McRae <allan@archlinux.org>
25371 * po:sv.po: Update Swedish translation from translation project.
25373 * po/vi.po: Update Vietnamese translation from translation project.
25375 * po/eo.po: Update Esperanto translation from translation project.
25377 * po/cs.po: Update Czech translation from translation project.
25379 * po/nl.po: Update Dutch translation from translation project.
25381 * po/pl.po: Update Polish translation from translation project.
25383 * po/ru.po: Update Russian translation from translation project.
25385 * po/uk.po: Update Ukrainian translation from translation project.
25387 2014-01-08 Brooks Moses <bmoses@google.com>
25389 * elf/dl-load.c: Fix comment typo.
25391 2014-01-08 Carlos O'Donell <carlos@redhat.com>
25393 * po/header.pot: Rename to...
25394 * po/pot.header: ... this.
25395 * po/Makefile: Use pot.header.
25397 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
25398 Maxim Kuvyrkov <maxim@kugelworks.com>
25401 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25402 SRC and DEST against LEN.
25404 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25407 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25409 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25411 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25415 2014-01-08 Joseph Myers <joseph@codesourcery.com>
25418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25419 for large positive arguments.
25421 2014-01-07 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25425 * math/auto-libm-test-in: Mark various tests with
25426 xfail-rounding:ldbl-128ibm.
25427 * math/auto-libm-test-out: Regenerated.
25430 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25431 Increase overflow threshold.
25433 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
25436 * stdio-common/vfprintf.c: Check for integer overflow.
25438 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25440 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25441 the first argument and return value of __tls_get_addr_internal.
25443 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25445 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25446 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25448 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25450 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25451 * sysdeps/s390/rtld-global-offsets.sym: New file.
25452 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25454 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25455 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25456 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25458 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25459 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25465 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25466 halfs of GPRs for high_gprs contexts.
25467 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25468 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
25470 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25472 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25474 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25475 for high GPRs (uc_high_gprs) and for future extensions
25477 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25478 for future extensions (__reserved).
25479 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25481 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25482 SC_HIGHGPRS offset definition.
25483 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25484 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25486 * Versions.def: Add GLIBC_2.19 for libpthread.
25487 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25488 siglongjmp for libpthread with GLIBC_2.19 symver.
25489 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25490 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25491 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25492 * sysdeps/s390/__longjmp.c: New file.
25493 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25494 * sysdeps/s390/longjmp.c: New file.
25495 * sysdeps/s390/setjmp.S: New file.
25496 * sysdeps/s390/sigjmp.S: New file.
25497 * sysdeps/s390/v1-longjmp.c: New file.
25498 * sysdeps/s390/v1-setjmp.h: New file.
25499 * sysdeps/s390/v1-sigjmp.c: New file.
25500 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25501 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25502 GLIBC_2.19 version.
25503 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25504 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25505 versioned symbols for ____longjmp_chk.
25506 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25516 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25517 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25518 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25519 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25520 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25521 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25522 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25523 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25524 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25525 * sysdeps/s390/rtld-__longjmp.c: New file.
25526 * sysdeps/s390/rtld-setjmp.S: New file.
25528 2014-01-06 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25532 Return -__logl (x) for small positive arguments without evaluating
25535 2014-01-06 Mike Frysinger <vapier@gentoo.org>
25537 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25539 (__ptrace_peeksiginfo_args): ... this.
25540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25544 2014-01-06 Allan McRae <allan@archlinux.org>
25546 * inet/netinet/in.h: Fix typo in comment.
25548 2014-01-05 Andreas Jaeger <aj@suse.de>
25550 * sysdeps/i386/fpu/libm-test-ulps: Update.
25552 2014-01-05 Allan McRae <allan@archlinux.org>
25554 * po/libc.pot: Regenerated.
25556 * malloc/memusagestat.c: Fix gettext call formatting.
25558 2014-01-04 Sami Kerola <kerolasa@iki.fi>
25560 * nscd/nscd.c: Improve usage() output.
25562 2014-01-04 Mike Frysinger <vapier@gentoo.org>
25564 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25565 * sysdeps/unix/sysv/linux/configure: Regenerated.
25566 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25567 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25569 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25572 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25573 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25575 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25578 extra tokens at end of #undef directive.
25579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25580 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25581 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25583 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25585 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25587 * math/auto-libm-test-in: Mark various tests with
25588 xfail-rounding:ldbl-128ibm.
25589 * math/auto-libm-test-out: Regenerated.
25591 2014-01-02 Joseph Myers <joseph@codesourcery.com>
25594 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25595 numbers with subnormal high part when calculating exponent.
25598 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25604 (__ieee754_acoshl): Use __log1pl not __log1p.
25606 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
25608 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25609 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25610 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25611 (grow_heap, heap_trim, _int_new_arena, get_free_list)
25612 (reused_arena, arena_get2): Convert to GNU style.
25613 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25614 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25615 (memalign_check, __malloc_set_state): Likewise.
25616 * malloc/mallocbug.c (main): Likewise.
25617 * malloc/malloc.c (__malloc_assert, malloc_init_state)
25618 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25619 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25620 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25621 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25622 (__posix_memalign, malloc_info): Likewise.
25623 * malloc/malloc.h: Likewise.
25624 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25625 (mallochook, memalignhook, reallochook, mabort): Likewise.
25626 * malloc/mcheck.h: Likewise.
25627 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25628 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25629 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25630 * malloc/morecore.c (__default_morecore): Likewise.
25631 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25632 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25633 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25634 (print_and_abort): Likewise.
25635 * malloc/obstack.h: Likewise.
25636 * malloc/set-freeres.c (__libc_freeres): Likewise.
25637 * malloc/tst-mallocstate.c (main): Likewise.
25638 * malloc/tst-mtrace.c (main): Likewise.
25639 * malloc/tst-realloc.c (do_test): Likewise.
25641 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25644 * nscd/netgroupcache.c (do_notfound): New function.
25645 (addgetnetgrentX): Use it.
25648 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25649 NSS_STATUS_NOTFOUND.
25651 2014-01-01 Joseph Myers <joseph@codesourcery.com>
25653 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25656 2014-01-01 Allan McRae <allan@archlinux.org>
25658 * scripts/update-copyrights: Update configure input file suffix.
25660 * NEWS: Update copyright year.
25661 * catgets/gencat.c: Likewise.
25662 * csu/version.c: Likewise.
25663 * debug/catchsegv.sh: Likewise.
25664 * debug/pcprofiledump.c: Likewise.
25665 * debug/xtrace.sh: Likewise.
25666 * elf/ldconfig.c: Likewise.
25667 * elf/ldd.bash.in: Likewise.
25668 * elf/pldd.c: Likewise.
25669 * elf/sotruss.ksh: Likewise.
25670 * elf/sprof.c: Likewise.
25671 * iconv/iconv_prog.c: Likewise.
25672 * iconv/iconvconfig.c: Likewise.
25673 * locale/programs/locale.c: Likewise.
25674 * locale/programs/localedef.c: Likewise.
25675 * login/programs/pt_chown.c: Likewise.
25676 * malloc/memusage.sh: Likewise.
25677 * malloc/memusagestat.c: Likewise.
25678 * malloc/mtrace.pl: Likewise.
25679 * manual/libc.texinfo: Likewise.
25680 * nscd/nscd.c: Likewise.
25681 * nss/getent.c: Likewise.
25682 * nss/makedb.c: Likewise.
25683 * posix/getconf.c: Likewise.
25684 * scripts/test-installation.pl: Likewise.
25686 * All files with FSF copyright notices: Update copyright dates
25687 using scripts/update-copyrights.
25688 * intl/plural.c: Regenerated.
25689 * locale/programs/charmap-kw.h: Likewise.
25690 * locale/programs/locfile-kw.h: Likewise.
25692 2013-12-31 Mike Frysinger <vapier@gentoo.org>
25694 * sysdeps/unix/sysv/linux/configure: Regenerated.
25695 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25696 the linux/fanotify.h header.
25697 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25698 HAVE_LINUX_FANOTIFY_H is defined.
25700 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25702 * benchtests/cos-inputs: New inputs.
25703 * benchtests/sin-inputs: Likewise.
25705 * benchtests/atan-inputs: New inputs. Fix name of multiple
25706 precision fallback inputs.
25708 * benchtests/atanh-inputs: New inputs.
25709 * benchtests/tanh-inputs: Likewise.
25711 * benchtests/acosh-inputs: New inputs.
25712 * benchtests/asinh-inputs: Likewise.
25714 * benchtests/cosh-inputs: New inputs.
25715 * benchtests/sinh-inputs: Likewise.
25717 * benchtests/acos-inputs: Add more inputs.
25718 * benchtests/asin-inputs: Likewise.
25720 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
25723 * manual/arith.texi: Fix spelling.
25724 * manual/charset.texi: Likewise.
25725 * manual/errno.texi: Likewise.
25726 * manual/filesys.texi: Likewise.
25727 * manual/lang.texi: Likewise.
25728 * manual/llio.texi: Likewise.
25729 * manual/locale.texi: Likewise.
25730 * manual/message.texi: Likewise.
25731 * manual/resource.texi: Likewise.
25732 * manual/search.texi: Likewise.
25733 * manual/setjmp.texi: Likewise.
25734 * manual/stdio.texi: Likewise.
25735 * manual/string.texi: Likewise.
25736 * manual/sysinfo.texi: Likewise.
25737 * manual/time.texi: Likewise.
25739 2013-12-27 Carlos O'Donell <carlos@redhat.com>
25741 * po/sl.po: New file.
25743 2013-12-27 Mike Frysinger <vapier@gentoo.org>
25745 * .gitignore: Add core/.gdbinit/.gdb_history.
25747 2013-12-27 Allan McRae <allan@archlinux.org>
25750 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25751 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25753 2013-12-24 Brooks Moses <bmoses@google.com>
25755 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25756 all compilers that claim C++98 compliance, not just GCC.
25757 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25760 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25762 * NEWS: Restore accidentally deleted bug-fix entries.
25764 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25765 Ondřej Bílka <neleai@seznam.cz>
25768 * malloc/malloc.c (_int_free): Perform sanity check only if we
25771 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
25774 * manual/stdio.texi (String Input Conversions): Clarify that character
25775 classes are not supported.
25777 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25781 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25785 Calculate results for small negative arguments directly rather
25786 than using reflection formula with special underflow handling.
25788 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25789 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25790 sysdeps/unix/bsd/bsd4.4/syscalls.list.
25791 (fchflags): Likewise.
25792 (revoke): Likewise.
25793 (setlogin): Likewise.
25794 (sigaltstack): Likewise.
25796 (sigblock): Remove.
25797 (sigsetmask): Likewise.
25799 (waitpid): Likewise.
25800 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25801 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25803 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25804 * sysdeps/unix/bsd/Makefile: ... here.
25805 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25806 * sysdeps/unix/bsd/Versions: ... here.
25807 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25808 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25809 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25810 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25811 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25812 * sysdeps/unix/bsd/sigblock.c: ... here.
25813 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25814 * sysdeps/unix/bsd/sigsetmask.c: ... here.
25815 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25816 * sysdeps/unix/bsd/sigvec.c: ... here.
25817 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25818 * sysdeps/unix/bsd/tcdrain.c: ... here.
25819 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25820 * sysdeps/unix/bsd/tcgetattr.c: ... here.
25821 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25822 * sysdeps/unix/bsd/tcsetattr.c: ... here.
25823 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25824 * sysdeps/unix/bsd/wait.c: ... here.
25825 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25826 * sysdeps/unix/bsd/wait3.c: ... here.
25827 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25828 * sysdeps/unix/bsd/waitpid.c: ... here.
25830 2013-12-21 Joseph Myers <joseph@codesourcery.com>
25833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25834 round-to-nearest for [!USE_AS_EXPM1L].
25835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25836 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
25837 more tests of exp and exp10. Expect some exp10 tests to miss
25838 exceptions or fail in directed rounding modes.
25839 * math/auto-libm-test-out: Regenerated.
25840 * math/libm-test.inc (exp10_tonearest_test_data): New array.
25841 (exp10_test_tonearest): New function.
25842 (exp10_towardzero_test_data): New array.
25843 (exp10_test_towardzero): New function.
25844 (exp10_downward_test_data): New array.
25845 (exp10_test_downward): New function.
25846 (exp10_upward_test_data): New array.
25847 (exp10_test_upward): New function.
25848 (main): Call the new functions.
25849 * sysdeps/i386/fpu/libm-test-ulps: Update.
25850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25852 2013-12-20 Joseph Myers <joseph@codesourcery.com>
25854 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25855 asinh, atan, atan2, atanh, cbrt, cos and cosh.
25856 * math/auto-libm-test-out: Regenerated.
25857 * math/libm-test.inc (acosh_test_data): Add more tests.
25858 (atanh_test_data): Likewise.
25859 (ceil_test_data): Likewise.
25860 (copysign_test_data): Likewise.
25861 * sysdeps/i386/fpu/libm-test-ulps: Update.
25862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25864 * timezone/checktab.awk: Update from tzcode 2013i.
25865 * timezone/private.h: Likewise.
25866 * timezone/scheck.c: Likewise.
25867 * timezone/tzfile.h: Likewise.
25868 * timezone/tzselect.ksh: Likewise.
25869 * timezone/zdump.c: Likewise.
25870 * timezone/zic.c: Likewise.
25872 * math/auto-libm-test-in: Add tests of cpow.
25873 * math/auto-libm-test-out: Regenerated.
25874 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25875 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25877 (func_calc_desc): Add mpc_cc_c union field.
25878 (test_functions): Add cpow.
25879 (special_fill_2pi): New function.
25880 (special_real_inputs): Add 2pi.
25881 (calc_generic_results): Handle mpc_cc_c.
25882 * sysdeps/i386/fpu/libm-test-ulps: Update.
25883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25885 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25886 csqrt, ctan and ctanh.
25887 * math/auto-libm-test-out: Regenerated.
25888 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25889 (TEST_COND_x86): Likewise.
25890 (ccos_test_data): Use AUTO_TESTS_c_c.
25891 (ccosh_test_data): Likewise.
25892 (cexp_test_data): Likewise.
25893 (clog_test_data): Likewise.
25894 (csqrt_test_data): Likewise.
25895 (ctan_test_data): Likewise.
25896 (ctan_tonearest_test_data): Likewise.
25897 (ctan_towardzero_test_data): Likewise.
25898 (ctan_downward_test_data): Likewise.
25899 (ctan_upward_test_data): Likewise.
25900 (ctanh_test_data): Likewise.
25901 (ctanh_tonearest_test_data): Likewise.
25902 (ctanh_towardzero_test_data): Likewise.
25903 (ctanh_downward_test_data): Likewise.
25904 (ctanh_upward_test_data): Likewise.
25905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25907 (func_calc_desc): Add mpc_c_c union field.
25908 (FUNC_mpc_c_c): New macro.
25909 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25910 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25912 (special_fill_min_subnorm_p120): New function.
25913 (special_real_inputs): Add min_subnorm_p120.
25914 (calc_generic_results): Handle mpc_c_c.
25915 * sysdeps/i386/fpu/libm-test-ulps: Update.
25916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25918 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25920 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25921 (do_sin_slow): New functions.
25922 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25923 (cslow2, csloww1, csloww2): Use the new functions.
25925 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25926 Use M to change sign of result instead of X. Assume X is
25928 (csloww1): Likewise.
25932 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25933 arguments A and DA.
25937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25939 (sloww1): Don't adjust sign of DX.
25940 (csloww1): Likewise.
25941 (sloww2): Use X directly and don't adjust sign of DX.
25942 (csloww2): Likewise.
25944 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25946 * math/auto-libm-test-in: Add tests of cabs and carg.
25947 * math/auto-libm-test-out: Regenerated.
25948 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25949 (carg_test_data): Likewise.
25950 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25952 (func_calc_desc): Add mpc_c_f union field.
25953 (test_functions): Add cabs and carg.
25954 (calc_generic_results): Handle mpc_c_f.
25956 * sysdeps/powerpc/powerpc32/libgcc-compat.S
25957 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25958 as a macro and a compat symbol.
25959 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25960 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25961 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25962 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25963 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25966 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25970 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25972 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25974 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25976 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25977 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25980 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25984 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25986 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25987 trailing whitespace removed.
25988 * scripts/config.guess: Update to version 2013-11-29.
25989 * scripts/config.sub: Update to version 2013-10-01.
25991 * math/auto-libm-test-in: Add tests of sincos.
25992 * math/auto-libm-test-out: Regenerated.
25993 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25994 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25996 (func_calc_desc): Add mpfr_f_11 union field.
25997 (test_functions): Add sincos.
25998 (calc_generic_results): Handle mpfr_f_11.
25999 * sysdeps/i386/fpu/libm-test-ulps: Update.
26000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26002 2013-12-19 Andreas Schwab <schwab@suse.de>
26004 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26008 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26010 2013-12-19 Joseph Myers <joseph@codesourcery.com>
26012 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26013 * sysdeps/i386/fpu/libm-test-ulps: Update.
26014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26018 round-to-nearest mode when using frndint.
26019 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26020 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26023 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
26025 * math/auto-libm-test-out: Regenerated.
26026 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26027 (TEST_COND_x86): Likewise.
26028 (expm1_tonearest_test_data): New array.
26029 (expm1_test_tonearest): New function.
26030 (expm1_towardzero_test_data): New array.
26031 (expm1_test_towardzero): New function.
26032 (expm1_downward_test_data): New array.
26033 (expm1_test_downward): New function.
26034 (expm1_upward_test_data): New array.
26035 (expm1_test_upward): New function.
26036 (main): Run the new test functions.
26037 * sysdeps/i386/fpu/libm-test-ulps: Update.
26038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26040 * include/features.h: Update comment documenting feature test
26041 macros. Mention _DEFAULT_SOURCE in comment.
26042 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26043 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26044 _BSD_SOURCE and _SVID_SOURCE.
26045 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26046 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26047 !_SVID_SOURCE]: Likewise.
26048 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26049 (__USE_POSIX_IMPLICITLY): Define.
26050 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26051 (_POSIX_SOURCE): Undefine and redefine.
26052 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26053 (_POSIX_C_SOURCE): Likewise.
26054 * manual/creature.texi (_DEFAULT_SOURCE): Document.
26055 (Feature Test Macros): Update documentation of default features.
26057 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26059 * benchtests/Makefile: Add bench-strtok.
26060 * benchtests/bench-strtok.c: New file: strtok benchtest.
26062 2013-12-19 Allan McRae <allan@archlinux.org>
26064 * manual/install.texi: Suppress menu for plain text output.
26065 * INSTALL: Regenerated.
26067 2013-12-18 Brooks Moses <bmoses@google.com>
26070 * misc/getauxval.c: Include errno.h.
26071 (__getauxval): Set errno to ENOENT if the requested type is not
26073 * misc/sys/auxv.h (getauxval): Document that it may set errno;
26074 don't declare with __attribute_const__.
26075 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26076 * manual/startup.texi: Document that getauxval sets errno.
26078 2013-12-18 Joseph Myers <joseph@codesourcery.com>
26080 * math/auto-libm-test-in: Add tests of jn and yn.
26081 * math/auto-libm-test-out: Regenerated.
26082 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26083 (yn_test_data): Likewise.
26084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26086 (func_calc_desc): Add mpfr_if_f union field.
26087 (FUNC_mpfr_if_f): New macro.
26088 (test_functions): Add jn and yn.
26089 (calc_generic_results): Assert type of second input for
26090 mpfr_ff_f. Handle mpfr_if_f.
26091 (output_for_one_input_case): Disable all checking for arguments
26092 fitting floating-point types in case of an integer argument.
26093 * sysdeps/i386/fpu/libm-test-ulps: Update.
26094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26097 Don't expect fegetround reference in libm.so.
26099 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26101 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26102 $(config-cflags-nofma).
26104 2013-12-18 Joseph Myers <joseph@codesourcery.com>
26106 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26107 * math/auto-libm-test-out: Regenerated.
26110 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26111 to determine exponent and adjust argument to have exponent of -1.
26112 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26114 * math/auto-libm-test-out: Regenerated.
26115 * sysdeps/i386/fpu/libm-test-ulps: Update.
26116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26118 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
26120 * manual/probes.texi: Remove cases when per-thread arenas are
26123 2013-12-18 Andreas Schwab <schwab@suse.de>
26125 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26126 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26127 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26129 * sysdeps/i386/i686/multiarch/Makefile: Update.
26130 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26132 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26134 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26135 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26137 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
26140 Support TZ transition times < 00:00:00.
26141 This is needed for version-3 tz-format files; it supports time
26142 stamps past 2037 for America/Godthab (the only entry in the tz
26143 database for which this change is relevant).
26144 * manual/time.texi (TZ Variable): Document transition times
26145 from -167:59:59 through -00:00:01.
26146 * time/tzset.c (tz_rule): Time of day is now signed.
26147 (__tzset_parse_tz): Parse negative time of day.
26149 Document TZ transition times >= 25:00:00.
26150 * manual/time.texi (TZ Variable): Document transition times from
26151 25:00:00 through 167:59:59. These are already supported, and this
26152 support will help with version-3 tz-format files.
26154 * manual/time.texi (TZ Variable): Modernize North America example
26155 to reflect current (i.e., 2007-and-later) daylight saving rules.
26157 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26159 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26161 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26162 * sysdeps/unix/bsd/bits/stat.h: Likewise.
26163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26165 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26166 * sysdeps/unix/bsd/bsdstat.h: Likewise.
26167 * sysdeps/unix/bsd/clock.c: Likewise.
26168 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26169 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26170 * sysdeps/unix/bsd/init-posix.c: Likewise.
26171 * sysdeps/unix/bsd/poll.c: Likewise.
26172 * sysdeps/unix/bsd/ptsname.c: Likewise.
26173 * sysdeps/unix/bsd/seekdir.c: Likewise.
26174 * sysdeps/unix/bsd/setegid.c: Likewise.
26175 * sysdeps/unix/bsd/seteuid.c: Likewise.
26176 * sysdeps/unix/bsd/setgid.c: Likewise.
26177 * sysdeps/unix/bsd/setrgid.c: Likewise.
26178 * sysdeps/unix/bsd/setruid.c: Likewise.
26179 * sysdeps/unix/bsd/setsid.c: Likewise.
26180 * sysdeps/unix/bsd/setuid.c: Likewise.
26181 * sysdeps/unix/bsd/sigaction.c: Likewise.
26182 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26183 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26184 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26185 * sysdeps/unix/bsd/telldir.c: Likewise.
26186 * sysdeps/unix/bsd/times.c: Likewise.
26187 * sysdeps/unix/bsd/usleep.c: Likewise.
26189 * misc/Makefile (install-lib): Remove libbsd-compat.a.
26190 ($(objpfx)libbsd-compat.a): Remove rule.
26192 * include/features.h (__FAVOR_BSD): Do not define.
26193 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26194 features conflicting with POSIX.
26195 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26196 (_BSD_SOURCE): Remove description of not being a subset of other
26197 feature test macros.
26198 * manual/job.texi (getpgrp): Do not document BSD version.
26199 (getpgid): Do not document by reference to BSD getpgrp.
26200 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26201 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26202 * signal/signal.h [__FAVOR_BSD]: Likewise.
26203 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26204 instead of making contents conditional on [__FAVOR_BSD].
26205 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26207 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26211 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26214 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26215 values below 2**-450, not 2**-500.
26216 * math/auto-libm-test-in: Don't allow spurious underflow from
26218 * math/auto-libm-test-out: Regenerated.
26222 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26223 values of ha and hb and sort them after adjusting subnormal
26225 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26227 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26228 values of ea and eb and sort them after adjusting subnormal
26230 * math/auto-libm-test-in: Do not expect some hypot tests of
26231 subnormals to fail. Add more hypot tests.
26232 * math/auto-libm-test-out: Regenerated.
26234 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26237 * sysdeps/sh/s_fma.c: New file.
26238 * sysdeps/sh/s_fmaf.c: New file.
26239 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
26241 * sysdeps/sh/Implies: Add sh/soft-fp.
26243 2013-12-16 Roland McGrath <roland@hack.frob.com>
26245 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
26246 level of indirection to members `objname', `errstring', `malloced'.
26247 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26248 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
26249 it as the __longjmp argument (just pass 1 instead).
26250 (_dl_catch_error): Initialize C with argument pointers and address of
26251 volatile local ERRCODE rather than copying values out of C at return.
26253 2013-12-16 Joseph Myers <joseph@codesourcery.com>
26255 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26256 * math/auto-libm-test-out: Regenerated.
26257 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26258 (hypot_test_data): Likewise.
26259 (pow_test_data): Likewise.
26260 (pow_tonearest_test_data): Likewise.
26261 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26263 (func_calc_desc): Add mpfr_ff_f union field.
26264 (FUNC_mpfr_ff_f): New macro.
26265 (test_functions): Add atan2, hypot and pow.
26266 (special_fill_min): New function.
26267 (special_fill_minus_min): Likewise.
26268 (special_fill_min_subnorm): Likewise.
26269 (special_fill_minus_min_subnorm): Likewise.
26270 (special_real_inputs): Add min, -min, min_subnorm and
26272 (calc_generic_results): Handle mpfr_ff_f.
26273 * sysdeps/i386/fpu/libm-test-ulps: Update.
26274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26276 2013-12-16 Will Newton <will.newton@linaro.org>
26278 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26279 (Aligned Memory Blocks): Add documentation for aligned_alloc
26280 and suggest it as an alternative to posix_memalign.
26281 (Hooks for Malloc): Document __memalign_hook is also called
26282 for aligned_alloc. (Summary of Malloc): Add summary for
26283 aligned alloc. Document __memalign_hook is also called
26286 2013-12-16 Will Newton <will.newton@linaro.org>
26288 * manual/memory.texi (Malloc Examples): Clarify default
26289 alignment documentation. Suggest posix_memalign rather
26290 than memalign or valloc.
26291 (Aligned Memory Blocks): Remove suggestion to use memalign
26292 or valloc. Remove obsolete comment about BSD.
26293 Document memalign errno values and mark the function obsolete.
26294 Document posix_memalign returned error codes. Mark valloc
26295 as obsolete. (Hooks for Malloc): __memalign_hook is also
26296 called for posix_memalign and valloc.
26297 (Summary of Malloc): Add posix_memalign to function summary.
26298 __memalign_hook is also called for posix_memalign and valloc.
26300 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26302 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26306 (sloww): Use mynumber union. Expand ternary operator into
26307 if-else statements.
26308 (cslow): use mynumber union.
26310 2013-12-16 Allan McRae <allan@archlinux.org>
26312 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26313 * configure: Regenerated.
26315 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26318 * configure.ac: Added --enable-maintainer-mode. Check for
26319 autoconf when enabled.
26320 * configure: Regenerated.
26322 * nscd/nscd.service: New file.
26323 * nscd/nscd.tmpfiles: New file.
26325 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
26328 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26329 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26330 * sysdeps/x86_64/multiarch/strstr.c: ... here.
26331 (strstr): Add __strstr_sse2_unaligned ifunc.
26332 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26333 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26334 (strcasestr): Remove __strcasestr_sse42 ifunc.
26335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26339 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26341 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26342 * sysdeps/sh/bits/fenv.h: ... here.
26343 * sysdeps/sh/sh4/fpu/bits: Remove directory.
26345 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26347 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26350 hypotf multiarch implementations.
26351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26354 multiarch hypot for PPC64.
26355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26357 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26358 multiarch hypotf for PPC64.
26360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26361 modff multiarch implementations.
26362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26365 multiarch modf for PPC64.
26366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26369 multiarch modff for PPC64.
26371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26372 and logl multiarch implementations.
26373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26376 multiarch logb for PPC64.
26377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26380 multiarch logb for PPC64.
26381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26384 multiarch logb for PPC64.
26386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26387 isinff multiarch implementation.
26388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26392 multiarch isinf for PPC64.
26393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26396 multiarch isinff for PPC64.
26398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26399 finitef multiarch implementation.
26400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26404 multiarch finite for PPC64.
26405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26408 multiarch finitef for PPC64.
26410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26411 lrint multiarch implementation.
26412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26416 multiarch llrint for PPC64.
26417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26418 multiarch lrint for PPC64.
26420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26421 copysignf multiarch implementation.
26422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26427 multiarch copysign for PPC64.
26428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26429 multiarch copysignf for PPC64.
26431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26432 multiarch implementation.
26433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26441 multiarch llround for PPC64.
26442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26443 multiarch trunc for PPC64.
26444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26445 multiarch truncf for PPC64.
26447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26448 multiarch implementation.
26449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26457 multiarch llround for PPC64.
26458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26459 multiarch round for PPC64.
26460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26461 multiarch roundf for PPC64.
26463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26464 multiarch implementation.
26465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26473 multiarch llround for PPC64.
26474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26475 multiarch floor for PPC64.
26476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26477 multiarch floorf for PPC64.
26479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26480 multiarch implementation.
26481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26489 multiarch llround for PPC64.
26490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26491 multiarch ceil for PPC64.
26492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26493 multiarch ceilf for PPC64.
26495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26496 multiarch implementation.
26497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26504 multiarch llround for PPC64.
26505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26506 multiarch lround for PPC64.
26508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26509 multiarch implementation.
26510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26517 multiarch isnan for PPC64.
26518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26519 multiarch isnanf for PPC64.
26521 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26522 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26523 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26524 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26525 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26528 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26529 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26534 multiarch implementations.
26535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26536 (__libc_ifunc_impl_list): Likewise.
26537 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26538 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26539 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26540 multiarch stpcpy for PPC64.
26542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26543 multiarch implementations.
26544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26545 (__libc_ifunc_impl_list): Likewise.
26546 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26547 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26548 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26549 multiarch strcpy for PPC64.
26551 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26552 redefine function name.
26553 (_wordcopy_fwd_dest_aligned): Likewise.
26554 (_wordcopy_bwd_aligned): Likewise.
26555 (_wordcopy_bwd_dest_aligned): Likewise.
26556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26557 multiarch implementations.
26558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26559 (__libc_ifunc_impl_list): Likewise.
26560 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26561 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26563 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26564 multiarch wcscpy for PPC64.
26566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26567 multiarch implementations.
26568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26569 (__libc_ifunc_impl_list): Likewise.
26570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26571 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26572 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26573 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26574 multiarch wcscpy for PPC64.
26576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26577 multiarch implementations.
26578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26579 (__libc_ifunc_impl_list): Likewise.
26580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26582 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26583 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26584 multiarch wcsrchr for PPC64.
26586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26587 multiarch implementations.
26588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26589 (__libc_ifunc_impl_list): Likewise.
26590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26591 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26592 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26593 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26594 multiarch wcschr for PPC64.
26596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26597 multiarch implementations.
26598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26599 (__libc_ifunc_impl_list): Likewise.
26600 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26601 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26602 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26603 multiarch strchrnul for PPC64.
26605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26608 (__libc_ifunc_impl_list): Likewise.
26609 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26610 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26611 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26612 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26618 (__libc_ifunc_impl_list): Likewise.
26619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26621 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26622 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26626 multiarch implementations.
26627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26628 (__libc_ifunc_impl_list): Likewise.
26629 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26630 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26631 strncasecmp for PPC64.
26632 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26633 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26634 multiarch strncasecmp_l for PPC64.
26636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26637 multiarch implementations.
26638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26639 (__libc_ifunc_impl_list): Likewise.
26640 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26642 multiarch strcasecmp for PPC64.
26643 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26646 multiarch strcasecmp_l for PPC64.
26648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26651 (__libc_ifunc_impl_list): Likewise.
26652 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26653 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26654 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26660 (__libc_ifunc_impl_list): Likewise.
26661 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26662 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26663 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26669 (__libc_ifunc_impl_list): Likewise.
26670 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26671 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26672 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26673 rawmemrchr for PPC64.
26675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26678 (__libc_ifunc_impl_list): Likewise.
26679 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26680 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26681 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26687 (__libc_ifunc_impl_list): Likewise.
26688 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26689 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26690 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26696 (__libc_ifunc_impl_list): Likewise.
26697 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26698 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26699 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26702 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26703 avoid cretion of __bzero symbol.
26704 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26706 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26708 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26711 multiarch implementations.
26712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26713 (__libc_ifunc_impl_list): Likewise.
26714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26716 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26717 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26719 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26720 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26721 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26722 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26723 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26725 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26727 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26731 (__libc_ifunc_impl_list): Likewise.
26732 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26733 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26734 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26735 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26739 multiarch for POWER/PPC64.
26740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26741 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26748 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26751 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26752 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26753 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26754 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26755 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26756 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26757 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26758 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26759 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26760 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26761 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26762 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26763 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26764 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26765 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26774 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26778 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26780 * benchtests/Makefile (bench): Add exp2 and log2.
26781 (LDLIBS-bench-exp2): Add -lm.
26782 (LDLIBS-bench-log2): Likewise.
26783 * benchtests/exp2-inputs: New inputs file.
26784 * benchtests/log2-inputs: New inputs file.
26785 * benchtests/log-inputs: Add new inputs.
26786 * benchtests/tan-inputs: Likewise.
26788 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26790 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26792 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26793 (csloww2): ... from here.
26795 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26796 instead of structures.
26797 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26798 (POLYNOMIAL): Likewise.
26799 (TAYLOR_SLOW): Likewise.
26805 (sloww1); Likewise.
26806 (sloww2): Likewise.
26807 (bsloww1): Likewise.
26808 (bsloww2): Likewise.
26809 (cslow2): Likewise.
26810 (csloww): Likewise.
26811 (csloww1): Likewise.
26812 (csloww2): Likewise.
26814 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
26816 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26817 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26818 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26819 * malloc/hooks.c (realloc_check): Likewise.
26821 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26822 * malloc/arena.c: Remove PER_THREAD conditional.
26823 [!PER_THREAD]: Remove code.
26824 (ptmalloc_unlock_all2): Likewise.
26825 (ptmalloc_init): Likewise.
26826 (_int_new_arena): Likewise.
26827 (arena_get2): Likewise.
26828 * malloc/hooks.c (__malloc_get_state): Likewise.
26829 (__malloc_set_state): Likewise.
26830 * malloc/malloc.c: Likewise.
26831 (struct malloc_state): Likewise.
26832 (struct malloc_par): Likewise.
26833 (__libc_realloc): Likewise.
26834 (__libc_mallopt): Likewise.
26836 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26840 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
26842 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26843 macro to a function. Check for zero perturb_byte.
26844 (_int_malloc, _int_free): Remove zero perturb_byte checks.
26846 * malloc/malloc.c: (force_reg): Remove.
26847 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26848 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26849 force_reg by atomic_forced_read.
26850 * malloc/arena.c (ptmalloc_init): Likewise.
26851 * malloc/hooks.c (top_check): Likewise.
26853 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26857 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
26859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26861 2013-12-08 Joseph Myers <joseph@codesourcery.com>
26863 * math/auto-libm-test-in: Add tests of lgamma.
26864 * math/auto-libm-test-out: Regenerated.
26865 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26866 (M_LOG_2_SQRT_PIl): Likewise.
26867 (lgamma_test_data): Use AUTO_TESTS_f_f1.
26868 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26870 (func_calc_desc): Add mpfr_f_f1 union field.
26871 (ARGS1): New macro.
26879 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26880 (test_functions): Add lgamma.
26881 (calc_generic_results): Handle mpfr_f_f1.
26882 * sysdeps/i386/fpu/libm-test-ulps: Update.
26883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26885 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26887 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26888 __mpn_add_n for PowerPC64/POWER7.
26889 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26890 __mpn_sub_n for PowerPC64/POWER7.
26892 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26893 __mpn_addmul_1 for PowerPC64.
26894 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26895 __mpn_submul_1 for PowerPC64.
26896 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26898 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26901 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
26904 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26906 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26908 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26910 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26911 add multiarch folders.
26912 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26913 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26914 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26915 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26916 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26917 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26918 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26919 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26920 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26921 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26922 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26931 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26937 multiarch __ieee754_hypot for PowerPC32.
26938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26943 multiarch __ieee754_hypotf for PowerPC32.
26945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26946 long_double_symbol only if __logbl is defined.
26947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26948 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26950 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26952 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26954 path for implementation.
26955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26956 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26958 logb, and logbl multiarch implementations for PowerPC32.
26959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26964 multiarch logb for PowerPC32.
26965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26970 multiarch logbf for PowerPC32.
26971 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26975 multiarch logbl implementation for PowerPC32.
26977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26978 and modff multiarch implementations.
26979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26984 multiarch modf for PowerPC32.
26985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26990 multiarch modff for PowerPC32.
26992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26993 and lrintf multiarch implementations.
26994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26999 multiarch lrint for PowerPC32.
27000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27001 file: multiarch lrintf for PowerPC32.
27003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27004 and lroundf multiarch implementations.
27005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27012 multiarch lround for PowerPC32.
27013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27014 file: multiarch lroundf for PowerPC32.
27016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27017 copysign and copysignf multiarch implementations.
27018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27023 file: multiarch copysign for PowerPC32.
27024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27025 file: multiarch copysignf for PowerPC32.
27027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27028 and truncf multiarch implementations.
27029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27034 multiarch trunc for PowerPC32.
27035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27040 multiarch truncf for PowerPC32.
27042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27043 and roundf multiarch implementations.
27044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27049 multiarch round for PowerPC32.
27050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27055 multiarch roundf for PowerPC32.
27057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27058 and floorf multiarch implementations.
27059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27064 multiarch floor for PowerPC32.
27065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27070 multiarch floorf for PowerPC32.
27072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27073 and ceilf multiarch implementations.
27074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27079 multiarch ceil for PowerPC32.
27080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27085 multiarch ceilf for PowerPC32.
27087 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27089 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27090 FINITEF is defined.
27091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27092 and finitef multiarch implementations.
27093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27098 multiarch finite for PowerPC32.
27099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27102 file: multiarch finitef for PowerPC32.
27104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27105 and isinff multiarch implementations.
27106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27111 multiarch isinf for PowerPC32.
27112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27115 multiarch isinff for PowerPC32.
27117 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27118 alias when __isnan is defined.
27119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27120 and isnanf multiarch implementations.
27121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27130 multiarch isnan for PowerPC32.
27131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27136 multiarch isnanf for PowerPC32.
27138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27139 and sqrtf multiarch implementations.
27140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27145 multiarch sqrt for PowerPC32.
27146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27151 multiarch sqrtf for PowerPC32.
27153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27154 and llroundf multiarch implementations.
27155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27162 file: multiarch llround for PowerPC32.
27163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27164 file: multiarch llroundf for PowerPC32.
27166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27167 multiarch PowerPC32 fpu implementations.
27168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27173 multiarch llrint for PowerPC32.
27174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27189 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27190 multiarch wordcopy for PPC32.
27191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27194 (__libc_ifunc_impl_list): Likewise.
27195 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27196 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27198 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27199 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27200 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27202 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27210 multiarch wcscpy for PPC32.
27211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27214 (__libc_ifunc_impl_list): Likewise.
27215 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27216 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27217 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27218 sysdeps/powerpc/power6/wcscpy.c.
27220 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27228 multiarch wcsrchr for PPC32.
27229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27232 (__libc_ifunc_impl_list): Likewise.
27233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27234 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27235 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27236 sysdeps/powerpc/power6/wcsrchr.c.
27238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27244 multiarch wcschr for PPc32.
27245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27248 (__libc_ifunc_impl_list): Likewise.
27249 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27250 * sysdeps/powerpc/power6/wcschr.c: ... to here.
27251 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27252 sysdeps/powerpc/power6/wcschr.c.
27254 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27255 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27257 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27258 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27259 file: multiarch strchr for PPC32.
27260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27263 (__libc_ifunc_impl_list): Likewise.
27265 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27267 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27269 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27271 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27272 multiarch strchrnul for PPC32.
27273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27276 (__libc_ifunc_impl_list): Likewise.
27278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27281 multiarch strncasecmp for PPC32.
27282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27285 multiarch strncasecmp_l for PPC32.
27286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27287 strncasecmp multiarch objects.
27288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27289 (__libc_ifunc_impl_list): Likewise.
27291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27293 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27294 multiarch strncasecmp for PPC32.
27295 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27297 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27298 multiarch strcasecmp_l for PPC32.
27299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27302 (__libc_ifunc_impl_list): Likewise.
27304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27306 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27309 multiarch strncmp for PPC32.
27310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27313 (__libc_ifunc_impl_list): Likewise.
27315 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27316 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27318 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27319 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27323 (__libc_ifunc_impl_list): Likewise.
27325 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27327 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27329 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27333 (__libc_ifunc_impl_list): Likewise.
27335 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27337 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27339 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27340 multiarch rawmemchr for PPC32.
27341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27344 (__libc_ifunc_impl_list): Likewise.
27346 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27348 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27350 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27351 file: memrchr multiarch for PPC32.
27352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27355 (__libc_ifunc_impl_list): Likewise.
27357 * string/memchr.c (__memchr): Using macro to redefine symbol name.
27358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27361 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27362 multiarch memchr for PPC32.
27363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27366 (__libc_ifunc_impl_list): Likewise.
27368 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27369 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27371 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27373 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27374 file: multiarch mempcpy for PPC32.
27375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27378 (__libc_ifunc_impl_list): Likewise.
27380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27384 multiarch bzero for PPC32.
27385 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27387 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27389 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27390 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27391 file: multiarch memset for PPC32.
27392 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27394 memset multiarch objects.
27395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27396 (__libc_ifunc_impl_list): Likewise.
27398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27403 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27407 (__libc_ifunc_impl_list): Likewise.
27409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27418 multiarch memcpy for PPC32.
27419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27422 (__libc_ifunc_impl_list): Likewise.
27424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27425 support multiarch for POWER/PPC32.
27426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27428 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27430 Implies file to make multiarch folder appers before the fpu and
27431 default folder for power4 configuration.
27433 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27435 * scripts/bench.pl: Append volatile keyword to type.
27437 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27439 * sysdeps/sh/sotruss-lib.c: New file.
27440 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27442 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27446 2013-12-05 Joseph Myers <joseph@codesourcery.com>
27449 * math/w_tgamma.c: Include <errno.h>.
27450 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
27451 * math/w_tgammaf.c: Include <errno.h>.
27452 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
27453 * math/w_tgammal.c: Include <errno.h>.
27454 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
27455 * math/auto-libm-test-in: Do not allow missing errno on tgamma
27456 underflow. Add more tgamma tests.
27457 * math/auto-libm-test-out: Regenerated.
27458 * sysdeps/i386/fpu/libm-test-ulps: Update.
27459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27461 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27462 sin, sinh, tan, tanh, tgamma, y0 and y1.
27463 * math/auto-libm-test-out: Regenerated.
27464 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27465 (TEST_COND_x86): Likewise.
27466 (M_E2l): Remove macro.
27468 (M_2_SQRT_PIl): Likewise.
27469 (M_SQRT_PIl): Likewise.
27470 (M_1_DIV_El): Likewise.
27471 (log_test_data): Use AUTO_TESTS_f_f.
27472 (log10_test_data): Likewise.
27473 (log1p_test_data): Likewise.
27474 (log2_test_data): Likewise.
27475 (sin_test_data): Likewise.
27476 (sin_tonearest_test_data): Likewise.
27477 (sin_towardzero_test_data): Likewise.
27478 (sin_downward_test_data): Likewise.
27479 (sin_upward_test_data): Likewise.
27480 (sinh_test_data): Likewise.
27481 (sinh_tonearest_test_data): Likewise.
27482 (sinh_towardzero_test_data): Likewise.
27483 (sinh_downward_test_data): Likewise.
27484 (sinh_upward_test_data): Likewise.
27485 (tan_test_data): Likewise.
27486 (tan_tonearest_test_data): Likewise.
27487 (tan_towardzero_test_data): Likewise.
27488 (tan_downward_test_data): Likewise.
27489 (tan_upward_test_data): Likewise.
27490 (tanh_test_data): Likewise.
27491 (tgamma_test_data): Likewise.
27492 (y0_test_data): Likewise.
27493 (y1_test_data): Likewise.
27494 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27495 (special_real_inputs): Add pi/4.
27496 * sysdeps/i386/fpu/libm-test-ulps: Update.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27499 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27501 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27502 "longjmp_target" static probes.
27503 (__longjmp): Rename to __longjmp_symbol.
27504 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27505 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27506 on which longjmp to generate.
27507 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27508 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27510 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27511 (__sigjmp_save): Rename to __sigjmp_save_symbol.
27512 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27513 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27514 and __sigjmp_save_symbol based on which sigsetjmp to generated.
27515 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27517 __longjmp_symbol based on which __longjmp to generate.
27518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27520 (setjmp): Rename to setjmp_symbol.
27521 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27522 (_setjmp): Rename to _setjmp_symbol.
27523 (__sigsetjmp): Rename to __sigsetjmp_symbol.
27524 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27525 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27526 which setjmp to generate.
27527 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27528 "longjmp_target" static probes.
27530 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27532 * benchtests/README: Add note about output arguments.
27533 * benchtests/bench-sincos.c: Remove file.
27534 * benchtests/sincos-inputs: New file.
27535 * scripts/bench.pl: Identify output arguments and define
27536 static variables for them.
27538 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27541 * Makefile (INSTALL): Add install-plain.texi as the primary
27543 * manual/install-plain.texi: New file.
27544 * manual/install.texi: Include node directive only for
27545 non-plaintext output.
27547 2013-12-04 Joseph Myers <joseph@codesourcery.com>
27549 * stdlib/longlong.h: Update from GCC.
27553 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27554 * math/w_j0f.c (y0f): Likewise.
27555 * math/w_j0l.c (__y0l): Likewise.
27556 * math/w_j1.c (y1): Likewise.
27557 * math/w_j1f.c (y1f): Likewise.
27558 * math/w_j1l.c (__y1l): Likewise
27559 * math/w_jn.c (yn): Likewise.
27560 * math/w_jnf.c (ynf): Likewise.
27561 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27562 Bessel function pole errors in _POSIX_ mode. Use NAN as return
27563 value for Bessel function domain errors outside _SVID_ mode.
27564 Adjust sign of return value for yn (negative integer, 0).
27565 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27566 by zero in return for negative x and set sign appropriately for
27568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27569 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27570 * math/libm-test.inc (y0_test_data): Add more tests and adjust
27571 expectations in error cases.
27572 (y1_test_data): Likewise.
27573 (yn_test_data): Likewise.
27574 * sysdeps/i386/fpu/libm-test-ulps: Update.
27575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27577 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27579 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27580 "64" to "64-v1". Add "64-v2".
27581 (abi-64-options): Rename to ...
27582 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
27583 (abi-64-condition): Rename to ...
27584 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
27585 (abi-64-ld-soname): Rename to ...
27586 (abi-64-v1-ld-soname): ... this.
27587 (abi-64-v2-options): Define.
27588 (abi-64-v2-condition): Likewise.
27589 (abi-64-v2-ld-soname): Likewise.
27590 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27591 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27596 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27597 Alan Modra <amodra@gmail.com>
27599 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27600 New versions for use with the ELFv2 ABI.
27601 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27602 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27604 (struct La_ppc64v2_retval): Likewise.
27605 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27606 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27607 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27608 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27609 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27610 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27611 Do not save or restore CR.
27612 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27613 (_dl_profile_resolve): Do no save or restore CR. Support extended
27614 return values for ELFv2 ABI. Fix location of FPR return registers.
27615 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27616 updated values for _CALL_ELF == 2.
27617 (La_regs, La_retval, int_retval): Likewise.
27619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27621 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27622 (FRAME_MIN_SIZE_PARM): Likewise.
27623 (FRAME_BACKCHAIN): Likewise.
27624 (FRAME_CR_SAVE): Likewise.
27625 (FRAME_LR_SAVE): Likewise.
27626 (FRAME_TOC_SAVE): Likewise.
27627 (FRAME_PARM_SAVE): Likewise.
27628 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27629 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27630 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27631 (call_mcount_parm_offset): New macro.
27632 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27633 (PROF): Use symbolic stack frame offsets.
27634 (TAIL_CALL_SYSCALL_ERROR): Likewise.
27635 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27636 Redefine in terms of FRAME_MIN_SIZE.
27637 (_dl_runtime_resolve): Use symbolic stack frame offsets.
27638 (_dl_profile_resolve): Likewise. Update comment.
27639 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27640 symbols stack frame offsets.
27641 (__sigsetjmp): Likewise.
27642 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27643 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27644 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27645 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27648 (FRAME_BACKCHAIN): Remove.
27649 (FRAME_CR_SAVE): Likewise.
27650 (FRAME_LR_SAVE): Likewise.
27651 (FRAME_COMPILER_DW): Likewise.
27652 (FRAME_LINKER_DW): Likewise.
27653 (FRAME_TOC_SAVE): Likewise.
27654 (FRAME_PARM_SAVE): Likewise.
27655 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27656 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27657 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27659 (CHECK_SP): Use symbolic stack frame offsets.
27660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27661 zone" instead of caller's parameter save area for temp storage.
27662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27663 Likewise. Also, use symbolic stack frame offsets.
27664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27665 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27666 our own stack frame instead of the caller's.
27667 (__socket): Use symbolic stack frame offsets.
27669 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27670 Alan Modra <amodra@gmail.com>
27672 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27674 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27675 (PPC64_LOCAL_ENTRY_OFFSET): Define.
27676 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27678 (elf_machine_fixup_plt): Call it.
27679 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
27681 (elf_machine_rela): Update call to elf_machine_plt_conflict.
27682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27683 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27684 r2 before calling target.
27686 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27687 Alan Modra <amodra@gmail.com>
27689 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27690 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27691 versions of macros to support ELFv2 ABI.
27692 (LOCALENTRY): New macro.
27693 (ENTRY, EALIGN): Use it.
27694 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27695 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27696 fall through into ENTRY entry point.
27697 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27698 Only define if _CALL_ELF != 2.
27700 (elf_machine_matches_host): Verify ABI version matches.
27701 (RTLD_START): Use LOCALENTRY.
27702 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27703 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27704 (PLT_ENTRY_WORDS): New macro.
27705 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27706 (elf_machine_runtime_setup): Support ELFv2 ABI.
27707 (elf_machine_fixup_plt): Likewise.
27708 (elf_machine_plt_conflict): Likewise.
27709 (resolve_ifunc): Likewise.
27710 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27714 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27716 (makecontext): Support ELFv2 ABI.
27717 * elf/elf.h (EF_PPC64_ABI): Define.
27719 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27721 * sysdeps/powerpc/powerpc64/sysdep.h
27722 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27723 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27724 (ENTRY) [ASSEMBLER]: ... but instead here ...
27725 (EALIGN) [ASSEMBLER]: ... and here.
27726 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27727 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27728 (ENTRY_2) [!ASSEMBLER]: Use it.
27729 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27730 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
27731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27732 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27735 Use PPC64_LOAD_FUNCPTR.
27737 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27739 2013-12-04 Alan Modra <amodra@gmail.com>
27741 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27742 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27743 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27744 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27747 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27748 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27749 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27750 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27751 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27753 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27756 (__makecontext): Fix incorrect CFI when backtracing out of
27757 context created via makecontext.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27759 (__setcontext): Fix incorrect CFI during switch to new context.
27760 (__novec_setcontext): Likewise.
27762 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27765 * time/strptime_l.c (__strptime_internal): Allow modifiers
27767 * time/tst-strptime.c (day_tests): Add testcase.
27769 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27771 * scripts/bench.pl: Skip over blank lines.
27773 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
27776 * manual/time.texi (Calendar Time): Clarify what timezone functions
27779 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27783 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27785 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27787 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27788 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27789 * debug/memset_chk.c (__memset_chk): Likewise.
27790 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27791 * debug/strncpy_chk.c: Likewise.
27793 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27797 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27798 (__ieee754_exp): For possibly underflowing results, check size of
27799 result and force underflow exception if required.
27800 * math/auto-libm-test-in: Add more tests of exp.
27801 * math/auto-libm-test-out: Regenerated.
27802 * sysdeps/i386/fpu/libm-test-ulps: Update.
27803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27807 * math/w_exp2f.c (__exp2f): Likewise.
27808 * math/w_exp2l.c (__exp2l): Likewise.
27809 * math/auto-libm-test-in: Do not allow missing errno on exp2
27811 * math/auto-libm-test-out: Regenerated.
27813 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
27816 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27817 handle filename validation.
27818 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27821 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27824 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27825 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27826 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27828 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27829 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27830 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27832 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27834 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27835 * math/auto-libm-test-in: Don't allow missing errno from erfc.
27836 Add more erfc tests.
27837 * math/auto-libm-test-out: Regenerated.
27838 * sysdeps/i386/fpu/libm-test-ulps: Update.
27839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27841 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27842 exp2, expm1, j0 and j1.
27843 * math/auto-libm-test-out: Regenerated.
27844 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27845 (erfc_test_data): Likewise.
27846 (exp_test_data): Likewise.
27847 (exp_tonearest_test_data): Likewise.
27848 (exp_towardzero_test_data): Likewise.
27849 (exp_downward_test_data): Likewise.
27850 (exp_upward_test_data): Likewise.
27851 (exp10_test_data): Likewise.
27852 (exp2_test_data): Likewise.
27853 (expm1_test_data): Likewise.
27854 (j0_test_data): Likewise.
27855 (j1_test_data): Likewise.
27856 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27857 (input_flag_type): Add flag_xfail_rounding.
27858 (input_flags): Add xfail-rounding.
27859 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27860 (output_for_one_input_case): Handle flag_xfail_rounding.
27861 * sysdeps/i386/fpu/libm-test-ulps: Update.
27862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27864 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
27867 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27870 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27873 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27874 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27875 (STAP_PROBE0): New macro.
27876 (STAP_PROBE1): Likewise.
27877 (STAP_PROBE2): Likewise.
27878 (STAP_PROBE3): Likewise.
27879 (STAP_PROBE4): Likewise.
27881 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
27883 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27885 2013-12-02 Steve Ellcey <sellcey@mips.com>
27887 * benchtests/Makefile (bench): Add sqrt.
27888 (LDLIBS-bench-sqrt): New.
27889 * benchtests/sqrt-input: New.
27891 2013-12-02 Pavel Simerda <psimerda@redhat.com>
27893 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27894 (GAIH_EAI): Likewise.
27895 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27896 (gaih_inet): Likewise.
27897 (getaddrinfo): Don't use GAIH_EAI.
27899 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27900 (struct gaih): Remove definition.
27902 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27904 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27905 Use HERRNOP directly.
27907 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27911 2013-11-30 Joseph Myers <joseph@codesourcery.com>
27913 * math/gen-auto-libm-tests.c (test_functions): Add more
27914 single-argument functions.
27915 (special_fill_pi_2): New function.
27916 (special_fill_minus_pi_2): Likewise.
27917 (special_fill_pi_6): Likewise.
27918 (special_fill_minus_pi_6): Likewise.
27919 (special_fill_pi_3): Likewise.
27920 (special_fill_2pi_3): Likewise.
27921 (special_fill_e): Likewise.
27922 (special_fill_1_e): Likewise.
27923 (special_fill_e_minus_1): Likewise.
27924 (special_real_inputs): Add more special inputs.
27925 (output_for_one_input_case): Do not require ERANGE on underflow to
27926 zero if round-to-nearest result does not underflow to zero, unless
27927 exact results required.
27928 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27929 atan, atanh, cbrt, cos and cosh.
27930 * math/auto-libm-test-out: Regenerated.
27931 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27932 (acos_tonearest_test_data): Likewise.
27933 (acos_towardzero_test_data): Likewise.
27934 (acos_downward_test_data): Likewise.
27935 (acos_upward_test_data): Likewise.
27936 (acosh_test_data): Likewise.
27937 (asin_test_data): Likewise.
27938 (asin_tonearest_test_data): Likewise.
27939 (asin_towardzero_test_data): Likewise.
27940 (asin_upward_test_data): Likewise.
27941 (asinh_test_data): Likewise.
27942 (atan_test_data): Likewise.
27943 (atanh_test_data): Likewise.
27944 (cbrt_test_data): Likewise.
27945 (cos_test_data): Likewise.
27946 (cos_tonearest_test_data): Likewise.
27947 (cos_towardzero_test_data): Likewise.
27948 (cos_downward_test_data): Likewise.
27949 (cos_upward_test_data): Likewise.
27950 (cosh_test_data): Likewise.
27951 (cosh_tonearest_test_data): Likewise.
27952 (cosh_towardzero_test_data): Likewise.
27953 (cosh_downward_test_data): Likewise.
27954 (cosh_upward_test_data): Likewise.
27955 * sysdeps/i386/fpu/libm-test-ulps: Update.
27956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27958 2013-11-29 Joseph Myers <joseph@codesourcery.com>
27961 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27962 * math/w_exp10f.c (__exp10f): Likewise.
27963 * math/w_exp10l.c (__exp10l): Likewise.
27964 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27965 errno settings in existing tests.
27968 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27969 precision control set to double precision.
27970 * sysdeps/i386/fpu/w_sqrt.c: New file.
27971 * math/auto-libm-test-in: Add more tests.
27972 * math/auto-libm-test-out: Update.
27974 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27975 (sqrt_test_tonearest): New function.
27976 (sqrt_towardzero_test_data): New variable.
27977 (sqrt_test_towardzero): New function.
27978 (sqrt_downward_test_data): New variable.
27979 (sqrt_test_downward): New function.
27980 (sqrt_upward_test_data): New variable.
27981 (sqrt_test_upward): New function.
27982 (main): Call the new functions.
27984 * math/gen-auto-libm-tests.c: New file.
27985 * math/auto-libm-test-in: Likewise.
27986 * math/auto-libm-test-out: New generated file.
27987 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27989 (%beautify): Add generated representations of zero.
27990 (top level): Set $auto_input and call parse_auto_input.
27991 (beautify): Remove trailing "f" from hex float constants.
27992 (parse_args): Handle XFAIL_TEST.
27993 (convert_condition): New function.
27994 (or_value): Likewise.
27995 (or_cond_value): Likewise.
27996 (generate_testfile): Handle AUTO_TESTS_* lines.
27997 (parse_auto_input): New function.
27998 * math/libm-test.inc (XFAIL_TEST): New macro.
27999 (ERRNO_UNCHANGED): Update value.
28000 (ERRNO_EDOM): Likewise.
28001 (ERRNO_ERANGE): Likewise.
28002 (IGNORE_RESULT): Likewise.
28003 (TEST_COND_flt_32): New macro.
28004 (TEST_COND_dbl_64): Likewise.
28005 (TEST_COND_ldbl_96_intel): Likewise.
28006 (TEST_COND_ldbl_96_m68k): Likewise.
28007 (TEST_COND_ldbl_128): Likewise.
28008 (TEST_COND_ldbl_128ibm): Likewise.
28009 (TEST_COND_long32): Likewise.
28010 (TEST_COND_long64): Likewise.
28011 (TEST_COND_before_rounding): Likewise.
28012 (TEST_COND_after_rounding): Likewise.
28013 (enable_test): Handle XFAIL_TEST flag.
28014 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28015 with finite results.
28016 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28017 auto-libm-test-out.
28019 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28020 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28023 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28024 __tls_get_addr_internal instead of __tls_get_offset in order to
28025 avoid GOT pointer dependency. Make rtld export
28026 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28027 __tls_get_addr since we are a __tls_get_offset platform.
28028 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28029 GOT pointer being set up before.
28030 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28032 2013-11-28 Joseph Myers <joseph@codesourcery.com>
28034 * manual/math.texi (Errors in Math Functions): Document accuracy
28038 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28039 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28040 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28042 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28044 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28049 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28050 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28055 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28056 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28057 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28058 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28059 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28061 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28063 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28065 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28066 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28067 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28068 atomic-feupdateenv and flt-rounds.
28069 * sysdeps/powerpc/nofpu/Versions (libc): Add
28070 __atomic_feholdexcept, __atomic_feclearexcept,
28071 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28072 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28073 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28075 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28080 * manual/arith.texi (FP Exceptions): Document that exceptions may
28081 not be raised when matherr is used.
28082 (Math Error Reporting): Document overflow in directed rounding
28083 modes. Document that errno may not be set when finite values are
28084 returned on overflow. Document intent to set errno on underflow
28085 only for underflow to zero.
28088 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28089 round-to-nearest then adjust result for other rounding modes.
28090 * include/fenv.h (fegetround): Use libm_hidden_proto.
28091 * math/fegetround.c (fegetround): Use libm_hidden_def.
28092 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28093 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28094 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28097 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28098 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28099 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28100 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28102 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28105 * nss/Versions (libnss_files): Add
28106 _nss_files_gethostbyname3_r.
28107 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28109 (HOST_DB_LOOKUP): Remove macro.
28110 (_nss_files_gethostbyname_r): Implement function without the
28111 HOST_DB_LOOKUP macro.
28112 (_nss_files_gethostbyname2_r): Likewise.
28114 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
28116 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28118 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
28120 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28121 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28124 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28126 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28127 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28128 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28129 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28130 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28131 __fe_nomask_env_priv and attribute_hidden.
28132 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28133 (libc_feupdateenv_test_ppc): Likewise.
28134 (libc_feresetround_ppc): Likewise.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28136 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28137 compat_symbol macro.
28138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28139 (__fe_nomask_env): Likewise.
28140 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28142 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28144 * string/Makefile: Remove ifunc tests.
28145 * string/test-string.h: Define TEST_IFUNC.
28146 * string/test-bcopy-ifunc.c: Remove.
28147 * string/test-bzero-ifunc.c: Likewise.
28148 * string/test-memccpy-ifunc.c: Likewise.
28149 * string/test-memchr-ifunc.c: Likewise.
28150 * string/test-memcmp-ifunc.c: Likewise.
28151 * string/test-memcpy-ifunc.c: Likewise.
28152 * string/test-memmem-ifunc.c: Likewise.
28153 * string/test-memmove-ifunc.c: Likewise.
28154 * string/test-mempcpy-ifunc.c: Likewise.
28155 * string/test-memrchr-ifunc.c: Likewise.
28156 * string/test-memset-ifunc.c: Likewise.
28157 * string/test-rawmemchr-ifunc.c: Likewise.
28158 * string/test-stpcpy-ifunc.c: Likewise.
28159 * string/test-stpncpy-ifunc.c: Likewise.
28160 * string/test-strcasecmp-ifunc.c: Likewise.
28161 * string/test-strcasestr-ifunc.c: Likewise.
28162 * string/test-strcat-ifunc.c: Likewise.
28163 * string/test-strchr-ifunc.c: Likewise.
28164 * string/test-strchrnul-ifunc.c: Likewise.
28165 * string/test-strcmp-ifunc.c: Likewise.
28166 * string/test-strcpy-ifunc.c: Likewise.
28167 * string/test-strcspn-ifunc.c: Likewise.
28168 * string/test-strlen-ifunc.c: Likewise.
28169 * string/test-strncasecmp-ifunc.c: Likewise.
28170 * string/test-strncat-ifunc.c: Likewise.
28171 * string/test-strncmp-ifunc.c: Likewise.
28172 * string/test-strncpy-ifunc.c: Likewise.
28173 * string/test-strnlen-ifunc.c: Likewise.
28174 * string/test-strpbrk-ifunc.c: Likewise.
28175 * string/test-strrchr-ifunc.c: Likewise.
28176 * string/test-strspn-ifunc.c: Likewise.
28177 * string/test-strstr-ifunc.c: Likewise.
28179 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28181 * benchtests/Makefile: Remove ifunc tests.
28182 * benchtests/bench-string.h: Define TEST_IFUNC.
28183 * benchtests/bench-bcopy-ifunc.c: Remove.
28184 * benchtests/bench-bzero-ifunc.c: Likewise.
28185 * benchtests/bench-memccpy-ifunc.c: Likewise.
28186 * benchtests/bench-memchr-ifunc.c: Likewise.
28187 * benchtests/bench-memcmp-ifunc.c: Likewise.
28188 * benchtests/bench-memcpy-ifunc.c: Likewise.
28189 * benchtests/bench-memmem-ifunc.c: Likewise.
28190 * benchtests/bench-memmove-ifunc.c: Likewise.
28191 * benchtests/bench-mempcpy-ifunc.c: Likewise.
28192 * benchtests/bench-memrchr-ifunc.c: Likewise.
28193 * benchtests/bench-memset-ifunc.c: Likewise.
28194 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28195 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28196 * benchtests/bench-stpcpy-ifunc.c: Likewise.
28197 * benchtests/bench-stpncpy-ifunc.c: Likewise.
28198 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28199 * benchtests/bench-strcasestr-ifunc.c: Likewise.
28200 * benchtests/bench-strcat-ifunc.c: Likewise.
28201 * benchtests/bench-strchr-ifunc.c: Likewise.
28202 * benchtests/bench-strchrnul-ifunc.c: Likewise.
28203 * benchtests/bench-strcmp-ifunc.c: Likewise.
28204 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28205 * benchtests/bench-strcpy-ifunc.c: Likewise.
28206 * benchtests/bench-strcspn-ifunc.c: Likewise.
28207 * benchtests/bench-strlen-ifunc.c: Likewise.
28208 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28209 * benchtests/bench-strncat-ifunc.c: Likewise.
28210 * benchtests/bench-strncmp-ifunc.c: Likewise.
28211 * benchtests/bench-strncpy-ifunc.c: Likewise.
28212 * benchtests/bench-strnlen-ifunc.c: Likewise.
28213 * benchtests/bench-strpbrk-ifunc.c: Likewise.
28214 * benchtests/bench-strrchr-ifunc.c: Likewise.
28215 * benchtests/bench-strsep-ifunc.c: Likewise.
28216 * benchtests/bench-strspn-ifunc.c: Likewise.
28217 * benchtests/bench-strstr-ifunc.c: Likewise.
28219 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28221 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28223 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28225 * resolv/netdb.h: Use __glibc_reserved instead __unused.
28226 * rt/aio.h: Likewise.
28227 * sysdeps/gnu/bits/utmp.h: Likewise.
28228 * sysdeps/gnu/bits/utmpx.h: Likewise.
28229 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28230 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28231 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28232 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28233 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28234 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28235 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28236 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28237 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28238 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28239 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28240 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28241 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28243 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28244 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28245 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28246 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28247 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28248 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28249 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28250 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28251 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28252 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28253 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28255 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28256 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28257 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28258 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28259 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28260 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28261 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28262 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28263 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28264 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28265 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28266 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28267 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28268 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28269 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28270 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28272 2013-11-25 Carlos O'Donell <carlos@redhat.com>
28275 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28276 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28278 2013-11-25 Joseph Myers <joseph@codesourcery.com>
28280 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28281 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28284 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28287 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28288 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28289 (__fesetround): Remove define.
28290 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28291 rounding and exceptions handling.
28292 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28293 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28294 (__fe_nomask_env): Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28296 __fegetround instead of fegetround.
28297 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28300 2013-11-21 Roland McGrath <roland@hack.frob.com>
28302 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28305 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28307 2013-11-21 Meador Inge <meadori@codesourcery.com>
28310 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28311 (encrypt_r): Likewise.
28312 * malloc/obstack.h (obstack_free): Likewise.
28313 * posix/unistd.h (encrypt): Likewise.
28315 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
28317 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28318 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28319 DL_CALL_DT_FINI() that call the functions directly.
28320 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28321 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28322 * elf/dl-fini.c: Likewise.
28324 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
28326 * malloc/hooks.c (memalign_check): Add alignment rounding.
28327 * malloc/malloc.c (_mid_memalign): New function.
28328 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28329 Implement by calling _mid_memalign.
28330 * manual/probes.texi (Memory Allocation Probes): Remove
28331 memory_valloc_retry and memory_pvalloc_retry.
28333 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * locale/programs/locarchive.c (open_archive): Add const
28336 qualifier to ARCHIVEFNAME and copy default fname to
28340 * libio/tst-widetext.input: Rename Oriya to Odia.
28341 * locale/iso-639.def: Likewise.
28343 * manual/probes.texi (Mathematical Function Probes): Add
28344 documentation for sin, cos, asin and acos probes.
28345 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28346 (__sin32): Add slowasin probe.
28347 (__cos32): Add slowacos probe.
28348 (__mpsin): Add slowsin probe.
28349 (__mpcos): Add slowcos probe.
28351 2013-11-19 Joseph Myers <joseph@codesourcery.com>
28354 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28355 thread-local __sim_exceptions_thread and global
28356 __sim_exceptions_global.
28357 (__sim_disabled_exceptions): Change to thread-local
28358 __sim_disabled_exceptions_thread and global
28359 __sim_disabled_exceptions_global.
28360 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28361 and global __sim_round_mode_global.
28362 (__simulate_exceptions): Use thread-local floating-point state and
28363 set global state from it as needed.
28364 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28365 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28366 __sim_round_mode_thread.
28367 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28368 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28369 and global __sim_exceptions_global.
28370 (__sim_disabled_exceptions): Change to thread-local
28371 __sim_disabled_exceptions_thread and global
28372 __sim_disabled_exceptions_global.
28373 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28374 and global __sim_round_mode_global.
28375 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28376 (SIM_SET_GLOBAL): Likewise.
28377 * sysdeps/powerpc/soft-fp/sfp-machine.h
28378 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28379 __sim_round_mode_thread.
28380 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28381 __sim_disabled_exceptions_thread.
28382 (__sim_exceptions): Change to __sim_exceptions_thread.
28383 (__sim_disabled_exceptions): Change to
28384 __sim_disabled_exceptions_thread.
28385 (__sim_round_mode): Change to __sim_round_mode_thread.
28386 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28387 thread-local floating-point state and set global state from it as
28389 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28390 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28391 (__sim_disabled_exceptions): Remove extern declaration.
28392 (feenableexcept): Use thread-local floating-point state and set
28393 global state from it as needed.
28394 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28395 extern declaration.
28396 (__sim_disabled_exceptions): Likewise.
28397 (__sim_round_mode): Likewise.
28398 (__fegetenv): Use thread-local floating-point state.
28399 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28400 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28401 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28402 floating-point state and set global state from it as needed.
28403 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28404 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28405 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28407 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28408 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28410 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28411 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28412 Use __sim_round_mode_thread.
28413 * math/test-fenv-tls.c: New file.
28414 * math/Makefile (tests): Add test-fenv-tls.
28415 ($(objpfx)test-fenv-tls): Depend on
28416 $(common-objpfx)nptl/libpthread.so.
28418 2013-11-19 Andreas Schwab <schwab@suse.de>
28420 * locale/programs/locale.c (show_info): Decode wordarray elements.
28421 * locale/categories.def (LC_MONETARY): Add element for
28422 _NL_MONETARY_CRNCYSTR.
28423 * locale/C-monetary.c (conversion_rate): New variable.
28424 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28427 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
28429 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28430 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28432 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28434 * elf/Makefile (tst-auxv): New test.
28435 * elf/tst-auxv.c: New
28436 * elf/rtld.c (dl_main): Adjust AT_EXECFN
28438 2013-11-18 Joseph Myers <joseph@codesourcery.com>
28440 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28441 (hidden_proto): Caller changed.
28442 (hidden_tls_proto): New macro.
28443 (libc_hidden_tls_proto): Likewise.
28444 (rtld_hidden_tls_proto): Likewise.
28445 (libm_hidden_tls_proto): Likewise.
28446 (libresolv_hidden_tls_proto): Likewise.
28447 (librt_hidden_tls_proto): Likewise.
28448 (libdl_hidden_tls_proto): Likewise.
28449 (libnss_files_hidden_tls_proto): Likewise.
28450 (libnsl_hidden_tls_proto): Likewise.
28451 (libnss_nisplus_hidden_tls_proto): Likewise.
28452 (libutil_hidden_tls_proto): Likewise.
28454 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
28457 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28458 (decompose_rpath): Defer expansion to fillin_rpath.
28459 (_dl_init_paths): Pass linkmap to fillin_rpath.
28461 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28463 * benchtests/Makefile: Add strsep.
28464 * benchtests/bench-strsep.c: New file: strsep benchtest.
28465 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28467 2013-11-18 Andreas Schwab <schwab@suse.de>
28469 * locale/programs/locale.c (show_info) [case byte]: Check for
28470 '\377' instead of '\177'.
28471 * locale/C-monetary.c (not_available): Always use "\377".
28472 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28473 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
28474 detect unavailable sign_posn locale elements.
28475 * locale/localeconv.c (__localeconv): For grouping and
28476 mon_grouping handle "\177" and "\377" like no grouping.
28477 (INT_ELEM): New macro. Use it to set all numeric members.
28478 * locale/programs/ld-monetary.c (monetary_read)
28479 <tok_mon_grouping>: Normalize single -1 to the empty string.
28480 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28483 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28486 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28487 when we match (nil).
28488 * stdio-common/tst-sscanf.c (struct test): Add testcase.
28490 2013-11-16 Joseph Myers <joseph@codesourcery.com>
28492 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28493 (NO_TEST_INLINE): Update value.
28494 (ERRNO_UNCHANGED): Likewise.
28495 (ERRNO_EDOM): Likewise.
28496 (ERRNO_ERANGE): Likewise.
28497 (IGNORE_RESULT): Likewise.
28498 (check_float_internal): Check signs of NaN results if
28499 TEST_NAN_SIGN used.
28500 (check_complex): Pass TEST_NAN_SIGN flag through to second
28501 check_float_internal call.
28502 (copysign_test_data): Add tests with quiet NaNs as second
28503 argument. Use TEST_NAN_SIGN.
28504 (fabs_test_data): Add test of negative quiet NaN argument. Use
28506 (signbit_test_data): Add tests of quiet NaN argument.
28507 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28509 * math/gen-libm-test.pl (show_exceptions): Take extra argument
28511 (parse_args): Handle function results specified as IGNORE.
28512 * math/libm-test.inc (IGNORE_RESULT): New macro.
28513 (check_float_internal): Do not check numerical result if flag
28515 (check_complex): Pass through IGNORE_RESULT to second
28516 check_float_internal call.
28517 (check_int): Do not check numerical result if flag IGNORE_RESULT
28519 (check_long): Likewise.
28520 (check_bool): Likewise.
28521 (check_longlong): Likewise.
28522 (lrint_test_data): Add tests of infinite and NaN arguments.
28523 (lrint_tonearest_test_data): Likewise.
28524 (lrint_towardzero_test_data): Likewise.
28525 (lrint_downward_test_data): Likewise.
28526 (lrint_upward_test_data): Likewise.
28527 (llrint_test_data): Likewise.
28528 (llrint_tonearest_test_data): Likewise.
28529 (llrint_towardzero_test_data): Likewise.
28530 (llrint_downward_test_data): Likewise.
28531 (llrint_upward_test_data): Likewise.
28532 (lround_test_data): Likewise.
28533 (llround_test_data): Likewise.
28535 * math/libm-test.inc (NO_TEST_INLINE): New macro.
28536 (ERRNO_UNCHANGED): Update value.
28537 (ERRNO_EDOM): Likewise.
28538 (ERRNO_ERANGE): Likewise.
28539 (NO_TEST_INLINE_FLOAT): New macro.
28540 (NO_TEST_INLINE_DOUBLE): Likewise.
28541 (enable_test): New function.
28542 (RUN_TEST_f_f): Check enable_test before running test.
28543 (RUN_TEST_2_f): Likewise.
28544 (RUN_TEST_fff_f): Likewise.
28545 (RUN_TEST_c_f): Likewise.
28546 (RUN_TEST_f_f1): Likewise.
28547 (RUN_TEST_fF_f1): Likewise.
28548 (RUN_TEST_fI_f1): Likewise.
28549 (RUN_TEST_ffI_f1): Likewise.
28550 (RUN_TEST_c_c): Likewise.
28551 (RUN_TEST_cc_c): Likewise.
28552 (RUN_TEST_f_i): Likewise.
28553 (RUN_TEST_f_i_tg): Likewise.
28554 (RUN_TEST_ff_i_tg): Likewise.
28555 (RUN_TEST_f_b): Likewise.
28556 (RUN_TEST_f_b_tg): Likewise.
28557 (RUN_TEST_f_l): Likewise.
28558 (RUN_TEST_f_L): Likewise.
28559 (RUN_TEST_fFF_11): Likewise.
28560 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28562 (cosh_test_data): Likewise.
28563 (exp_test_data): Likewise.
28564 (expm1_test_data): Likewise.
28565 (hypot_test_data): Likewise.
28566 (pow_test_data): Likewise.
28567 (sinh_test_data): Likewise.
28568 (tanh_test_data): Likewise.
28569 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28572 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28573 tests with quiet NaN input and output.
28574 (acosh_test_data): Likewise.
28575 (asin_test_data): Likewise.
28576 (asinh_test_data): Likewise.
28577 (atan_test_data): Likewise.
28578 (atanh_test_data): Likewise.
28579 (atan2_test_data): Likewise.
28580 (cbrt_test_data): Likewise.
28581 (cos_test_data): Likewise.
28582 (cosh_test_data): Likewise.
28583 (erf_test_data): Likewise.
28584 (erfc_test_data): Likewise.
28585 (exp_test_data): Likewise.
28586 (exp10_test_data): Likewise.
28587 (exp2_test_data): Likewise.
28588 (expm1_test_data): Likewise.
28589 (hypot_test_data): Likewise.
28590 (j0_test_data): Likewise.
28591 (j1_test_data): Likewise.
28592 (jn_test_data): Likewise.
28593 (lgamma_test_data): Likewise.
28594 (log_test_data): Likewise.
28595 (log10_test_data): Likewise.
28596 (log1p_test_data): Likewise.
28597 (log2_test_data): Likewise.
28598 (pow_test_data): Likewise.
28599 (scalb_test_data): Likewise.
28600 (sin_test_data): Likewise.
28601 (sincos_test_data): Likewise.
28602 (sinh_test_data): Likewise.
28603 (tan_test_data): Likewise.
28604 (tanh_test_data): Likewise.
28605 (tgamma_test_data): Likewise.
28606 (y0_test_data): Likewise.
28607 (y1_test_data): Likewise.
28608 (yn_test_data): Likewise.
28611 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28612 argument being NaN and avoid computations with second argument in
28614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28615 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28616 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28618 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
28620 * locale/iso-639.def: Add Chitwani Tharu (the).
28622 2013-11-14 Andreas Schwab <schwab@suse.de>
28624 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28625 word instead of empty string.
28627 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28630 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28632 (__fe_nomask_env): Likewise.
28634 2013-11-13 Steve Ellcey <sellcey@mips.com>
28636 * benchtests/bench-timing.h: Include time.h.
28638 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
28641 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28643 * sysdeps/unix/sysv/linux/configure: Regenerated.
28645 2013-11-13 Joseph Myers <joseph@codesourcery.com>
28648 * stdlib/strtod_l.c (round_and_return): Do not consider
28649 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28650 exponent one less than half the least subnormal exponent.
28651 * stdlib/test-strtod-round-data: Add more tests.
28652 * stdlib/tst-strtod-round.c (tests): Regenerated.
28654 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28657 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28658 (__fe_mask_env): Likewise.
28659 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28660 libm_hidden_proto and add function prototype.
28661 (__fe_mask_env): Add function prototype.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28663 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28665 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28667 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28669 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28671 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28672 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28674 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28676 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28677 of htab_find_slot().
28679 2013-11-11 David S. Miller <davem@davemloft.net>
28682 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28683 symbol in the non-vis3 case in static builds.
28684 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28685 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28686 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28687 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28689 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
28692 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28695 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28697 * benchtests/Makefile: Add bench-strtod.
28698 * benchtests/bench-strtod.c: New file: strtod benchtest
28700 2013-11-11 Andreas Schwab <schwab@suse.de>
28703 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28704 terminating NUL in key length.
28706 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28708 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28709 Add artificial ODP entry for vDSO symbol for PPC64.
28710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28711 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28713 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28716 * nss/getent.c (services_keys): Recognize services starting with digit.
28718 2013-11-06 David S. Miller <davem@davemloft.net>
28721 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28722 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28724 2013-11-06 Will Newton <will.newton@linaro.org>
28726 * manual/memory.texi (Malloc Examples): Remove register
28727 keyword from examples.
28729 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
28731 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28733 2013-11-04 Joseph Myers <joseph@codesourcery.com>
28736 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28737 depending on [__GCC_IEC_559 > 0].
28738 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28739 depending on [__GCC_IEC_559_COMPLEX > 0].
28741 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
28743 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28746 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
28748 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28750 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
28753 * malloc/malloc (malloc_info): Do not handle first bin as
28756 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
28758 * locale/iso-639.def: Add Central Nahuatl (nhn).
28760 2013-11-01 Bruno Haible <bruno@clisp.org>
28763 * manual/math.texi (BSD Random): Specify range upper bound as
28766 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
28768 * locale/iso-639.def: Add Meadow Mari (mhr).
28770 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
28772 [BZ #14752], [BZ #15763]
28773 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28775 * rt/tst_shm.c: Add test for escaping directory.
28777 2013-10-31 Andreas Schwab <schwab@suse.de>
28780 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28781 followed by 'x' as part of digit sequence.
28782 * stdio-common/tst-sscanf.c (double_tests2): New tests.
28784 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28787 * configure.ac: allow GNU Make 4.0 and greater.
28788 * configure: Regenerated.
28790 2013-10-30 Will Newton <will.newton@linaro.org>
28793 * malloc/hooks.c (memalign_check): Limit alignment to the
28794 maximum representable power of two.
28795 * malloc/malloc.c (__libc_memalign): Likewise.
28796 * malloc/tst-memalign.c (do_test): Add test for very
28797 large alignment values.
28798 * malloc/tst-posix_memalign.c (do_test): Likewise.
28800 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28803 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28804 (munmap_chunk): Likewise.
28805 (mremap_chunk): Likewise.
28807 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28810 * stdlib/div.c (div): Remove obsolete code.
28811 * stdlib/ldiv.c (ldiv): Likewise.
28812 * stdlib/lldiv.c (lldiv): Likewise.
28814 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28817 * nss/nss_files/files-XXX.c (get_contents_ret): New
28819 (get_contents): New function.
28820 (internal_getent): Use it. Expand size of LINEBUFLEN.
28822 2013-10-30 Mike Frysinger <vapier@gentoo.org>
28824 * configure.in: Moved to ...
28825 * configure.ac: ... here. Change reference to configure.in
28827 * sysdeps/arm/preconfigure.ac: ... here.
28828 configure.in to configure.ac.
28829 * sysdeps/gnu/configure.in: Moved to ...
28830 * sysdeps/gnu/configure.ac: ... here.
28831 * sysdeps/i386/configure.in: Moved to ...
28832 * sysdeps/i386/configure.ac: ... here.
28833 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28834 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28835 * sysdeps/mach/configure.in: Moved to ...
28836 * sysdeps/mach/configure.ac: ... here.
28837 * sysdeps/mach/hurd/configure.in: Moved to ...
28838 * sysdeps/mach/hurd/configure.ac: ... here.
28839 * sysdeps/powerpc/configure.in: Moved to ...
28840 * sysdeps/powerpc/configure.ac: ... here.
28841 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28842 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28843 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28844 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28845 * sysdeps/s390/s390-32/configure.in: Moved to ...
28846 * sysdeps/s390/s390-32/configure.ac: ... here.
28847 * sysdeps/s390/s390-64/configure.in: Moved to ...
28848 * sysdeps/s390/s390-64/configure.ac: ... here.
28849 * sysdeps/sh/configure.in: Moved to ...
28850 * sysdeps/sh/configure.ac: ... here.
28851 * sysdeps/sparc/configure.in: Moved to ...
28852 * sysdeps/sparc/configure.ac: ... here.
28853 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28854 * sysdeps/unix/sysv/linux/configure.ac: ... here.
28855 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28856 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28857 * sysdeps/x86_64/configure.in: Moved to ...
28858 * sysdeps/x86_64/configure.ac: ... here.
28859 * sysdeps/x86_64/preconfigure.in: Moved to ...
28860 * sysdeps/x86_64/preconfigure.ac: ... here.
28861 * aclocal.m4: Change reference to configure.in to configure.ac.
28862 * config.h.in: Likewise.
28863 * manual/install.texi: Likewise.
28864 * manual/maint.texi: Likewise.
28865 * Makefile: Likewise.
28866 * malloc/Makefile: Likewise.
28867 * nscd/Makefile: Likewise.
28868 * Makeconfig: Change reference to configure.in and
28869 preconfigure.in to configure.ac and preconfigure.ac
28871 * INSTALL: Regenerated.
28872 * configure: Likewise.
28873 * sysdeps/gnu/configure: Likewise.
28874 * sysdeps/i386/configure: Likewise.
28875 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28876 * sysdeps/mach/configure: Likewise.
28877 * sysdeps/mach/hurd/configure: Likewise.
28878 * sysdeps/powerpc/configure: Likewise.
28879 * sysdeps/powerpc/powerpc32/configure: Likewise.
28880 * sysdeps/powerpc/powerpc64/configure: Likewise.
28881 * sysdeps/s390/s390-32/configure: Likewise.
28882 * sysdeps/s390/s390-64/configure: Likewise.
28883 * sysdeps/sh/configure: Likewise.
28884 * sysdeps/sparc/configure: Likewise.
28885 * sysdeps/unix/sysv/linux/configure: Likewise.
28886 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28887 * sysdeps/x86_64/configure: Likewise.
28888 * sysdeps/x86_64/preconfigure: Likewise.
28890 2013-10-29 Andreas Schwab <schwab@suse.de>
28892 * stdio-common/Makefile (tst-swscanf-ENV): Define.
28894 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28896 * benchtests/pow-inputs: Add new inputs.
28898 * benchtests/exp-inputs: Add new inputs.
28900 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28901 conditional check for return value.
28902 (__cos32): Likewise.
28904 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28906 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28907 to provide a boost for large inputs with word alignment.
28908 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28909 implementation based on optimized PPC64 strcpy.
28910 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28911 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28912 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28913 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28915 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28918 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28920 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28923 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28924 * time/tst-strptime.c (day_tests): Add testcase.
28926 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28929 * manual/pattern.texi: Acknowledge that fnmatch can fail.
28931 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
28934 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28935 MAP_FAILED on error.
28937 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28940 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28941 heap for large requests.
28943 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
28946 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28947 result if the result has no associated interface.
28948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28949 interface for all 127.X.Y.Z addresses.
28951 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
28953 * locale/iso-639.def: Add Ligurian (lij)
28955 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
28958 * sunrpc/rpc_main.c: Document rpcgen -5.
28960 2013-10-19 Michael Stahl <mstahl@redhat.com>
28962 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28964 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28967 * posix/glob.c: Match only directories when trailing slash is present.
28968 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28969 (main): Add testcase.
28971 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28974 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28976 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28978 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28979 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28980 AUTH_DES and cindex for FIPS 140-2.
28981 (DES Encryption): Add cindex FIPS 46-3.
28983 * locale/locarchive.h (struct locarhandle): Add fname.
28984 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28985 if an optional argument was specified to --list-archive,
28987 * locale/programs/locarchive.c (show_archive_content): Take new
28988 argument fname and pass it via ah.fname to open_archive.
28989 * locale/programs/localedef.h: Update decl.
28990 (open_archive): If AH->fname is non-null, open that file
28991 rather than the default file name, and don't ignore ENOENT.
28992 (create_archive): Set AH.fname to NULL.
28993 (delete_locales_from_archive): Likewise.
28994 (add_locales_to_archive): Likewise.
28995 * locale/programs/locfile.c (write_all_categories): Likewise.
28997 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28998 Aldy Hernandez <aldyh@redhat.com>
29000 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29001 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29002 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29003 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29004 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29008 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29010 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29011 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29012 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29013 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29014 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29016 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29018 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29020 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29022 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29023 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29025 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29026 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29027 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29028 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29030 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29031 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29032 * sysdeps/powerpc/preconfigure: Likewise.
29033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29035 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29036 Replace contents of file by #include of <fenv_libc.h>.
29037 * sysdeps/powerpc/soft-fp/sfp-machine.h
29038 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29040 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29053 Allow copysignl PLT reference to be missing.
29055 2013-10-18 Richard Sandiford <richard@codesourcery.com>
29056 Joseph Myers <joseph@codesourcery.com
29059 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29061 (add_to_tablewc): Assert sequence of wide characters is nonempty.
29063 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29065 * elf/tst-tls-dlinfo.c: Don't include tls.h.
29066 * elf/tst-tls1.c: Likewise.
29067 * elf/tst-tls10.h: Likewise.
29068 * elf/tst-tls14.c: Likewise.
29069 * elf/tst-tls2.c: Likewise.
29070 * elf/tst-tls3.c: Likewise.
29071 * elf/tst-tls4.c: Likewise.
29072 * elf/tst-tls5.c: Likewise.
29073 * elf/tst-tls6.c: Likewise.
29074 * elf/tst-tls7.c: Likewise.
29075 * elf/tst-tls8.c: Likewise.
29076 * elf/tst-tls9.c: Likewise.
29077 * elf/tst-tlsmod1.c: Likewise.
29078 * elf/tst-tlsmod13.c: Likewise.
29079 * elf/tst-tlsmod13a.c: Likewise.
29080 * elf/tst-tlsmod14a.c: Likewise.
29081 * elf/tst-tlsmod16a.c: Likewise.
29082 * elf/tst-tlsmod16b.c: Likewise.
29083 * elf/tst-tlsmod2.c: Likewise.
29084 * elf/tst-tlsmod3.c: Likewise.
29085 * elf/tst-tlsmod4.c: Likewise.
29086 * elf/tst-tlsmod5.c: Likewise.
29087 * elf/tst-tlsmod6.c: Likewise.
29089 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
29092 * malloc/malloc.c: remove checks for statistics.
29094 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
29097 * inet/inet_net.c (inet_network): Detect additional invalid strings.
29098 * inet/tst-network.c: Add testcase.
29100 2013-10-17 Andreas Schwab <schwab@suse.de>
29103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29104 to determine canonical name.
29106 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
29108 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29109 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29132 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29133 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29167 2013-10-17 Joseph Myers <joseph@codesourcery.com>
29170 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29171 make result into a quiet NaN.
29173 2013-10-16 Joseph Myers <joseph@codesourcery.com>
29175 * soft-fp/adddf3.c: Fix horizontal whitespace.
29176 * soft-fp/addsf3.c: Likewise.
29177 * soft-fp/addtf3.c: Likewise.
29178 * soft-fp/divdf3.c: Likewise.
29179 * soft-fp/divsf3.c: Likewise.
29180 * soft-fp/divtf3.c: Likewise.
29181 * soft-fp/double.h: Likewise.
29182 * soft-fp/eqdf2.c: Likewise.
29183 * soft-fp/eqsf2.c: Likewise.
29184 * soft-fp/eqtf2.c: Likewise.
29185 * soft-fp/extenddftf2.c: Likewise.
29186 * soft-fp/extended.h: Likewise.
29187 * soft-fp/extendsfdf2.c: Likewise.
29188 * soft-fp/extendsftf2.c: Likewise.
29189 * soft-fp/extendxftf2.c: Likewise.
29190 * soft-fp/fixdfdi.c: Likewise.
29191 * soft-fp/fixdfsi.c: Likewise.
29192 * soft-fp/fixdfti.c: Likewise.
29193 * soft-fp/fixsfdi.c: Likewise.
29194 * soft-fp/fixsfsi.c: Likewise.
29195 * soft-fp/fixsfti.c: Likewise.
29196 * soft-fp/fixtfdi.c: Likewise.
29197 * soft-fp/fixtfsi.c: Likewise.
29198 * soft-fp/fixtfti.c: Likewise.
29199 * soft-fp/fixunsdfdi.c: Likewise.
29200 * soft-fp/fixunsdfsi.c: Likewise.
29201 * soft-fp/fixunsdfti.c: Likewise.
29202 * soft-fp/fixunssfdi.c: Likewise.
29203 * soft-fp/fixunssfsi.c: Likewise.
29204 * soft-fp/fixunssfti.c: Likewise.
29205 * soft-fp/fixunstfdi.c: Likewise.
29206 * soft-fp/fixunstfsi.c: Likewise.
29207 * soft-fp/fixunstfti.c: Likewise.
29208 * soft-fp/floatdidf.c: Likewise.
29209 * soft-fp/floatdisf.c: Likewise.
29210 * soft-fp/floatditf.c: Likewise.
29211 * soft-fp/floatsidf.c: Likewise.
29212 * soft-fp/floatsisf.c: Likewise.
29213 * soft-fp/floatsitf.c: Likewise.
29214 * soft-fp/floattidf.c: Likewise.
29215 * soft-fp/floattisf.c: Likewise.
29216 * soft-fp/floattitf.c: Likewise.
29217 * soft-fp/floatundidf.c: Likewise.
29218 * soft-fp/floatundisf.c: Likewise.
29219 * soft-fp/floatunditf.c: Likewise.
29220 * soft-fp/floatunsidf.c: Likewise.
29221 * soft-fp/floatunsisf.c: Likewise.
29222 * soft-fp/floatunsitf.c: Likewise.
29223 * soft-fp/floatuntidf.c: Likewise.
29224 * soft-fp/floatuntisf.c: Likewise.
29225 * soft-fp/floatuntitf.c: Likewise.
29226 * soft-fp/fmadf4.c: Likewise.
29227 * soft-fp/fmasf4.c: Likewise.
29228 * soft-fp/fmatf4.c: Likewise.
29229 * soft-fp/gedf2.c: Likewise.
29230 * soft-fp/gesf2.c: Likewise.
29231 * soft-fp/getf2.c: Likewise.
29232 * soft-fp/ledf2.c: Likewise.
29233 * soft-fp/lesf2.c: Likewise.
29234 * soft-fp/letf2.c: Likewise.
29235 * soft-fp/muldf3.c: Likewise.
29236 * soft-fp/mulsf3.c: Likewise.
29237 * soft-fp/multf3.c: Likewise.
29238 * soft-fp/negdf2.c: Likewise.
29239 * soft-fp/negsf2.c: Likewise.
29240 * soft-fp/negtf2.c: Likewise.
29241 * soft-fp/op-1.h: Likewise.
29242 * soft-fp/op-2.h: Likewise.
29243 * soft-fp/op-4.h: Likewise.
29244 * soft-fp/op-8.h: Likewise.
29245 * soft-fp/op-common.h: Likewise.
29246 * soft-fp/quad.h: Likewise.
29247 * soft-fp/single.h: Likewise.
29248 * soft-fp/soft-fp.h: Likewise.
29249 * soft-fp/sqrtdf2.c: Likewise.
29250 * soft-fp/sqrtsf2.c: Likewise.
29251 * soft-fp/sqrttf2.c: Likewise.
29252 * soft-fp/subdf3.c: Likewise.
29253 * soft-fp/subsf3.c: Likewise.
29254 * soft-fp/subtf3.c: Likewise.
29255 * soft-fp/truncdfsf2.c: Likewise.
29256 * soft-fp/trunctfdf2.c: Likewise.
29257 * soft-fp/trunctfsf2.c: Likewise.
29258 * soft-fp/trunctfxf2.c: Likewise.
29259 * soft-fp/unorddf2.c: Likewise.
29260 * soft-fp/unordsf2.c: Likewise.
29261 * soft-fp/unordtf2.c: Likewise.
29263 2013-10-15 Joseph Myers <joseph@codesourcery.com>
29265 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29266 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29268 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
29270 * elf/dl-libc.c: Clear initfini list after freeing.
29272 2013-10-14 Joseph Myers <joseph@codesourcery.com>
29274 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29275 * soft-fp/addsf3.c: Likewise.
29276 * soft-fp/addtf3.c: Likewise.
29277 * soft-fp/divdf3.c: Likewise.
29278 * soft-fp/divsf3.c: Likewise.
29279 * soft-fp/divtf3.c: Likewise.
29280 * soft-fp/double.h: Likewise.
29281 * soft-fp/eqdf2.c: Likewise.
29282 * soft-fp/eqsf2.c: Likewise.
29283 * soft-fp/eqtf2.c: Likewise.
29284 * soft-fp/extenddftf2.c: Likewise.
29285 * soft-fp/extended.h: Likewise.
29286 * soft-fp/extendsfdf2.c: Likewise.
29287 * soft-fp/extendsftf2.c: Likewise.
29288 * soft-fp/extendxftf2.c: Likewise.
29289 * soft-fp/fixdfdi.c: Likewise.
29290 * soft-fp/fixdfsi.c: Likewise.
29291 * soft-fp/fixdfti.c: Likewise.
29292 * soft-fp/fixsfdi.c: Likewise.
29293 * soft-fp/fixsfsi.c: Likewise.
29294 * soft-fp/fixsfti.c: Likewise.
29295 * soft-fp/fixtfdi.c: Likewise.
29296 * soft-fp/fixtfsi.c: Likewise.
29297 * soft-fp/fixtfti.c: Likewise.
29298 * soft-fp/fixunsdfdi.c: Likewise.
29299 * soft-fp/fixunsdfsi.c: Likewise.
29300 * soft-fp/fixunsdfti.c: Likewise.
29301 * soft-fp/fixunssfdi.c: Likewise.
29302 * soft-fp/fixunssfsi.c: Likewise.
29303 * soft-fp/fixunssfti.c: Likewise.
29304 * soft-fp/fixunstfdi.c: Likewise.
29305 * soft-fp/fixunstfsi.c: Likewise.
29306 * soft-fp/fixunstfti.c: Likewise.
29307 * soft-fp/floatdidf.c: Likewise.
29308 * soft-fp/floatdisf.c: Likewise.
29309 * soft-fp/floatditf.c: Likewise.
29310 * soft-fp/floatsidf.c: Likewise.
29311 * soft-fp/floatsisf.c: Likewise.
29312 * soft-fp/floatsitf.c: Likewise.
29313 * soft-fp/floattidf.c: Likewise.
29314 * soft-fp/floattisf.c: Likewise.
29315 * soft-fp/floattitf.c: Likewise.
29316 * soft-fp/floatundidf.c: Likewise.
29317 * soft-fp/floatundisf.c: Likewise.
29318 * soft-fp/floatunsidf.c: Likewise.
29319 * soft-fp/floatunsisf.c: Likewise.
29320 * soft-fp/floatuntidf.c: Likewise.
29321 * soft-fp/floatuntisf.c: Likewise.
29322 * soft-fp/floatuntitf.c: Likewise.
29323 * soft-fp/fmadf4.c: Likewise.
29324 * soft-fp/fmasf4.c: Likewise.
29325 * soft-fp/fmatf4.c: Likewise.
29326 * soft-fp/gedf2.c: Likewise.
29327 * soft-fp/gesf2.c: Likewise.
29328 * soft-fp/getf2.c: Likewise.
29329 * soft-fp/ledf2.c: Likewise.
29330 * soft-fp/lesf2.c: Likewise.
29331 * soft-fp/letf2.c: Likewise.
29332 * soft-fp/muldf3.c: Likewise.
29333 * soft-fp/mulsf3.c: Likewise.
29334 * soft-fp/multf3.c: Likewise.
29335 * soft-fp/negdf2.c: Likewise.
29336 * soft-fp/negsf2.c: Likewise.
29337 * soft-fp/negtf2.c: Likewise.
29338 * soft-fp/op-1.h: Likewise.
29339 * soft-fp/op-2.h: Likewise.
29340 * soft-fp/op-4.h: Likewise.
29341 * soft-fp/op-8.h: Likewise.
29342 * soft-fp/op-common.h: Likewise.
29343 * soft-fp/quad.h: Likewise.
29344 * soft-fp/single.h: Likewise.
29345 * soft-fp/soft-fp.h: Likewise.
29346 * soft-fp/sqrtdf2.c: Likewise.
29347 * soft-fp/sqrtsf2.c: Likewise.
29348 * soft-fp/sqrttf2.c: Likewise.
29349 * soft-fp/subdf3.c: Likewise.
29350 * soft-fp/subsf3.c: Likewise.
29351 * soft-fp/subtf3.c: Likewise.
29352 * soft-fp/truncdfsf2.c: Likewise.
29353 * soft-fp/trunctfdf2.c: Likewise.
29354 * soft-fp/trunctfsf2.c: Likewise.
29355 * soft-fp/trunctfxf2.c: Likewise.
29356 * soft-fp/unorddf2.c: Likewise.
29357 * soft-fp/unordsf2.c: Likewise.
29358 * soft-fp/unordtf2.c: Likewise.
29360 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
29363 * misc/error.c (error_tail): Fix possible buffer overflow.
29365 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
29368 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29371 2013-10-14 P. J. McDermott <pj@pehjota.net>
29374 * elf/ldd.bash.in (try_trace): New function. Delete previous code
29375 testing pipefail option.
29377 2013-10-12 Joseph Myers <joseph@codesourcery.com>
29379 * soft-fp/double.h: Indent preprocessor directives inside #if.
29380 * soft-fp/extended.h: Likewise.
29381 * soft-fp/op-2.h: Likewise.
29382 * soft-fp/op-4.h: Likewise.
29383 * soft-fp/op-common.h: Likewise.
29384 * soft-fp/quad.h: Likewise.
29385 * soft-fp/single.h: Likewise.
29386 * soft-fp/soft-fp.h: Likewise.
29388 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
29390 * iconv/iconv_prog.c: Fix typos.
29391 * stdio-common/psiginfo-data.h: Likewise.
29393 2013-10-12 Reuben Thomas <rrt@sc3d.org>
29396 * locale/setlocale.c: Fix typo.
29398 2013-10-12 Joseph Myers <joseph@codesourcery.com>
29401 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29402 signaling NaN arguments.
29403 * soft-fp/unordsf2.c (__unordsf2): Likewise.
29404 * soft-fp/unordtf2.c (__unordtf2): Likewise.
29407 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29408 unordered operands.
29409 * soft-fp/gesf2.c (__gesf2): Likewise.
29410 * soft-fp/getf2.c (__getf2): Likewise.
29411 * soft-fp/ledf2.c (__ledf2): Likewise.
29412 * soft-fp/lesf2.c (__lesf2): Likewise.
29413 * soft-fp/letf2.c (__letf2): Likewise.
29415 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29416 * soft-fp/eqsf2.c (__eqsf2): Likewise.
29417 * soft-fp/eqtf2.c (__eqtf2): Likewise.
29418 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29419 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29420 * soft-fp/fixdfti.c (__fixdfti): Likewise.
29421 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29422 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29423 * soft-fp/fixsfti.c (__fixsfti): Likewise.
29424 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29425 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29426 * soft-fp/fixtfti.c (__fixtfti): Likewise.
29427 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29428 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29429 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29430 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29431 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29432 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29433 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29434 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29435 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29436 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29437 * soft-fp/floatdisf.c (__floatdisf): Likewise.
29438 * soft-fp/floatsisf.c (__floatsisf): Likewise.
29439 * soft-fp/floattidf.c (__floattidf): Likewise.
29440 * soft-fp/floattisf.c (__floattisf): Likewise.
29441 * soft-fp/floattitf.c (__floattitf): Likewise.
29442 * soft-fp/floatundidf.c (__floatundidf): Likewise.
29443 * soft-fp/floatundisf.c (__floatundisf): Likewise.
29444 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29445 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29446 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29447 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29448 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29449 * soft-fp/gesf2.c (__gesf2): Likewise.
29450 * soft-fp/getf2.c (__getf2): Likewise.
29451 * soft-fp/ledf2.c (__ledf2): Likewise.
29452 * soft-fp/lesf2.c (__lesf2): Likewise.
29453 * soft-fp/letf2.c (__letf2): Likewise.
29455 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29456 Undefine and redefine.
29457 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29458 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29459 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29460 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29461 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29462 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29463 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29464 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29465 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29466 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29467 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29468 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29469 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29470 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29471 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29474 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29475 without decrementing exponent if mantissa >= that for the
29476 denominator, not >.
29477 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29478 denominator, not >. Decrement exponent in < case instead of
29479 incrementing in >= case.
29480 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29481 without decrementing exponent if mantissa >= that for the
29482 denominator, not >.
29484 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29485 computing saturated result for unsigned overflow.
29487 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29488 Jeff Law <law@redhat.com>
29490 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29491 (atan2Mp): Add systemtap probe marker.
29492 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29493 (__ieee754_log): Add systemtap probe marker.
29494 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29495 (atanMp): Add systemtap probe marker.
29496 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29497 (tanMp): Add systemtap probe marker.
29498 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29499 (__slowexp): Add systemtap probe marker.
29500 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29501 (__slowpow): Add systemtap probe marker.
29502 * manual/probes.texi: Document probes.
29504 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
29507 * libio/fileops.c (_IO_new_file_write): Return count of bytes
29509 (_IO_new_file_xsputn): Don't return EOF if nothing has been
29511 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29512 written to buffer but not flushed.
29513 * libio/iofwrite_u.c: Likewise.
29514 * libio/iopadn.c: Return bytes returned even if EOF was
29516 * libio/iowpadn.c: Likewise.
29517 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29518 if _IO_padn does not write the whole buffer.
29519 [!COMPILE_WPRINTF] (PAD): Likewise.
29521 2013-10-10 David S. Miller <davem@davemloft.net>
29523 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29526 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29528 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
29529 instead of FSF address.
29530 * soft-fp/fixdfti.c: Likewise.
29531 * soft-fp/fixsfti.c: Likewise.
29532 * soft-fp/fixtfti.c: Likewise.
29533 * soft-fp/fixunsdfti.c: Likewise.
29534 * soft-fp/fixunssfti.c: Likewise.
29535 * soft-fp/fixunstfti.c: Likewise.
29536 * soft-fp/floattidf.c: Likewise.
29537 * soft-fp/floattisf.c: Likewise.
29538 * soft-fp/floattitf.c: Likewise.
29539 * soft-fp/floatuntidf.c: Likewise.
29540 * soft-fp/floatuntisf.c: Likewise.
29541 * soft-fp/floatuntitf.c: Likewise.
29542 * soft-fp/trunctfxf2.c: Likewise.
29544 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
29545 * soft-fp/fixdfti.c: Likewise.
29546 * soft-fp/fixsfti.c: Likewise.
29547 * soft-fp/fixtfti.c: Likewise.
29548 * soft-fp/fixunsdfti.c: Likewise.
29549 * soft-fp/fixunssfti.c: Likewise.
29550 * soft-fp/fixunstfti.c: Likewise.
29551 * soft-fp/floattidf.c: Likewise.
29552 * soft-fp/floattisf.c: Likewise.
29553 * soft-fp/floattitf.c: Likewise.
29554 * soft-fp/floatuntidf.c: Likewise.
29555 * soft-fp/floatuntisf.c: Likewise.
29556 * soft-fp/floatuntitf.c: Likewise.
29557 * soft-fp/trunctfxf2.c: Likewise.
29559 2013-10-10 David S. Miller <davem@davemloft.net>
29561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29563 2013-10-10 Joseph Myers <joseph@codsourcery.com>
29565 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29566 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29567 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29570 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29571 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29573 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29574 for NaNs before doing comparisons on argument.
29575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29578 2013-10-10 Will Newton <will.newton@linaro.org>
29580 * malloc/hooks.c (memalign_check): Ensure the value of bytes
29581 passed to _int_memalign does not overflow.
29583 2013-10-10 Torvald Riegel <triegel@redhat.com>
29585 * scripts/bench.pl: Add include-sources directive.
29586 * benchtests/README: Update documentation.
29588 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29590 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29591 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29592 instead of FP_INIT_ROUNDMODE.
29593 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29594 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29597 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
29598 copy class of input value.
29599 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
29600 not handle exceptions.
29601 * soft-fp/negsf2.c (__negsf2): Likewise.
29602 * soft-fp/negtf2.c (__negtf2): Likewise.
29603 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29605 2013-10-09 Joseph Myers <joseph@codesourcery.com>
29607 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29608 semicolon. From Linux kernel.
29610 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
29612 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29614 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
29617 * manual/socket.texi: Added statement about buffer
29618 for gethostbyname2_r.
29620 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
29622 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29623 Use .p2align directive instead, throughout.
29624 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29625 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29626 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29629 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29630 * sysdeps/x86_64/strchr.S: Likewise.
29631 * sysdeps/x86_64/strrchr.S: Likewise.
29633 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29635 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29637 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29639 * sysdeps/generic/math_private.h (__mpsin1): Remove
29641 (__mpcos1): Likewise.
29642 (__mpsin): New argument __range_reduce.
29643 (__mpcos): Likewise.
29644 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29645 (slow): Use __mpsin and __mpcos.
29649 (sloww1): Likewise.
29650 (sloww2): Likewise.
29651 (bsloww): Likewise.
29652 (bsloww1): Likewise.
29653 (bsloww2): Likewise.
29654 (cslow2): Likewise.
29655 (csloww): Likewise.
29656 (csloww1): Likewise.
29657 (csloww2): Likewise.
29658 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29659 range_reduce. Merge in __mpsin1.
29660 (__mpcos): Likewise.
29661 (__mpsin1): Remove.
29662 (__mpcos1): Likewise.
29664 2013-10-07 Joseph Myers <joseph@codesourcery.com>
29666 * locale/loadlocale.c (_nl_intern_locale_data): Use
29668 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29669 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29670 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29671 obstack data is appropriately aligned.
29672 (obstack_int32_grow_fast): Likewise.
29673 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29674 * locale/programs/locfile.c (add_locale_uint32): Likewise.
29675 (add_locale_uint32_array): Likewise.
29677 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29679 * benchtests/Makefile: Remove ARGLIST and RET variables.
29680 ($(objpfx)bench-%.c): Pass only function name to the script.
29681 * benchtests/README: Update documentation.
29682 * benchtests/acos-inputs: Add new directives.
29683 * benchtests/acosh-inputs: Likewise.
29684 * benchtests/asin-inputs: Likewise.
29685 * benchtests/asinh-inputs: Likewise.
29686 * benchtests/atan-inputs: Likewise.
29687 * benchtests/atanh-inputs: Likewise.
29688 * benchtests/cos-inputs: Likewise.
29689 * benchtests/cosh-inputs: Likewise.
29690 * benchtests/exp-inputs: Likewise.
29691 * benchtests/log-inputs: Likewise.
29692 * benchtests/pow-inputs: Likewise.
29693 * benchtests/rint-inputs: Likewise.
29694 * benchtests/sin-inputs: Likewise.
29695 * benchtests/sinh-inputs: Likewise.
29696 * benchtests/tan-inputs: Likewise.
29697 * benchtests/tanh-inputs: Likewise.
29698 * scripts/bench.pl: Add support for new directives.
29700 2013-10-07 Alan Modra <amodra@gmail.com>
29702 * README: Fix careless merge.
29704 2013-10-05 Alan Modra <amodra@gmail.com>
29706 * NEWS: Mention powerpc64le support and bugs fixed.
29707 * README: Both big-endian and little-endian powerpc64 supported.
29709 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29711 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29712 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29713 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29714 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29716 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
29718 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29721 2013-10-04 Joseph Myers <joseph@codesourcery.com>
29723 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29724 Move -mhard-float appending from
29725 ports/sysdeps/powerpc/powerpc32/Makefile.
29726 [$(with-fp) = yes] (ASFLAGS): Likewise.
29727 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29728 * sysdeps/powerpc/nofpu: Move directory from
29729 ports/sysdeps/powerpc/nofpu.
29730 * sysdeps/powerpc/soft-fp: Move directory from
29731 ports/sysdeps/powerpc/soft-fp.
29732 * sysdeps/powerpc/powerpc32/405: Move directory from
29733 ports/sysdeps/powerpc/powerpc32/405.
29734 * sysdeps/powerpc/powerpc32/440: Move directory from
29735 ports/sysdeps/powerpc/powerpc32/440.
29736 * sysdeps/powerpc/powerpc32/464: Move directory from
29737 ports/sysdeps/powerpc/powerpc32/464.
29738 * sysdeps/powerpc/powerpc32/476: Move directory from
29739 ports/sysdeps/powerpc/powerpc32/476.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29741 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29743 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29745 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29747 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29749 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29750 * README: Update for powerpc-*-linux-gnu software floating point
29753 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29754 case to powerpc/powerpc32*.
29755 * sysdeps/unix/sysv/linux/configure: Regenerated.
29757 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29758 (_FPU_MASK_OM): Define as 0x04.
29759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29767 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29770 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29773 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29774 and setcontext_e500.
29776 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
29778 * locale/iso-3166.def: Update iso-1366.def and related occurrences
29780 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29782 * manual/threads.texi (Default Thread Attributes): Fix typo.
29784 2013-10-04 Will Newton <will.newton@linaro.org>
29786 * malloc/Makefile: Add tst-memalign.
29787 * malloc/tst-memalign.c: New file.
29789 * malloc/tst-posix_memalign.c: Add comments.
29790 (do_test): Add comments and call free on all potentially
29791 allocated pointers. Add space after cast.
29793 * malloc/tst-pvalloc.c: Add comments.
29794 (do_test): Add comments and call free on all potentially
29795 allocated pointers. Remove duplicate check for NULL pointer.
29796 Add space after cast.
29798 * malloc/tst-valloc.c: Add comments.
29799 (do_test): Add comments and call free on all potentially
29800 allocated pointers. Remove duplicate check for NULL pointer.
29801 Add space after cast.
29803 2013-10-04 Alan Modra <amodra@gmail.com>
29805 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29806 Use stdint types in rather than __attribute__((mode())).
29807 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29809 2013-10-04 Alan Modra <amodra@gmail.com>
29811 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29812 Correct handling of unaligned relocs for little-endian.
29813 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29815 2013-10-04 Alan Modra <amodra@gmail.com>
29817 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29818 * configure: Regenerate.
29819 * nptl/shlib-versions: Powerpc*le starts at 2.18.
29820 * shlib-versions: Likewise.
29822 2013-10-04 Alan Modra <amodra@gmail.com>
29824 * string/tester.c (test_memrchr): Increment reported test cycle.
29826 2013-10-04 Alan Modra <amodra@gmail.com>
29828 * string/test-memcpy.c (do_one_test): When reporting errors, print
29829 string address and don't overrun end of string.
29831 2013-10-04 Alan Modra <amodra@gmail.com>
29833 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29834 insrdi. Make better use of reg selection to speed exit slightly.
29835 Schedule entry path a little better. Remove useless "are we done"
29836 checks on entry to main loop. Handle wrapping around zero address.
29837 Correct main loop count. Handle single left-over word from main
29838 loop inline rather than by using loop_small. Remove extra word
29839 case in loop_small caused by wrong loop count. Add little-endian
29841 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29842 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
29844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29845 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29846 support. Avoid rlwimi.
29847 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29849 2013-10-04 Alan Modra <amodra@gmail.com>
29851 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29852 insrdi. Formatting.
29853 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29854 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29855 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29856 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29857 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29858 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29860 2013-10-04 Alan Modra <amodra@gmail.com>
29862 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29863 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29864 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29865 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29866 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29867 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29868 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29869 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29870 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
29871 use of regs. Use power7 mtocrf. Tidy function tails.
29873 2013-10-04 Alan Modra <amodra@gmail.com>
29875 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29876 Formatting. Consistently use rXXX register defines or rN defines.
29877 Use early exit labels that avoid restoring unused non-volatile regs.
29878 Make cr field use more consistent with rWORDn compares. Rename
29879 regs used as shift registers for unaligned loop, using rN defines
29880 for short lifetime/multiple use regs.
29881 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
29883 addi 1,1,64 to pop stack frame. Simplify return value code.
29884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29886 2013-10-04 Alan Modra <amodra@gmail.com>
29888 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29889 support. Correct typos, formatting. Optimize tail. Use insrdi
29890 rather than rlwimi.
29891 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29892 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29893 little-endian support. Correct typos.
29894 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
29895 rather than rlwimi.
29896 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
29897 in loop and entry code to keep "and." results.
29898 (strchr): Add little-endian support. Comment. Move cntlzd
29900 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29902 2013-10-04 Alan Modra <amodra@gmail.com>
29904 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29905 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29906 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29907 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29909 2013-10-04 Alan Modra <amodra@gmail.com>
29911 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29912 (rTMP): Define as r11.
29913 (strcmp): Add little-endian support. Optimise tail.
29914 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29915 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29916 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29917 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29920 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29922 2013-10-04 Alan Modra <amodra@gmail.com>
29924 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29925 little-endian support. Remove unnecessary "are we done" tests.
29926 Handle "s" wrapping around zero and extremely large "size".
29927 Correct main loop count. Handle single left-over word from main
29928 loop inline rather than by using small_loop. Correct comments.
29929 Delete "zero" tail, use "end_max" instead.
29930 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29932 2013-10-04 Alan Modra <amodra@gmail.com>
29934 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29935 support. Don't branch over align.
29936 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29937 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29938 support. Rearrange tmp reg use to suit. Comment.
29939 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29941 2013-10-04 Alan Modra <amodra@gmail.com>
29943 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29945 2013-10-04 Alan Modra <amodra@gmail.com>
29947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29948 conditional form of branch and link when obtaining pc.
29949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29951 2013-10-04 Alan Modra <amodra@gmail.com>
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29958 2013-10-04 Alan Modra <amodra@gmail.com>
29960 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29961 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29962 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29963 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29964 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29965 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29966 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29967 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29968 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29969 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29971 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29972 Alistair Popple <alistair@ozlabs.au.ibm.com>
29973 Alan Modra <amodra@gmail.com>
29976 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29977 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29978 _dl_hwcap access for little-endian.
29979 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29980 destroy vmx regs when saving unaligned.
29981 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29982 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29983 destroy vmx regs when saving unaligned.
29985 2013-10-04 Alan Modra <amodra@gmail.com>
29987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29988 Don't use a union to pack hi/low value.
29990 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29992 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29994 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29996 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29997 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29998 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30000 2013-10-04 Alan Modra <amodra@gmail.com>
30002 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30003 constants to usual value for .cst8 section, and remove redundant
30005 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30006 constant for 0x1p52. Load little-endian words of double from
30007 correct stack offsets.
30009 2013-10-04 Alan Modra <amodra@gmail.com>
30011 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30012 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30013 words of double from correct stack offsets.
30014 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30015 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30016 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30018 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30020 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30021 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30022 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30024 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30025 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30026 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30027 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30028 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30029 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30030 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30032 2013-10-04 Alan Modra <amodra@gmail.com>
30034 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30035 64-bit int/double union.
30036 (_FPU_SETCW): Likewise.
30037 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30038 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30040 2013-10-04 Alan Modra <amodra@gmail.com>
30042 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30043 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30045 2013-10-04 Alan Modra <amodra@gmail.com>
30047 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30048 use vector int constants.
30049 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30051 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30053 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30054 array with long long.
30055 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30056 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30057 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30058 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30060 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30061 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30062 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30063 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30064 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30065 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30066 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30067 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30069 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30071 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30072 (__signbit): Likewise. Correct for little-endian.
30073 (__signbitl): Call __signbit.
30074 (lrint): Correct for little-endian.
30075 (lrintf): Call lrint.
30077 2013-10-04 Alan Modra <amodra@gmail.com>
30079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30080 union 32-bit int array member with 64-bit int array.
30081 (t515, tm256): Double rather than long double.
30082 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30084 2013-10-04 Alan Modra <amodra@gmail.com>
30086 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30088 (IEEE854_LONG_DOUBLE_BIAS): Delete.
30089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30090 version of math_ldbl.h.
30092 2013-10-04 Alan Modra <amodra@gmail.com>
30094 [BZ #15734], [BZ #15735]
30095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30096 all uses of ieee875 long double macros and unions. Simplify test
30097 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
30098 ldbl_extract_mantissa value for ix,iy exponents. Properly
30099 normalize after ldbl_extract_mantissa, and don't add hidden bit
30100 already handled. Don't treat low word of ieee854 mantissa like
30101 low word of IBM long double and mask off bit when testing for
30103 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30104 all uses of ieee875 long double macros and unions. Simplify tests
30105 for 0.0L and inf. Correct double adjustment of k. Delete dead code
30106 adjusting ha,hb. Simplify code setting kld. Delete two600 and
30107 two1022, instead use their values. Recognise that tests for large
30108 "a" and small "b" are mutually exclusive. Rename vars. Comment.
30109 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30110 Rewrite all uses of ieee875 long double macros and unions. Simplify
30111 test for 0.0L and nan. Correct negation.
30112 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30113 ieee875 long double macros and unions. Correct output for large
30114 magnitude x. Correct absolute value calculation.
30115 (__erfcl): Likewise.
30116 * math/libm-test.inc: Add tests for errors discovered in IBM long
30117 double versions of fmodl, remainderl, erfl and erfcl.
30119 2013-10-04 Alan Modra <amodra@gmail.com>
30121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30122 all uses of ieee854 long double macros and unions. Simplify tests
30123 for long doubles that are fully specified by the high double.
30124 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30126 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30127 Remove dead code too.
30128 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30129 (__ieee754_ynl): Likewise.
30130 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30131 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30133 Remove dead code too.
30134 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30135 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30137 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30139 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30141 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30142 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30144 Comment on variable precision.
30145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30146 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30148 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30152 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30154 2013-10-04 Alan Modra <amodra@gmail.com>
30156 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30158 all uses of ieee854 long double macros and unions.
30159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30164 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30167 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30168 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30169 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30170 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30172 Simplify sign and nan test too.
30173 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30174 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30175 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30176 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30178 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30179 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30182 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30183 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30184 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30185 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30188 2013-10-04 Alan Modra <amodra@gmail.com>
30190 * stdio-common/printf_size.c (__printf_size): Don't use
30191 union ieee854_long_double in fpnum union.
30192 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
30193 signbit macro to retrieve sign from long double.
30194 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30195 retrieve sign from long double.
30196 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30197 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30198 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30199 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30200 * math/test-misc.c (main): Don't use union ieee854_long_double.
30202 2013-10-04 Alan Modra <amodra@gmail.com>
30205 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30206 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30207 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30208 calculation. Remove unnecessary test for denormal exponent.
30209 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30210 Correct handling of denormals. Avoid undefined shift behaviour.
30211 Correct normalisation of low mantissa when low double is denormal.
30212 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30213 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
30214 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30215 Correct normalisation of low mantissa. Test for overflow of high
30216 mantissa and normalise.
30217 (ldbl_nearbyint): Use more readable constant for two52.
30218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30219 (__mpn_construct_long_double): Fix test for overflow of high
30220 mantissa and correct normalisation. Avoid undefined shift.
30222 2013-10-04 Alan Modra <amodra@gmail.com>
30224 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30225 (union ibm_extended_long_double): Define as an array of ieee754_double.
30226 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30228 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30229 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30233 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30238 2013-10-03 Joseph Myers <joseph@codesourcery.com>
30240 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30241 page size instead of calling getpagesize.
30243 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30244 (LOCFILE_ALIGN_MASK): Likewise.
30245 (LOCFILE_ALIGN_UP): Likewise.
30246 (LOCFILE_ALIGNED_P): Likewise.
30247 * locale/programs/ld-collate.c (collate_output): Use the new
30248 macros instead of __alignof__ (int32_t).
30249 * locale/weight.h (findidx): Likewise.
30251 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
30254 * manual/string.texi: Fix strncat and wcsncat.
30256 2013-10-03 Brooks Moses <bmoses@google.com>
30259 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30260 * Makerules: ...here, and adjust associated comments.
30262 2013-10-02 Will Newton <will.newton@linaro.org>
30264 * malloc/Makefile: Add tst-pvalloc.
30265 * malloc/tst-pvalloc.c: New file.
30267 2013-10-02 Will Newton <will.newton@linaro.org>
30269 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30270 improve test coverage.
30272 2013-10-02 Will Newton <will.newton@linaro.org>
30274 * malloc/Makefile: Add tst-posix_memalign.
30275 * malloc/tst-posix_memalign.c: New file.
30277 2013-10-01 Eric Blake <eblake@redhat.com>
30279 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30280 Use __THROWNL rather than __THROW on static functions.
30282 2013-09-30 Petr Machata <pmachata@redhat.com>
30284 * elf/elf.h (R_AARCH64_ABS16): New macro.
30285 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30286 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30287 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30288 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30289 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30290 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30291 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30292 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30293 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30294 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30295 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30296 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30297 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30298 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30299 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30300 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30301 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30302 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30303 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30304 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30305 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30306 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30307 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30308 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30309 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30310 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30311 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30312 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30313 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30314 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30315 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30316 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30317 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30318 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30319 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30320 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30321 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30322 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30323 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30324 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30325 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30326 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30327 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30328 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30329 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30330 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30331 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30332 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30333 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30334 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30335 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30336 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30337 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30338 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30339 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30340 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30341 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30342 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30343 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30344 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30345 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30346 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30347 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30348 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30349 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30350 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30351 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30352 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30353 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30354 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30355 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30356 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30357 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30358 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30359 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30360 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30361 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30362 (R_AARCH64_TLSDESC_LDR): Likewise.
30363 (R_AARCH64_TLSDESC_ADD): Likewise.
30364 (R_AARCH64_TLSDESC_CALL): Likewise.
30366 2013-09-30 Andreas Schwab <schwab@suse.de>
30369 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30370 the nss database lookup.
30371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30374 2013-09-28 Mike Frysinger <vapier@gentoo.org>
30376 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30378 2013-09-28 P. J. McDermott <pj@pehjota.net>
30380 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30381 ${Bash-specific parameter/pattern/string} parameter expansion.
30382 * sysdeps/unix/make-syscalls.sh: Likewise.
30384 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30386 * sysdeps/sh/stackguard-macros.h: New file.
30388 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
30390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30392 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30394 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30395 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30397 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30400 Fix thread ID register.
30402 2013-09-25 Joseph Myers <joseph@codesourcery.com>
30404 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30405 [POSIX || UNIX98]: Require rather than permitting all symbols from
30407 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30408 element of struct sched_param.
30409 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30410 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30411 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30412 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30415 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
30417 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30418 argument calculation.
30420 2013-09-24 Joseph Myers <joseph@codesourcery.com>
30422 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30424 [POSIX] (pthread_attr_t): Do not require type.
30425 [POSIX] (pthread_cond_t): Likewise.
30426 [POSIX] (pthread_condattr_t): Likewise.
30427 [POSIX] (pthread_key_t): Likewise.
30428 [POSIX] (pthread_mutex_t): Likewise.
30429 [POSIX] (pthread_mutexattr_t): Likewise.
30430 [POSIX] (pthread_once_t): Likewise.
30431 [POSIX] (pthread_t): Likewise.
30432 [POSIX-based standards] (pthread_atfork): Expect function.
30434 2013-09-24 Joseph Myers <joseph@codesourcery.com>
30435 Richard Sandiford <richard@codesourcery.com>
30437 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30438 (swap_endianness_p): New extern variable.
30439 (set_big_endian): New inline function.
30440 (maybe_swap_uint32): Likewise.
30441 (maybe_swap_uint32_array): Likewise.
30442 (maybe_swap_uint32_obstack): Likewise.
30443 * locale/programs/locfile.c: Include <stdbool.h>.
30444 (swap_endianness_p): New variable.
30445 (add_locale_uint32): Call maybe_swap_uint32.
30446 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30447 (write_locale_data): Call maybe_swap_uint32_array.
30448 * locale/programs/ld-collate.c (obstack_int32_grow): Call
30450 (obstack_int32_grow_fast): Likewise.
30451 (output_weightwc): Call maybe_swap_uint32_obstack.
30452 (collate_output): Likewise.
30453 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30454 (OPT_LITTLE_ENDIAN): Likewise.
30455 (options): Add --little-endian and --big-endian options.
30456 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30457 * locale/programs/locarchive.c: Include "locfile.h".
30461 (create_archive): Use the new macros to access fields of
30462 structures directly mapped from or written to locale archives.
30463 (oldlocrecentcmp): Likewise.
30464 (enlarge_archive): Likewise.
30465 (insert_name): Likewise.
30466 (add_alias): Likewise.
30467 (add_locale): Likewise.
30468 (delete_locales_from_archive): Likewise.
30469 (show_archive_content): Likewise.
30470 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
30473 2013-09-24 Roland McGrath <roland@hack.frob.com>
30475 * manual/freemanuals.texi: Updated from (newly) canonical copy at
30476 http://www.gnu.org/doc/freemanuals.texi.
30477 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30479 2013-09-24 Will Newton <will.newton@linaro.org>
30481 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30484 2013-09-23 Joseph Myers <joseph@codesourcery.com>
30486 * locale/hashval.h (compute_hashval): Interpret bytes of key as
30489 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
30491 * manual/threads.texi (POSIX Threads): Fix a typo.
30493 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30496 * string/tst-strcoll-overflow.c: New test case.
30497 * string/Makefile (xtests): Add tst-strcoll-overflow.
30498 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30499 cache if string sizes may cause integer overflow.
30502 * string/strcoll_l.c (coll_seq): New members rule, idx,
30503 save_idx and back_us.
30504 (get_next_seq_nocache): New function.
30505 (do_compare_nocache): New function.
30506 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30509 2013-09-23 Carlos O'Donell <carlos@redhat.com>
30512 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30513 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30514 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30517 * elf/Makefile (tests): Add tst-ptrguard1.
30518 (tests-static): Add tst-ptrguard1-static.
30519 (tst-ptrguard1-ARGS): Define.
30520 (tst-ptrguard1-static-ARGS): Define.
30521 * elf/tst-ptrguard1.c: New file.
30522 * elf/tst-ptrguard1-static.c: New file.
30523 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30524 * sysdeps/i386/stackguard-macros.h: Likewise.
30525 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30526 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30527 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30528 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30529 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30530 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30532 2013-09-23 Hector Marco <hecmargi@upv.es>
30533 Ismael Ripoll <iripoll@disca.upv.es>
30534 Carlos O'Donell <carlos@redhat.com>
30537 * sysdeps/generic/stackguard-macros.h: Define
30538 __pointer_chk_guard_local and POINTER_CHK_GUARD.
30539 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30540 Define __pointer_chk_guard_local.
30541 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30542 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30544 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
30547 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30549 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
30551 * include/string.h (__ffs): Declare as hidden.
30552 * string/ffs.c (__ffs): Define as hidden.
30553 * sysdeps/i386/ffs.c (__ffs): Likewise.
30554 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30555 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30556 * sysdeps/s390/ffs.c (__ffs): Likewise.
30557 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30559 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
30561 * NEWS: Mention malloc probes.
30563 * malloc/arena.c (new_heap): New memory_heap_new probe.
30564 (grow_heap): New memory_heap_more probe.
30565 (shrink_heap): New memory_heap_less probe.
30566 (heap_trim): New memory_heap_free probe.
30567 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30568 (systrim): New memory_sbrk_less probe.
30569 * manual/probes.texi: Document them.
30571 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30572 * manual/probes.texi: Document it.
30574 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30575 (__libc_realloc): Add memory_realloc_retry probe.
30576 (__libc_memalign): Add memory_memalign_retry probe.
30577 (__libc_valloc): Add memory_valloc_retry probe.
30578 (__libc_pvalloc): Add memory_pvalloc_retry probe.
30579 (__libc_calloc): Add memory_calloc_retry probe.
30580 * manual/probes.texi: Document them.
30582 * malloc/arena.c (get_free_list): Add probe
30583 memory_arena_reuse_free_list.
30584 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30585 and memory_arena_reuse.
30586 (arena_get2) [!PER_THREAD]: Likewise.
30587 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30588 memory_arena_reuse_realloc.
30589 * manual/probes.texi: Document them.
30591 * malloc/malloc.c (__libc_free): Add
30592 memory_mallopt_free_dyn_thresholds probe.
30593 (__libc_mallopt): Add multiple memory_mallopt probes.
30594 * manual/probes.texi: Document them.
30596 * malloc/malloc.c: Include stap-probe.h.
30597 (__libc_mallopt): Add memory_mallopt probe.
30598 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30599 * manual/probes.texi: New.
30600 * manual/Makefile (chapters): Add probes.
30601 * manual/threads.texi: Set next node.
30603 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
30605 [BZ #15963, #13985]
30606 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30607 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30608 Add `Chinese' to `nan' entry name.
30610 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30612 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30613 (POLYNOMIAL): Likewise.
30614 (TAYLOR_SINCOS): Likewise.
30615 (TAYLOR_SLOW): Likewise.
30616 (__sin): Use TAYLOR_SINCOS.
30618 (slow): Use TAYLOR_SLOW.
30620 (bsloww): Likewise.
30621 (csloww): Likewise.
30623 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30625 * stdlib/strtod_l.c: Fix buffer overrun.
30627 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30629 * benchtests/Makefile (bench): Add sincos.
30630 * benchtests/bench-sincos.c: New file.
30632 * math/libm-test.inc (cos_test_data): New test inputs.
30633 (sin_test_data): Likewise.
30635 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30641 (sloww1): Likewise.
30642 (sloww2): Likewise.
30643 (bsloww1): Likewise.
30644 (bsloww2): Likewise.
30645 (cslow2): Likewise.
30646 (csloww1): Likewise.
30647 (csloww2): Likewise.
30649 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30658 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30660 * config.h.in (HAVE_MIPS_NAN2008): New macro.
30661 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30662 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30663 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30664 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30665 * elf/cache.c (print_entry): Handle the new cache flags.
30667 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30668 Aldy Hernandez <aldyh@redhat.com>
30670 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30671 Change condition to [_SOFT_FLOAT].
30672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30684 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30687 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30690 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30692 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30693 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30694 (__longjmp): Use LOAD_GP to load saved GPRs.
30695 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30696 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30697 (__sigsetjmp): Use SAVE_GP to save GPRs.
30699 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30700 Do not append -msoft-float.
30701 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30703 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30705 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30707 2013-09-17 Joseph Myers <joseph@codesourcery.com>
30710 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30711 (_FPU_GETCW): Use initial "__" on variable and field names but not
30712 on macro parameter name.
30713 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
30714 parentheses around reference to macro parameter.
30716 2013-09-13 Richard Sandiford <richard@codesourcery.com>
30718 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30720 (ctype_startup): Use uint32_t in cast and sizeof for
30723 2013-09-11 Jia Liu <proljc@gmail.com>
30725 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30727 [__FreeBSD__]: Likewise.
30729 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
30731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30732 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30733 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30734 (strchr): Remove __strchr_sse42 ifunc selection.
30735 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30736 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30738 2013-09-11 Will Newton <will.newton@linaro.org>
30740 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30741 parameter to RES. Remove hardcoded 1000 value.
30742 * benchtests/bench-skeleton.c (main): Pass RES parameter
30743 to TIMING_INIT and multiply result by 1000.
30745 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30749 2013-09-11 Andreas Schwab <schwab@suse.de>
30751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30753 (O_TMPFILE) [__USE_GNU]: Define.
30754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30757 2013-09-11 Will Newton <will.newton@linaro.org>
30760 * malloc/malloc.c (__libc_memalign): Check the value of bytes
30763 2013-09-11 Will Newton <will.newton@linaro.org>
30766 * malloc/malloc.c (__libc_valloc): Check the value of bytes
30769 2013-09-11 Will Newton <will.newton@linaro.org>
30772 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30775 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
30777 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30778 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30783 2013-09-10 Allan McRae <allan@archlinux.org>
30786 * manual/arith.texi (Parsing of Floats): Clarify
30790 * manual/install.texi (Running make install): Mention
30792 * INSTALL: Regenerated.
30794 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
30796 * csu/init-first.c (_init): Remove the !SHARED condition around
30797 FPU control word initialization.
30798 * elf/dl-support.c (_dl_fpu_control): New variable.
30799 (_dl_aux_init) <AT_FPUCW>: Initialize it.
30800 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30801 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30802 * math/test-fpucw-static.c: New file.
30803 * math/test-fpucw-ieee.c: New file.
30804 * math/test-fpucw-ieee-static.c: New file.
30805 * math/Makefile (tests): Add `test-fpucw-ieee' and
30807 (tests-static): New variable.
30808 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30810 [($(build-shared),yes)]
30811 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30813 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30816 2013-09-09 Allan McRae <allan@archlinux.org>
30819 * manual/string.texi (Collation Functions): Fix typo in
30821 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30824 * stdlib/isomac.c (get_null_defines): Fix memory leak.
30827 * libio/memstream.c (open_memstream): Fix memory leak.
30828 * libio/wmemstream.c (open_wmemstream): Likewise.
30831 * nscd/netgroupcache.c: Fix nesting of ifdefs.
30833 2013-09-09 Will Newton <will.newton@linaro.org>
30835 * malloc/Makefile: Add tst-realloc to tests.
30836 * malloc/tst-realloc.c: New file.
30838 2013-09-09 Allan McRae <allan@archlinux.org>
30841 * COPYING: Update from GNU website to fix FSF address.
30842 * COPYING.LIB: Likewise.
30844 2013-09-06 David S. Miller <davem@davemloft.net>
30846 * po/zh_TW.po: Update Chinese (traditional) translation from
30847 translation project.
30849 2013-09-06 Richard Sandiford <richard@codesourcery.com>
30850 Joseph Myers <joseph@codesourcery.com>
30852 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30854 (obstack_chunk_alloc): New macro.
30855 (obstack_chunk_free): Likewise.
30856 (record_offset): New function.
30857 (init_locale_data): Likewise.
30858 (align_locale_data): Likewise.
30859 (add_locale_empty): Likewise.
30860 (add_locale_raw_data): Likewise.
30861 (add_locale_raw_obstack): Likewise.
30862 (add_locale_string): Likewise.
30863 (add_locale_wstring): Likewise.
30864 (add_locale_uint32): Likewise.
30865 (add_locale_uint32_array): Likewise.
30866 (add_locale_char): Likewise.
30867 (start_locale_structure): Likewise.
30868 (end_locale_structure): Likewise.
30869 (start_locale_prelude): Likewise.
30870 (end_locale_prelude): Likewise.
30871 (write_locale_data): Take locale_file structure rather than an
30873 * locale/programs/locfile.h: Include "obstack.h".
30874 (struct locale_file): Change to store locale file contents instead
30876 (init_locale_data): New prototype.
30877 (align_locale_data): Likewise.
30878 (add_locale_empty): Likewise.
30879 (add_locale_raw_data): Likewise.
30880 (add_locale_raw_obstack): Likewise.
30881 (add_locale_string): Likewise.
30882 (add_locale_wstring): Likewise.
30883 (add_locale_uint32): Likewise.
30884 (add_locale_uint32_array): Likewise.
30885 (add_locale_char): Likewise.
30886 (start_locale_structure): Likewise.
30887 (end_locale_structure): Likewise.
30888 (start_locale_prelude): Likewise.
30889 (end_locale_prelude): Likewise.
30890 (write_locale_data): Update prototype.
30891 * locale/programs/3level.h (struct TABLE): Remove result field.
30892 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30893 Use new locale_file interface.
30894 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30895 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30896 * locale/programs/ld-address.c (address_output): Use new
30897 locale_file interface.
30898 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30900 (collate_finish): Don't call collseq_table_finalize.
30901 (collate_output): Use new locale_file interface.
30902 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30904 (NO_FINALIZE): Change to NO_ADD_LOCALE.
30905 (TABLE): Move defines earlier in file.
30906 (ELEMENT): Likewise.
30907 (DEFAULT): Likewise.
30908 (wctrans_table_add): Move macro and inline function earlier in
30910 (struct wctype_table): Move type earlier in file.
30911 (add_locale_wctype_table): New static prototype.
30912 (struct locale_ctype_t): Use logical types instead of struct iovec
30913 pointers for members.
30914 (ctype_output): Use new locale_file interface.
30915 (wctype_table_finalize): Change to add_locale_wctype_table. Use
30916 new locale_file interface.
30917 (allocate_arrays): Update for use of new locale_file interface.
30918 * locale/programs/ld-identification.c (identification_output): Use
30919 new locale_file interface.
30920 * locale/programs/ld-measurement.c (measurement_output): Likewise.
30921 * locale/programs/ld-messages.c (messages_output): Likewise.
30922 * locale/programs/ld-monetary.c (monetary_output): Likewise.
30923 * locale/programs/ld-name.c (name_output): Likewise.
30924 * locale/programs/ld-numeric.c (numeric_output): Likewise.
30925 * locale/programs/ld-paper.c (paper_output): Likewise.
30926 * locale/programs/ld-telephone.c (telephone_output): Likewise.
30927 * locale/programs/ld-time.c (time_output): Likewise.
30929 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30931 * benchtests/Makefile: Add memrchr benchmark.
30932 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30933 benchmark as memrchr.
30934 * benchtests/bench-memrchr-ifunc.c: New file.
30935 * benchtests/bench-memrchr.c: New file.
30937 2013-09-06 Will Newton <will.newton@linaro.org>
30939 * benchtests/Makefile (string-bench): Add memcpy.
30941 2013-09-05 Carlos O'Donell <carlos@redhat.com>
30942 Cong Wang <amwang@redhat.com>
30945 * sysdeps/unix/sysv/linux/bits/in.h
30946 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30947 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30948 before __USE_KERNEL_IPV6_DEFS uses.
30949 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30951 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30952 sockaddr_in6, or ipv6_mreq.
30954 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30956 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30957 memory access for final bytes in some large inputs.
30958 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30960 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30962 * string/test-memrchr.c: New file.
30963 * string/test-memrchr-ifunc.c: New file.
30964 * string/Makefile: Add new memrchr testcase.
30966 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30968 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30969 fanotify_init returns EPERM.
30971 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30973 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30975 (top level): Treat second token from macro or constant entries for
30976 allowed headers as allowed.
30977 * include/complex.h: Condition internal declarations on
30979 * include/fenv.h: Condition include of <stdbool.h> and internal
30980 declarations on [!_ISOMAC].
30982 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30985 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30987 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30989 * configure.in (--enable-versioning): Remove configure option.
30990 (libc_cv_asm_symver_directive): Remove configure test.
30991 (libc_cv_ld_version_script_option): Likewise.
30992 (VERSIONING): Remove variable and AC_SUBST.
30993 (DO_VERSIONING): Remove AC_DEFINE.
30994 * configure: Regenerated.
30995 * config.h.in (DO_VERSIONING): Remove macro.
30996 * Makerules [$(versioning) = yes]: Change conditionals to
30997 [$(build-shared) = yes].
30998 * config.make.in (versioning): Remove variable.
30999 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31000 [$(build-shared) = yes].
31001 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31002 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31003 * elf/Makefile [$(versioning) = yes]: Change conditionals to
31004 [$(build-shared) = yes].
31005 * extra-lib.mk [$(versioning) = yes]: Likewise.
31006 * hurd/Makefile [$(versioning) = yes]: Likewise.
31007 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31009 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31011 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31012 [SHARED && !NO_HIDDEN].
31013 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31015 [SHARED && DO_VERSIONING]: Likewise..
31016 * libio/Makefile [$(versioning) = yes]: Change conditionals to
31017 [$(build-shared) = yes].
31018 * manual/install.texi (--disable-versioning): Remove
31020 * INSTALL: Regenerated.
31021 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31023 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31024 [$(build-shared) = yes].
31025 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31026 * sysdeps/i386/i686/multiarch/strstr-c.c
31027 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31028 [SHARED && !NO_HIDDEN].
31029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31030 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31031 * sysdeps/powerpc/powerpc32/dl-machine.c
31032 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31033 * sysdeps/powerpc/powerpc32/sysdep.h
31034 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31035 to [SHARED && PIC && !NO_HIDDEN].
31036 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31037 conditional to [SHARED].
31039 2013-09-04 Will Newton <will.newton@linaro.org>
31041 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31042 * benchtests/bench-string.h: Include bench-timing.h instead
31043 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31044 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31045 call to HP_TIMING_DIFF_INIT.
31046 * benchtests/bench-memccpy.c: Use bench-timing.h macros
31047 instead of hp-timing.h macros.
31048 * benchtests/bench-memchr.c: Likewise.
31049 * benchtests/bench-memcmp.c: Likewise.
31050 * benchtests/bench-memcpy.c: Likewise.
31051 * benchtests/bench-memmem.c: Likewise.
31052 * benchtests/bench-memmove.c: Likewise.
31053 * benchtests/bench-memset.c: Likewise.
31054 * benchtests/bench-rawmemchr.c: Likewise.
31055 * benchtests/bench-strcasecmp.c: Likewise.
31056 * benchtests/bench-strcasestr.c: Likewise.
31057 * benchtests/bench-strcat.c: Likewise.
31058 * benchtests/bench-strchr.c: Likewise.
31059 * benchtests/bench-strcmp.c: Likewise.
31060 * benchtests/bench-strcpy.c: Likewise.
31061 * benchtests/bench-strcpy_chk.c: Likewise.
31062 * benchtests/bench-strlen.c: Likewise.
31063 * benchtests/bench-strncasecmp.c: Likewise.
31064 * benchtests/bench-strncat.c: Likewise.
31065 * benchtests/bench-strncmp.c: Likewise.
31066 * benchtests/bench-strncpy.c: Likewise.
31067 * benchtests/bench-strnlen.c: Likewise.
31068 * benchtests/bench-strpbrk.c: Likewise.
31069 * benchtests/bench-strrchr.c: Likewise.
31070 * benchtests/bench-strspn.c: Likewise.
31071 * benchtests/bench-strstr.c: Likewise.
31073 2013-09-04 Will Newton <will.newton@linaro.org>
31075 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31077 2013-09-03 Joseph Myers <joseph@codesourcery.com>
31080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31081 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31082 * math/libm-test.inc (lgamma_test_data): Add more tests.
31083 * sysdeps/i386/fpu/libm-test-ulps: Update.
31084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31086 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
31088 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31092 Add strcmp-sse2-unaligned
31093 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31095 2013-09-02 Mike Frysinger <vapier@gentoo.org>
31097 * Versions.def (libc): Add GLIBC_2.19.
31099 2013-09-02 Mike Frysinger <vapier@gentoo.org>
31101 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31102 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31104 2013-09-02 Joseph Myers <joseph@codesourcery.com>
31107 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31108 intermediate calculations in recurrence.
31109 (__ieee754_ynf): Likewise.
31110 * math/libm-test.inc (jn_test_data): Do not allow spurious
31111 underflow exception. Add more tests.
31112 (yn_test_data): Add more tests.
31113 * sysdeps/i386/fpu/libm-test-ulps: Update.
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31116 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
31118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31120 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31122 * csu/init-first.c: Fix then/than typos.
31123 * locale/programs/ld-collate.c: Likewise.
31124 * locale/programs/linereader.h: Likewise.
31125 * manual/charset.texi: Likewise.
31126 * manual/filesys.texi: Likewise.
31127 * manual/stdio.texi: Likewise.
31128 * manual/string.texi: Likewise.
31129 * stdlib/fmtmsg.c: Likewise.
31130 * sysdeps/i386/stpncpy.S: Likewise.
31131 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31132 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31134 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31136 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31138 * elf/dl-open.c: Fix typos.
31139 * iconvdata/gbbig5.c: Likewise.
31140 * iconvdata/iso-2022-jp.c: Likewise.
31141 * iconv/gconv_int.h: Likewise.
31142 * iconv/loop.c: Likewise.
31143 * nis/rpcsvc/nis.h: Likewise.
31144 * resolv/ns_name.c: Likewise.
31145 * stdio-common/vfscanf.c: Likewise.
31146 * streams/stropts.h: Likewise.
31147 * sunrpc/rpc_thread.c: Likewise.
31148 * sysdeps/i386/strpbrk.S: Likewise.
31149 * sysdeps/ieee754/k_standard.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31152 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31153 * sysdeps/mach/hurd/profil.c: Likewise.
31154 * sysdeps/s390/dl-procinfo.h: Likewise.
31155 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31156 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31157 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31158 * sysdeps/x86_64/dl-trampoline.S: Likewise.
31159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31161 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31163 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31166 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
31168 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31169 aix specific files.
31170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31171 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31172 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31173 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31174 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31175 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31176 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31177 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31179 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31180 Roland McGrath <roland@hack.frob.com>
31182 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31183 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31185 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
31187 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31188 __executable_start symbol instead of _start.
31190 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31192 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31193 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31195 * sysdeps/gnu/ldsodefs.h: ... this new file.
31197 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31198 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31199 instead of ELFOSABI_LINUX.
31201 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31202 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31203 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31204 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31206 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31207 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31210 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31211 (ibm_extended_long_double): Add ieee_nan member.
31212 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31213 (do_test): New function.
31215 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31217 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31218 functions, renamed from truncdfsf_test, trunctfsf_test,
31220 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31222 (do_test): Run all these.
31224 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
31226 * argp/argp-help.c: Fix typos.
31227 * argp/argp-parse.c: Likewise.
31228 * debug/backtracesyms.c: Likewise.
31229 * elf/elf.h: Likewise.
31230 * malloc/malloc.c: Likewise.
31231 * nis/nis_print.c: Likewise.
31232 * resolv/res_comp.c: Likewise.
31233 * stdlib/stdlib.h: Likewise.
31234 * sunrpc/clnt_tcp.c: Likewise.
31235 * sunrpc/clnt_udp.c: Likewise.
31236 * sunrpc/clnt_unix.c: Likewise.
31237 * sysdeps/unix/bsd/ptsname.c: Likewise.
31238 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31246 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31248 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31250 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31253 2013-08-27 Mike Frysinger <vapier@gentoo.org>
31256 * dlfcn/Makefile (tests): Add bug-dl-leaf.
31257 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31258 ($(objpfx)bug-dl-leaf): New rule.
31259 ($(objpfx)bug-dl-leaf.so): Likewise.
31260 ($(objpfx)bug-dl-leaf.out): Likewise.
31261 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31262 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31263 * dlfcn/bug-dl-leaf.c: New test.
31264 * dlfcn/bug-dl-leaf-lib.c: Likewise.
31265 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31266 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31267 (dlclose): Likewise.
31268 (dlmopen): Likewise.
31270 2013-08-27 Roland McGrath <roland@hack.frob.com>
31272 * include/netdb.h [!_ISOMAC]:
31273 Don't include <tls.h>.
31274 (h_errno, __libc_h_errno): Move declaration and macros out of
31277 * include/resolv.h [_RESOLV_H_]:
31278 Don't include <tls.h>.
31279 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31280 * resolv/res_libc.c: Don't include <tls.h>.
31281 (_res): Use __attribute__ ((nocommon)) in place of
31282 __attribute__ ((section (".bss"))).
31284 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31285 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31287 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31289 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31290 only under [SIOCGIFCONF && SIOCGIFNETMASK].
31292 * resolv/res_mkquery.c: Include <sys/time.h>.
31294 * inet/ifreq.c: Moved to ...
31295 * sysdeps/unix/ifreq.c: ... here.
31296 * inet/ifreq.c: New file, true stub version.
31298 * socket/sa_len.c: New file.
31299 * socket/Makefile (aux): Add it.
31300 * sysdeps/unix/sysv/linux/Makefile
31301 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31302 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31303 and #include <socket/sa_len.c>.
31304 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31305 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31307 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31308 * bits/socket.h: ... here.
31310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31311 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31312 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31314 2013-08-27 Andreas Schwab <schwab@suse.de>
31317 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31318 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31319 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31320 * string/test-strcasecmp.c (test_main): Run tests in several
31322 * string/test-strncasecmp.c (test_main): Likewise.
31324 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31325 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31326 to __strcasecmp_nonascii and __strncasecmp_nonascii.
31327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31328 (__strncasecmp_ssse3) [PIC]: Likewise.
31330 2013-08-26 Roland McGrath <roland@hack.frob.com>
31332 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31334 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31335 instead of explicitly declaring xdecrypt.
31336 * nis/nss_nis/nis-publickey.c: Likewise.
31338 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31341 * nscd/aicache.c: Include res_hconf.h.
31342 (addhstaiX): Initialize res_hconf.
31344 2013-08-26 Andreas Schwab <schwab@suse.de>
31346 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31347 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31349 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31351 * nscd/aicache.c (addhstaiX): Fix indentation.
31353 2013-08-25 Mike Frysinger <vapier@gentoo.org>
31355 * configure.ac: Quote $build_pt_chown test.
31356 * configure: Regenerated.
31358 2013-08-23 Joseph Myers <joseph@codesourcery.com>
31361 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31362 * math/s_cexpf.c (__cexpf): Likewise.
31363 * math/s_cexpl.c (__cexpl): Likewise.
31364 * math/libm-test.inc (cexp_test_data): Correct expected return
31365 value for NaN + i0. Add another test.
31367 2013-08-22 David S. Miller <davem@davemloft.net>
31369 * po/ca.po: Update Catalan translation from translation project.
31370 * po/uk.po: Add Ukrainian translations from translation project.
31372 2013-08-21 Joseph Myers <joseph@codesourcery.com>
31375 * math/s_fdim.c (__fdim): Check for infinite arguments if result
31376 is infinite, not alongside NaN test.
31377 * math/s_fdimf.c (__fdimf): Likewise.
31378 * math/s_fdiml.c (__fdiml): Likewise.
31379 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
31380 errno is unchanged.
31382 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
31384 * argp/argp-help.c: Fix typos.
31385 * crypt/speeds.c: Likewise.
31386 * csu/check_fds.c: Likewise.
31387 * elf/dl-load.c: Likewise.
31388 * elf/dl-open.c: Likewise.
31389 * elf/reldep3.c: Likewise.
31390 * elf/reldep.c: Likewise.
31391 * elf/sprof.c: Likewise.
31392 * iconv/iconv_charmap.c: Likewise.
31393 * iconv/skeleton.c: Likewise.
31394 * iconv/strtab.c: Likewise.
31395 * io/lockf64.c: Likewise.
31396 * libio/libioP.h: Likewise.
31397 * resolv/gai_notify.c: Likewise.
31398 * resolv/ns_name.c: Likewise.
31399 * resolv/ns_samedomain.c: Likewise.
31400 * resolv/res_send.c: Likewise.
31401 * stdlib/random.c: Likewise.
31402 * sunrpc/rpc/xdr.h: Likewise.
31403 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31404 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31411 * sysdeps/mach/hurd/check_fds.c: Likewise.
31412 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31416 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31417 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31418 * sysdeps/pthread/aio_notify.c: Likewise.
31419 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31420 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31421 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31423 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31425 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31427 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31428 version if bit_Slow_SSE4_2 is set.
31429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31432 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31435 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31436 trampoline stack frame information.
31437 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31438 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31439 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31440 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31441 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31442 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31443 (_libc_vdso_platform_setup): Initialize the signal trampolines.
31444 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31446 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31447 interrupting a syscall and set with option SA_SIGINFO.
31449 2013-08-20 Joseph Myers <joseph@codesourcery.com>
31452 * math/s_cproj.c (__cproj): Only return an infinity if one part of
31453 argument is infinite.
31454 * math/s_cprojf.c (__cprojf): Likewise.
31455 * math/s_cprojl.c (__cprojl): Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31457 * math/libm-test.inc (cproj_test_data): Add more tests.
31459 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31461 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31462 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31463 size. Use __ffs to determine corresponding shift.
31465 2013-08-20 Joseph Myers <joseph@codesourcery.com>
31466 Roland McGrath <roland@hack.frob.com>
31468 * Makefile (INSTALL): Remove trailing blank lines from output of
31471 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31473 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31474 Align 32 bit compat elf_greg to 8 bytes.
31476 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
31478 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31480 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31482 * string/strcoll_l.c (coll_seq): New structure.
31483 (get_next_seq_cached): New function.
31484 (get_next_seq): New function.
31485 (do_compare): New function.
31486 (STRCOLL): Use GNU style definition. Simplify implementation
31487 by using get_next_seq, get_next_seq_cached and do_compare.
31489 2013-08-16 Florian Weimer <fweimer@redhat.com>
31493 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31495 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31497 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31498 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31499 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
31501 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31502 GETDENTS_64BIT_ALIGNED.
31503 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31504 * manual/filesys.texi (Reading/Closing Directory): Document
31505 ENAMETOOLONG return value of readdir_r. Recommend readdir more
31507 * manual/conf.texi (Limits for Files): Add portability note to
31508 NAME_MAX, PATH_MAX.
31509 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31511 2013-08-13 Andreas Schwab <schwab@suse.de>
31514 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31516 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31517 LDBL_MAX_EXP >= 16384]: Add tests for it.
31519 2013-08-12 David S. Miller <davem@davemloft.net>
31521 * version.h (RELEASE): Set to "development".
31522 (VERSION): Set to "2.18.90".
31523 * NEWS: Add 2.19 section.
31525 2013-08-03 David S. Miller <davem@davemloft.net>
31527 * po/ko.po: Update Korean translation from translation project.
31529 2013-08-01 David S. Miller <davem@davemloft.net>
31531 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
31532 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31535 2013-07-30 David S. Miller <davem@davemloft.net>
31537 * po/fr.po: Update French translation from translation project.
31539 2013-07-28 David S. Miller <davem@davemloft.net>
31541 * po/cs.po: Update Czech translation from translation project.
31543 * po/sv.po: Update Swedish translation from translation project.
31545 2013-07-27 David S. Miller <davem@davemloft.net>
31547 * po/eo.po: Update Esperanto translation from translation project.
31549 * po/vi.po: Update Vietnamese translation from translation project.
31551 * po/de.po: Update German translation from translation project.
31553 2013-07-26 David S. Miller <davem@davemloft.net>
31555 * po/bg.po: Update Bulgarian translation from translation project.
31557 * po/nl.po: Update Dutch translation from translation project.
31558 * po/pl.po: Update Polish translation from translation project.
31559 * po/ru.po: Update Russian translation from translation project.
31561 2013-07-24 David S. Miller <davem@davemloft.net>
31563 * po/libc.pot: Update.
31565 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31567 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31568 variable page size.
31569 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31570 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31571 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31573 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31575 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31577 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31578 Andreas Schwab <schwab@suse.de>
31579 Roland McGrath <roland@hack.frob.com>
31580 Joseph Myers <joseph@codesourcery.com>
31581 Carlos O'Donell <carlos@redhat.com>
31584 * config.h.in: Define HAVE_PT_CHOWN.
31585 * config.make.in (build-pt-chown): New variable.
31586 * configure.in (--enable-pt_chown): New configure option.
31587 * configure: Regenerate.
31588 * login/Makefile: Include Makeconfig. Build pt_chown only if
31589 build-pt-chown is enabled.
31590 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31591 pt_chown to fix pty ownership.
31592 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31594 * manual/install.texi (Configuring and compiling): Mention
31595 --enable-pt_chown. Add @findex for grantpt.
31596 * INSTALL: Regenerate.
31598 2013-07-20 David S. Miller <davem@davemloft.net>
31600 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31601 difference between 32-bit and 64-bit.
31603 2013-07-15 Carlos O'Donell <carlos@redhat.com>
31606 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31607 Avoid system header dependency with -ffreestanding.
31608 ($(objpfx)bits/syscall%d): Likewise.
31610 2013-07-13 David S. Miller <davem@davemloft.net>
31612 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31613 underflows from atanl/atan2l due to bug 15319.
31614 (casinh_test_data): Likewise.
31616 2013-07-07 David S. Miller <davem@davemloft.net>
31618 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31620 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
31622 * sysdeps/i386/fpu/libm-test-ulps: Update.
31623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31625 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31627 * configure.in (--enable-lock-elision): Fix message text.
31628 * INSTALL: Regenerate.
31629 * configure: Regenerate.
31631 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31635 2013-07-03 Andreas Jaeger <aj@suse.de>
31637 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31639 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31640 (ptrace_peeksiginfo_args): Add.
31641 (__ptrace_peeksiginfo_flags): Add.
31642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31646 2013-07-03 Allan McRae <allan@archlinux.org>
31648 * sysdeps/i386/fpu/libm-test-ulps: Update.
31650 2013-07-02 David S. Miller <davem@davemloft.net>
31652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31654 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
31656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31658 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31660 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31663 2013-07-02 Andi Kleen <ak@linux.intel.com>
31665 * config.h.in (ENABLE_LOCK_ELISION): Add.
31666 * configure.in (--enable-lock-elision): Add option.
31667 * manual/install.texi: Document --enable lock elision.
31668 * configure: Regenerate
31669 * INSTALL: Regenerate.
31671 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
31673 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31674 SSE4.2 strcasecmp for libc.a.
31675 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31677 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31680 * soft-fp/op-common.h (_FP_FMA): New macro.
31681 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31682 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
31683 (_FP_MUL_MEAT_1_imm): ... here.
31684 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
31685 (_FP_MUL_MEAT_1_wide): ... here.
31686 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
31687 (_FP_MUL_MEAT_1_hard): ... here.
31688 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31689 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
31690 (_FP_MUL_MEAT_2_wide): ... here.
31691 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
31692 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31693 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
31694 (_FP_MUL_MEAT_2_gmp): ... here.
31695 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31696 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
31697 (_FP_MUL_MEAT_4_wide): ... here.
31698 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
31699 (_FP_MUL_MEAT_4_gmp): ... here.
31700 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31701 (_FP_WFRACBITS_DW_S): Likewise.
31702 (_FP_WFRACXBITS_DW_S): Likewise.
31703 (_FP_HIGHBIT_DW_S): Likewise.
31704 (FP_FMA_S): Likewise.
31705 (_FP_FRAC_HIGH_DW_S): Likewise.
31706 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31707 (_FP_WFRACBITS_DW_D): Likewise.
31708 (_FP_WFRACXBITS_DW_D): Likewise.
31709 (_FP_HIGHBIT_DW_D): Likewise.
31710 (FP_FMA_D): Likewise.
31711 (_FP_FRAC_HIGH_DW_D): Likewise.
31712 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31713 (_FP_WFRACBITS_DW_E): Likewise.
31714 (_FP_WFRACXBITS_DW_E): Likewise.
31715 (_FP_HIGHBIT_DW_E): Likewise.
31716 (FP_FMA_E): Likewise.
31717 (_FP_FRAC_HIGH_DW_E): Likewise.
31718 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31719 (_FP_WFRACBITS_DW_Q): Likewise.
31720 (_FP_WFRACXBITS_DW_Q): Likewise.
31721 (_FP_HIGHBIT_DW_Q): Likewise.
31722 (FP_FMA_Q): Likewise.
31723 (_FP_FRAC_HIGH_DW_Q): Likewise.
31724 * soft-fp/fmasf4.c: New file.
31725 * soft-fp/fmadf4.c: Likewise.
31726 * soft-fp/fmatf4.c: Likewise.
31728 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31731 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31735 (index_Slow_SSE4_2): Likewise.
31736 (index_Prefer_PMINUB_for_stringop): Likewise.
31737 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31738 bit_Slow_SSE4_2 is set.
31739 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31742 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31744 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31745 rtld_global._dl_hwcap2.
31746 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31749 POWER8 feature descriptions defined in _dl_hwcap2.
31750 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31751 string handling for POWER8 feature bits.
31752 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31753 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31754 _dl_powerpc_cap_flags.
31755 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31756 * sysdeps/powerpc/rtld-global-offsets.sym
31757 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31758 _dl_hwcap2 in the rtld_global_ro structure.
31760 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31762 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31763 hardware capabilities in support of AT_HWCAP2.
31764 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31765 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31767 (_dl_show_auxv): Add support for calling _dl_procinfo to display
31768 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
31769 explicitly the unknown a_type display mechanism is used.
31770 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31771 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31773 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31774 to macro prototype for AT_HWCAP2 support.
31775 * sysdeps/i386/dl-procinfo.h: Likewise.
31776 * sysdeps/s390/dl-procinfo.h: Likewise.
31777 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31778 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
31779 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
31780 return -1 for unknown a_type display fallback.
31781 * sysdeps/sparc/dl-procinfo.h: Likewise.
31782 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31783 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31785 2013-06-28 Joseph Myers <joseph@codesourcery.com>
31787 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31788 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31790 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
31793 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31794 mprotect making __stack_prot writable.
31796 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
31797 Joseph Myers <joseph@codesourcery.com>
31799 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31800 as being properly aligned.
31802 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
31804 * dlfcn/modstatic5.c: New file.
31805 * dlfcn/tststatic5.c: New file.
31806 * dlfcn/Makefile (tests): Add tststatic5.
31807 (tests-static): Likewise.
31808 (modules-names): Add modstatic5.
31809 (tststatic5-ENV): New variable.
31810 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31813 * elf/dl-support.c (_dl_main_map): New variable.
31814 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31815 (_dl_nns, _dl_load_adds): Set to 1.
31816 (_dl_initial_searchlist): Refer to _dl_main_map.
31817 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31818 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31819 call to _dl_get_origin.
31820 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31822 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31823 * dlfcn/modstatic3.c: New file.
31824 * dlfcn/tststatic3.c: New file.
31825 * dlfcn/tststatic4.c: New file.
31826 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31827 (tests-static): Likewise.
31828 (modules-names): Add modstatic3.
31829 (tststatic3-ENV, tststatic4-ENV): New variables.
31830 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31831 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31833 2013-06-26 Joseph Myers <joseph@codesourcery.com>
31835 * configure.in (CC): Require GCC version 4.4 or later.
31836 * configure: Regenerated.
31837 * manual/install.texi (Tools for Compilation): Update GCC version
31839 * INSTALL: Regenerated.
31841 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31844 * string/test-memcmp.c (check2): New.
31845 (main): Call check2.
31847 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31849 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
31852 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31854 (dl_open_worker) [!SHARED]: ... here.
31856 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31858 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31860 2013-06-25 Richard Henderson <rth@redhat.com>
31862 * locale/programs/locarchive.c: Include <libc-internal.h>
31864 2013-06-25 Joseph Myers <joseph@codesourcery.com>
31866 * manual/texinfo.tex: Update to version 2013-06-21.17, with
31867 trailing whitespace removed.
31869 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31872 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31873 * locale/programs/locarchive.c: Include libc-mmap.h.
31874 (prepare_address_space): Take two new outputs (the mmap base and len).
31875 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
31877 (create_archive): Declare new mmap base and len values for
31878 prepare_address_space, and store the result in ah.
31879 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31880 (enlarge_archive): If ah->mmap_base is not NULL, use that and
31881 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31882 Declare new mmap base and len values for
31883 prepare_address_space, and store the result in new_ah.
31884 (open_archive): Declare new mmap base and len values for
31885 prepare_address_space, and store the result in ah.
31886 (close_archive): If ah->mmap_base is not NULL, use that and
31887 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31888 * sysdeps/generic/libc-mmap.h: New file.
31890 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31892 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31893 (ALIGN_UP): Likewise.
31894 (PTR_ALIGN_DOWN): Likewise.
31895 (PTR_ALIGN_UP): Likewise.
31897 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31899 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31900 entry mapped to PPC_PLATFORM_POWER8.
31901 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31903 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31904 (_dl_string_platform): Add case for exporting platform position for
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31907 search path to sysdeps/powerpc/powerpc32/power8 directory.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31909 search path to sysdeps/powerpc/powerpc64/power8 directory.
31910 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31911 power7 directories.
31912 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31913 power7 directories.
31915 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31917 * INSTALL: Regenerate.
31919 * nscd/connections.c (nscd_init): Fix comment.
31921 2013-06-22 Joseph Myers <joseph@codesourcery.com>
31923 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31926 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31927 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31929 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31931 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31933 (DL_DST_REQ_STATIC): Remove macro.
31935 2013-06-21 Joseph Myers <joseph@codesourcery.com>
31938 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31939 with a shift of 0 bits.
31941 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31943 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31946 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31949 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31951 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31953 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31954 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31955 accepts -fno-tree-loop-distribute-patterns.
31956 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31957 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31959 * string/memset.c (memset): Likewise.
31960 * string/test-memmove.c (simple_memmove): Disable loop transformation
31962 * string/test-memset.c (simple_memset): Likewise.
31963 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31964 * benchtests/bench-memset.c (simple_memset): Likewise.
31965 * configure: Regenerated.
31967 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31969 * math/test-misc.c (main): Ignore fesetround failure when failures
31970 of subsequent rounding tests would be ignored.
31973 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31974 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31975 * math/fegetenv.c (__fegetenv): Return 0.
31976 * math/fegetexcept.c (fegetexcept): Return 0.
31977 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31979 * math/feholdexcpt.c (feholdexcept): Return 0.
31980 * math/fesetenv.c (__fesetenv): Return 0.
31981 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31982 argument FE_TONEAREST.
31983 * math/feupdateenv.c (__feupdateenv): Return 0.
31984 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31986 2013-06-18 Roland McGrath <roland@hack.frob.com>
31988 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31989 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31990 ($(objpfx)rtld-%.os rules): Use them.
31992 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31994 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31997 2013-06-17 Roland McGrath <roland@hack.frob.com>
31999 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32000 length of target pattern, then descending length of dependency pattern.
32001 * configure.in (AWK): Require gawk 3.1.2 or newer.
32002 * manual/install.texi (Tools for Compilation): Say that we do.
32003 * configure: Regenerated.
32005 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32006 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32007 * scripts/sysd-rules.awk: ... this new script.
32008 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32009 than a glob-style pattern.
32011 2013-06-17 Joseph Myers <joseph@codesourcery.com>
32013 * math/test-misc.c (main): Do not treat incorrectly rounded
32014 conversions as failure unless ROUNDING_TESTS passes.
32016 2013-06-15 Joseph Myers <joseph@codesourcery.com>
32019 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32020 restore exception state around main square root computation, then
32021 check for inexactness explicitly.
32023 * math/libm-test.inc (fma_test_data): Add another test.
32025 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32027 * manual/threads.texi (Non-POSIX Extensions): New document
32028 node. Document pthread_getattr_default_np and
32029 pthread_setattr_default_np.
32031 * Versions.def (libpthread): Add GLIBC_2.18.
32032 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32041 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32052 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32055 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32057 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32058 H.J. Lu <hjl.tools@gmail.com>
32061 * sysdeps/x86_64/rtld-memset.c: Remove file.
32062 * sysdeps/x86_64/rtld-memset.S: New file.
32064 2013-06-14 Joseph Myers <joseph@codesourcery.com>
32066 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32067 (test_in_one_mode): Take arguments for whether the rounding mode
32068 is supported for each floating-point type.
32069 (do_test): Pass new arguments to test_in_one_mode using
32072 2013-06-13 Roland McGrath <roland@hack.frob.com>
32074 * posix/tst-waitid.c (do_test): Distinguish different instances of
32075 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
32076 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32077 before entering the kernel for waitpid.
32079 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32081 * NEWS: Fix note on clock function precision. Text by Roland
32084 2013-06-13 Roland McGrath <roland@hack.frob.com>
32086 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32087 it into place only when and if the sanity check passes.
32089 2013-06-13 Joseph Myers <joseph@codesourcery.com>
32091 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32092 output for whether conversion result is exact. Take argument
32093 indicating whether type is IBM long double.
32094 (round_for_all): Change need_exact field to ibm_ld.
32095 * stdlib/tst-strtod-round.c (struct exactness): New type.
32096 (struct test): Change bool ld_ok field to struct exactness exact.
32097 (TEST): Update all definitions for change to field.
32098 (tests): Regenerate array contents.
32099 (test_in_one_mode): Take pointer to new field instead of old ld_ok
32100 field value. Check for IBM long double here.
32101 (do_test): Update calls to test_in_one_mode.
32103 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32106 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32107 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32109 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32112 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32113 generated by the compiler on loop optimizations.
32114 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32115 general definitions.
32117 2013-06-12 Joseph Myers <joseph@codesourcery.com>
32119 * math/bug-nextafter.c: Include <math-tests.h>.
32120 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32122 * math/bug-nexttoward.c: Include <math-tests.h>.
32123 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32125 * math/test-misc.c: Include <math-tests.h>.
32126 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32129 2013-06-12 Andreas Jaeger <aj@suse.de>
32131 * po/ia.po: Update Interlingua translation from translation
32134 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32136 * include/fenv.h: Include stdbool.h.
32137 (struct rm_ctx): New structure.
32138 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32140 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32141 (SET_RESTORE_ROUNDF): Likewise.
32142 (SET_RESTORE_ROUNDL): Likewise.
32143 (SET_RESTORE_ROUND_NOEX): Likewise.
32144 (SET_RESTORE_ROUND_NOEXF): Likewise.
32145 (SET_RESTORE_ROUND_NOEXL): Likewise.
32146 (SET_RESTORE_ROUND_53BIT): Likewise.
32147 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32148 (libc_feresetround_noexf_ctx): Likewise.
32149 (libc_feresetround_noexl_ctx): Likewise.
32150 (libc_feholdsetround_53bit_ctx): Likewise.
32151 (libc_feresetround_53bit_ctx): Likewise.
32152 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32153 (libc_feholdexcept_setround_sse_ctx): New function.
32154 (libc_fesetenv_sse_ctx): Likewise.
32155 (libc_feupdateenv_sse_ctx): Likewise.
32156 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32157 (libc_feholdexcept_setround_387_ctx): Likewise.
32158 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32159 (libc_feholdsetround_387_prec_ctx): Likewise.
32160 (libc_feholdsetround_387_ctx): Likewise.
32161 (libc_feholdsetround_387_53bit_ctx): Likewise.
32162 (libc_feholdsetround_sse_ctx): Likewise.
32163 (libc_feresetround_sse_ctx): Likewise.
32164 (libc_feresetround_387_ctx): Likewise.
32165 (libc_feupdateenv_387_ctx): Likewise.
32166 (libc_feholdexcept_setroundf_ctx): Define macro.
32167 (libc_fesetenvf_ctx): Likewise.
32168 (libc_feupdateenvf_ctx): Likewise.
32169 (libc_feholdsetroundf_ctx): Likewise.
32170 (libc_feresetroundf_ctx): Likewise.
32171 (libc_feholdexcept_setround_ctx): Likewise.
32172 (libc_fesetenv_ctx): Likewise.
32173 (libc_feupdateenv_ctx): Likewise.
32174 (libc_feholdsetround_ctx): Likewise.
32175 (libc_feresetround_ctx): Likewise.
32176 (libc_feholdexcept_setroundl_ctx): Likewise.
32177 (libc_feupdateenvl_ctx): Likewise.
32178 (libc_feholdsetroundl_ctx): Likewise.
32179 (libc_feresetroundl_ctx): Likewise.
32180 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32181 (libc_feresetround_53bit_ctx): Likewise.
32183 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32185 * locale/iso-639.def: Convert to UTF-8.
32187 2013-06-11 Joseph Myers <joseph@codesourcery.com>
32189 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32190 (EXCEPTION_TESTS_double): Likewise.
32191 (EXCEPTION_TESTS_long_double): Likewise.
32192 (EXCEPTION_TESTS): Likewise.
32193 * math/libm-test.inc (test_exceptions): Only test exceptions if
32194 EXCEPTION_TESTS (FLOAT).
32196 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32198 * benchtests/Makefile (string-bench): Add strcpy_chk and
32200 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32201 * benchtests/bench-stpcpy_chk.c: New file.
32202 * benchtests/bench-strcpy_chk-ifunc.c: New file.
32203 * benchtests/bench-strcpy_chk.c: New file.
32204 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32206 (do_test): Likewise.
32208 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32210 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32211 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32212 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32213 with tabs where appropriate.
32214 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32216 [PPC_PLATFORM_PPC440]: Likewise.
32217 [PPC_PLATFORM_PPC464]: Likewise.
32218 [PPC_PLATFORM_PPC476]: Likewise.
32219 (_dl_string_platform): Add support for detecting ppc405, ppc440,
32220 ppc464, and ppc476 platform strings merging from ports/
32223 2013-06-11 Andreas Schwab <schwab@suse.de>
32226 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32227 (from_ucs4_idx): Regenerate.
32228 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32229 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32230 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32231 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32232 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32233 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32234 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32235 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32236 from FROM_LOOP and TO_LOOP specific macros.
32237 (BODY): Handle combining characters.
32238 * iconvdata/BIG5HKSCS.irreversible: Update.
32239 * iconvdata/BIG5HKSCS.precomposed: New file.
32240 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32242 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32244 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32246 * include/sys/time.h: Fix indentation and add copyright header.
32248 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32249 (do_test): Likewise.
32250 * string/test-memchr.c (do_one_test): Likewise.
32251 (do_test): Likewise.
32252 * string/test-memcmp.c (do_one_test): Likewise.
32253 (do_test): Likewise.
32254 * string/test-memcpy.c (do_one_test): Likewise.
32255 (do_test): Likewise.
32256 * string/test-memmem.c (do_one_test): Likewise.
32257 (do_test): Likewise.
32258 (do_random_tests): Likewise.
32259 * string/test-memmove.c (do_one_test): Likewise.
32260 (do_test): Likewise.
32261 * string/test-memset.c (do_one_test): Likewise.
32262 (do_test): Likewise.
32263 * string/test-rawmemchr.c (do_one_test): Likewise.
32264 (do_test): Likewise.
32265 * string/test-strcasecmp.c (do_one_test): Likewise.
32266 (do_test): Likewise.
32267 * string/test-strcasestr.c (do_one_test): Likewise.
32268 (do_test): Likewise.
32269 * string/test-strcat.c (do_one_test): Likewise.
32270 (do_test): Likewise.
32271 * string/test-strchr.c (do_one_test): Likewise.
32272 (do_test): Likewise.
32273 * string/test-strcmp.c (do_one_test): Likewise.
32274 (do_test): Likewise.
32275 * string/test-strcpy.c (do_one_test): Likewise.
32276 (do_test): Likewise.
32277 * string/test-string.h: Likewise.
32278 (test_init): Likewise.
32279 * string/test-strlen.c (do_one_test): Likewise.
32280 (do_test): Likewise.
32281 * string/test-strncasecmp.c (do_one_test): Likewise.
32282 (do_test): Likewise.
32283 * string/test-strncat.c (do_one_test): Likewise.
32284 (do_test): Likewise.
32285 * string/test-strncmp.c (do_one_test): Likewise.
32286 (do_test_limit): Likewise.
32287 (do_test): Likewise.
32288 * string/test-strncpy.c (do_one_test): Likewise.
32289 (do_test): Likewise.
32290 * string/test-strnlen.c (do_one_test): Likewise.
32291 (do_test): Likewise.
32292 * string/test-strpbrk.c (do_one_test): Likewise.
32293 (do_test): Likewise.
32294 * string/test-strrchr.c (do_one_test): Likewise.
32295 (do_test): Likewise.
32296 * string/test-strspn.c (do_one_test): Likewise.
32297 (do_test): Likewise.
32298 * string/test-strstr.c (do_one_test): Likewise.
32299 (do_test): Likewise.
32301 * benchtests/Makefile (string-bench): Add string benchmarks.
32302 * benchtests/bench-bcopy-ifunc.c: New file.
32303 * benchtests/bench-bcopy.c: New file.
32304 * benchtests/bench-bzero-ifunc.c: New file.
32305 * benchtests/bench-bzero.c: New file.
32306 * benchtests/bench-memccpy-ifunc.c: New file.
32307 * benchtests/bench-memccpy.c: New file.
32308 * benchtests/bench-memchr-ifunc.c: New file.
32309 * benchtests/bench-memchr.c: New file.
32310 * benchtests/bench-memcmp-ifunc.c: New file.
32311 * benchtests/bench-memcmp.c: New file.
32312 * benchtests/bench-memmem-ifunc.c: New file.
32313 * benchtests/bench-memmem.c: New file.
32314 * benchtests/bench-memmove-ifunc.c: New file.
32315 * benchtests/bench-memmove.c: New file.
32316 * benchtests/bench-mempcpy-ifunc.c: New file.
32317 * benchtests/bench-mempcpy.c: New file.
32318 * benchtests/bench-memset-ifunc.c: New file.
32319 * benchtests/bench-memset.c: New file.
32320 * benchtests/bench-rawmemchr-ifunc.c: New file.
32321 * benchtests/bench-rawmemchr.c: New file.
32322 * benchtests/bench-stpcpy-ifunc.c: New file.
32323 * benchtests/bench-stpcpy.c: New file.
32324 * benchtests/bench-stpncpy-ifunc.c: New file.
32325 * benchtests/bench-stpncpy.c: New file.
32326 * benchtests/bench-strcasecmp-ifunc.c: New file.
32327 * benchtests/bench-strcasecmp.c: New file.
32328 * benchtests/bench-strcasestr-ifunc.c: New file.
32329 * benchtests/bench-strcasestr.c: New file.
32330 * benchtests/bench-strcat-ifunc.c: New file.
32331 * benchtests/bench-strcat.c: New file.
32332 * benchtests/bench-strchr-ifunc.c: New file.
32333 * benchtests/bench-strchr.c: New file.
32334 * benchtests/bench-strchrnul-ifunc.c: New file.
32335 * benchtests/bench-strchrnul.c: New file.
32336 * benchtests/bench-strcmp-ifunc.c: New file.
32337 * benchtests/bench-strcmp.c: New file.
32338 * benchtests/bench-strcpy-ifunc.c: New file.
32339 * benchtests/bench-strcpy.c: New file.
32340 * benchtests/bench-strcspn-ifunc.c: New file.
32341 * benchtests/bench-strcspn.c: New file.
32342 * benchtests/bench-strlen-ifunc.c: New file.
32343 * benchtests/bench-strlen.c: New file.
32344 * benchtests/bench-strncasecmp-ifunc.c: New file.
32345 * benchtests/bench-strncasecmp.c: New file.
32346 * benchtests/bench-strncat-ifunc.c: New file.
32347 * benchtests/bench-strncat.c: New file.
32348 * benchtests/bench-strncmp-ifunc.c: New file.
32349 * benchtests/bench-strncmp.c: New file.
32350 * benchtests/bench-strncpy-ifunc.c: New file.
32351 * benchtests/bench-strncpy.c: New file.
32352 * benchtests/bench-strnlen-ifunc.c: New file.
32353 * benchtests/bench-strnlen.c: New file.
32354 * benchtests/bench-strpbrk-ifunc.c: New file.
32355 * benchtests/bench-strpbrk.c: New file.
32356 * benchtests/bench-strrchr-ifunc.c: New file.
32357 * benchtests/bench-strrchr.c: New file.
32358 * benchtests/bench-strspn-ifunc.c: New file.
32359 * benchtests/bench-strspn.c: New file.
32360 * benchtests/bench-strstr-ifunc.c: New file.
32361 * benchtests/bench-strstr.c: New file.
32363 * benchtests/Makefile: Disable parallel execution of targets.
32364 (string-bench): Add memcpy.
32365 (benchset): New variable to store a list of benchmark sets.
32366 (bench-func): Renamed from bench.
32367 (bench-set): New target.
32368 (bench): Depend on bench-func and bench-set.
32369 * benchtests/README: Add section on benchmark sets.
32370 * benchtests/bench-memcpy-ifunc.c: New file.
32371 * benchtests/bench-memcpy.c: New file.
32372 * benchtests/bench-string.h: New file.
32374 2013-06-11 Andreas Schwab <schwab@suse.de>
32377 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32378 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32379 values in the triple.
32380 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32381 terminator in the group key.
32383 2013-06-11 Andreas Jaeger <aj@suse.de>
32385 * po/zh_TW.po: Update Chinese (traditional) translation from
32386 translation project.
32388 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32390 * include/time.h (__clock_gettime): Add libc_hidden_proto.
32391 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32392 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
32393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32394 (clock_getcpuclockid): Likewise.
32395 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32396 Add weak_alias and libc_hidden_def.
32397 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32398 * rt/clock_gettime.c (clock_gettime): Rename to
32399 __clock_gettime. Add weak_alias and libc_hidden_def.
32400 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32401 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32402 __clock_nanosleep. Add weak_alias and libc_hidden_def.
32403 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32404 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32406 * rt/clock_settime.c (clock_settime): Rename to
32407 __clock_settime. Add weak_alias and libc_hidden_def.
32408 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32410 2013-06-10 Joseph Myers <joseph@codesourcery.com>
32412 * mach/err_boot.sub: Remove trailing whitespace.
32413 * mach/err_ipc.sub: Likewise.
32414 * mach/err_mach.sub: Likewise.
32416 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32417 (ROUNDING_TESTS_double): Likewise.
32418 (ROUNDING_TESTS_long_double): Likewise.
32419 (ROUNDING_TESTS): Likewise.
32420 * math/libm-test.inc: Include <math-tests.h>.
32421 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32422 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32423 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32424 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32426 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32428 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32431 2013-06-08 Joseph Myers <joseph@codesourcery.com>
32433 * sysdeps/gnu/errlist.awk: Do not generate space at end of
32434 otherwise empty TRANS lines.
32435 * sysdeps/gnu/errlist.c: Regenerated.
32437 * catgets/gencat.c (error_print): Use (void) in function
32439 * crypt/crypt_util.c (__init_des): Likewise.
32440 * crypt/speeds.c (Stop): Likewise.
32442 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32443 * inet/ruserpass.c (token): Likewise.
32444 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32445 * intl/localealias.c (extend_alias_table): Likewise.
32446 * intl/plural-exp.c (init_germanic_plural): Likewise.
32447 * libio/fcloseall.c (__fcloseall): Likewise.
32448 * libio/genops.c (_IO_flush_all): Likewise.
32449 (_IO_flush_all_linebuffered): Likewise.
32450 (_IO_cleanup): Likewise.
32451 (_IO_iter_begin): Likewise.
32452 (_IO_iter_end): Likewise.
32453 (_IO_list_lock): Likewise.
32454 (_IO_list_unlock): Likewise.
32455 (_IO_list_resetlock): Likewise.
32456 * libio/getchar.c (getchar): Likewise.
32457 * libio/getchar_u.c (getchar_unlocked): Likewise.
32458 * libio/getwchar.c (getwchar): Likewise.
32459 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32460 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32461 * login/getpt.c (__getpt): Likewise.
32462 * login/tst-utmp.c (main): Likewise.
32463 * malloc/hooks.c (__malloc_check_init): Likewise.
32464 * malloc/malloc.c (__malloc_stats): Likewise.
32465 * malloc/mtrace.c (tr_break): Likewise.
32466 (mtrace): Likewise.
32467 (muntrace): Likewise.
32468 * misc/fstab.c (endfsent): Likewise.
32469 * misc/getclktck.c (__getclktck): Likewise.
32470 * misc/getdtsz.c (__getdtablesize): Likewise.
32471 * misc/gethostid.c (gethostid): Likewise.
32472 * misc/getpagesize.c (__getpagesize): Likewise.
32473 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32474 (__get_nprocs): Likewise.
32475 (__get_phys_pages): Likewise.
32476 (__get_avphys_pages): Likewise.
32477 * misc/getttyent.c (getttyent): Likewise.
32478 (setttyent): Likewise.
32479 (endttyent): Likewise.
32480 * misc/getusershell.c (getusershell): Likewise.
32481 (endusershell): Likewise.
32482 (setusershell): Likewise.
32483 (initshells): Likewise.
32484 * misc/hsearch.c (__hdestroy): Likewise.
32485 * misc/sync.c (sync): Likewise.
32486 * misc/syslog.c (closelog_internal): Likewise.
32487 (closelog): Likewise.
32488 * misc/ttyslot.c (ttyslot): Likewise.
32489 * misc/vhangup.c (vhangup): Likewise.
32490 * posix/fork.c (__fork): Likewise.
32491 * posix/getegid.c (__getegid): Likewise.
32492 * posix/geteuid.c (__geteuid): Likewise.
32493 * posix/getgid.c (__getgid): Likewise.
32494 * posix/getpid.c (__getpid): Likewise.
32495 * posix/getppid.c (__getppid): Likewise.
32496 * posix/getuid.c (__getuid): Likewise.
32497 * posix/pause.c (pause): Likewise.
32498 * posix/setpgrp.c (setpgrp): Likewise.
32499 * posix/setsid.c (__setsid): Likewise.
32500 * posix/test-vfork.c (noop): Likewise.
32501 * resolv/gethnamaddr.c (_endhtent): Likewise.
32502 (_gethtent): Likewise.
32503 (ht_endhostent): Likewise.
32504 (gethostent): Likewise.
32505 (dns_service): Likewise.
32506 * stdlib/drand48.c (drand48): Likewise.
32507 * stdlib/lrand48.c (lrand48): Likewise.
32508 * stdlib/mrand48.c (mrand48): Likewise.
32509 * stdlib/rand.c (rand): Likewise.
32510 * stdlib/random.c (__random): Likewise.
32511 * stdlib/setenv.c (clearenv): Likewise.
32512 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32513 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32514 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32515 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32516 (__get_nprocs): Likewise.
32517 (__get_phys_pages): Likewise.
32518 (__get_avphys_pages): Likewise.
32519 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32520 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32521 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32522 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32523 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32524 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32525 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32526 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32527 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32528 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32529 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32530 * sysdeps/mach/hurd/sync.c (sync): Likewise.
32531 * sysdeps/posix/clock.c (clock): Likewise.
32532 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32533 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32534 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32535 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32536 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32538 (__get_nprocs_conf): Likewise.
32539 (__get_phys_pages): Likewise.
32540 (__get_avphys_pages): Likewise.
32541 * time/clock.c (clock): Likewise.
32542 * time/tzset.c (__tzname_max): Likewise.
32544 2013-06-07 Joseph Myers <joseph@codesourcery.com>
32546 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32547 (__bswap_32): Do not use "register".
32548 * crypt/crypt.c (_ufc_doit_r): Likewise.
32549 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32550 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32551 * gmon/gmon.c (__monstartup): Likewise.
32552 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32553 * hurd/hurdmalloc.c (more_memory): Likewise.
32554 (malloc): Likewise.
32556 (realloc): Likewise.
32557 (malloc_fork_prepare): Likewise.
32558 (malloc_fork_parent): Likewise.
32559 (malloc_fork_child): Likewise.
32560 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32561 (_svcauth_des): Likewise.
32562 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32563 * inet/inet_net.c (inet_network): Likewise.
32564 * inet/inet_netof.c (inet_netof): Likewise.
32565 * inet/rcmd.c (__validuser2_sa): Likewise.
32566 * io/fts.c (fts_open): Likewise.
32567 (fts_load): Likewise.
32568 (fts_close): Likewise.
32569 (fts_read): Likewise.
32570 (fts_children): Likewise.
32571 (fts_build): Likewise.
32572 (fts_stat): Likewise.
32573 (fts_sort): Likewise.
32574 (fts_alloc): Likewise.
32575 (fts_lfree): Likewise.
32576 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32577 (_IO_file_xsgetn): Likewise.
32578 (_IO_file_xsgetn_mmap): Likewise.
32579 * libio/iofopncook.c (_IO_cookie_read): Likewise.
32580 (_IO_cookie_write): Likewise.
32581 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32582 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32583 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32584 * malloc/obstack.c (_obstack_begin): Likewise.
32585 (_obstack_begin_1): Likewise.
32586 (_obstack_newchunk): Likewise.
32587 (_obstack_allocated_p): Likewise.
32588 (obstack_free): Likewise.
32589 (_obstack_memory_used): Likewise.
32590 * misc/getttyent.c (getttynam): Likewise.
32591 (getttyent): Likewise.
32594 * misc/getusershell.c (initshells): Likewise.
32595 * misc/syslog.c (__vsyslog_chk): Likewise.
32596 * misc/ttyslot.c (ttyslot): Likewise.
32597 * nis/nis_hash.c (__nis_hash): Likewise.
32598 * posix/fnmatch_loop.c (FCT): Likewise.
32599 * posix/getconf.c (print_all): Likewise.
32601 * posix/getopt.c (exchange): Likewise.
32602 * posix/glob.c (globfree): Likewise.
32603 (prefix_array): Likewise.
32604 (__glob_pattern_type): Likewise.
32605 * resolv/arpa/nameser.h (NS_GET16): Likewise.
32606 (NS_GET32): Likewise.
32607 (NS_PUT16): Likewise.
32608 (NS_PUT32): Likewise.
32609 * resolv/gethnamaddr.c (getanswer): Likewise.
32610 (gethostbyname2): Likewise.
32611 (gethostbyaddr): Likewise.
32612 (_gethtent): Likewise.
32613 (_gethtbyname2): Likewise.
32614 (_gethtbyaddr): Likewise.
32615 * resolv/ns_print.c (dst_s_get_int16): Likewise.
32616 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32617 * resolv/res_init.c (__res_vinit): Likewise.
32618 (net_mask): Likewise.
32619 * resolv/res_mkquery.c (outchar): Likewise.
32621 * stdio-common/printf_fp.c (outchar): Likewise.
32623 * stdio-common/printf_fphex.c (outchar): Likewise.
32625 * stdio-common/printf_size.c (outchar): Likewise.
32627 * stdio-common/test_rdwr.c (main): Likewise.
32628 * stdio-common/tfformat.c (matches): Likewise.
32629 * stdio-common/vfprintf.c (outchar): Likewise.
32630 (printf_unknown): Likewise.
32631 (buffered_vfprintf): Likewise.
32632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32633 * stdio-common/xbug.c (AppendToBuffer): Likewise.
32634 (ReadFile): Likewise.
32635 * stdlib/qsort.c (SWAP): Likewise.
32636 (_quicksort): Likewise.
32637 * stdlib/setenv.c (__add_to_environ): Likewise.
32638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32639 * stdlib/strtol_l.c (__strtol_l): Likewise.
32640 * stdlib/tst-strtod.c (main): Likewise.
32641 * stdlib/tst-strtol.c (main): Likewise.
32642 * stdlib/tst-strtoll.c (main): Likewise.
32643 * string/bits/string2.h (__strcmp_cc): Likewise.
32644 (__strcmp_cg): Likewise.
32645 (__strcspn_c1): Likewise.
32646 (__strcspn_c2): Likewise.
32647 (__strcspn_c3): Likewise.
32648 (__strspn_c1): Likewise.
32649 (__strspn_c2): Likewise.
32650 (__strspn_c3): Likewise.
32651 (__strsep_1c): Likewise.
32652 (__strsep_2c): Likewise.
32653 (__strsep_3c): Likewise.
32654 * string/memccpy.c (__memccpy): Likewise.
32655 * string/stpcpy.c (__stpcpy): Likewise.
32656 * string/strcmp.c (strcmp): Likewise.
32657 * string/strrchr.c (strrchr): Likewise.
32658 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32660 * sysdeps/mach/hurd/getcwd.c
32661 (_hurd_canonicalize_directory_name_internal): Likewise.
32662 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32663 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32664 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32665 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32666 Likewise, in both definitions.
32667 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32669 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32670 64] (__bswap_64): Likewise.
32671 * time/test_time.c (main): Likewise.
32672 * time/tzfile.c (__tzfile_read): Likewise.
32673 (__tzfile_compute): Likewise.
32674 * time/tzset.c (__tzset_parse_tz): Likewise.
32675 (tzset_internal): Likewise.
32676 (compute_change): Likewise.
32677 * wcsmbs/wcscat.c (__wcscat): Likewise.
32678 * wcsmbs/wcschr.c (wcschr): Likewise.
32679 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32680 * wcsmbs/wcscspn.c (wcscspn): Likewise.
32681 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32682 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32683 * wcsmbs/wcsspn.c (wcsspn): Likewise.
32684 * wcsmbs/wcsstr.c (wcsstr): Likewise.
32685 * wcsmbs/wmemchr.c (wmemchr): Likewise.
32686 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32687 * wcsmbs/wmemset.c (wmemset): Likewise.
32689 2013-06-06 Joseph Myers <joseph@codesourcery.com>
32691 * scripts/config.guess: Update to version 2013-05-16.
32692 * scripts/config.sub: Update to version 2013-04-24.
32693 * scripts/install-sh: Update to version 2011-11-20.07.
32694 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32695 * scripts/move-if-change: Update to version 2012-01-06 07:23.
32697 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
32699 * debug/fgetws_u_chk.c: Fix leading whitespaces.
32700 * elf/sln.c: Likewise.
32701 * hurd/hurd/ioctl.h: Likewise.
32702 * hurd/hurdmalloc.c: Likewise.
32703 * hurd/xattr.c: Likewise.
32704 * include/shlib-compat.h: Likewise.
32705 * inet/ruserpass.c: Likewise.
32706 * libio/iofgets_u.c: Likewise.
32707 * libio/iofgetws_u.c: Likewise.
32708 * locale/programs/ld-identification.c: Likewise.
32709 * locale/programs/ld-time.c: Likewise.
32710 * mach/msg-destroy.c: Likewise.
32711 * nss/nss_files/files-netgrp.c: Likewise.
32712 * resolv/res_data.c: Likewise.
32713 * soft-fp/op-1.h: Likewise.
32714 * soft-fp/op-2.h: Likewise.
32715 * soft-fp/op-4.h: Likewise.
32716 * soft-fp/op-common.h: Likewise.
32717 * stdio-common/printf_fphex.c: Likewise.
32718 * stdlib/strtod_l.c: Likewise.
32719 * sunrpc/rpc/clnt.h: Likewise.
32720 * sysdeps/generic/framestate.c: Likewise.
32721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32722 * sysdeps/i386/bsd-setjmp.S: Likewise.
32723 * sysdeps/i386/__longjmp.S: Likewise.
32724 * sysdeps/i386/setjmp.S: Likewise.
32725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32743 * sysdeps/ieee754/support.c: Likewise.
32744 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32745 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32746 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32747 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32748 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32749 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32750 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32751 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32752 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32753 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32754 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32755 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32758 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32759 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32760 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32763 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
32765 * posix/transbug.c: Remove executable mode.
32767 2013-06-05 Joseph Myers <joseph@codesourcery.com>
32769 * crypt/speeds.c: Remove trailing whitespace.
32770 * dlfcn/default.c: Likewise.
32771 * elf/ifuncdep2.c: Likewise.
32772 * elf/ifuncmain1.c: Likewise.
32773 * elf/ifuncmain1vis.c: Likewise.
32774 * elf/testobj.h: Likewise.
32775 * elf/tst-stackguard1.c: Likewise.
32776 * gmon/sys/gmon.h: Likewise.
32777 * hurd/hurdmsg.c: Likewise.
32778 * hurd/new-fd.c: Likewise.
32779 * hurd/ports-get.c: Likewise.
32780 * iconvdata/ibm1008_420.c: Likewise.
32781 * inet/tst-getni1.c: Likewise.
32782 * inet/tst-getni2.c: Likewise.
32783 * libio/ioungetc.c: Likewise.
32784 * libio/wfiledoalloc.c: Likewise.
32785 * manual/libm-err-tab.pl: Likewise.
32786 * math/w_dremf.c: Likewise.
32787 * misc/ftruncate.c: Likewise.
32788 * posix/bug-glob2.c: Likewise.
32789 * posix/tst-pcre.c: Likewise.
32790 * posix/wait4.c: Likewise.
32791 * resolv/README: Likewise.
32792 * resolv/res_debug.h: Likewise.
32793 * resolv/tst-inet_ntop.c: Likewise.
32794 * setjmp/bug269-setjmp.c: Likewise.
32795 * soft-fp/extended.h: Likewise.
32796 * soft-fp/op-1.h: Likewise.
32797 * soft-fp/op-2.h: Likewise.
32798 * soft-fp/op-4.h: Likewise.
32799 * soft-fp/op-8.h: Likewise.
32800 * soft-fp/testit.c: Likewise.
32801 * stdio-common/bug16.c: Likewise.
32802 * stdlib/random.c: Likewise.
32803 * sunrpc/rpcsvc/rquota.x: Likewise.
32804 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32811 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32812 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32813 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32815 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32820 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32822 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32831 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32833 * sysdeps/ieee754/s_lib_version.c: Likewise.
32834 * sysdeps/mach/hurd/check_fds.c: Likewise.
32835 * sysdeps/mach/hurd/getsockname.c: Likewise.
32836 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32837 * sysdeps/mach/hurd/recvfrom.c: Likewise.
32838 * sysdeps/powerpc/bits/link.h: Likewise.
32839 * sysdeps/powerpc/dl-procinfo.c: Likewise.
32840 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32841 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32842 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32843 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32844 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32845 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32846 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32847 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32848 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32849 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32850 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32851 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32852 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32853 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32854 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32860 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32862 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32863 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32867 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32873 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32874 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32875 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32876 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32877 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32878 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32879 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32880 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32881 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32882 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32883 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32884 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32885 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32886 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32887 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32888 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32891 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32892 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32894 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32895 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32897 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32900 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32901 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32902 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32903 * sysdeps/powerpc/sysdep.h: Likewise.
32904 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32905 * sysdeps/s390/s390-64/sub_n.S: Likewise.
32906 * sysdeps/sh/dl-trampoline.S: Likewise.
32907 * sysdeps/sh/memset.S: Likewise.
32908 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32909 * sysdeps/sh/strlen.S: Likewise.
32910 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32911 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32912 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32913 * sysdeps/sparc/sparc32/rem.S: Likewise.
32914 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32915 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32916 * sysdeps/sparc/sparc32/strchr.S: Likewise.
32917 * sysdeps/sparc/sparc32/udiv.S: Likewise.
32918 * sysdeps/sparc/sparc32/urem.S: Likewise.
32919 * sysdeps/sparc/sparc64/add_n.S: Likewise.
32920 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32921 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32922 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32923 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32924 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32925 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32926 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32927 * sysdeps/unix/bsd/times.c: Likewise.
32928 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32929 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32933 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32934 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32935 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32937 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32938 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32939 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32940 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32941 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32942 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32943 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32945 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32946 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32947 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32948 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32949 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32950 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32951 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32952 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32953 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32954 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32955 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32956 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32957 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32958 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32959 * sysdeps/x86_64/strcspn.S: Likewise.
32961 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32963 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32964 generated file. Regenerate properly from gen-translit.pl.
32965 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32966 locale/C-translit.h.
32968 2013-06-05 Andreas Schwab <schwab@suse.de>
32971 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32972 week as 6 instead of -1.
32973 * time/tst-strptime.c (day_tests): Add test case.
32975 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32977 * sysdeps/generic/math_private.h
32978 (libc_feholdexcept_setround_53bit): Replace with
32979 libc_feholdsetround_53bit.
32980 (libc_feupdateenv_53bit): Replace with
32981 libc_feresetround_53bit.
32982 (SET_RESTORE_ROUND_53BIT): Adjust.
32984 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32986 * string/test-strchrnul.c: Add copyright header.
32988 * posix/tst-getaddrinfo4.c: Increase test timeout.
32990 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32993 * math/libm-test.inc (MAX_EXP): Remove
32995 (ulp): Use MIN_EXP - MANT_DIG.
32996 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32998 2013-05-31 Carlos O'Donell <carlos@redhat.com>
33000 * po/be.po: Revert last change.
33001 * po/zh_CN.po: Likewise.
33002 * po/header.pot: Likewise.
33004 2013-05-31 Joseph Myers <joseph@codesourcery.com>
33006 * Makefile ($(common-objpfx)linkobj/libc.so): Define
33007 link-libc-deps to empty as target-specific variable.
33008 * Makerules (link-libc-args): New variable.
33009 (libc-for-link): Likewise.
33010 (link-libc-deps): Likewise.
33011 (lib%.so): Depend on $(link-libc-deps). Link with
33013 (build-module): Link with $(link-libc-args).
33014 (build-module-asneeded): Likewise.
33015 (build-module-helper-objlist): Filter out $(link-libc-deps) from
33017 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33018 target-specific variable.
33019 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33020 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33021 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33023 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33025 ($(objpfx)libpcprofile.so): Likewise.
33026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33028 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33029 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33030 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33032 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33033 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33034 * login/Makefile ($(objpfx)libutil.so): Likewise.
33035 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33036 * math/Makefile ($(objpfx)libm.so): Likewise.
33037 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33038 $(objpfx)libnsl.so): Define libc-for-link as target-specific
33039 variable instead of depending directly on libc.
33040 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33041 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33043 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33045 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33046 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33047 ($(objpfx)libanl.so): Likewise.
33048 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33050 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33052 * sysdeps/i386/fpu/Makefile: Remove file.
33053 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33054 ($(objpfx)libm.so): Remove dependency on ld.so.
33056 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
33059 * nis/yp_xdr.c (XDRMAXNAME): Define.
33060 (XDRMAXRECORD): Define.
33061 (xdr_domainname): Use XDRMAXNAME.
33062 (xdr_mapname): Likewise.
33063 (xdr_peername): Likewise.
33064 (xdr_keydat): Use XDRMAXRECORD.
33065 (xdr_valdat): Likewise.
33067 2013-05-30 Jeff Law <law@redhat.com>
33070 * manual/errno.texi (ESTALE): Update to account for more than
33071 just NFS file systems.
33072 * sysdeps/gnu/errlist.c: Regenerated.
33074 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33077 * elf/Makefile (tests): Add tst-null-argv.
33078 (modules-names): Add tst-null-argv-lib.
33079 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33080 (tst-null-argv-ENV): Set environment for tst-null-argv.
33081 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33082 (RTLD_PROGNAME): New macro.
33083 * elf/tst-null-argv.c: New test case.
33084 * elf/tst-null-argv-lib.c: Library for test case.
33085 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33086 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33087 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33088 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33089 * elf/dl-init.c (call_init): Likewise.
33090 (_dl_init): Likewise.
33091 * elf/dl-load.c (print_search_path): Likewise.
33092 (_dl_map_object): Likewise.
33093 * elf/dl-lookup.c (do_lookup_x): Likewise.
33094 (add_dependency): Likewise.
33095 (_dl_lookup_symbol_x): Likewise.
33096 (_dl_debug_bindings): Likewise.
33097 * elf/dl-open.c (_dl_show_scope): Likewise.
33098 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33099 * elf/dl-version.c (match_symbol): Likewise.
33100 (_dl_check_map_versions): Likewise.
33101 * elf/rtld.c (dl_main): Likewise.
33102 (print_unresolved): Use RTLD_PROGNAME.
33103 (print_missing_version): Likewise.
33104 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33105 (elf_machine_rela): Likewise.
33106 * sysdeps/powerpc/powerpc32/dl-machine.c
33107 (__process_machine_rela): Likewise.
33108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33114 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33121 2013-05-28 Carlos O'Donell <carlos@redhat.com>
33123 * po/be.po: Add descriptive title.
33124 * po/zh_CN.po: Likewise.
33125 * po/header.pot: Likewise.
33127 2013-05-28 Mike Frysinger <vapier@gentoo.org>
33129 * locale/programs/locarchive.c (create_archive): Inlucde fname in
33131 (enlarge_archive): Likewise.
33133 2013-05-28 Ben North <ben@redfrontdoor.org>
33135 * manual/arith.texi (frexp): It is the magnitude of the return
33136 value which lies in [0.5, 1), not the return value itself.
33138 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33142 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
33144 * stdio-common/bug26.c (main): Correct fscanf template.
33146 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33147 declare _dl_skip_args.
33149 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33152 * manual/platform.texi: Add missing @end deftypefun.
33154 2013-05-24 Joseph Myers <joseph@codesourcery.com>
33157 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33158 bit of mantissa of 2^16382.
33159 * math/libm-test.inc (hypot_test_data): Add more tests.
33161 * math/libm-test.inc: Add drem and pow10 to list of tested
33163 (pow10_test): New function.
33164 (drem_test): Likewise.
33165 (drem_test_tonearest): Likewise.
33166 (drem_test_towardzero): Likewise.
33167 (drem_test_downward): Likewise.
33168 (drem_test_upward): Likewise.
33169 (main): Call the new functions.
33171 * math/libm-test.inc (finite_test_data): Remove.
33172 (finite_test): Run tests from isfinite_test_data.
33173 (gamma_test_data): Remove.
33174 (gamma_test): Run tests from lgamma_test_data.
33175 * sysdeps/i386/fpu/libm-test-ulps: Update.
33176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33178 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33180 * manual/platform.texi: Add PowerPC PPR function set documentation.
33181 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33184 2013-05-24 Carlos O'Donell <carlos@redhat.com>
33186 * math/libm-test.inc (MAX_EXP): Define.
33188 (ulp): New function.
33189 (check_float_internal): Use ULPDIFF.
33190 (cpow_test): Disable failing test.
33191 (check_ulp): Test ulp() implemetnation.
33192 (main): Call check_ulp before starting tests.
33194 2013-05-24 Joseph Myers <joseph@codesourcery.com>
33196 * math/gen-libm-test.pl (generate_testfile): Do not handle
33197 START_DATA and END_DATA.
33198 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33200 (acos_tonearest_test_data): Likewise.
33201 (acos_towardzero_test_data): Likewise.
33202 (acos_downward_test_data): Likewise.
33203 (acos_upward_test_data): Likewise.
33204 (acosh_test_data): Likewise.
33205 (asin_test_data): Likewise.
33206 (asin_tonearest_test_data): Likewise.
33207 (asin_towardzero_test_data): Likewise.
33208 (asin_downward_test_data): Likewise.
33209 (asin_upward_test_data): Likewise.
33210 (asinh_test_data): Likewise.
33211 (atan_test_data): Likewise.
33212 (atanh_test_data): Likewise.
33213 (atan2_test_data): Likewise.
33214 (cabs_test_data): Likewise.
33215 (cacos_test_data): Likewise.
33216 (cacosh_test_data): Likewise.
33217 (carg_test_data): Likewise.
33218 (casin_test_data): Likewise.
33219 (casinh_test_data): Likewise.
33220 (catan_test_data): Likewise.
33221 (catanh_test_data): Likewise.
33222 (cbrt_test_data): Likewise.
33223 (ccos_test_data): Likewise.
33224 (ccosh_test_data): Likewise.
33225 (ceil_test_data): Likewise.
33226 (cexp_test_data): Likewise.
33227 (cimag_test_data): Likewise.
33228 (clog_test_data): Likewise.
33229 (clog10_test_data): Likewise.
33230 (conj_test_data): Likewise.
33231 (copysign_test_data): Likewise.
33232 (cos_test_data): Likewise.
33233 (cos_tonearest_test_data): Likewise.
33234 (cos_towardzero_test_data): Likewise.
33235 (cos_downward_test_data): Likewise.
33236 (cos_upward_test_data): Likewise.
33237 (cosh_test_data): Likewise.
33238 (cosh_tonearest_test_data): Likewise.
33239 (cosh_towardzero_test_data): Likewise.
33240 (cosh_downward_test_data): Likewise.
33241 (cosh_upward_test_data): Likewise.
33242 (cpow_test_data): Likewise.
33243 (cproj_test_data): Likewise.
33244 (creal_test_data): Likewise.
33245 (csin_test_data): Likewise.
33246 (csinh_test_data): Likewise.
33247 (csqrt_test_data): Likewise.
33248 (ctan_test_data): Likewise.
33249 (ctan_tonearest_test_data): Likewise.
33250 (ctan_towardzero_test_data): Likewise.
33251 (ctan_downward_test_data): Likewise.
33252 (ctan_upward_test_data): Likewise.
33253 (ctanh_test_data): Likewise.
33254 (ctanh_tonearest_test_data): Likewise.
33255 (ctanh_towardzero_test_data): Likewise.
33256 (ctanh_downward_test_data): Likewise.
33257 (ctanh_upward_test_data): Likewise.
33258 (erf_test_data): Likewise.
33259 (erfc_test_data): Likewise.
33260 (exp_test_data): Likewise.
33261 (exp_tonearest_test_data): Likewise.
33262 (exp_towardzero_test_data): Likewise.
33263 (exp_downward_test_data): Likewise.
33264 (exp_upward_test_data): Likewise.
33265 (exp10_test_data): Likewise.
33266 (exp2_test_data): Likewise.
33267 (expm1_test_data): Likewise.
33268 (fabs_test_data): Likewise.
33269 (fdim_test_data): Likewise.
33270 (finite_test_data): Likewise.
33271 (floor_test_data): Likewise.
33272 (fma_test_data): Likewise.
33273 (fma_towardzero_test_data): Likewise.
33274 (fma_downward_test_data): Likewise.
33275 (fma_upward_test_data): Likewise.
33276 (fmax_test_data): Likewise.
33277 (fmin_test_data): Likewise.
33278 (fmod_test_data): Likewise.
33279 (fpclassify_test_data): Likewise.
33280 (frexp_test_data): Likewise.
33281 (gamma_test_data): Likewise.
33282 (hypot_test_data): Likewise.
33283 (ilogb_test_data): Likewise.
33284 (isfinite_test_data): Likewise.
33285 (isgreater_test_data): Likewise.
33286 (isgreaterequal_test_data): Likewise.
33287 (isinf_test_data): Likewise.
33288 (isless_test_data): Likewise.
33289 (islessequal_test_data): Likewise.
33290 (islessgreater_test_data): Likewise.
33291 (isnan_test_data): Likewise.
33292 (isnormal_test_data): Likewise.
33293 (issignaling_test_data): Likewise.
33294 (isunordered_test_data): Likewise.
33295 (j0_test_data): Likewise.
33296 (j1_test_data): Likewise.
33297 (jn_test_data): Likewise.
33298 (ldexp_test_data): Likewise.
33299 (lgamma_test_data): Likewise.
33300 (lrint_test_data): Likewise.
33301 (lrint_tonearest_test_data): Likewise.
33302 (lrint_towardzero_test_data): Likewise.
33303 (lrint_downward_test_data): Likewise.
33304 (lrint_upward_test_data): Likewise.
33305 (llrint_test_data): Likewise.
33306 (llrint_tonearest_test_data): Likewise.
33307 (llrint_towardzero_test_data): Likewise.
33308 (llrint_downward_test_data): Likewise.
33309 (llrint_upward_test_data): Likewise.
33310 (log_test_data): Likewise.
33311 (log10_test_data): Likewise.
33312 (log1p_test_data): Likewise.
33313 (log2_test_data): Likewise.
33314 (logb_test_data): Likewise.
33315 (logb_downward_test_data): Likewise.
33316 (lround_test_data): Likewise.
33317 (llround_test_data): Likewise.
33318 (modf_test_data): Likewise.
33319 (nearbyint_test_data): Likewise.
33320 (nextafter_test_data): Likewise.
33321 (nexttoward_test_data): Likewise.
33322 (pow_test_data): Likewise.
33323 (pow_tonearest_test_data): Likewise.
33324 (pow_towardzero_test_data): Likewise.
33325 (pow_downward_test_data): Likewise.
33326 (pow_upward_test_data): Likewise.
33327 (remainder_test_data): Likewise.
33328 (remainder_tonearest_test_data): Likewise.
33329 (remainder_towardzero_test_data): Likewise.
33330 (remainder_downward_test_data): Likewise.
33331 (remainder_upward_test_data): Likewise.
33332 (remquo_test_data): Likewise.
33333 (rint_test_data): Likewise.
33334 (rint_tonearest_test_data): Likewise.
33335 (rint_towardzero_test_data): Likewise.
33336 (rint_downward_test_data): Likewise.
33337 (rint_upward_test_data): Likewise.
33338 (round_test_data): Likewise.
33339 (scalb_test_data): Likewise.
33340 (scalbn_test_data): Likewise.
33341 (scalbln_test_data): Likewise.
33342 (signbit_test_data): Likewise.
33343 (sin_test_data): Likewise.
33344 (sin_tonearest_test_data): Likewise.
33345 (sin_towardzero_test_data): Likewise.
33346 (sin_downward_test_data): Likewise.
33347 (sin_upward_test_data): Likewise.
33348 (sincos_test_data): Likewise.
33349 (sinh_test_data): Likewise.
33350 (sinh_tonearest_test_data): Likewise.
33351 (sinh_towardzero_test_data): Likewise.
33352 (sinh_downward_test_data): Likewise.
33353 (sinh_upward_test_data): Likewise.
33354 (sqrt_test_data): Likewise.
33355 (tan_test_data): Likewise.
33356 (tan_tonearest_test_data): Likewise.
33357 (tan_towardzero_test_data): Likewise.
33358 (tan_downward_test_data): Likewise.
33359 (tan_upward_test_data): Likewise.
33360 (tanh_test_data): Likewise.
33361 (tgamma_test_data): Likewise.
33362 (trunc_test_data): Likewise.
33363 (y0_test_data): Likewise.
33364 (y1_test_data): Likewise.
33365 (yn_test_data): Likewise.
33366 (significand_test_data): Likewise.
33368 * math/gen-libm-test.pl (@functions): Remove variable.
33369 (generate_testfile): Don't handle START and END lines.
33370 * math/libm-test.inc (START): New macro.
33372 (END_COMPLEX): Likewise.
33373 (acos_test): Use END macro without arguments.
33374 (acos_test_tonearest): Likewise.
33375 (acos_test_towardzero): Likewise.
33376 (acos_test_downward): Likewise.
33377 (acos_test_upward): Likewise.
33378 (acosh_test): Likewise.
33379 (asin_test): Likewise.
33380 (asin_test_tonearest): Likewise.
33381 (asin_test_towardzero): Likewise.
33382 (asin_test_downward): Likewise.
33383 (asin_test_upward): Likewise.
33384 (asinh_test): Likewise.
33385 (atan_test): Likewise.
33386 (atanh_test): Likewise.
33387 (atan2_test): Likewise.
33388 (cabs_test): Likewise.
33389 (cacos_test): Use END_COMPLEX macro without arguments.
33390 (cacosh_test): Likewise.
33391 (carg_test): Use END macro without arguments.
33392 (casin_test): Use END_COMPLEX macro without arguments.
33393 (casinh_test): Likewise.
33394 (catan_test): Likewise.
33395 (catanh_test): Likewise.
33396 (cbrt_test): Use END macro without arguments.
33397 (ccos_test): Use END_COMPLEX macro without arguments.
33398 (ccosh_test): Likewise.
33399 (ceil_test): Use END macro without arguments.
33400 (cexp_test): Use END_COMPLEX macro without arguments.
33401 (cimag_test): Use END macro without arguments.
33402 (clog_test): Use END_COMPLEX macro without arguments.
33403 (clog10_test): Likewise.
33404 (conj_test): Likewise.
33405 (copysign_test): Use END macro without arguments.
33406 (cos_test): Likewise.
33407 (cos_test_tonearest): Likewise.
33408 (cos_test_towardzero): Likewise.
33409 (cos_test_downward): Likewise.
33410 (cos_test_upward): Likewise.
33411 (cosh_test): Likewise.
33412 (cosh_test_tonearest): Likewise.
33413 (cosh_test_towardzero): Likewise.
33414 (cosh_test_downward): Likewise.
33415 (cosh_test_upward): Likewise.
33416 (cpow_test): Use END_COMPLEX macro without arguments.
33417 (cproj_test): Likewise.
33418 (creal_test): Use END macro without arguments.
33419 (csin_test): Use END_COMPLEX macro without arguments.
33420 (csinh_test): Likewise.
33421 (csqrt_test): Likewise.
33422 (ctan_test): Likewise.
33423 (ctan_test_tonearest): Likewise.
33424 (ctan_test_towardzero): Likewise.
33425 (ctan_test_downward): Likewise.
33426 (ctan_test_upward): Likewise.
33427 (ctanh_test): Likewise.
33428 (ctanh_test_tonearest): Likewise.
33429 (ctanh_test_towardzero): Likewise.
33430 (ctanh_test_downward): Likewise.
33431 (ctanh_test_upward): Likewise.
33432 (erf_test): Use END macro without arguments.
33433 (erfc_test): Likewise.
33434 (exp_test): Likewise.
33435 (exp_test_tonearest): Likewise.
33436 (exp_test_towardzero): Likewise.
33437 (exp_test_downward): Likewise.
33438 (exp_test_upward): Likewise.
33439 (exp10_test): Likewise.
33440 (exp2_test): Likewise.
33441 (expm1_test): Likewise.
33442 (fabs_test): Likewise.
33443 (fdim_test): Likewise.
33444 (finite_test): Likewise.
33445 (floor_test): Likewise.
33446 (fma_test): Likewise.
33447 (fma_test_towardzero): Likewise.
33448 (fma_test_downward): Likewise.
33449 (fma_test_upward): Likewise.
33450 (fmax_test): Likewise.
33451 (fmin_test): Likewise.
33452 (fmod_test): Likewise.
33453 (fpclassify_test): Likewise.
33454 (frexp_test): Likewise.
33455 (gamma_test): Likewise.
33456 (hypot_test): Likewise.
33457 (ilogb_test): Likewise.
33458 (isfinite_test): Likewise.
33459 (isgreater_test): Likewise.
33460 (isgreaterequal_test): Likewise.
33461 (isinf_test): Likewise.
33462 (isless_test): Likewise.
33463 (islessequal_test): Likewise.
33464 (islessgreater_test): Likewise.
33465 (isnan_test): Likewise.
33466 (isnormal_test): Likewise.
33467 (issignaling_test): Likewise.
33468 (isunordered_test): Likewise.
33469 (j0_test): Likewise.
33470 (j1_test): Likewise.
33471 (jn_test): Likewise.
33472 (ldexp_test): Likewise.
33473 (lgamma_test): Likewise.
33474 (lrint_test): Likewise.
33475 (lrint_test_tonearest): Likewise.
33476 (lrint_test_towardzero): Likewise.
33477 (lrint_test_downward): Likewise.
33478 (lrint_test_upward): Likewise.
33479 (llrint_test): Likewise.
33480 (llrint_test_tonearest): Likewise.
33481 (llrint_test_towardzero): Likewise.
33482 (llrint_test_downward): Likewise.
33483 (llrint_test_upward): Likewise.
33484 (log_test): Likewise.
33485 (log10_test): Likewise.
33486 (log1p_test): Likewise.
33487 (log2_test): Likewise.
33488 (logb_test): Likewise.
33489 (logb_test_downward): Likewise.
33490 (lround_test): Likewise.
33491 (llround_test): Likewise.
33492 (modf_test): Likewise.
33493 (nearbyint_test): Likewise.
33494 (nextafter_test): Likewise.
33495 (nexttoward_test): Likewise.
33496 (pow_test): Likewise.
33497 (pow_test_tonearest): Likewise.
33498 (pow_test_towardzero): Likewise.
33499 (pow_test_downward): Likewise.
33500 (pow_test_upward): Likewise.
33501 (remainder_test): Likewise.
33502 (remainder_test_tonearest): Likewise.
33503 (remainder_test_towardzero): Likewise.
33504 (remainder_test_downward): Likewise.
33505 (remainder_test_upward): Likewise.
33506 (remquo_test): Likewise.
33507 (rint_test): Likewise.
33508 (rint_test_tonearest): Likewise.
33509 (rint_test_towardzero): Likewise.
33510 (rint_test_downward): Likewise.
33511 (rint_test_upward): Likewise.
33512 (round_test): Likewise.
33513 (scalb_test): Likewise.
33514 (scalbn_test): Likewise.
33515 (scalbln_test): Likewise.
33516 (signbit_test): Likewise.
33517 (sin_test): Likewise.
33518 (sin_test_tonearest): Likewise.
33519 (sin_test_towardzero): Likewise.
33520 (sin_test_downward): Likewise.
33521 (sin_test_upward): Likewise.
33522 (sincos_test): Likewise.
33523 (sinh_test): Likewise.
33524 (sinh_test_tonearest): Likewise.
33525 (sinh_test_towardzero): Likewise.
33526 (sinh_test_downward): Likewise.
33527 (sinh_test_upward): Likewise.
33528 (sqrt_test): Likewise.
33529 (tan_test): Likewise.
33530 (tan_test_tonearest): Likewise.
33531 (tan_test_towardzero): Likewise.
33532 (tan_test_downward): Likewise.
33533 (tan_test_upward): Likewise.
33534 (tanh_test): Likewise.
33535 (tgamma_test): Likewise.
33536 (trunc_test): Likewise.
33537 (y0_test): Likewise.
33538 (y1_test): Likewise.
33539 (yn_test): Likewise.
33540 (significand_test): Likewise.
33542 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
33545 * libio/genops.c (_IO_no_init): Initialize wide struct info.
33547 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
33550 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33551 __ppc_mdoio and __ppc_mdoom.
33552 * manual/platform.texi: Document new functions __ppc_yield,
33553 __ppc_mdoio and __ppc_mdoom.
33555 2013-05-22 Carlos O'Donell <carlos@redhat.com>
33557 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33558 (main): Mention "tls" pseudo-hwcap is legacy.
33559 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33561 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33563 * math/gen-libm-test.pl (parse_args): Output only string of
33564 arguments as text for test name, not full call or descriptions of
33565 tests for extra outputs.
33566 (generate_testfile): Do not pass function name to parse_args.
33567 Generate this_func variable from START.
33568 * math/libm-test.inc (struct test_f_f_data): Rename test_name
33570 (struct test_ff_f_data): Likewise.
33571 (test_ff_f_data_nexttoward): Likewise.
33572 (struct test_fi_f_data): Likewise.
33573 (struct test_fl_f_data): Likewise.
33574 (struct test_if_f_data): Likewise.
33575 (struct test_fff_f_data): Likewise.
33576 (struct test_c_f_data): Likewise.
33577 (struct test_f_f1_data): Likewise. Remove field extra_name.
33578 (struct test_fF_f1_data): Likewise.
33579 (struct test_ffI_f1_data): Likewise.
33580 (struct test_c_c_data): Rename test_name field to arg_str.
33581 (struct test_cc_c_data): Likewise.
33582 (struct test_f_i_data): Likewise.
33583 (struct test_ff_i_data): Likewise.
33584 (struct test_f_l_data): Likewise.
33585 (struct test_f_L_data): Likewise.
33586 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
33588 (COMMON_TEST_SETUP): New macro.
33589 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33590 (COMMON_TEST_CLEANUP): Likewise.
33591 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33592 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
33594 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33595 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
33597 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33598 (RUN_TEST_fff_f): Take argument string. Call new setup and
33600 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33601 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
33603 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33604 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
33606 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33607 (RUN_TEST_fF_f1): Take argument string. Call new setup and
33609 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33610 (RUN_TEST_fI_f1): Take argument string. Call new setup and
33612 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33613 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
33615 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33616 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
33618 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33619 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
33621 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33622 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
33624 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33625 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
33627 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33628 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
33630 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33631 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
33633 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33634 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
33636 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33637 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
33639 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33640 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
33642 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33643 (RUN_TEST_fFF_11): Take argument string. Call new setup and
33645 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33647 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
33649 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33650 to _sifields.sigfault.
33651 (si_addr_lsb): Define new macro.
33652 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33656 2013-05-03 Carlos O'Donell <carlos at redhat.com>
33659 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33661 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33663 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33664 loading the domain.
33666 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33668 * math/gen-libm-test.pl (parse_args): Do not include expected
33669 result in test name.
33670 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33672 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33673 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33674 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33677 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33679 * benchtests/Makefile: Sort function entries.
33681 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33682 tanh, asinh, acosh, atanh.
33683 * benchtests/acos-inputs: New file.
33684 * benchtests/acosh-inputs: New file.
33685 * benchtests/asin-inputs: New file.
33686 * benchtests/asinh-inputs: New file.
33687 * benchtests/atanh-inputs: New file.
33688 * benchtests/cosh-inputs: New file.
33689 * benchtests/log-inputs: New file.
33690 * benchtests/sinh-inputs: New file.
33691 * benchtests/tanh-inputs: New file.
33693 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
33696 * posix/tst-getaddrinfo4.c: New test.
33697 * posix/Makefile (tests): Add it.
33699 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33702 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33703 when no services were used.
33704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33705 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33707 2013-05-21 Andreas Schwab <schwab@suse.de>
33710 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33711 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33713 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33714 redundant variable declarations and reallocation of buffer when
33715 parsing as IPv6 address. Always set NSS status when called from
33716 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
33717 buffer too small. Correct computation of needed size.
33718 * nss/Makefile (tests): Add test-digits-dots.
33719 * nss/test-digits-dots.c: New test.
33721 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33723 * benchtests/Makefile: Remove instructions for adding
33725 * benchtests/README: New file to explain how to execute and
33726 enhance the benchmark tests.
33728 2013-05-21 Andreas Schwab <schwab@suse.de>
33731 * setjmp/Makefile (tests): Add tst-sigsetjmp.
33732 * setjmp/tst-sigsetjmp.c: New test.
33734 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33736 * sysdeps/x86_64/memset.S (memset): New implementation.
33737 (__bzero): Likewise.
33738 (__memset_tail): New function.
33740 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33742 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33743 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33744 __memcpy_sse2_unaligned ifunc selection.
33745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33746 Add memcpy-sse2-unaligned.S.
33747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33748 Add: __memcpy_sse2_unaligned.
33750 2013-05-19 Joseph Myers <joseph@codesourcery.com>
33753 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33754 math_force_eval before restoring floating-point envrionment.
33755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33758 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33760 (__nearbyintl): Use math_force_eval before restoring
33761 floating-point environment.
33762 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33764 * math/gen-libm-test.pl (special_functions): Remove.
33765 (parse_args): Don't handle TEST_extra. Handle functions with no
33767 * math/libm-test.inc (struct test_sincos_data): Replace with
33768 struct test_fFF_11_data.
33769 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33770 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33771 (sincos_test_data): Change element type to struct
33772 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
33773 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33774 RUN_TEST_LOOP_sincos.
33775 * math/README.libm-test: Don't mention special handling of
33776 individual functions.
33777 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33779 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33780 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33781 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33784 * math/gen-libm-test.pl (get_variable): Remove function.
33785 (parse_args): Don't show pointer parameters to call in test
33786 names. Use "extra output N" in test names for extra outputs
33787 rather than naming variables.
33789 2013-05-18 Joseph Myers <joseph@codesourcery.com>
33792 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33793 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33794 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33796 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33798 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33801 * math/gen-libm-test.pl (@tests): Remove variable.
33802 ($count): Likewise.
33803 (new_test): Remove function.
33804 (show_exceptions): New function.
33805 (special_functions): Use show_exceptions instead of new_test.
33806 (parse_args): Likewise.
33807 (generate_testfile): Pass only function name in generated call to
33808 print_max_error or print_complex_max_error.
33809 (get_ulps): Do not handle complex tests specially.
33810 (output_test): Rename to ...
33811 (get_all_ulps_for_test): ... this. Return a string rather than
33812 printing to a file. Require ulps to be present.
33813 (output_ulps): Generate arrays rather than #defines.
33814 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33815 (struct ulp_data): New type.
33816 (BUILD_COMPLEX_ULP): Remove macro.
33817 (compare_ulp_data): New function.
33818 (find_ulps): Likewise.
33819 (find_test_ulps): Likewise.
33820 (find_function_ulps): Likewise.
33821 (find_complex_function_ulps): Likewise.
33822 (print_max_error): Determine allowed ulps using
33823 find_function_ulps.
33824 (print_complex_max_error): Determine allowed ulps using
33825 find_complex_function_ulps.
33826 (check_float_internal): Determine max ulps using find_test_ulps.
33827 (check_float): Do not take max_ulp parameter. Update call to
33828 check_float_internal.
33829 (check_complex): Likewise.
33830 (check_int): Do not take max_ulp parameter.
33831 (check_long): Likewise.
33832 (check_bool): Likewise.
33833 (check_longlong): Likewise.
33834 (struct test_f_f_data): Remove max_ulp field.
33835 (struct test_ff_f_data): Likewise.
33836 (struct test_ff_f_data_nexttoward): Likewise.
33837 (struct test_fi_f_data): Likewise.
33838 (struct test_fl_f_data): Likewise.
33839 (struct test_if_f_data): Likewise.
33840 (struct test_fff_f_data): Likewise.
33841 (struct test_c_f_data): Likewise.
33842 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33843 (struct test_fF_f1_data): Likewise.
33844 (struct test_ffI_f1_data): Likewise.
33845 (struct test_c_c_data): Remove max_ulp field.
33846 (struct test_cc_c_data): Likewise.
33847 (struct test_f_i_data): Likewise.
33848 (struct test_ff_i_data): Likewise.
33849 (struct test_f_l_data): Likewise.
33850 (struct test_f_L_data): Likewise.
33851 (struct test_sincos_data): Likewise.
33852 (RUN_TEST_f_f): Do not handle ulps.
33853 (RUN_TEST_LOOP_f_f): Likewise.
33854 (RUN_TEST_2_f): Likewise.
33855 (RUN_TEST_LOOP_2_f): Likewise.
33856 (RUN_TEST_fff_f): Likewise.
33857 (RUN_TEST_LOOP_fff_f): Likewise.
33858 (RUN_TEST_c_f): Likewise.
33859 (RUN_TEST_LOOP_c_f): Likewise.
33860 (RUN_TEST_f_f1): Likewise.
33861 (RUN_TEST_LOOP_f_f1): Likewise.
33862 (RUN_TEST_fF_f1): Likewise.
33863 (RUN_TEST_LOOP_fF_f1): Likewise.
33864 (RUN_TEST_fI_f1): Likewise.
33865 (RUN_TEST_LOOP_fI_f1): Likewise.
33866 (RUN_TEST_ffI_f1): Likewise.
33867 (RUN_TEST_LOOP_ffI_f1): Likewise.
33868 (RUN_TEST_c_c): Likewise.
33869 (RUN_TEST_LOOP_c_c): Likewise.
33870 (RUN_TEST_cc_c): Likewise.
33871 (RUN_TEST_LOOP_cc_c): Likewise.
33872 (RUN_TEST_f_i): Likewise.
33873 (RUN_TEST_LOOP_f_i): Likewise.
33874 (RUN_TEST_f_i_tg): Likewise.
33875 (RUN_TEST_LOOP_f_i_tg): Likewise.
33876 (RUN_TEST_ff_i_tg): Likewise.
33877 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33878 (RUN_TEST_f_b): Likewise.
33879 (RUN_TEST_LOOP_f_b): Likewise.
33880 (RUN_TEST_f_b_tg): Likewise.
33881 (RUN_TEST_LOOP_f_b_tg): Likewise.
33882 (RUN_TEST_f_l): Likewise.
33883 (RUN_TEST_LOOP_f_l): Likewise.
33884 (RUN_TEST_f_L): Likewise.
33885 (RUN_TEST_LOOP_f_L): Likewise.
33886 (RUN_TEST_sincos): Likewise.
33887 (RUN_TEST_LOOP_sincos): Likewise.
33889 2013-05-17 Joseph Myers <joseph@codesourcery.com>
33893 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33894 main case of finite arguments, set rounding mode to FE_TONEAREST
33895 and discard exceptions.
33896 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33898 (remainder_tonearest_test_data): New variable.
33899 (remainder_test_tonearest): New function.
33900 (remainder_towardzero_test_data): New variable.
33901 (remainder_test_towardzero): New function.
33902 (remainder_downward_test_data): New variable.
33903 (remainder_test_downward): New function.
33904 (remainder_upward_test_data): New variable.
33905 (remainder_test_upward): New function.
33906 (main): Call the new test functions.
33908 * math/libm-test.inc (struct test_f_f1_data): Remove field
33910 (struct test_fF_f1_data): Likewise.
33911 (struct test_ffI_f1_data): Likewise.
33912 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
33913 based on value of EXTRA_EXPECTED.
33914 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33915 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
33916 EXTRA_VAR based on value of EXTRA_EXPECTED.
33917 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33918 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
33919 EXTRA_VAR based on value of EXTRA_EXPECTED.
33920 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33921 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
33922 EXTRA_VAR based on value of EXTRA_EXPECTED.
33923 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33924 * math/gen-libm-test.pl (parse_args): Don't output initializers
33925 for extra output values.
33927 * math/libm-test.inc (check_int): Expect result to be exactly
33928 equal to expected value and do not handle ulps.
33929 (check_long): Likewise.
33930 (check_longlong): Likewise.
33932 * math/libm-test.inc (ceil_test_data): Test for "inexact"
33934 (cimag_test_data): Likewise.
33935 (conj_test_data): Likewise.
33936 (copysign_test_data): Likewise.
33937 (cproj_test_data): Likewise.
33938 (creal_test_data): Likewise.
33939 (fabs_test_data): Likewise.
33940 (fdim_test_data): Likewise.
33941 (finite_test_data): Likewise.
33942 (floor_test_data): Likewise.
33943 (fmax_test_data): Likewise.
33944 (fmin_test_data): Likewise.
33945 (fmod_test_data): Likewise.
33946 (fpclassify_test_data): Likewise.
33947 (frexp_test_data): Likewise.
33948 (ilogb_test_data): Likewise.
33949 (isfinite_test_data): Likewise.
33950 (isgreater_test_data): Likewise.
33951 (isgreaterequal_test_data): Likewise.
33952 (isinf_test_data): Likewise.
33953 (isless_test_data): Likewise.
33954 (islessequal_test_data): Likewise.
33955 (islessgreater_test_data): Likewise.
33956 (isnan_test_data): Likewise.
33957 (isnormal_test_data): Likewise.
33958 (issignaling_test_data): Likewise.
33959 (isunordered_test_data): Likewise.
33960 (ldexp_test_data): Likewise.
33961 (lrint_test_data): Likewise.
33962 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33963 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33964 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33965 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33966 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33967 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33969 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33970 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33971 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33972 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33974 (lrint_downward_test_data): Test for "inexact" exceptions.
33975 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33976 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33977 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33979 (lrint_upward_test_data): Test for "inexact" exceptions.
33980 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33982 (llrint_test_data): Test for "inexact" exceptions.
33983 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33984 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33985 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33986 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33987 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33988 (llrint_downward_test_data): Test for "inexact" exceptions.
33989 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33990 (llrint_upward_test_data): Test for "inexact" exceptions.
33991 (logb_test_data): Likewise.
33992 (logb_downward_test_data): Likewise.
33993 (nextafter_test_data): Likewise.
33994 (nexttoward_test_data): Likewise.
33995 (remainder_test_data): Likewise.
33996 (remquo_test_data): Likewise.
33997 (scalbn_test_data): Likewise.
33998 (scalbln_test_data): Likewise.
33999 (signbit_test_data): Likewise.
34000 (sqrt_test_data): Likewise.
34001 (significand_test_data): Likewise.
34003 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34006 * benchtests/bench-modf.c (struct args): Mark arg0 as
34008 * scripts/bench.pl: Mark members of struct args as volatile.
34010 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34013 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34014 negative infinity on POWER6 or lower.
34015 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34017 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
34020 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34021 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34022 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34023 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34024 (_FP_SETQNAN): New macro.
34025 (_FP_SETQNAN_SEMIRAW): Likewise.
34026 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34027 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34028 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34029 (FP_EXTEND): Use _FP_FRAC_SNANP.
34030 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34031 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34033 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34038 2013-05-16 Joseph Myers <joseph@codesourcery.com>
34040 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34041 with DIVIDE_BY_ZERO_EXCEPTION.
34042 (gamma_test_data): Likewise.
34043 (lgamma_test_data): Likewise.
34044 (log_test_data): Likewise.
34045 (log10_test_data): Likewise.
34046 (log2_test_data): Likewise.
34047 (tgamma_test_data): Likewise.
34049 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34050 (acos_test_tonearest): Likewise.
34051 (acos_test_towardzero): Likewise.
34052 (acos_test_downward): Likewise.
34053 (acos_test_upward): Likewise.
34054 (acosh_test): Likewise.
34055 (asin_test): Likewise.
34056 (asin_test_tonearest): Likewise.
34057 (asin_test_towardzero): Likewise.
34058 (asin_test_downward): Likewise.
34059 (asin_test_upward): Likewise.
34060 (asinh_test): Likewise.
34061 (atan_test): Likewise.
34062 (atanh_test): Likewise.
34063 (atan2_test): Likewise.
34064 (cabs_test): Likewise.
34065 (cacos_test): Likewise.
34066 (cacosh_test): Likewise.
34067 (casin_test): Likewise.
34068 (casinh_test): Likewise.
34069 (catan_test): Likewise.
34070 (catanh_test): Likewise.
34071 (cbrt_test): Likewise.
34072 (ccos_test): Likewise.
34073 (ccosh_test): Likewise.
34074 (cexp_test): Likewise.
34075 (clog_test): Likewise.
34076 (clog10_test): Likewise.
34077 (cos_test): Likewise.
34078 (cos_test_tonearest): Likewise.
34079 (cos_test_towardzero): Likewise.
34080 (cos_test_downward): Likewise.
34081 (cos_test_upward): Likewise.
34082 (cosh_test): Likewise.
34083 (cosh_test_tonearest): Likewise.
34084 (cosh_test_towardzero): Likewise.
34085 (cosh_test_downward): Likewise.
34086 (cosh_test_upward): Likewise.
34087 (cpow_test): Likewise.
34088 (csin_test): Likewise.
34089 (csinh_test): Likewise.
34090 (csqrt_test): Likewise.
34091 (ctan_test): Likewise.
34092 (ctan_test_tonearest): Likewise.
34093 (ctan_test_towardzero): Likewise.
34094 (ctan_test_downward): Likewise.
34095 (ctan_test_upward): Likewise.
34096 (ctanh_test): Likewise.
34097 (ctanh_test_tonearest): Likewise.
34098 (ctanh_test_towardzero): Likewise.
34099 (ctanh_test_downward): Likewise.
34100 (ctanh_test_upward): Likewise.
34101 (erf_test): Likewise.
34102 (erfc_test): Likewise.
34103 (exp_test): Likewise.
34104 (exp_test_tonearest): Likewise.
34105 (exp_test_towardzero): Likewise.
34106 (exp_test_downward): Likewise.
34107 (exp_test_upward): Likewise.
34108 (exp10_test): Likewise.
34109 (exp2_test): Likewise.
34110 (expm1_test): Likewise.
34111 (fmod_test): Likewise.
34112 (gamma_test): Likewise.
34113 (hypot_test): Likewise.
34114 (j0_test): Likewise.
34115 (j1_test): Likewise.
34116 (jn_test): Likewise.
34117 (lgamma_test): Likewise.
34118 (log_test): Likewise.
34119 (log10_test): Likewise.
34120 (log1p_test): Likewise.
34121 (log2_test): Likewise.
34122 (logb_test_downward): Likewise.
34123 (pow_test): Likewise.
34124 (pow_test_tonearest): Likewise.
34125 (pow_test_towardzero): Likewise.
34126 (pow_test_downward): Likewise.
34127 (pow_test_upward): Likewise.
34128 (remainder_test): Likewise.
34129 (remquo_test): Likewise.
34130 (sin_test): Likewise.
34131 (sin_test_tonearest): Likewise.
34132 (sin_test_towardzero): Likewise.
34133 (sin_test_downward): Likewise.
34134 (sin_test_upward): Likewise.
34135 (sincos_test): Likewise.
34136 (sinh_test): Likewise.
34137 (sinh_test_tonearest): Likewise.
34138 (sinh_test_towardzero): Likewise.
34139 (sinh_test_downward): Likewise.
34140 (sinh_test_upward): Likewise.
34141 (sqrt_test): Likewise.
34142 (tan_test): Likewise.
34143 (tan_test_tonearest): Likewise.
34144 (tan_test_towardzero): Likewise.
34145 (tan_test_downward): Likewise.
34146 (tan_test_upward): Likewise.
34147 (tanh_test): Likewise.
34148 (tgamma_test): Likewise.
34149 (y0_test): Likewise.
34150 (y1_test): Likewise.
34151 (yn_test): Likewise.
34153 * math/gen-libm-test.pl (adjust_arg): Remove function.
34154 (special_function): Remove argument $in_func. Only handle
34155 generating output for tables of tests, not inside functions.
34156 (parse_args): Likewise.
34157 (generate_testfile): Remove variable $in_func. Update call to
34159 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34160 (MINUS_ZERO_INIT): Rename macro to minus_zero.
34161 (PLUS_INFTY_INIT): Rename macro to plus_infty.
34162 (MINUS_INFTY_INIT): Rename macro to minus_infty.
34163 (QNAN_VALUE_INIT): Rename macro to qnan_value.
34164 (MAX_VALUE_INIT): Rename macro to max_value.
34165 (MIN_VALUE_INIT): Rename macro to min_value.
34166 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34167 (plus_zero): Remove variable.
34168 (minus_zero): Likewise.
34169 (plus_infty): Likewise.
34170 (minus_infty): Likewise.
34171 (qnan_value): Likewise.
34172 (max_value): Likewise.
34173 (min_value): Likewise.
34174 (min_subnorm_value): Likewise.
34176 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34178 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34179 uint64_t or uint32_t usage.
34180 * crypt/sha256-block.c: Likewise.
34181 * crypt/sha256-crypt.c: Likewise.
34182 * crypt/sha256.c: Likewise.
34183 * crypt/sha512-block.c: Likewise.
34184 * crypt/sha512-crypt.c: Likewise.
34185 * crypt/sha512.c: Likewise.
34186 * debug/backtrace-tst.c: Likewise.
34187 * debug/pcprofiledump.c: Likewise.
34188 * elf/cache.c: Likewise.
34189 * elf/dl-cache.c: Likewise.
34190 * elf/dl-misc.c: Likewise.
34191 * elf/dl-profile.c: Likewise.
34192 * elf/dl-support.c: Likewise.
34193 * elf/ldconfig.c: Likewise.
34194 * elf/sprof.c: Likewise.
34195 * iconv/dummy-repertoire.c: Likewise.
34196 * iconv/iconv_charmap.c: Likewise.
34197 * iconv/skeleton.c: Likewise.
34198 * iconvdata/8bit-generic.c: Likewise.
34199 * iconvdata/cp737.h: Likewise.
34200 * iconvdata/cp775.h: Likewise.
34201 * iconvdata/ibm1008.h: Likewise.
34202 * iconvdata/ibm1025.h: Likewise.
34203 * iconvdata/ibm1046.h: Likewise.
34204 * iconvdata/ibm1097.h: Likewise.
34205 * iconvdata/ibm1112.h: Likewise.
34206 * iconvdata/ibm1122.h: Likewise.
34207 * iconvdata/ibm1123.h: Likewise.
34208 * iconvdata/ibm1124.h: Likewise.
34209 * iconvdata/ibm1129.h: Likewise.
34210 * iconvdata/ibm1130.h: Likewise.
34211 * iconvdata/ibm1132.h: Likewise.
34212 * iconvdata/ibm1133.h: Likewise.
34213 * iconvdata/ibm1137.h: Likewise.
34214 * iconvdata/ibm1140.h: Likewise.
34215 * iconvdata/ibm1141.h: Likewise.
34216 * iconvdata/ibm1142.h: Likewise.
34217 * iconvdata/ibm1143.h: Likewise.
34218 * iconvdata/ibm1144.h: Likewise.
34219 * iconvdata/ibm1145.h: Likewise.
34220 * iconvdata/ibm1146.h: Likewise.
34221 * iconvdata/ibm1147.h: Likewise.
34222 * iconvdata/ibm1148.h: Likewise.
34223 * iconvdata/ibm1149.h: Likewise.
34224 * iconvdata/ibm1153.h: Likewise.
34225 * iconvdata/ibm1154.h: Likewise.
34226 * iconvdata/ibm1155.h: Likewise.
34227 * iconvdata/ibm1156.h: Likewise.
34228 * iconvdata/ibm1157.h: Likewise.
34229 * iconvdata/ibm1158.h: Likewise.
34230 * iconvdata/ibm1160.h: Likewise.
34231 * iconvdata/ibm1161.h: Likewise.
34232 * iconvdata/ibm1162.h: Likewise.
34233 * iconvdata/ibm1163.h: Likewise.
34234 * iconvdata/ibm1164.h: Likewise.
34235 * iconvdata/ibm1166.h: Likewise.
34236 * iconvdata/ibm1167.h: Likewise.
34237 * iconvdata/ibm12712.h: Likewise.
34238 * iconvdata/ibm1390.h: Likewise.
34239 * iconvdata/ibm1399.h: Likewise.
34240 * iconvdata/ibm16804.h: Likewise.
34241 * iconvdata/ibm4517.h: Likewise.
34242 * iconvdata/ibm4899.h: Likewise.
34243 * iconvdata/ibm4909.h: Likewise.
34244 * iconvdata/ibm4971.h: Likewise.
34245 * iconvdata/ibm5347.h: Likewise.
34246 * iconvdata/ibm803.h: Likewise.
34247 * iconvdata/ibm856.h: Likewise.
34248 * iconvdata/ibm901.h: Likewise.
34249 * iconvdata/ibm902.h: Likewise.
34250 * iconvdata/ibm9030.h: Likewise.
34251 * iconvdata/ibm9066.h: Likewise.
34252 * iconvdata/ibm921.h: Likewise.
34253 * iconvdata/ibm922.h: Likewise.
34254 * iconvdata/ibm9448.h: Likewise.
34255 * iconvdata/isiri-3342.h: Likewise.
34256 * iconvdata/jis0201.h: Likewise.
34257 * include/link.h: Likewise.
34258 * include/netdb.h: Likewise.
34259 * inet/check_native.c: Likewise.
34260 * inet/check_pf.c: Likewise.
34261 * inet/getipv4sourcefilter.c: Likewise.
34262 * inet/getnameinfo.c: Likewise.
34263 * inet/getsourcefilter.c: Likewise.
34264 * inet/htonl.c: Likewise.
34265 * inet/setipv4sourcefilter.c: Likewise.
34266 * inet/setsourcefilter.c: Likewise.
34267 * inet/test-inet6_opt.c: Likewise.
34268 * inet/tst-network.c: Likewise.
34269 * locale/C-collate.c: Likewise.
34270 * locale/C-ctype.c: Likewise.
34271 * locale/C-time.c: Likewise.
34272 * locale/C-translit.h: Likewise.
34273 * locale/loadarchive.c: Likewise.
34274 * locale/programs/3level.h: Likewise.
34275 * locale/programs/charmap.c: Likewise.
34276 * locale/programs/charmap.h: Likewise.
34277 * locale/programs/ld-address.c: Likewise.
34278 * locale/programs/ld-collate.c: Likewise.
34279 * locale/programs/ld-ctype.c: Likewise.
34280 * locale/programs/ld-identification.c: Likewise.
34281 * locale/programs/ld-measurement.c: Likewise.
34282 * locale/programs/ld-messages.c: Likewise.
34283 * locale/programs/ld-monetary.c: Likewise.
34284 * locale/programs/ld-name.c: Likewise.
34285 * locale/programs/ld-numeric.c: Likewise.
34286 * locale/programs/ld-paper.c: Likewise.
34287 * locale/programs/ld-telephone.c: Likewise.
34288 * locale/programs/ld-time.c: Likewise.
34289 * locale/programs/linereader.c: Likewise.
34290 * locale/programs/locale.c: Likewise.
34291 * locale/programs/locarchive.c: Likewise.
34292 * locale/programs/locfile.h: Likewise.
34293 * locale/programs/repertoire.c: Likewise.
34294 * locale/programs/simple-hash.c: Likewise.
34295 * locale/programs/simple-hash.h: Likewise.
34296 * malloc/memusage.c: Likewise.
34297 * malloc/memusagestat.c: Likewise.
34298 * nis/nis_defaults.c: Likewise.
34299 * nis/nis_hash.c: Likewise.
34300 * nis/nis_print.c: Likewise.
34301 * nis/nis_xdr.c: Likewise.
34302 * nscd/connections.c: Likewise.
34303 * nscd/hstcache.c: Likewise.
34304 * nscd/nscd_gethst_r.c: Likewise.
34305 * nscd/nscd_getserv_r.c: Likewise.
34306 * nscd/nscd_helper.c: Likewise.
34307 * nscd/servicescache.c: Likewise.
34308 * nss/makedb.c: Likewise.
34309 * nss/nss_db/db-XXX.c: Likewise.
34310 * nss/nss_db/db-initgroups.c: Likewise.
34311 * nss/nss_db/db-netgrp.c: Likewise.
34312 * nss/nss_files/files-network.c: Likewise.
34313 * nss/nss_files/files-parse.c: Likewise.
34314 * posix/bug-regex5.c: Likewise.
34315 * posix/fnmatch_loop.c: Likewise.
34316 * posix/regcomp.c: Likewise.
34317 * posix/regexec.c: Likewise.
34318 * posix/tst-rfc3484-2.c: Likewise.
34319 * posix/tst-rfc3484-3.c: Likewise.
34320 * posix/tst-rfc3484.c: Likewise.
34321 * resolv/nss_dns/dns-canon.c: Likewise.
34322 * resolv/nss_dns/dns-network.c: Likewise.
34323 * resolv/res_init.c: Likewise.
34324 * resolv/res_mkquery.c: Likewise.
34325 * resolv/tst-aton.c: Likewise.
34326 * stdlib/cxa_atexit.c: Likewise.
34327 * stdlib/cxa_finalize.c: Likewise.
34328 * stdlib/gen-fpioconst.c: Likewise.
34329 * stdlib/strtol_l.c: Likewise.
34330 * string/tst-endian.c: Likewise.
34331 * sunrpc/auth_des.c: Likewise.
34332 * sunrpc/clnt_udp.c: Likewise.
34333 * sunrpc/rtime.c: Likewise.
34334 * sunrpc/svcauth_des.c: Likewise.
34335 * sunrpc/xdr.c: Likewise.
34336 * sunrpc/xdr_intXX_t.c: Likewise.
34337 * sunrpc/xdr_rec.c: Likewise.
34338 * sysdeps/generic/ldconfig.h: Likewise.
34339 * sysdeps/generic/ldsodefs.h: Likewise.
34340 * sysdeps/generic/memusage.h: Likewise.
34341 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34351 * sysdeps/posix/getaddrinfo.c: Likewise.
34352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34354 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34355 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34356 * sysdeps/powerpc/test-gettimebase.c: Likewise.
34357 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34358 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34359 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34360 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34361 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34362 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34363 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34364 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34365 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34366 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34367 * sysdeps/x86_64/dl-tls.h: Likewise.
34368 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34369 * time/alt_digit.c: Likewise.
34370 * time/era.c: Likewise.
34371 * wcsmbs/tst-c16c32-1.c: Likewise.
34373 2013-05-16 Joseph Myers <joseph@codesourcery.com>
34375 * math/libm-test.inc (struct test_sincos_data): New type.
34376 (RUN_TEST_LOOP_sincos): New macro.
34377 (sincos_test_data): New variable.
34378 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34380 2013-05-16 Richard Henderson <rth@redhat.com>
34382 * math/atest-exp2.c (LIMB64): New macro.
34383 (CONSTSZ): New macro.
34384 (mp_exp1, mp_exp_m1, mp_log2): New variables.
34386 (print_mpn_fp): ... to function scope.
34387 (read_mpn_hex): Remove.
34388 (get_log2): Remove.
34389 (exp2_mpn): Use mp_log2.
34390 (main): Use mp_exp1.
34392 2013-05-16 Joseph Myers <joseph@codesourcery.com>
34394 * math/libm-test.inc: Remove comment about not testing "inexact"
34396 (INEXACT_EXCEPTION): New macro.
34397 (NO_INEXACT_EXCEPTION): Likewise.
34398 (INVALID_EXCEPTION_OK): Update value.
34399 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34400 (OVERFLOW_EXCEPTION_OK): Likewise.
34401 (UNDERFLOW_EXCEPTION_OK): Likewise.
34402 (IGNORE_ZERO_INF_SIGN): Likewise.
34403 (ERRNO_UNCHANGED): Likewise.
34404 (ERRNO_EDOM): Likewise.
34405 (ERRNO_ERANGE): Likewise.
34406 (test_exceptions): Handle testing "inexact" exceptions.
34407 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34408 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34409 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34410 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34412 (rint_towardzero_test_data): Likewise.
34413 (rint_downward_test_data): Likewise.
34414 (rint_upward_test_data): Likewise.
34416 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34417 with OVERFLOW_EXCEPTION.
34418 (exp10_test_data): Likewise.
34419 (exp2_test_data): Likewise.
34420 (expm1_test_data): Likewise.
34421 (lgamma_test_data): Likewise.
34422 (pow_test_data): Likewise.
34423 (tgamma_test_data): Likewise.
34424 (yn_test_data): Remove duplicate test of overflow.
34426 * math/libm-test.inc (struct test_cc_c_data): New type.
34427 (RUN_TEST_LOOP_cc_c): New macro.
34428 (cpow_test_data): New variable.
34429 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34431 * math/libm-test.inc (struct test_f_L_data): New type.
34432 (RUN_TEST_LOOP_f_L): New macro.
34433 (llrint_test_data): New variable.
34434 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34435 (llrint_tonearest_test_data): New variable.
34436 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34437 (llrint_towardzero_test_data): New variable.
34438 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34439 (llrint_downward_test_data): New variable.
34440 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34441 (llrint_upward_test_data): New variable.
34442 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34443 (llround_test_data): New variable.
34444 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34446 2013-05-13 Peter Collingbourne <pcc@google.com>
34448 * math/atest-exp2.c (get_log2): Remove const attribute.
34450 2013-05-15 Joseph Myers <joseph@codesourcery.com>
34452 * math/libm-test.inc (struct test_f_l_data): New type.
34453 (RUN_TEST_LOOP_f_l): New macro.
34454 (lrint_test_data): New variable.
34455 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34456 (lrint_tonearest_test_data): New variable.
34457 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34458 (lrint_towardzero_test_data): New variable.
34459 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34460 (lrint_downward_test_data): New variable.
34461 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34462 (lrint_upward_test_data): New variable.
34463 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34464 (lround_test_data): New variable.
34465 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34467 2013-05-15 Peter Collingbourne <pcc@google.com>
34469 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34470 (EXTRACT_WORDS64) Use where appropriate.
34471 (INSERT_WORDS64) Likewise.
34473 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34474 constraints with x constraints.
34475 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34477 * malloc/obstack.c (_obstack_compat): Add initializer.
34479 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
34481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34482 si_trapno and add si_addr_lsb to _sifields.sigfault.
34483 (si_trapno): Remove macro.
34484 (si_addr_lsb): Define new macro.
34485 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34487 2013-05-15 Joseph Myers <joseph@codesourcery.com>
34489 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34490 instead of TEST_f_l.
34491 (llrint_test_tonearest): Likewise.
34492 (llrint_test_towardzero): Likewise.
34493 (llrint_test_downward): Likewise.
34494 (llrint_test_upward): Likewise.
34495 (llround_test): Likewise.
34497 * math/libm-test.inc (struct test_f_i_data): Add comment.
34498 (RUN_TEST_LOOP_f_b): New macro.
34499 (RUN_TEST_LOOP_f_b_tg): Likewise.
34500 (finite_test_data): New variable.
34501 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34502 (isfinite_test_data): New variable.
34503 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34504 (isinf_test_data): New variable.
34505 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34506 (isnan_test_data): New variable.
34507 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34508 (isnormal_test_data): New variable.
34509 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34510 (issignaling_test_data): New variable.
34511 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34512 (signbit_test_data): New variable.
34513 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34515 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34516 with INVALID_EXCEPTION.
34517 (acosh_test_data): Likewise.
34518 (asin_test_data): Likewise.
34519 (atanh_test_data): Likewise.
34520 (fmod_test_data): Likewise.
34521 (log_test_data): Likewise.
34522 (log10_test_data): Likewise.
34523 (log2_test_data): Likewise.
34524 (pow_test_data): Likewise.
34525 (sqrt_test_data): Likewise.
34526 (y0_test_data): Likewise.
34527 (y1_test_data): Likewise.
34528 (yn_test_data): Likewise.
34530 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34533 * math/libm-test.inc (struct test_ff_i_data): New type.
34534 (RUN_TEST_LOOP_ff_i_tg): New macro.
34535 (isgreater_test_data): New variable.
34536 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34537 (isgreaterequal_test_data): New variable.
34538 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34539 (isless_test_data): New variable.
34540 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34541 (islessequal_test_data): New variable.
34542 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34543 (islessgreater_test_data): New variable.
34544 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34545 (isunordered_test_data): New variable.
34546 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34548 2013-05-14 David S. Miller <davem@davemloft.net>
34550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34552 2013-05-14 Joseph Myers <joseph@codesourcery.com>
34554 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34556 * math/libm-test.inc (struct test_fF_f1_data): Change type of
34558 (struct test_f_i_data): Change type of max_ulp to int.
34560 * math/libm-test.inc (test_ffI_f1_data): New type.
34561 (RUN_TEST_LOOP_ffI_f1): New macro.
34562 (remquo_test_data): New variable.
34563 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34565 * setjmp/tst-setjmp-fp.c: New file.
34566 * setjmp/Makefile (tests): Add tst-setjmp-fp.
34567 (link-libm): New variable.
34568 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34570 * math/libm-test.inc (struct test_f_i_data): New type.
34571 (RUN_TEST_LOOP_f_i): New macro.
34572 (RUN_TEST_LOOP_f_i_tg): Likewise.
34573 (fpclassify_test_data): New variable.
34574 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34575 (ilogb_test_data): New variable.
34576 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34578 * math/libm-test.inc (scalbln_test): Correct function name in END
34581 * math/libm-test.inc (struct test_f_f1_data): Add comment.
34582 (RUN_TEST_LOOP_fI_f1): New macro.
34583 (frexp_test_data): New variable.
34584 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34586 * math/libm-test.inc (struct test_fF_f1_data): New type.
34587 (RUN_TEST_LOOP_fF_f1): New macro.
34588 (modf_test_data): New variable.
34589 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34591 * math/libm-test.inc (struct test_f_f1_data): New type.
34592 (RUN_TEST_LOOP_f_f1): New macro.
34593 (gamma_test_data): New variable.
34594 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34595 (lgamma_test_data): New variable.
34596 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34598 2013-05-13 Carlos O'Donell <carlos@redhat.com>
34600 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34601 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34602 (main): Comment "tls" pseudo-hwcap.
34604 2013-05-13 Joseph Myers <joseph@codesourcery.com>
34606 * math/libm-test.inc (struct test_fl_f_data): New type.
34607 (RUN_TEST_LOOP_fl_f): New variable.
34608 (scalbln_test_data): New variable.
34609 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34611 * math/libm-test.inc (struct test_fi_f_data): New type.
34612 (RUN_TEST_LOOP_fi_f): New macro.
34613 (ldexp_test_data): New variable.
34614 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34615 (scalbn_test_data): New variable.
34616 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34618 * math/libm-test.inc (struct test_c_f_data): New type.
34619 (RUN_TEST_LOOP_c_f): New macro.
34620 (cabs_test_data): New variable.
34621 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34622 (carg_test_data): New variable.
34623 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34624 (cimag_test_data): New variable.
34625 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34626 (creal_test_data): New variable.
34627 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34629 * math/libm-test.inc (struct test_if_f_data): New type.
34630 (RUN_TEST_LOOP_if_f): New macro.
34631 (jn_test_data): New variable.
34632 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34633 (yn_test_data): New variable.
34634 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34636 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34638 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34640 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34641 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34643 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34645 * benchtests/Makefile (CPPFLAGS-nonlib): Add
34646 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34647 (bench-deps): Add bench-timing.h.
34648 * benchtests-bench-skeleton.c: Include bench-timing.h.
34649 (main): Use TIMING_* macros instead of clock_gettime.
34650 * benchtests/bench-timing.h: New file.
34653 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34654 Renamed from _LIB_VERSION.
34655 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34657 2013-05-12 Joseph Myers <joseph@codesourcery.com>
34659 * math/libm-test.inc (struct test_fff_f_data): New type.
34660 (RUN_TEST_LOOP_fff_f): New macro.
34661 (fma_test_data): New variable.
34662 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34663 (fma_towardzero_test_data): New variable.
34664 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34665 (fma_downward_test_data): New variable.
34666 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34667 (fma_upward_test_data): New variable.
34668 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34670 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34671 (struct test_c_c_data): New type.
34672 (RUN_TEST_LOOP_c_c): New macro.
34673 (cacos_test_data): New variable.
34674 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34675 (cacosh_test_data): New variable.
34676 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34677 (casin_test_data): New variable.
34678 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34679 (casinh_test_data): New variable.
34680 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34681 (catan_test_data): New variable.
34682 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34683 (catanh_test_data): New variable.
34684 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34685 (ccos_test_data): New variable.
34686 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34687 (ccosh_test_data): New variable.
34688 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34689 (cexp_test_data): New variable.
34690 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34691 (clog_test_data): New variable.
34692 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34693 (clog10_test_data): New variable.
34694 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34695 (conj_test_data): New variable.
34696 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34697 (cproj_test_data): New variable.
34698 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34699 (csin_test_data): New variable.
34700 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34701 (csinh_test_data): New variable.
34702 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34703 (csqrt_test_data): New variable.
34704 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34705 (ctan_test_data): New variable.
34706 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34707 (ctan_tonearest_test_data): New variable.
34708 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34709 (ctan_towardzero_test_data): New variable.
34710 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34711 (ctan_downward_test_data): New variable.
34712 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34713 (ctan_upward_test_data): New variable.
34714 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34715 (ctanh_test_data): New variable.
34716 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34717 (ctanh_tonearest_test_data): New variable.
34718 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34719 (ctanh_towardzero_test_data): New variable.
34720 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34721 (ctanh_downward_test_data): New variable.
34722 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34723 (ctanh_upward_test_data): New variable.
34724 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34725 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34728 * math/libm-test.inc (struct test_ff_f_data): New type.
34729 (struct test_ff_f_data_nexttoward): Likewise.
34730 (RUN_TEST_LOOP_2_f): New macro.
34731 (RUN_TEST_LOOP_ff_f): Likewise.
34732 (atan2_test_data): New variable.
34733 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34734 (copysign_test_data): New variable.
34735 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34736 (fdim_test_data): New variable.
34737 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34738 (fmax_test_data): New variable.
34739 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34740 (fmin_test_data): New variable.
34741 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34742 (fmod_test_data): New variable.
34743 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34744 (hypot_test_data): New variable.
34745 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34746 (nextafter_test_data): New variable.
34747 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34748 (nexttoward_test_data): New variable.
34749 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34750 (pow_test_data): New variable.
34751 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34752 (pow_tonearest_test_data): New variable.
34753 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34754 (pow_towardzero_test_data): New variable.
34755 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34756 (pow_downward_test_data): New variable.
34757 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34758 (pow_upward_test_data): New variable.
34759 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34760 (remainder_test_data): New variable.
34761 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34762 (scalb_test_data): New variable.
34763 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34764 * sysdeps/i386/fpu/libm-test-ulps: Update.
34766 2013-05-11 Joseph Myers <joseph@codesourcery.com>
34768 * math/libm-test.inc (fma_test): Use max_value instead of local
34770 (nextafter_test): Likewise.
34772 * math/libm-test.inc (acos_towardzero_test_data): New variable.
34773 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34774 (acos_downward_test_data): New variable.
34775 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34776 (acos_upward_test_data): New variable.
34777 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34778 (acosh_test_data): New variable.
34779 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34780 (asin_test_data): New variable.
34781 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34782 (asin_tonearest_test_data): New variable.
34783 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34784 (asin_towardzero_test_data): New variable.
34785 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34786 (asin_downward_test_data): New variable.
34787 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34788 (asin_upward_test_data): New variable.
34789 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34790 (asinh_test_data): New variable.
34791 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34792 (atan_test_data): New variable.
34793 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34794 (atanh_test_data): New variable.
34795 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34796 (cbrt_test_data): New variable.
34797 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34798 (ceil_test_data): New variable.
34799 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34800 (cos_test_data): New variable.
34801 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34802 (cos_tonearest_test_data): New variable.
34803 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34804 (cos_towardzero_test_data): New variable.
34805 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34806 (cos_downward_test_data): New variable.
34807 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34808 (cos_upward_test_data): New variable.
34809 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34810 (cosh_test_data): New variable.
34811 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34812 (cosh_tonearest_test_data): New variable.
34813 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34814 (cosh_towardzero_test_data): New variable.
34815 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34816 (cosh_downward_test_data): New variable.
34817 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34818 (cosh_upward_test_data): New variable.
34819 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34820 (erf_test_data): New variable.
34821 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34822 (erfc_test_data): New variable.
34823 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34824 (exp_test_data): New variable.
34825 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34826 (exp_tonearest_test_data): New variable.
34827 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34828 (exp_towardzero_test_data): New variable.
34829 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34830 (exp_downward_test_data): New variable.
34831 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34832 (exp_upward_test_data): New variable.
34833 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34834 (exp10_test_data): New variable.
34835 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34836 (exp2_test_data): New variable.
34837 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34838 (expm1_test_data): New variable.
34839 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34840 (fabs_test_data): New variable.
34841 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34842 (floor_test_data): New variable.
34843 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34844 (j0_test_data): New variable.
34845 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34846 (j1_test_data): New variable.
34847 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34848 (log_test_data): New variable.
34849 (log_test): Run tests with RUN_TEST_LOOP_f_f.
34850 (log10_test_data): New variable.
34851 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34852 (log1p_test_data): New variable.
34853 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34854 (log2_test_data): New variable.
34855 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34856 (logb_test_data): New variable.
34857 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34858 (logb_downward_test_data): New variable.
34859 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34860 (nearbyint_test_data): New variable.
34861 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34862 (rint_test_data): New variable.
34863 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34864 (rint_tonearest_test_data): New variable.
34865 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34866 (rint_towardzero_test_data): New variable.
34867 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34868 (rint_downward_test_data): New variable.
34869 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34870 (rint_upward_test_data): New variable.
34871 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34872 (round_test_data): New variable.
34873 (round_test): Run tests with RUN_TEST_LOOP_f_f.
34874 (sin_test_data): New variable.
34875 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34876 (sin_tonearest_test_data): New variable.
34877 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34878 (sin_towardzero_test_data): New variable.
34879 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34880 (sin_downward_test_data): New variable.
34881 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34882 (sin_upward_test_data): New variable.
34883 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34884 (sinh_test_data): New variable.
34885 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34886 (sinh_tonearest_test_data): New variable.
34887 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34888 (sinh_towardzero_test_data): New variable.
34889 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34890 (sinh_downward_test_data): New variable.
34891 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34892 (sinh_upward_test_data): New variable.
34893 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34894 (sqrt_test_data): New variable.
34895 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34896 (tan_test_data): New variable.
34897 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34898 (tan_tonearest_test_data): New variable.
34899 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34900 (tan_towardzero_test_data): New variable.
34901 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34902 (tan_downward_test_data): New variable.
34903 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34904 (tan_upward_test_data): New variable.
34905 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34906 (tanh_test_data): New variable.
34907 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34908 (tgamma_test_data): New variable.
34909 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34910 (trunc_test_data): New variable.
34911 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34912 (y0_test_data): New variable.
34913 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34914 (y1_test_data): New variable.
34915 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34916 (significand_test_data): New variable.
34917 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34919 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
34922 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34924 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
34926 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34928 2013-05-10 Andreas Jaeger <aj@suse.de>
34931 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34932 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34934 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34936 * math/gen-libm-test.pl (adjust_arg): New function.
34937 (special_functions): Handle generating output in both functions
34939 (parse_args): Likewise.
34940 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
34941 $in_func argument to parse_args.
34942 * math/libm-test.inc (struct test_f_f_data): New type.
34943 (IF_ROUND_INIT_): New macro.
34944 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34945 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34946 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34947 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34948 (ROUND_RESTORE_): Likewise.
34949 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34950 (ROUND_RESTORE_FE_TONEAREST): Likewise.
34951 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34952 (ROUND_RESTORE_FE_UPWARD): Likewise.
34953 (RUN_TEST_LOOP_f_f): New macro.
34954 (acos_test_data): New variable.
34955 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34956 (acos_tonearest_test_data): New variable.
34957 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34959 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34961 * benchtests/bench-skeleton.c (startup): Fix coding style.
34963 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34966 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34967 negative infinity argument.
34968 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34969 negative infinity argument.
34970 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34971 negative infinity argument.
34972 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34975 2013-05-10 Florian Weimer <fweimer@redhat.com>
34977 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34978 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34979 * iconv/iconv_prog.c (main): Likewise.
34980 * locale/programs/charmap-dir.c (charmap_readdir)
34981 (fopen_uncompressed): Likewise.
34982 * locale/programs/locfile.c (siblings_uncached)
34983 (write_locale_data): Use lstat64 instead of lstat.
34984 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34987 2013-05-10 Andreas Jaeger <aj@suse.de>
34990 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34992 Include <locale.h>.
34994 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34996 * elf/dl-close.c (_dl_close_worker): Add comments.
34998 2013-05-09 Joseph Myers <joseph@codesourcery.com>
35001 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35003 (__ieee754_rem_pio2l): Update comments.
35006 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35008 (__ieee754_rem_pio2l): Update comments.
35010 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35011 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35013 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35016 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35017 (M_PI_34_LOG10El): Likewise.
35018 (M_PI2_LOG10El): Likewise.
35019 (M_PI4_LOG10El): Likewise.
35020 (M_PI_LOG10El): Likewise.
35022 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35026 2013-05-08 Joseph Myers <joseph@codesourcery.com>
35028 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35029 (MINUS_ZERO_INIT): Likewise.
35030 (PLUS_INFTY_INIT): Likewise.
35031 (MINUS_INFTY_INIT): Likewise.
35032 (QNAN_VALUE_INIT): Likewise.
35033 (MAX_VALUE_INIT): Likewise.
35034 (MIN_VALUE_INIT): Likewise.
35035 (MIN_SUBNORM_VALUE_INIT): Likewise.
35036 (plus_zero): Initialize with PLUS_ZERO_INIT.
35037 (minus_zero): Initialize with MINUS_ZERO_INIT.
35038 (plus_infty): Initialize with PLUS_INFTY_INIT.
35039 (minus_infty): Initialize with MINUS_INFTY_INIT.
35040 (qnan_value): Initialize with QNAN_VALUE_INIT.
35041 (max_value): Initialize with MAX_VALUE_INIT.
35042 (min_value): Initialize with MIN_VALUE_INIT.
35043 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35045 * math/libm-test.inc (RUN_TEST_if_f): New macro.
35046 (jn_test): Use TEST_if_f instead of TEST_ff_f.
35047 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35048 (yn_test): Use TEST_if_f instead of TEST_ff_f.
35050 * math/libm-test.inc (RUN_TEST_f_f): New macro.
35051 (RUN_TEST_2_f): Likewise.
35052 (RUN_TEST_ff_f): Likewise.
35053 (RUN_TEST_fi_f): Likewise.
35054 (RUN_TEST_fl_f): Likewise.
35055 (RUN_TEST_fff_f): Likewise.
35056 (RUN_TEST_c_f): Likewise.
35057 (RUN_TEST_f_f1): Likewise.
35058 (RUN_TEST_fF_f1): Likewise.
35059 (RUN_TEST_fI_f1): Likewise.
35060 (RUN_TEST_ffI_f1): Likewise.
35061 (RUN_TEST_c_c): Likewise.
35062 (RUN_TEST_cc_c): Likewise.
35063 (RUN_TEST_f_i): Likewise.
35064 (RUN_TEST_f_i_tg): Likewise.
35065 (RUN_TEST_ff_i_tg): Likewise.
35066 (RUN_TEST_f_b): Likewise.
35067 (RUN_TEST_f_b_tg): Likewise.
35068 (RUN_TEST_f_l): Likewise.
35069 (RUN_TEST_f_L): Likewise.
35070 (RUN_TEST_sincos): Likewise.
35071 * math/gen-libm-test.pl (new_test): Take new argument to indicate
35072 whether to show exceptions. Do not include ");\n" in return
35074 (special_functions): Output call to RUN_TEST_sincos instead of
35075 check_float calls. Update calls to new_test.
35076 (parse_args): Output call to single RUN_TEST_* macro instead of
35077 check_* calls and other assignments. Update calls to new_test.
35083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35084 input to result for tgamma overflow.
35085 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35086 (gamma_coeff): New variable.
35087 (NCOEFF): New macro.
35088 (gamma_positive): New function.
35089 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35090 underflow here. Use gamma_positive instead of exp (lgamma) for
35092 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35093 (gamma_coeff): New variable.
35094 (NCOEFF): New macro.
35095 (gammaf_positive): New function.
35096 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35097 underflow here. Use gamma_positive instead of exp (lgamma) for
35099 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35100 (gamma_coeff): New variable.
35101 (NCOEFF): New macro.
35102 (gammal_positive): New function.
35103 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35104 underflow here. Use gamma_positive instead of exp (lgamma) for
35106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35107 (gamma_coeff): New variable.
35108 (NCOEFF): New macro.
35109 (gammal_positive): New function.
35110 (__ieee754_gammal_r): Handle positive infinity, overflow and
35111 underflow here. Handle NaN the same as positive infinity. Remove
35112 check x < 0xffffffff for negative integers. Use gamma_positive
35113 instead of exp (lgamma) for other arguments.
35114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35115 (gamma_coeff): New variable.
35116 (NCOEFF): New macro.
35117 (gammal_positive): New function.
35118 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35119 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35123 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35124 * sysdeps/generic/math_private.h (__gamma_productf): New
35126 (__gamma_product): Likewise.
35127 (__gamma_productl): Likewise.
35128 * math/Makefile (libm-calls): Add gamma_product.
35129 * math/libm-test.inc (tgamma_test): Add more tests.
35130 * sysdeps/i386/fpu/libm-test-ulps: Update.
35131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35133 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
35135 * benchtests/bench-skeleton.c (main): Preheat CPU.
35137 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
35139 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35141 2013-05-07 Roland McGrath <roland@hack.frob.com>
35143 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35144 and _dl_skip_args_internal.
35146 2013-05-07 Carlos O'Donell <carlos@redhat.com>
35148 * manual/message.texi (Message Translation): Talk about users.
35149 Message to key mapping impacts design.
35151 2013-05-06 Roland McGrath <roland@hack.frob.com>
35153 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35155 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35157 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35158 * sysdeps/wordsize-64/glob64.c: ... here.
35160 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35161 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35164 * debug/getlogin_r_chk.c: Moved to ...
35165 * login/getlogin_r_chk.c: ... here.
35166 * debug/Makefile (routines): Move getlogin_r_chk to ...
35167 * login/Makefile (routines): ... here.
35168 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35169 * login/Versions (libc: GLIBC_2.4): ... here.
35171 * io/poll.c (__poll): Renamed from poll.
35172 Add libc_hidden_def.
35173 (poll): Define as weak alias.
35175 * debug/ptsname_r_chk.c: Moved to ...
35176 * login/ptsname_r_chk.c: ... here.
35177 * debug/Makefile (routines): Move ptsname_r_chk to ...
35178 * login/Makefile (routines): ... here.
35179 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35180 * login/Versions (libc: GLIBC_2.4): ... here.
35182 * posix/getlogin.c: Moved to ...
35183 * login/getlogin.c: ... here.
35184 * posix/getlogin_r.c: Moved to ...
35185 * login/getlogin_r.c: ... here.
35186 * posix/getlogin_r.c: Moved to ...
35187 * login/getlogin_r.c: ... here.
35188 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35189 * login/Makefile (routines): ... here.
35190 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35191 * login/Versions (libc: GLIBC_2.0): ... here.
35193 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35194 (setrlimit): Define as weak alias.
35196 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35197 Call __ names for open, ftruncate, and close.
35198 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35199 (truncate): Define as weak alias.
35201 2013-05-06 Joseph Myers <joseph@codesourcery.com>
35203 * math/gen-libm-test.pl (parse_args): Initialize x before each
35204 test of frexp, modf and remquo.
35206 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35207 test signgam value.
35209 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35213 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35215 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35217 2013-05-06 Roland McGrath <roland@hack.frob.com>
35219 * elf/dl-writev.h: New file.
35220 * elf/dl-misc.c: Include it.
35221 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35222 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35224 2013-05-04 Joseph Myers <joseph@codesourcery.com>
35226 * math/libm-test.inc (noXFails): Remove variable.
35227 (noXPasses): Likewise.
35228 (BUILD_COMPLEX_INT): Remove macro.
35229 (print_screen): Remove xfail argument.
35230 (print_screen_max_error): Likewise.
35231 (update_stats): Likewise.
35232 (print_max_error): Likewise. Update calls to other affected
35234 (print_complex_max_error): Likewise.
35235 (test_single_exception): Update calls to print_screen.
35236 (test_single_errno): Likewise.
35237 (check_float_internal): Remove xfail argument. Update calls to
35238 other affected functions.
35239 (check_float): Likewise.
35240 (check_complex): Likewise.
35241 (check_int): Likewise.
35242 (check_long): Likewise.
35243 (check_bool): Likewise.
35244 (check_longlong): Likewise.
35245 (main): Don't print noXFails and noXPasses.
35246 * math/gen-libm-test.pl (top level): Don't mention expected
35247 failure handling in comment.
35248 (new_test): Don't handle expected failures.
35249 (parse_args): Don't mention expected failure handling in comment.
35250 (generate_testfile): Don't handle expected failures.
35251 (parse_ulps): Likewise.
35252 (print_ulps_file): Likewise.
35253 (get_failure): Remove function.
35254 (output_test): Don't handle expected failures.
35255 * make/README.libm-test: Don't mention expected failure handling.
35257 * math/libm-test.inc (plus_zero): Make const. Add initializer.
35258 (minus_zero): Likewise.
35259 (plus_infty): Likewise.
35260 (minus_infty): Likewise.
35261 (qnan_value): Likewise.
35262 (max_value): Likewise.
35263 (min_value): Likewise.
35264 (min_subnorm_value): Likewise.
35265 (initialize): Do not initialize those variables dynamically.
35267 2013-05-03 Roland McGrath <roland@hack.frob.com>
35269 * io/open.c (__open_2): Moved to ...
35270 * io/open_2.c: ... this new file.
35271 * io/open64.c (__open64_2): Moved to ...
35272 * io/open64_2.c: ... this new file.
35273 * io/openat.c (__openat_2): Moved to ...
35274 * io/openat_2.c: ... this new file.
35275 * io/openat64.c (__openat64_2): Moved to ...
35276 * io/openat64_2.c: ... this new file.
35277 * io/Makefile (routines): Add them.
35278 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35279 * sysdeps/unix/sysv/linux/open_2.c: File removed.
35280 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35281 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35282 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35283 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35284 (__openat64): Add hidden_ver.
35285 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35286 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35288 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35289 Separately conditionalize setting of GLRO(dl_sysinfo) so
35290 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35291 as well, but the actual setting is only under [NEED_DL_SYSINFO].
35293 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35295 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35298 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35299 * sysdeps/unix/sysv/linux/powerpc/init-first.c
35300 (_libc_vdso_platform_setup): Add __vdso_time initialization.
35301 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35302 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35304 2013-05-03 Joseph Myers <joseph@codesourcery.com>
35306 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35307 test signgam value.
35309 * math/libm-test.inc (hypot_test): Do not use
35310 IGNORE_ZERO_INF_SIGN.
35312 2013-05-03 Andreas Jaeger <aj@suse.de>
35314 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35316 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35317 (PF_MAX): Adjust for VSOCK change.
35319 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35323 2013-05-02 Carlos O'Donell <carlos@redhat.com>
35326 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35327 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35328 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35330 2013-05-02 David S. Miller <davem@davemloft.net>
35332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35334 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
35336 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35338 2013-05-01 Roland McGrath <roland@hack.frob.com>
35340 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35342 2013-05-01 Richard Smith <richard@metafoo.co.uk>
35345 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35346 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35347 Use __attribute__ ((__gnu_inline__)).
35348 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35349 Don't use __attribute__ ((__gnu_inline__)).
35351 2013-05-01 Joseph Myers <joseph@codesourcery.com>
35354 * math/s_catan.c (__catan): Handle small real or imaginary part of
35355 input specially to avoid spurious underflow.
35356 * math/s_catanf.c (__catanf): Likewise.
35357 * math/s_catanh.c (__catanh): Likewise.
35358 * math/s_catanhf.c (__catanhf): Likewise.
35359 * math/s_catanhl.c (__catanhl): Likewise.
35360 * math/s_catanl.c (__catanl): Likewise.
35361 * math/libm-test.inc (catan_test): Add more tests.
35362 (catanh_test): Likewise.
35363 * sysdeps/i386/fpu/libm-test-ulps: Update.
35364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35370 2013-04-30 Joseph Myers <joseph@codesourcery.com>
35373 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35374 accurately for denominator in atan2.
35375 * math/s_catanf.c (__catanf): Likewise.
35376 * math/s_catanh.c (__catanh): Likewise.
35377 * math/s_catanhf.c (__catanhf): Likewise.
35378 * math/s_catanhl.c (__catanhl): Likewise.
35379 * math/s_catanl.c (__catanl): Likewise.
35380 * math/libm-test.inc (catan_test): Add more tests.
35381 (catanh_test): Likewise.
35382 * sysdeps/i386/fpu/libm-test-ulps: Update.
35383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35385 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35387 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35389 * benchtests/Makefile (bench): Remove slow benchmarks.
35390 * benchtests/atan-inputs: Add slow benchmark inputs.
35391 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35392 (BENCH_FUNC): Accept variant offset.
35394 * benchtests/bench-skeleton.c (main): Run benchmark for each
35396 * benchtests/cos-inputs: Add slow benchmark inputs.
35397 * benchtests/exp-inputs: Likewise.
35398 * benchtests/pow-inputs: Likewise.
35399 * benchtests/sin-inputs: Likewise.
35400 * benchtests/slowatan-inputs: Remove.
35401 * benchtests/slowatan.c: Remove.
35402 * benchtests/slowcos-inputs: Remove.
35403 * benchtests/slowcos.c: Remove.
35404 * benchtests/slowexp-inputs: Remove.
35405 * benchtests/slowexp.c: Remove.
35406 * benchtests/slowpow-inputs: Remove.
35407 * benchtests/slowpow.c: Remove.
35408 * benchtests/slowsin-inputs: Remove.
35409 * benchtests/slowsin.c: Remove.
35410 * benchtests/slowtan-inputs: Remove.
35411 * benchtests/slowtan.c: Remove.
35412 * benchtests/tan-inputs: Add slow benchmark inputs.
35413 * scripts/bench.pl: Parse comments and directives.
35415 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
35417 ($(objpfx)bench-%.c): Remove *-ITER.
35418 * benchtests/bench-modf.c: Remove definition of ITER.
35419 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35420 (main): Loop for DURATION seconds instead of fixed number of
35422 * scripts/bench.pl: Don't expect iterations in parameters.
35424 2013-04-29 Roland McGrath <roland@hack.frob.com>
35426 * io/fchdir.c (__fchdir): Renamed from fchdir.
35427 (fchdir): Define as weak alias.
35429 2013-04-29 Joseph Myers <joseph@codesourcery.com>
35431 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35432 (ERRNO_EDOM): Likewise.
35433 (ERRNO_ERANGE): Likewise.
35434 (noErrnoTests): New variable.
35435 (init_max_error): Set errno to 0.
35436 (test_single_errno): New function.
35437 (test_errno): Likewise.
35438 (check_float_internal): Call test_errno. Set errno to 0.
35439 (check_complex): Refer to errno tests in comment.
35440 (check_int): Call test_errno. Set errno to 0.
35441 (check_long): Likewise.
35442 (check_bool): Likewise.
35443 (check_longlong): Likewise.
35444 (cos_test): Use ERRNO_* flags for errno tests instead of
35446 (expm1_test): Likewise.
35447 (fmod_test): Likewise.
35448 (ilogb_test): Likewise.
35449 (lgamma_test): Likewise.
35450 (pow_test): Likewise.
35451 (remainder_test): Likewise.
35452 (sin_test): Likewise.
35453 (tan_test): Likewise.
35454 (yn_test): Likewise.
35455 (initialize): Set errno to 0.
35456 (main): Print number of errno tests.
35457 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35459 2013-04-29 Andreas Jaeger <aj@suse.de>
35462 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35466 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35467 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35471 * stdlib/random.c (__initstate): Return NULL if
35475 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35476 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35479 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35483 2013-04-29 Joseph Myers <joseph@codesourcery.com>
35485 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35486 of individual tests.
35487 (casin_test): Likewise.
35488 (casinh_test): Likewise.
35490 2013-04-27 Joseph Myers <joseph@codesourcery.com>
35493 * math/s_catan.c (__catan): Handle arguments with large real or
35494 imaginary part separately without squaring.
35495 * math/s_catanf.c (__catanf): Likewise.
35496 * math/s_catanh.c (__catanh): Likewise.
35497 * math/s_catanhf.c (__catanhf): Likewise.
35498 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35500 (__catanhl): Handle arguments with large real or imaginary part
35501 separately without squaring.
35502 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35504 (__catanl): Handle arguments with large real or imaginary part
35505 separately without squaring.
35506 * math/libm-test.inc (catan_test): Add more tests.
35507 (catanh_test): Likewise.
35508 * sysdeps/i386/fpu/libm-test-ulps: Update.
35509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35511 2013-04-27 Andreas Jaeger <aj@suse.de>
35514 * stdlib/stdlib.h: Update guards for qecvt.
35515 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35518 2013-04-27 Allan McRae <allan@archlinux.org>
35520 * sysdeps/i386/fpu/libm-test-ulps: Update.
35522 2013-04-26 Joseph Myers <joseph@codesourcery.com>
35525 * math/s_catan.c: Include <float.h>.
35526 (__catan): Ensure underflow exception occurs for underflowed
35528 * math/s_catanf.c: Include <float.h>.
35529 (__catanf): Ensure underflow exception occurs for underflowed
35531 * math/s_catanh.c: Include <float.h>.
35532 (__catanh): Ensure underflow exception occurs for underflowed
35534 * math/s_catanhf.c: Include <float.h>.
35535 (__catanhf): Ensure underflow exception occurs for underflowed
35537 * math/s_catanhl.c: Include <float.h>.
35538 (__catanhl): Ensure underflow exception occurs for underflowed
35540 * math/s_catanl.c: Include <float.h>.
35541 (__catanl): Ensure underflow exception occurs for underflowed
35543 * math/libm-test.inc (catan_test): Add more tests.
35544 (catanh_test): Likewise.
35547 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35548 underflowed result.
35549 * math/s_ccoshf.c (__ccoshf): Likewise.
35550 * math/s_ccoshl.c (__ccoshl): Likewise.
35551 * math/s_csin.c (__csin): Likewise.
35552 * math/s_csinf.c (__csinf): Likewise.
35553 * math/s_csinh.c (__csinh): Likewise.
35554 * math/s_csinhf.c (__csinhf): Likewise.
35555 * math/s_csinhl.c (__csinhl): Likewise.
35556 * math/s_csinl.c (__csinl): Likewise.
35557 * math/libm-test.inc (ccos_test): Add more tests.
35558 (ccosh_test): Likewise.
35559 (csin_test): Likewise.
35560 (csinh_test): Likewise.
35562 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35564 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35565 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35566 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35567 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35568 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35569 powerpc/power5+/fpu folders.
35570 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35573 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35577 2013-04-25 Joseph Myers <joseph@codesourcery.com>
35579 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35580 additions to variable.
35581 [$(config-machine) = x86_64] (modules-names): Likewise.
35582 ($(objpfx)tst-audit3): Remove dependency.
35583 ($(objpfx)tst-audit3.out): Likewise.
35584 ($(objpfx)tst-audit4): Likewise.
35585 ($(objpfx)tst-audit4.out): Likewise.
35586 ($(objpfx)tst-audit5): Likewise.
35587 ($(objpfx)tst-audit5.out): Likewise.
35588 ($(objpfx)tst-audit6): Likewise.
35589 ($(objpfx)tst-audit6.out): Likewise.
35590 ($(objpfx)tst-audit7): Likewise.
35591 ($(objpfx)tst-audit7.out): Likewise.
35592 (tst-audit3-ENV): Remove variable.
35593 (tst-audit4-ENV): Likewise.
35594 (tst-audit5-ENV): Likewise.
35595 (tst-audit6-ENV): Likewise.
35596 (tst-audit7-ENV): Likewise.
35597 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35598 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35599 addition to variable.
35600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35604 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35605 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35606 tst-audit3, tst-audit4 and tst-audit5.
35607 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35608 tst-audit6 and tst-audit7.
35609 [$(subdir) = elf] (modules-names): Add audit modules for those
35611 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35612 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35613 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35614 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35615 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35616 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35617 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35618 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35619 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35620 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35621 [$(subdir) = elf] (tst-audit3-ENV): New variable.
35622 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35623 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35624 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35625 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35626 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35628 [$(subdir) = elf && $(config-cflags-avx) = yes]
35629 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35630 [$(subdir) = elf && $(config-cflags-avx) = yes]
35631 (CFLAGS-tst-auditmod4a.c): Likewise.
35632 [$(subdir) = elf && $(config-cflags-avx) = yes]
35633 (CFLAGS-tst-auditmod4b.c): Likewise.
35634 [$(subdir) = elf && $(config-cflags-avx) = yes]
35635 (CFLAGS-tst-auditmod6b.c): Likewise.
35636 [$(subdir) = elf && $(config-cflags-avx) = yes]
35637 (CFLAGS-tst-auditmod6c.c): Likewise.
35638 [$(subdir) = elf && $(config-cflags-avx) = yes]
35639 (CFLAGS-tst-auditmod7b.c): Likewise.
35640 * elf/tst-audit3.c: Move to ...
35641 * sysdeps/x86_64/tst-audit3.c: ... here.
35642 * elf/tst-audit4.c: Move to ...
35643 * sysdeps/x86_64/tst-audit4.c: ... here.
35644 * elf/tst-audit5.c: Move to ...
35645 * sysdeps/x86_64/tst-audit5.c: ... here.
35646 * elf/tst-audit6.c: Move to ...
35647 * sysdeps/x86_64/tst-audit6.c: ... here.
35648 * elf/tst-audit7.c: Move to ...
35649 * sysdeps/x86_64/tst-audit7.c: ... here.
35650 * elf/tst-auditmod3a.c: Move to ...
35651 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35652 * elf/tst-auditmod3b.c: Move to ...
35653 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35654 * elf/tst-auditmod4a.c: Move to ...
35655 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35656 * elf/tst-auditmod4b.c: Move to ...
35657 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35658 * elf/tst-auditmod5a.c: Move to ...
35659 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35660 * elf/tst-auditmod5b.c: Move to ...
35661 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35662 * elf/tst-auditmod6a.c: Move to ...
35663 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35664 * elf/tst-auditmod6b.c: Move to ...
35665 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35666 * elf/tst-auditmod6c.c: Move to ...
35667 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35668 * elf/tst-auditmod7a.c: Move to ...
35669 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35670 * elf/tst-auditmod7b.c: Move to ...
35671 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35673 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
35676 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35677 define unconditionally.
35678 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35679 define unconditionally.
35680 (INT8_C, INT16_C, etc.): Likewise.
35682 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
35684 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35685 __ehdr_start with hidden visibility.
35687 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35689 2013-04-24 Carlos O'Donell <carlos@redhat.com>
35691 * math/libm-test.inc (cos_test): Use accurate hex constants.
35692 (sincost_test): Likewise.
35694 2013-04-24 Joseph Myers <joseph@codesourcery.com>
35696 * math/libm-test.inc (catan_test): Add more tests.
35697 (catanh_test): Likewise.
35699 * math/s_catanf.c (__catanf): Use suffixed floating-point
35701 * math/s_catanhf.c (__catanhf): Likewise.
35702 * math/s_catanhl.c (__catanhl): Likewise.
35703 * math/s_catanl.c (__catanl): Likewise.
35706 * math/s_catan.c (__catan): Calculate imaginary part of result
35707 with log1p not log unless computing log of number close to 0.
35708 * math/s_catanf.c (__catanf): Likewise.
35709 * math/s_catanl.c (__catanl): Likewise.
35710 * math/s_catanh.c (__catanh): Calculate real part of result with
35711 log1p not log unless computing log of number close to 0.
35712 * math/s_catanhf.c (__catanhf): Likewise.
35713 * math/s_catanhl.c (__catanhl): Likewise.
35714 * math/libm-test.inc (catan_test): Add more tests.
35715 (catanh_test): Likewise.
35716 * sysdeps/i386/fpu/libm-test-ulps: Update.
35717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35719 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35721 * benchtests/Makefile: Mention files in which fast and slow
35722 paths of math functions are implemented.
35724 2013-04-23 Roland McGrath <roland@hack.frob.com>
35726 * sysdeps/posix/timespec_get.c: New file.
35728 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35730 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35732 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35734 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35735 powerpc/power5/fpu folders.
35736 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35737 * benchtests/Makefile: Add modf testcase.
35738 * benchtests/bench-modf.c: New file: Benchmark test for mo
35740 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35743 * time/Makefile (tests): Add tst-strptime-whitespace.
35744 * time/strptime_l.c (get_number): Use ISSPACE.
35745 (__strptime_internal): Likewise.
35746 * time/tst-strptime-whitespace.c: New test case.
35748 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
35750 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35752 (_nss_files_init): Set it here.
35754 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
35756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35757 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35760 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
35762 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35764 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35769 2013-04-21 David S. Miller <davem@davemloft.net>
35771 * po/ru.po: Update Russion translation from translation project.
35773 2013-04-17 Adam Conrad <adconrad@0c3.net>
35775 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35778 2013-04-17 Carlos O'Donell <carlos@redhat.com>
35780 * configure.in: Remove i386 configure warning. Remove i386 case.
35781 * configure: Regenerate.
35782 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35783 Add example to error message.
35784 * sysdeps/i386/configure: Regenerate.
35786 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35788 * benchtests/Makefile (bench): Add cos, tan, slowcos and
35790 * benchtests/cos-inputs: New file.
35791 * benchtests/slowcos-inputs: New file.
35792 * benchtests/slowcos.c: New file.
35793 * benchtests/slowtan-inputs: New file.
35794 * benchtests/slowtan.c: New file.
35795 * benchtests/tan-inputs: New file.
35797 2013-04-16 Roland McGrath <roland@hack.frob.com>
35799 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35802 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35804 * benchtests/Makefile: Include cppflags-iterator.mk to add
35805 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35807 * Makefile.in (bench-clean): New target.
35808 * benchtests/Makefile (bench-clean): Likewise.
35810 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
35812 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35814 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
35816 * stdio-common/tstdiomisc.c: Fix coding-style violation.
35818 2013-04-15 Andreas Schwab <schwab@suse.de>
35820 * nscd/grpcache.c (cache_addgr): Properly check for short write.
35821 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35822 * nscd/pwdcache.c (cache_addpw): Likewise.
35823 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
35826 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35828 * benchtests/Makefile (bench): Write all output to
35829 bench-out.tmp together.
35831 2013-04-15 Andreas Schwab <schwab@suse.de>
35833 * nscd/nscd.c (main): Don't fork again after closing files.
35835 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35837 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35839 * benchtests/Rules (bench-deps): Collect dependencies into a
35840 single variable. Add Makefile to dependencies.
35841 ($(objpfx)bench-%.c): Depend on bench-deps.
35843 2013-04-12 Roland McGrath <roland@hack.frob.com>
35844 Xavier Roche <roche+kml2@exalead.com>
35847 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35848 just that it's a file descriptor.
35849 * manual/llio.texi (Synchronizing AIO Operations): Update description
35850 for EBADF error from aio_fsync.
35852 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35854 * Rules (bench): Move target definition...
35855 * benchtests/Makefile: ... here.
35857 2013-04-11 Carlos O'Donell <carlos@redhat.com>
35859 * math/libm-test.inc (cos_test): Fix PI/2 test.
35860 (sincos_test): Likewise.
35861 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35862 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35864 2013-04-11 Andreas Schwab <schwab@suse.de>
35867 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35868 accept exponent character only when digits were seen.
35869 * stdio-common/Makefile (tests): Add bug26.
35870 * stdio-common/bug26.c: New file.
35873 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35876 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35878 * Makeconfig (rtld-prefix): Define built linker prefix.
35879 * Rules (run-bench): Use it.
35880 * math/Makefile (run-regen-ulps): Likewise.
35882 * Rules (bench): Remove eval.
35884 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35885 Roland McGrath <roland@hack.frob.com>
35886 Ondrej Bilka <neleai@seznam.cz>
35889 * time/getdate.c: Include ctype.h and alloca.h.
35890 (__getdate_r): Trim leading and trailing spaces of input.
35891 * time/tst-getdate.c (tests): Add tests with leading and
35894 2013-04-08 Roland McGrath <roland@hack.frob.com>
35897 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35898 when computing value.
35900 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35902 * math/README.libm-test (How can I generate "libm-test-ulps"?):
35903 Use testrun.sh to run libm tests.
35906 * elf/dl-open.c (dl_open_worker): memset all of seen array.
35908 2013-04-06 Marko Myllynen <myllynen@redhat.com>
35911 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35913 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35915 * Makefile.in (regen-ulps): New target.
35916 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35917 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35918 [ifneq (no,$(PERL)] (regen-ulps): New target.
35919 [ifeq (no,$(PERL)] (regen-ulps): New target.
35920 * math/libm-test.inc (ulps_file_name): Define.
35921 (output_dir): New variable.
35922 (options): Add "output-dir" option.
35923 (parse_opt): Handle 'o' case.
35924 (main): If output_dir is non-NULL use it as a prefix
35926 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35928 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35930 [BZ #10060, #10062]
35931 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35932 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35933 fail configure if __sync_val_compare_and_swap is not inlined.
35934 * sysdeps/i386/configure: Regenerate.
35935 * configure.in: Build for i686 when configured for i386.
35936 * configure: Regenerate.
35937 * README: Remove i386 reference.
35939 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35941 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35944 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
35946 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35947 (lmsnanval): New variables.
35948 (F): Add conversion tests.
35949 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35950 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35952 * stdio-common/tstdiomisc.c (F): Properly collect individual
35955 [BZ #14686, #15336]
35956 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35957 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35958 Instead, use input NaN values or generate a qNaN by arithmetic
35959 operation. Also fix bugs to comply with the standard.
35960 * math/libm-test.inc (remainder_test): Add more tests.
35962 [BZ #15335, #15342]
35963 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35965 input NaN values or generate a qNaN by arithmetic operation.
35967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35970 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35973 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35976 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35977 underflowed result.
35978 * math/s_cexpf.c (__cexpf): Likewise.
35979 * math/s_cexpl.c (__cexpl): Likewise.
35980 * math/libm-test.inc (cexp_test): Add more tests.
35982 2013-04-03 Andreas Schwab <schwab@suse.de>
35985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35986 order arrays from heap if bigger than alloca cutoff.
35988 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35990 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35991 (SNAN_TESTS_double): Refer to GCC PR56831.
35992 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35995 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35997 * Rules (bench): Move bench.out after the run is complete.
35999 * Rules (bench): Echo currently running benchmark.
36001 * benchtests/Makefile (bench): Add atan and slowatan.
36002 * benchtests/atan-inputs: New file.
36003 * benchtests/slowatan-inputs: New file.
36004 * benchtests/slowatan.c: New file.
36006 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36011 * sysdeps/unix/sysv/linux/kernel-features.h
36012 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36013 __ASSUME_XFS_RESTRICTED_CHOWN.
36014 * sysdeps/unix/sysv/linux/pathconf.c
36015 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36016 Save and restore errno.
36018 2013-04-02 Joseph Myers <joseph@codesourcery.com>
36021 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36022 arguments using __kernel_casinh.
36023 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36024 arguments using __kernel_casinhf.
36025 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36026 arguments using __kernel_casinhl.
36027 * math/libm-test.inc (cacosh_test): Add more tests.
36028 * sysdeps/i386/fpu/libm-test-ulps: Update.
36029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36031 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36033 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36036 * bench/Makefile (bench): Add sin and slowsin.
36037 * benchtests/sin-inputs: New file.
36038 * benchtests/slowsin-inputs: New file.
36039 * benchtests/slowsin.c: New file.
36041 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36042 (bench): Add slowexp and slowpow.
36043 (exp-ITER): Increase iterations.
36044 (pow-ITER): Likewise.
36045 * benchtests/exp-inputs: Change input.
36046 * benchtests/pow-inputs: Likewise.
36047 * benchtests/slowexp-inputs: New file.
36048 * benchtests/slowexp.c: New file.
36049 * benchtests/slowpow-inputs: New file.
36050 * benchtests/slowpow.c: New file.
36052 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36054 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36056 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36057 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36058 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36059 * benchtests/Makefile: Add rint benchtest.
36060 * benchtests/rint-inputs: Input for rint benchtest.
36062 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
36064 * Versions.def (libm): Add GLIBC_2.18.
36065 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36066 hidden libm prototypes.
36067 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36068 * math/Makefile (libm-calls): Add s_issignaling.
36069 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36070 __issignalingf, __issignalingl. Adjust all libm.abilist files.
36071 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36073 * math/math.h [__USE_GNU] (issignaling): New macro.
36074 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36075 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36076 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36077 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36080 * manual/arith.texi (issignaling): New section.
36081 * manual/libm-err-tab.pl (@all_functions): Update comment.
36082 * math/gen-libm-test.pl (parse_args): Apply special handling for
36084 * math/libm-test.inc (print_float, issignaling_test): New
36086 (check_float_internal): Add issignaling checks.
36087 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36088 default definition.
36089 * sysdeps/powerpc/math-tests.h: New file.
36090 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36092 * math/test-snan.c (TEST_FUNC): Likewise.
36094 2013-03-30 David S. Miller <davem@davemloft.net>
36096 * po/de.po: Update from translation team.
36098 2013-03-30 Joseph Myers <joseph@codesourcery.com>
36101 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36102 imaginary part less than 1.0 and real part less than 0.5
36104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36106 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36107 (cacos_test): Add more tests.
36108 (casin_test): Likewise.
36109 (casinh_test): Likewise.
36110 * sysdeps/i386/fpu/libm-test-ulps: Update.
36111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36113 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36115 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36116 ONE with its value.
36118 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36119 (__pow_mp): Replace ONE and MONE with their values.
36120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36123 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36124 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36127 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36129 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36130 (__pow_mp): Replace ZERO and MZERO with their values.
36131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36135 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36136 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36139 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36141 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36143 2013-03-28 Roland McGrath <roland@hack.frob.com>
36145 * include/stdlib.h [!SHARED] (__call_tls_dtors):
36146 Declare with __attribute__ ((weak)).
36147 * stdlib/exit.c (__libc_atexit) [!SHARED]:
36148 Call __call_tls_dtors only if it's not NULL.
36150 2013-03-28 Roland McGrath <roland@hack.frob.com>
36152 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36153 didn't do it already, then set _dl_phdr and _dl_phnum based on the
36154 magic __ehdr_start linker symbol if it's defined.
36155 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36156 them up here if it was already done.
36158 * elf/dl-support.c (_dl_phdr): Make pointer to const.
36159 (_dl_aux_init): Use const in cast when setting it.
36160 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36161 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36162 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36164 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36166 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36167 * csu/libc-tls.c: Nor here.
36168 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36170 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36171 (__libc_message): Never call vsyslog.
36173 2013-03-28 Alan Modra <amodra@gmail.com>
36175 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36177 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36180 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36183 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36187 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36190 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36191 Don't add gid passed as argument.
36193 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36195 2013-03-27 Joseph Myers <joseph@codesourcery.com>
36198 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36199 imaginary part between 1.0 and 1.5 and real part less than 0.5
36201 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36202 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36203 * math/libm-test.inc (cacos_test): Add more tests.
36204 (casin_test): Likewise.
36205 (casinh_test): Likewise.
36206 * sysdeps/i386/fpu/libm-test-ulps: Update.
36207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36209 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36211 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36214 (denorm): Likewise.
36215 (__dbl_mp): Likewise.
36216 (add_magnitudes): Likewise.
36217 (sub_magnitudes): Likewise.
36225 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36227 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36228 (__dubcos): Likewise.
36229 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36230 (__ieee754_acos): Likewise.
36231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36232 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36233 (__exp1): Likewise.
36234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36237 (my_log2): Likewise.
36238 (checkint): Likewise.
36239 * sysdeps/ieee754/dbl-64/e_remainder.c
36240 (__ieee754_remainder): Likewise.
36241 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36243 (bsloww): Likewise.
36244 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36246 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36248 MANTISSA_STORE_T to store computations on mantissa. Use
36249 macros for rounding and division.
36250 (denorm): Likewise.
36251 (__dbl_mp): Likewise.
36252 (add_magnitudes): Likewise.
36253 (sub_magnitudes): Likewise.
36256 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36257 powers of two in terms of TWOPOW macro.
36258 (mp_no): Make type of mantissa as MANTISSA_T.
36259 [!RADIXI]: Define RADIXI.
36260 [!TWO52]: Define TWO52.
36261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36263 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36265 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36266 llroundl symbol when building for PPC32.
36268 2013-03-24 Mark H Weaver <mhw@netris.org>
36270 * manual/arith.texi (Normalization Functions): Fix prototypes for
36271 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36273 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36277 high value to check if expl overflow.
36278 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36279 to check for underflow and overflow.
36280 * math/libm-test.inc: Add exp test.
36282 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
36285 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36288 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36290 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36293 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
36295 * math/gen-libm-test.pl (parse_args, special_functions): Properly
36296 wrap blocks consisting of several statements.
36298 * sysdeps/generic/math-tests.h: New file.
36299 * sysdeps/i386/fpu/math-tests.h: Likewise.
36300 * math/test-snan.c: Include it.
36301 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36303 2013-03-21 Joseph Myers <joseph@codesourcery.com>
36306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36307 (__ieee754_j0l): Do not improve calculations using cos of twice
36308 input for inputs above LDBL_MAX / 2.0L.
36309 (__ieee754_y0l): Likewise.
36310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36311 (__ieee754_j1l): Do not improve calculations using cos of twice
36312 input for inputs above LDBL_MAX / 2.0L.
36313 (__ieee754_y1l): Likewise.
36314 * math/libm-test.inc (j0_test): Add another test.
36315 (j1_test): Likewise.
36316 (y0_test): Likewise.
36317 (y1_test): Likewise.
36318 * sysdeps/i386/fpu/libm-test-ulps: Update.
36320 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36322 * Rules ($(objpfx)bench-%.c): Include code from a C source
36325 2013-03-21 Joseph Myers <joseph@codesourcery.com>
36328 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36329 imaginary part 1.0 and real part less than 0.5 specially.
36330 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36331 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36332 * math/libm-test.inc (cacos_test): Add more tests.
36333 (casin_test): Likewise.
36334 (casinh_test): Likewise.
36335 * sysdeps/i386/fpu/libm-test-ulps: Update.
36336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36338 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36340 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36341 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36343 2013-03-20 Joseph Myers <joseph@codesourcery.com>
36345 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36346 * config.make.in (config-cflags-sse4): Remove variable.
36347 (config-cflags-avx): Likewise.
36348 (config-cflags-sse2avx): Likewise.
36349 (config-cflags-novzeroupper): Likewise.
36350 (config-asflags-i686): Likewise.
36351 (have-mfma4): Likewise.
36352 (have-as-vis3): Likewise.
36354 * configure.in (MIG): Do not AC_SUBST.
36355 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36356 (libc_cv_cc_sse4): Do not AC_SUBST.
36357 (libc_cv_cc_avx): Likewise.
36358 (libc_cv_cc_sse2avx): Likewise.
36359 (libc_cv_cc_novzeroupper): Likewise.
36360 (libc_cv_cc_fma4): Likewise.
36361 (libc_cv_as_i686): Likewise.
36362 (libc_cv_sparc_as_vis3): Likewise.
36363 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36365 (config-asflags-i686): Likewise.
36366 (config-cflags-avx): Likewise.
36367 (config-cflags-sse2avx): Likewise.
36368 (have-mfma4): Likewise.
36369 (config-cflags-novzeroupper): Likewise.
36370 * sysdeps/mach/configure.in (MIG): Likewise.
36371 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36372 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36374 (config-cflags-avx): Likewise.
36375 (config-cflags-sse2avx): Likewise.
36376 (have-mfma4): Likewise.
36377 (config-cflags-novzeroupper): Likewise.
36378 * configure: Regenerated.
36379 * sysdeps/i386/configure: Likewise.
36380 * sysdeps/mach/configure: Likewise.
36381 * sysdeps/sparc/configure: Likewise.
36382 * sysdeps/x86_64/configure: Likewise.
36384 2013-03-20 Roland McGrath <roland@hack.frob.com>
36387 * locale/programs/localedef.c (options): Put N_ translation marker
36388 on argument names, not just descriptions.
36390 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36392 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36394 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
36397 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36399 2013-03-19 Roland McGrath <roland@hack.frob.com>
36401 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36402 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36403 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36404 [!BEFORE_ABORT] (before_abort): New function.
36405 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36406 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36407 (writev_for_fatal): New function.
36408 (WRITEV_FOR_FATAL): New macro; call that.
36409 (backtrace_and_maps): New function.
36410 (BEFORE_ABORT): New macro; call that.
36411 (struct str_list): Type removed.
36412 (__libc_message, __libc_fatal): Functions removed.
36413 Include <sysdeps/posix/libc_fatal.c> instead.
36415 2013-03-19 Joseph Myers <joseph@codesourcery.com>
36417 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36419 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36422 2013-03-19 Andreas Schwab <schwab@suse.de>
36424 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36425 * sysdeps/gnu/configure: Regenerate.
36427 * configure.in: Substitute libc_cv_rtlddir.
36428 * configure: Regenerate.
36429 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36430 * Makeconfig (rtlddir, inst_rtlddir): New variables.
36431 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36432 * elf/Makefile (install-others, CFLAGS-interp.c)
36433 (ldso_install, common-ldd-rewrite): Likewise.
36434 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36435 $(inst_slibdir)/$(rtld-installed-name).
36436 * scripts/rellns-sh: Add -p option.
36437 * Makerules (make-shlib-link): Use rellns-sh to get relative name
36440 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36442 * manual/nptl.texi: Renamed to ...
36443 * manual/threads.texi: ... this.
36444 * manual/Makefile (chapters): Update.
36446 2013-03-18 Roland McGrath <roland@hack.frob.com>
36449 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36450 on argument names, not just descriptions.
36451 * malloc/memusagestat.c (options): Likewise.
36452 * nss/getent.c (options): Likewise.
36454 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
36457 * iconv/iconv_prog.c (options): Put N_ translation marker
36458 on argument names, not just descriptions.
36459 * iconv/iconvconfig.c (options): Likewise.
36461 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
36463 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36464 implementation which is faster on all x86_64 architectures.
36465 Tested on AMD, Intel Nehalem, SNB, IVB.
36466 * sysdeps/x86_64/strnlen.S: Likewise.
36468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36469 Remove all multiarch strlen and strnlen versions.
36470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36471 Remove strlen and strnlen related parts.
36473 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36474 Inline strlen part.
36475 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36477 * sysdeps/x86_64/multiarch/strlen.S: Remove.
36478 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36479 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36480 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36481 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36484 2013-03-17 Carlos O'Donell <carlos@redhat.com>
36486 * manual/memory.texi (Malloc Tunable Parameters):
36487 Sort parameters alphabetically. Add comments for missing entries.
36489 2013-03-17 David S. Miller <davem@davemloft.net>
36491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36493 2013-03-16 Joseph Myers <joseph@codesourcery.com>
36496 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36497 for arguments at most half maximum finite value.
36498 * math/libm-test.inc (j0_test): Add more tests.
36499 (j1_test): Likewise.
36500 (y0_test): Likewise.
36501 (y1_test): Likewise.
36502 * sysdeps/i386/fpu/libm-test-ulps: Update.
36503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36506 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36507 1 / x and functions P and Q for arguments above 0x1p256L.
36508 (__ieee754_y0l): Likewise.
36509 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36510 (__ieee754_y1l): Likewise.
36511 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36512 (j1_test): Likewise.
36513 (y0_test): Likewise.
36514 (y1_test): Likewise.
36516 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
36518 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36521 2013-03-15 Roland McGrath <roland@hack.frob.com>
36523 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36524 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36525 zero since it's initialized to EXEC_PAGESIZE.
36527 * sysdeps/unix/sysv/linux/ldsodefs.h
36528 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36529 * sysdeps/generic/ldsodefs.h: ... here.
36531 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
36533 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36535 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36537 * math/test-snan.c: Renamed from
36538 sysdeps/powerpc/fpu/test-powerpc-snan.c.
36539 * math/Makefile (tests): Add test-snan.
36540 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36543 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36544 SUFFIX. Initialize qNaN_var with __builtin_nan family of
36546 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
36547 __builtin_nan family of functions.
36548 * math/libm-test.inc (initialize): Initialize qnan_value with
36549 __builtin_nan family of functions.
36550 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36552 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36554 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
36555 storage class. Initialize qNaN_var and sNaN_var with
36556 __builtin_nan and __builtin_nans families of functions,
36559 * math/libm-test.inc (acosh_test): Also test with qNaN input.
36560 (sqrt_test): Remove duplicate test with qNaN input.
36561 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36562 (round_test, signbit_test, significand_test): Note missing +/-Inf
36563 as well as qNaN tests.
36565 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36566 qNaN_var. Fix a few strings, too.
36567 * math/libm-test.inc (nan_value): Rename to qnan_value.
36568 * math/gen-libm-test.pl (%beautify): Adjust to that.
36569 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36570 * math/test-misc.c (main): Likewise.
36571 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36572 to __qnan_bytes, and __qnan_union, respectively.
36573 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36575 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36576 and lqnanval, respectively.
36577 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36578 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36580 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36582 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36583 * math/test-misc.c (main) [__x86_64__]: Enable test for long
36586 * math/test-misc.c (main): Fix copy'n'pastos.
36587 * misc/tst-efgcvt.c (special): Likewise.
36589 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36590 Remove declarations.
36592 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36594 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36595 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36596 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36597 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36599 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36601 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36602 macro to return vdso values correctly in IFUNC implementations.
36603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36604 Optimization by using IFUNC.
36606 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36607 Richard Henderson <rth@redhat.com>
36608 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36610 * Makefile.in (bench): New target.
36611 * NEWS: Mention the benchmark framework.
36612 * Rules (bench): Likewise.
36613 (binaries-bench): Generate binaries for functions to
36615 * benchtests/Makefile: New makefile for benchmark tests.
36616 * benchtests/bench-skeleton.c: New skeleton file for benchmark
36618 * benchtests/exp-inputs: New input file for EXP function.
36619 * benchtests/pow-inputs: New input file for POW function.
36620 * scripts/bench.pl: New script to generate source files for
36621 benchmark programs.
36623 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36625 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36626 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36627 computations on mantissa. Use macros for rounding and
36629 (denorm): Likewise.
36630 (__dbl_mp): Likewise.
36631 (add_magnitudes): Likewise.
36632 (sub_magnitudes): Likewise.
36635 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36636 powers of two in terms of TWOPOW macro.
36637 (mp_no): Make type of mantissa as MANTISSA_T.
36638 [!RADIXI]: Define RADIXI.
36639 [!TWO52]: Define TWO52.
36640 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36642 * manual/nptl.texi (cindex): Modify threads to pthreads.
36644 2013-03-15 Joseph Myers <joseph@codesourcery.com>
36646 * sysdeps/x86_64/preconfigure: Regenerated.
36648 2013-03-14 Joseph Myers <joseph@codesourcery.com>
36651 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36653 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36654 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36656 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36657 * math/libm-test.inc (j0_test): Do not allow one spurious
36658 underflow exception.
36659 (y1_test): Likewise.
36661 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36663 * manual/Makefile (chapters): Add nptl.
36664 * manual/debug.texi (Debugging Support): Add link to Threads
36666 * manual/nptl.texi: New file.
36668 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36670 2013-03-14 Petr Baudis <pasky@ucw.cz>
36672 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36673 for non-NULL pointer before the memory validity test. Pointed
36674 out by Holger Brunck <holger.brunck@keymile.com>.
36676 2013-03-13 Andreas Schwab <schwab@suse.de>
36678 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36681 2013-03-13 Joseph Myers <joseph@codesourcery.com>
36683 * timezone/zic.c: Update from tzcode 2013b.
36685 2013-03-12 Carlos O'Donell <carlos@redhat.com>
36687 * manual/install.texi (Configuring and compiling):
36688 Mention i686 and i586.
36689 * INSTALL: Regenerate.
36691 2013-03-12 Roland McGrath <roland@hack.frob.com>
36693 * sysdeps/init_array/elf-init.c: New file.
36695 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36696 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36698 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36699 __gmon_start__ as global, but as static with a .preinit_array pointer.
36700 * sysdeps/init_array/gmon-start.c: New file. Use that.
36701 * sysdeps/init_array/crti.S: New file, empty except for comments.
36702 * sysdeps/init_array/crtn.S: Likewise.
36704 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
36706 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36709 Remove Prefer_SSE_for_memop.
36710 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36711 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36712 HAS_PREFER_SSE_FOR_MEMOP.
36713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36716 Remove bzero, memset ifunc support.
36717 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36718 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36719 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36720 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36722 2013-03-11 Andreas Schwab <schwab@suse.de>
36725 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36728 (GLIBC_2.16): Remove pthread_atfork.
36730 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36732 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36733 (ptestcases.h): Likewise.
36735 2013-03-08 Roland McGrath <roland@hack.frob.com>
36737 * Makeconfig ($(common-objpfx)config.status): Depend on
36738 sysdeps/*/preconfigure{,.in} too.
36740 2013-03-08 Joseph Myers <joseph@codesourcery.com>
36742 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36743 (__free_hook): Use void * instead of __malloc_ptr_t.
36744 (__malloc_hook): Likewise.
36745 (__realloc_hook): Likewise.
36746 (__memalign_hook): Likewise.
36747 (__after_morecore_hook): Likewise.
36748 * malloc/arena.c (save_malloc_hook): Likewise.
36749 (save_free_hook): Likewise.
36750 * malloc/hooks.c (malloc_hook_ini): Likewise.
36751 (realloc_hook_ini): Likewise.
36752 (memalign_hook_ini): Likewise.
36753 * malloc/malloc.c (malloc_hook_ini): Likewise.
36754 (realloc_hook_ini): Likewise.
36755 (memalign_hook_ini): Likewise.
36756 (__free_hook): Likewise.
36757 (__malloc_hook): Likewise.
36758 (__realloc_hook): Likewise.
36759 (__memalign_hook): Likewise.
36760 (__libc_malloc): Likewise.
36761 (__libc_free): Likewise.
36762 (__libc_realloc): Likewise.
36763 (__libc_memalign): Likewise.
36764 (__libc_valloc): Likewise.
36765 (__libc_pvalloc): Likewise.
36766 (__libc_calloc): Likewise.
36767 (__posix_memalign): Likewise.
36768 * malloc/morecore.c (__sbrk): Likewise.
36769 (__default_morecore): Likewise.
36771 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36773 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36774 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36775 __malloc_ptrdiff_t.
36777 * malloc/malloc.h (__malloc_size_t): Remove macro.
36778 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36780 (old_memalign_hook): Likewise.
36781 (old_realloc_hook): Likewise.
36782 (struct hdr): Likewise.
36784 (mallochook): Likewise.
36785 (memalignhook): Likewise.
36786 (reallochook): Likewise.
36787 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36788 (tr_old_realloc_hook): Likewise.
36789 (tr_old_memalign_hook): Likewise.
36790 (tr_mallochook): Likewise.
36791 (tr_reallochook): Likewise.
36792 (tr_memalignhook): Likewise.
36794 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36797 default_ldbl_pack and using as default implementation.
36798 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36800 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36801 redundant definition.
36802 (ldbl_insert_mantissa): Likewise.
36803 (ldbl_canonicalize): Likewise.
36804 (ldbl_nearbyint): Likewise.
36805 (ldbl_pack): Rename to ldbl_pack_ppc.
36806 (ldbl_unpack): Rename to ldbl_unpack_ppc.
36807 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36808 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36810 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36813 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36814 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36815 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36817 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36818 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36819 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36821 2013-03-07 Andreas Jaeger <aj@suse.de>
36823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36826 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36828 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36829 Include mpa.h and declare __MPEXP.
36830 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36831 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36832 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36835 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36836 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36838 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36839 (__slowpow): Use long double EXPL and LOGL functions to
36841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36842 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36844 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36845 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36846 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36849 intermediate variable to calculate exponent.
36851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36855 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36856 [!NO__SQR]: Define __sqr.
36857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36858 and NO__SQR. Remove all code except __mul and __sqr. Include
36859 sysdeps/ieee754/dbl-64/mpa.c.
36860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36863 * posix/Makefile (tests): Add tst-pathconf.
36864 * posix/tst-pathconf.c: New test case.
36865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36867 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36869 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
36871 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36873 2013-03-06 Andreas Jaeger <aj@suse.de>
36875 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36876 definition via __MAP_ANONYMOUS.
36878 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36879 it's not part of Linux headers.
36881 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36882 (MAP_HUGE_MASK): Define.
36884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36890 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36895 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36897 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36898 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36899 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36900 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36901 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36902 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36904 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36907 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36908 Handle f2fs and efivarfs.
36910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36913 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36914 (EFIVARFS_MAGIC): Add.
36915 (F2FS_LINK_MAX): Add.
36917 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36919 * stdio-common/vfprintf.c: Replace __builtin_expect with
36922 2013-03-06 Joseph Myers <joseph@codesourcery.com>
36925 * sysdeps/generic/bp-sym.h: Remove file.
36926 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36927 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36928 <bp-sym.h> and <bp-asm.h>.
36929 (__longjmp): Don't use BP_SYM.
36930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36932 (memcpy): Don't use BP_SYM.
36933 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36934 <bp-sym.h> and <bp-asm.h>.
36935 (memcpy): Don't use BP_SYM.
36936 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36938 (memcpy): Don't use BP_SYM.
36939 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36941 (memset): Don't use BP_SYM.
36942 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36943 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36944 (__bzero): Don't use BP_SYM.
36945 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36946 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36947 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36948 <bp-sym.h> and <bp-asm.h>.
36949 (memcmp): Don't use BP_SYM. Remove comment about bounded
36951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36952 <bp-sym.h> and <bp-asm.h>.
36953 (memcpy): Don't use BP_SYM.
36954 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36955 <bp-sym.h> and <bp-asm.h>.
36956 (memset): Don't use BP_SYM.
36957 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36958 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36959 (__bzero): Don't use BP_SYM.
36960 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36961 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36962 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36963 <bp-sym.h> and <bp-asm.h>.
36964 (strncmp): Don't use BP_SYM. Remove comment about bounded
36966 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36967 <bp-sym.h> and <bp-asm.h>.
36968 (memcpy): Don't use BP_SYM.
36969 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36970 <bp-sym.h> and <bp-asm.h>.
36971 (memset): Don't use BP_SYM.
36972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36974 (__bzero): Don't use BP_SYM.
36975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36977 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36978 <bp-sym.h> and <bp-asm.h>.
36979 (__memchr): Don't use BP_SYM.
36980 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36981 <bp-sym.h> and <bp-asm.h>.
36982 (memcmp): Don't use BP_SYM. Remove comment about bounded
36984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36985 <bp-sym.h> and <bp-asm.h>.
36986 (memcpy): Don't use BP_SYM.
36987 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36988 <bp-sym.h> and <bp-asm.h>.
36989 (__mempcpy): Don't use BP_SYM.
36990 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36991 <bp-sym.h> and <bp-asm.h>.
36992 (__memrchr): Don't use BP_SYM.
36993 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36994 <bp-sym.h> and <bp-asm.h>.
36995 (memset): Don't use BP_SYM.
36996 (__bzero): Likewise.
36997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36998 <bp-sym.h> and <bp-asm.h>.
36999 (__rawmemchr): Don't use BP_SYM.
37000 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37001 <bp-sym.h> and <bp-asm.h>.
37002 (__STRCMP): Don't use BP_SYM.
37003 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37004 <bp-sym.h> and <bp-asm.h>.
37005 (strchr): Don't use BP_SYM.
37006 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37007 <bp-sym.h> and <bp-asm.h>.
37008 (__strchrnul): Don't use BP_SYM.
37009 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37010 <bp-sym.h> and <bp-asm.h>.
37011 (strlen): Don't use BP_SYM.
37012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37013 <bp-sym.h> and <bp-asm.h>.
37014 (strncmp): Don't use BP_SYM. Remove comment about bounded
37016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37017 <bp-sym.h> and <bp-asm.h>.
37018 (__strnlen): Don't use BP_SYM.
37019 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37020 <bp-sym.h> and <bp-asm.h>.
37021 (__GI__setjmp): Don't use BP_SYM.
37022 (_setjmp): Likewise.
37023 (__sigsetjmp): Likewise.
37024 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37025 (L(start_addresses)): Don't use BP_SYM.
37026 (_start): Likewise.
37027 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37029 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37030 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37031 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37032 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37033 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37035 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37036 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
37037 about bounded pointers.
37038 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37039 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37040 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37042 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37043 about bounded pointers. Remove GKM FIXME comments.
37044 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37045 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37047 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37048 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
37049 Remove GKM FIXME comments.
37050 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37051 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37052 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37054 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37055 about bounded pointers. Remove GKM FIXME comment.
37056 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37058 (strncmp): Don't use BP_SYM. Remove comment about bounded
37060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37061 <bp-sym.h> and <bp-asm.h>.
37062 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37064 <bp-sym.h> and <bp-asm.h>.
37065 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
37068 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37070 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37073 2013-03-05 David S. Miller <davem@davemloft.net>
37075 * po/es.po: Update from translation team.
37077 2013-03-05 Andreas Jaeger <aj@suse.de>
37079 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37080 <bits/mman-linux.h>.
37081 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37083 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37084 <bits/mman-linux.h> to end of file.
37085 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37087 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37088 <bits/mman-linux.h> to end of file.
37089 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37092 <bits/mman-linux.h> to end of file.
37094 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37095 (MCL_CURRENT, MCL_FUTURE): Define here.
37097 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37102 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37104 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37106 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37107 fourth parameter needed for rt_sigprocmask syscall.
37108 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37109 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37110 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37111 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37112 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37113 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37115 2013-03-04 Joseph Myers <joseph@codesourcery.com>
37118 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37119 comment about bounded pointers.
37120 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37121 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37123 2013-03-04 Andreas Jaeger <aj@suse.de>
37125 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37126 common definitions.
37128 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37129 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37131 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37135 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37139 __ieee754_sqrl instead of __sqrl.
37141 2013-03-01 Joseph Myers <joseph@codesourcery.com>
37143 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37144 * sysdeps/powerpc/fpu_control.h: ... here.
37145 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37146 * sysdeps/powerpc/bits/fenvinline.h: ... here.
37147 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37148 * sysdeps/powerpc/bits/mathinline.h: ... here.
37150 2013-03-01 Roland McGrath <roland@hack.frob.com>
37152 * elf/dl-hwcaps.c (_dl_important_hwcaps):
37153 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37154 to just [NEED_DL_SYSINFO_DSO].
37155 * elf/dl-support.c: Likewise.
37156 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37157 * elf/rtld.c (dl_main): Likewise.
37158 * elf/setup-vdso.h (setup_vdso): Likewise.
37159 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37160 * sysdeps/unix/sysv/linux/dl-sysdep.c
37161 (_dl_discover_osversion): Likewise.
37163 2013-03-01 Carlos O'Donell <carlos@redhat.com>
37165 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37166 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37168 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37170 * NEWS: Mention libm performance improvements and non-x86 PI
37173 * csu/libc-start.c (__pthread_initialize_minimal): Change
37174 function arguments.
37175 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37177 2013-02-28 Joseph Myers <joseph@codesourcery.com>
37180 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37181 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37182 <bp-sym.h> and <bp-asm.h>.
37183 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37184 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37186 (memcpy): Don't use BP_SYM.
37187 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37189 (__mpn_add_n): Don't use BP_SYM.
37190 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37191 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37193 (__mpn_addmul_1): Don't use BP_SYM.
37194 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37195 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37197 (_setjmp): Don't use BP_SYM.
37198 (__novmx_setjmp): Likewise.
37199 (__GI__setjmp): Likewise.
37200 (__vmx_setjmp): Likewise.
37201 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37203 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37204 (__bzero): Don't use BP_SYM.
37205 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37206 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37207 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37208 <bp-sym.h> and <bp-asm.h>.
37209 (memcpy): Don't use BP_SYM.
37210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37211 <bp-sym.h> and <bp-asm.h>.
37212 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37213 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37214 <bp-sym.h> and <bp-asm.h>.
37215 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37216 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37218 (__mpn_lshift): Don't use BP_SYM.
37219 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37220 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37222 (memset): Don't use BP_SYM.
37223 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37224 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37225 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37227 (__mpn_mul_1): Don't use BP_SYM.
37228 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37230 <bp-sym.h> and <bp-asm.h>.
37231 (memcmp): Don't use BP_SYM.
37232 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37233 <bp-sym.h> and <bp-asm.h>.
37234 (memcpy): Don't use BP_SYM.
37235 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37236 <bp-sym.h> and <bp-asm.h>.
37237 (memset): Don't use BP_SYM.
37238 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37239 <bp-sym.h> and <bp-asm.h>.
37240 (strncmp): Don't use BP_SYM.
37241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37242 <bp-sym.h> and <bp-asm.h>.
37243 (memcpy): Don't use BP_SYM.
37244 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37245 <bp-sym.h> and <bp-asm.h>.
37246 (memset): Don't use BP_SYM.
37247 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37248 <bp-sym.h> and <bp-asm.h>.
37249 (__memchr): Don't use BP_SYM.
37250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37251 <bp-sym.h> and <bp-asm.h>.
37252 (memcmp): Don't use BP_SYM.
37253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37254 <bp-sym.h> and <bp-asm.h>.
37255 (memcpy): Don't use BP_SYM.
37256 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37257 <bp-sym.h> and <bp-asm.h>.
37258 (__mempcpy): Don't use BP_SYM.
37259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37260 <bp-sym.h> and <bp-asm.h>.
37261 (__memrchr): Don't use BP_SYM.
37262 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37263 <bp-sym.h> and <bp-asm.h>.
37264 (memset): Don't use BP_SYM.
37265 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37266 <bp-sym.h> and <bp-asm.h>.
37267 (__rawmemchr): Don't use BP_SYM.
37268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37269 <bp-sym.h> and <bp-asm.h>.
37270 (__STRCMP): Don't use BP_SYM.
37271 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37272 <bp-sym.h> and <bp-asm.h>.
37273 (strchr): Don't use BP_SYM.
37274 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37275 <bp-sym.h> and <bp-asm.h>.
37276 (__strchrnul): Don't use BP_SYM.
37277 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37278 <bp-sym.h> and <bp-asm.h>.
37279 (strlen): Don't use BP_SYM.
37280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37281 <bp-sym.h> and <bp-asm.h>.
37282 (strncmp): Don't use BP_SYM.
37283 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37284 <bp-sym.h> and <bp-asm.h>.
37285 (__strnlen): Don't use BP_SYM.
37286 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37288 (__mpn_rshift): Don't use BP_SYM.
37289 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37290 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37291 <bp-sym.h> and <bp-asm.h>.
37292 (__sigsetjmp): Don't use BP_SYM.
37293 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37294 (L(start_addresses)): Don't use BP_SYM.
37295 (_start): Likewise.
37296 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37298 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37299 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37300 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37301 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37303 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37304 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37305 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37306 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37308 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
37310 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37311 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37313 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
37315 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37316 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37317 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37319 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
37321 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37323 (strncmp): Don't use BP_SYM,
37324 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37326 (__mpn_sub_n): Don't use BP_SYM.
37327 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37328 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37330 (__mpn_submul_1): Don't use BP_SYM.
37331 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37333 <bp-sym.h> and <bp-asm.h>.
37334 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37336 <bp-sym.h> and <bp-asm.h>.
37337 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
37340 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37343 Use ZK to minimize writes to Z.
37344 (sub_magnitudes): Simplify code a bit.
37345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37346 Use ZK to minimize writes to Z.
37347 (sub_magnitudes): Simplify code a bit.
37349 2013-02-27 Roland McGrath <roland@hack.frob.com>
37351 * csu/gmon-start.c: Add special exception to license text.
37353 2013-02-27 Richard Henderson <rth@redhat.com>
37355 * scripts/config.guess: Update from config.git.
37356 * scripts/config.sub: Likewise.
37358 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37360 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37362 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37364 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37366 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37368 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37370 2013-02-26 Roland McGrath <roland@hack.frob.com>
37372 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37373 [$(build-shared = yes].
37375 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37377 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37378 (__mul): Reduce iterations for calculating mantissa.
37380 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37382 (__mpranred): Likewise.
37385 * malloc/memusagestat.c (main): Draw graphs for heap and stack
37386 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37388 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
37390 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37391 Define __attribute__.
37393 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37395 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37397 * posix/regex_internal.h (__attribute): Remove.
37398 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37399 (re_string_context_at): Likewise.
37400 (bitset_not): Use __attribute__ and mark function as possibly
37402 (bitset_merge): Likewise.
37403 (bitset_mask): Likewise.
37404 (re_string_char_size_at): Likewise.
37405 (re_string_wchar_at): Likewise.
37406 (re_string_elem_size_at): Likewise.
37408 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37410 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37414 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37418 (denorm): Likewise.
37419 (__dbl_mp): Likewise.
37420 (add_magnitudes): Likewise.
37421 (sub_magnitudes): Likewise.
37425 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37428 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37431 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37435 up changes with default code.
37436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37439 2013-02-24 Allan McRae <allan@archlinux.org>
37441 * manual/socket.texi (The Internet Namespace): Order menu items
37442 to match that in the file.
37444 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37445 node listing of the info page menu.
37447 2013-02-21 Joseph Myers <joseph@codesourcery.com>
37450 * sysdeps/i386/bp-asm.h: Remove file.
37451 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37452 (PARMS): Do not use macros from bp-asm.h.
37456 (__mpn_add_n): Do not use BP_SYM
37457 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37459 (PARMS): Do not use macros from bp-asm.h.
37462 (__mpn_addmul_1): Do not use BP_SYM
37463 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37465 (PARMS): Do not use macros from bp-asm.h.
37466 (SIGMSK): Likewise.
37467 (_setjmp): Likewise. Do not use BP_SYM.
37468 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37470 (PARMS): Do not use macros from bp-asm.h.
37471 (SIGMSK): Likewise.
37472 (setjmp): Likewise. Do not use BP_SYM.
37473 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37475 (PARMS): Do not use macros from bp-asm.h.
37476 (__frexp): Do not use BP_SYM.
37478 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37480 (PARMS): Do not use macros from bp-asm.h.
37481 (__frexpf): Do not use BP_SYM.
37482 (frexpf): Likewise.
37483 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37485 (PARMS): Do not use macros from bp-asm.h.
37486 (__frexpl): Do not use BP_SYM.
37487 (frexpl): Likewise.
37488 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37490 (PARMS): Do not use macros from bp-asm.h.
37491 (__remquo): Do not use BP_SYM.
37492 (remquo): Likewise.
37493 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37495 (PARMS): Do not use macros from bp-asm.h.
37496 (__remquof): Do not use BP_SYM.
37497 (remquof): Likewise.
37498 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37500 (PARMS): Do not use macros from bp-asm.h.
37501 (__remquol): Do not use BP_SYM.
37502 (remquol): Likewise.
37503 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37505 (PARMS): Do not use macros from bp-asm.h.
37508 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
37509 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37511 (PARMS): Do not use macros from bp-asm.h.
37512 (strlen): Do not use BP_SYM.
37513 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37515 (PARMS): Do not use macros from bp-asm.h.
37519 (__mpn_add_n): Do not use BP_SYM.
37520 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37522 (PARMS): Do not use macros from bp-asm.h.
37525 (__mpn_addmul_1): Do not use BP_SYM.
37526 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37529 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37531 (PARMS): Do not use macros from bp-asm.h.
37534 (__mpn_lshift): Do not use BP_SYM.
37535 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37537 (PARMS): Do not use macros from bp-asm.h.
37541 (memcpy): Likewise. Do not use BP_SYM.
37542 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37543 libc_hidden_def and weak_alias.
37544 (mempcpy): Do not use BP_SYM in weak_alias.
37545 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37547 (PARMS): Do not use macros from bp-asm.h.
37550 [!BZERO_P] (CHR): Likewise.
37551 (memset): Likewise. Do not use BP_SYM.
37552 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37554 (PARMS): Do not use macros from bp-asm.h.
37557 (__mpn_mul_1): Do not use BP_SYM.
37558 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37560 (PARMS): Do not use macros from bp-asm.h.
37563 (__mpn_rshift): Do not use BP_SYM.
37564 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37566 (PARMS): Do not use macros from bp-asm.h.
37569 (strchr): Likewise. Do not use BP_SYM.
37570 (index): Do not use BP_SYM in weak_alias.
37571 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37573 (PARMS): Do not use macros from bp-asm.h.
37576 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
37577 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37579 (PARMS): Do not use macros from bp-asm.h.
37580 (strlen): Do not use BP_SYM.
37581 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37583 (PARMS): Do not use macros from bp-asm.h.
37587 (__mpn_sub_n): Do not use BP_SYM.
37588 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37590 (PARMS): Do not use macros from bp-asm.h.
37593 (__mpn_submul_1): Do not use BP_SYM.
37594 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37596 (PARMS): Do not use macros from bp-asm.h.
37600 (__mpn_add_n): Do not use BP_SYM.
37601 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37604 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37606 (PARMS): Do not use macros from bp-asm.h.
37609 (memcmp): Do not use BP_SYM.
37610 (bcmp): Do not use BP_SYM in weak_alias.
37611 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37613 (PARMS): Do not use macros from bp-asm.h.
37617 (memcpy): Likewise. Do not use BP_SYM.
37618 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37620 (PARMS): Do not use macros from bp-asm.h.
37624 (memmove): Likewise. Do not use BP_SYM.
37625 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37627 (PARMS): Do not use macros from bp-asm.h.
37631 (__mempcpy): Likewise. Do not use BP_SYM.
37632 (mempcpy): Do not use BP_SYM in weak_alias.
37633 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37635 (PARMS): Do not use macros from bp-asm.h.
37638 [!BZERO_P] (CHR): Likewise.
37639 (memset): Likewise. Do not use BP_SYM.
37640 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37642 (PARMS): Do not use macros from bp-asm.h.
37644 (strcmp): Do not use BP_SYM.
37645 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37647 (PARMS): Do not use macros from bp-asm.h.
37650 [USE_AS_STRTOK_R] (SAVE): Likewise.
37651 (FUNCTION): Likewise. Do not use BP_SYM.
37652 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37654 (strtok_r): Likewise.
37655 (__GI___strtok_r): Likewise.
37656 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37657 (PARMS): Do not use macros from bp-asm.h.
37660 (__mpn_lshift): Do not use BP_SYM.
37661 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37662 (PARMS): Do not use macros from bp-asm.h.
37665 (__memchr): Do not use BP_SYM.
37666 (memchr): Do not use BP_SYM in weak_alias.
37667 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37668 (PARMS): Do not use macros from bp-asm.h.
37671 (memcmp): Do not use BP_SYM.
37672 (bcmp): Do not use BP_SYM in weak_alias.
37673 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37674 (PARMS): Do not use macros from bp-asm.h.
37677 (__mpn_mul_1): Do not use BP_SYM.
37678 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37680 (PARMS): Do not use macros from bp-asm.h.
37683 (__rawmemchr): Do not use BP_SYM.
37684 (rawmemchr): Do not use BP_SYM in weak_alias.
37685 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37686 (PARMS): Do not use macros from bp-asm.h.
37689 (__mpn_rshift): Do not use BP_SYM.
37690 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37691 (PARMS): Do not use macros from bp-asm.h.
37692 (SIGMSK): Likewise.
37693 (__sigsetjmp): Likewise. Do not use BP_SYM.
37694 * sysdeps/i386/start.S: Do not include "bp-sym.h".
37695 (_start): Do not use BP_SYM.
37696 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37697 (PARMS): Do not use macros from bp-asm.h.
37700 (__stpcpy): Likewise. Do not use BP_SYM.
37701 (stpcpy): Do not use BP_SYM in weak_alias.
37702 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37704 (PARMS): Do not use macros from bp-asm.h.
37708 (__stpncpy): Likewise. Do not use BP_SYM.
37709 (stpncpy): Do not use BP_SYM in weak_alias.
37710 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37711 (PARMS): Do not use macros from bp-asm.h.
37714 (strchr): Likewise. Do not use BP_SYM.
37715 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37717 (PARMS): Do not use macros from bp-asm.h.
37720 (__strchrnul): Likewise. Do not use BP_SYM.
37721 (strchrnul): Do not use BP_SYM in weak_alias.
37722 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37724 (PARMS): Do not use macros from bp-asm.h.
37726 (strcspn): Do not use BP_SYM.
37727 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37729 (PARMS): Do not use macros from bp-asm.h.
37732 (strpbrk): Likewise. Do not use BP_SYM.
37733 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37735 (PARMS): Do not use macros from bp-asm.h.
37738 (strrchr): Likewise. Do not use BP_SYM.
37739 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37740 (PARMS): Do not use macros from bp-asm.h.
37742 (strspn): Do not use BP_SYM.
37743 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37744 (PARMS): Do not use macros from bp-asm.h.
37748 (FUNCTION): Likewise. Do not use BP_SYM.
37749 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37751 (strtok_r): Likewise.
37752 (__GI___strtok_r): Likewise.
37753 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37754 (PARMS): Do not use macros from bp-asm.h.
37758 (__mpn_sub_n): Do not use BP_SYM.
37759 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37761 (PARMS): Do not use macros from bp-asm.h.
37764 (__mpn_submul_1): Do not use BP_SYM.
37765 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37767 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37769 (PARMS): Do not use macros from bp-asm.h.
37774 (__clone): Do not use BP_SYM.
37775 (clone): Do not use BP_SYM in weak_alias.
37776 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37778 (PARMS): Do not use macros from bp-asm.h.
37780 (__mmap64): Do not use BP_SYM.
37781 (mmap64): Do not use BP_SYM in weak_alias.
37782 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37783 <bp-sym.h> and <bp-asm.h>.
37784 (PARMS): Do not use macros from bp-asm.h.
37785 (__posix_fadvise64_l64): Do not use BP_SYM.
37786 * sysdeps/unix/sysv/linux/i386/semtimedop.S
37787 (PARMS): Do not use macros from bp-asm.h.
37789 (semtimedop): Do not use BP_SYM.
37790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37793 2013-02-21 Allan McRae <allan@archlinux.org>
37795 * manual/message.texi (Charset conversion in gettext):
37796 Move @end statement to beginning of line.
37798 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37805 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37806 (denorm): Likewise.
37807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37810 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37812 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37813 tail-call to the resolved function if pltexit isn't needed.
37815 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37818 or Y being zero as being unlikely.
37819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37822 2013-02-20 Carlos O'Donell <carlos@redhat.com>
37824 * manual/nss.texi (System Databases and Name Service Switch):
37825 Remove frobnicate @pxref.
37827 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37829 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37830 __attribute__ ((unused)) to __attribute__ ((__unused__)).
37832 2013-02-20 Petr Machata <pmachata@redhat.com>
37834 * elf/elf.h (R_ARM_TARGET1): New macro.
37835 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37836 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37837 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37838 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37839 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37840 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37841 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37842 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37843 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37844 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37845 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37846 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37847 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37848 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37849 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37850 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37851 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37852 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37853 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37854 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37855 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37856 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37857 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37858 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37859 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37860 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37861 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37862 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37863 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37864 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37865 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37866 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37867 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37868 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37869 (R_ARM_THM_GOT_BREL12): Likewise.
37870 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37871 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37872 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37873 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37874 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37875 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37876 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37877 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37878 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37880 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37882 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37883 __attribute_used__ to __attribute__ ((unused)).
37885 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37890 comment formatting.
37891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37893 2013-02-19 Joseph Myers <joseph@codesourcery.com>
37896 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37898 (ENTER): Remove both macro definitions.
37900 (CHECK_BOUNDS_LOW): Likewise.
37901 (CHECK_BOUNDS_HIGH): Likewise.
37902 (CHECK_BOUNDS_BOTH): Likewise.
37903 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37904 (RETURN_BOUNDED_POINTER): Likewise.
37905 (RETURN_NULL_BOUNDED_POINTER): Likewise.
37906 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37907 (POP_ERRNO_LOCATION_RETURN): Likewise.
37908 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37910 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37912 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37913 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37914 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37915 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37916 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37917 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37918 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37919 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37920 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37921 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37922 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37923 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37925 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37927 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37928 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37931 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37932 * sysdeps/i386/i586/memset.S (memset): Likewise.
37933 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37934 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37935 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37937 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37938 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37939 Change uses of L(2) to L(out).
37940 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37941 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37942 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37944 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37946 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37947 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37949 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37950 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37951 (RETURN): Do not use macro LEAVE.
37952 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37953 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37954 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37955 * sysdeps/i386/i686/memset.S (memset): Likewise.
37956 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37957 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37958 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37959 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37961 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37962 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37963 L(1_2) and L(1_3) into L(1).
37964 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37965 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37966 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37967 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37968 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37969 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37970 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37971 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37972 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37974 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37975 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37976 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37977 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37978 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37979 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37980 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37981 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37982 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37983 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37984 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37985 * sysdeps/i386/strspn.S (strspn): Likewise.
37986 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37988 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37989 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37990 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37991 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37992 L(1_3) into L(1_1).
37993 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37994 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37995 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37999 2013-02-19 Jakub Jelinek <jakub@redhat.com>
38001 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38004 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38006 * math/atest-exp.c (exp_mpn): Remove ROUND.
38007 * math/atest-exp2.c (exp_mpn): Likewise.
38008 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38010 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38011 * stdlib/tst-tls-atexit-lib.c: Likewise.
38012 * stdlib/tst-tls-atexit.c: Likewise.
38014 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38016 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38017 and __attribute_alloc_size__.
38019 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38021 * include/programs/xmalloc.h: Change __attribute_alloc_size to
38022 __attribute_alloc_size__.
38023 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38024 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38026 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38028 * include/programs/xmalloc.h: New file.
38029 * catgets/gencat.c: Include it.
38030 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38031 * elf/pldd.c: Likewise.
38032 * iconv/iconv_charmap.c: Likewise.
38033 * iconv/iconvconfig.c: Likewise.
38034 * iconv/strtab.c: Likewise.
38035 * locale/programs/locale.c: Likewise.
38036 * locale/programs/localedef.h: Likewise.
38037 * locale/programs/simple-hash.c: Likewise.
38038 * nscd/nscd.h: Likewise.
38039 * nss/makedb.c: Likewise.
38040 * sysdeps/generic/ldconfig.h: Likewise.
38042 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38044 * Versions.def: Add GLIBC_2.18.
38045 * include/link.h (struct link_map): New member l_tls_dtor_count.
38046 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38047 (__call_tls_dtors): Likewise.
38048 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38049 __cxa_thread_atexit_impl.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38066 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38067 (tests): Add test case tst-tls-atexit.
38068 (modules-names): Add shared library for tst-tls-atexit.
38069 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38070 (GLIBC_PRIVATE): Add __call_tls_dtors.
38071 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38073 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38074 * stdlib/tst-tls-atexit.c: New test case.
38075 * stdlib/tst-tls-atexit-lib.c: New test case.
38077 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38079 * elf/Versions (ld): Add _dl_find_dso_for_object.
38080 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38081 * elf/dl-open.c (_dl_find_dso_for_object): New function.
38082 (dl_open_worker): Use _dl_find_dso_for_object.
38083 * elf/dl-sym.c (do_sym): Likewise.
38084 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38086 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38088 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38089 Syntactic changes only.
38090 (_dl_runtime_profile): Do a tail-call to the resolved function.
38092 2013-02-17 Joseph Myers <joseph@codesourcery.com>
38095 * sysdeps/x86_64/bp-asm.h: Remove file.
38096 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38097 <bp-sym.h> and <bp-asm.h>.
38098 (__clone): Do not use BP_SYM.
38099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38100 <bp-sym.h> and <bp-asm.h>.
38101 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38102 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38104 (_setjmp): Do not use BP_SYM.
38105 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38107 (setjmp): Do not use BP_SYM.
38108 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38110 (mempcpy): Do not use BP_SYM in weak_alias.
38111 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38113 (strchr): Do not use BP_SYM.
38114 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38116 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38117 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38118 (_start): Do not use BP_SYM.
38119 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38121 (strcat): Do not use BP_SYM.
38122 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38124 (STRCMP): Do not use BP_SYM.
38125 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38127 (STRCPY): Do not use BP_SYM.
38128 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38130 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38132 (FUNCTION): Do not use BP_SYM.
38133 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38135 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38137 2013-02-17 Andreas Jaeger <aj@suse.de>
38139 * time/Versions: Sort entries.
38140 * string/Versions: Likewise.
38141 * resolv/Versions: Likewise.
38142 * posix/Versions: Likewise.
38143 * iconv/Versions: Likewise.
38144 * elf/Versions: Likewise.
38145 * wcsmbs/Versions: Likewise.
38147 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38150 loop termination condition.
38152 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38153 variable to calculate EZ.
38156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38157 the lower precision input.
38159 2013-02-15 Joseph Myers <joseph@codesourcery.com>
38162 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38163 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38164 (run-via-rtld-prefix): Do not handle %-bp tests.
38165 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38166 (all-object-suffixes): Remove .ob.
38167 (bppfx): Remove variable.
38168 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38169 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38170 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38171 [$(build-bounded) = yes] (libtype.ob): Likewise.
38172 * Makerules (elide-routines.ob): Remove variable.
38173 (do-tests-clean): Do not handle *-bp.out.
38174 (common-mostlyclean): Do not handle *-bp and *-bp.out.
38175 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38176 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38177 (tests): Do not include $(tests-bp.out).
38178 (xtests): Do not include $(xtests-bp.out).
38179 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38180 [$(build-bounded) = yes] ($(addprefix
38181 $(objpfx),$(binaries-bounded))): Remove rule.
38182 ($(objpfx)%-bp.out): Remove rule.
38183 * config.make.in (build-bounded): Remove variable.
38184 * crypt/Makefile [$(build-bounded) = yes]
38185 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38186 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38187 append to variable.
38188 [$(build-bounded) = yes] (install-lib): Likewise.
38189 [$(build-bounded) = yes] (generated): Likewise.
38190 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38192 * intl/Makefile [$(build-bounded) = yes]
38193 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38194 * math/Makefile [$(build-bounded) = yes]
38195 ($(tests:%=$(objpfx)%-bp): Likewise.
38196 * misc/Makefile [$(build-bounded) = yes]
38197 ($(objpfx)tst-tsearch-bp): Likewise.
38198 * nptl/Makeconfig (bounded-thread-library): Remove variable.
38199 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38201 * string/Makefile (o-objects.ob): Remove variable.
38202 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38203 (CFLAGS-.ob): Remove variable.
38204 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38206 both definitions of variable.
38207 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38208 (ASFLAGS-.ob): Remove variable.
38210 2013-02-14 Joseph Myers <joseph@codesourcery.com>
38213 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38214 Remove __BOUNDED_POINTERS__ from condition.
38215 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38216 * string/bits/string2.h [!__NO_STRING_INLINES &&
38217 !__BOUNDED_POINTERS__]: Likewise.
38218 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38220 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38221 Remove conditional code.
38222 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38223 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38224 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38228 * csu/libc-start.c: Do not include <bp-sym.h>.
38229 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38230 * elf/dl-open.c: Do not include <bp-sym.h>.
38231 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38232 * math/fegetenv.c: Do not include <bp-sym.h>.
38233 (fegetenv): Do not use BP_SYM in versioned symbols.
38234 * nptl/sysdeps/pthread/bits/libc-lockP.h
38235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38238 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38240 (__pthread_mutex_destroy): Likewise.
38241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38242 (__pthread_mutex_lock): Likewise.
38243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38244 (__pthread_mutex_trylock): Likewise.
38245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38246 (__pthread_mutex_unlock): Likewise.
38247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38248 (__pthread_mutexattr_init): Likewise.
38249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38250 (__pthread_mutexattr_destroy): Likewise.
38251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38252 (__pthread_mutexattr_settype): Likewise.
38253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38254 (__pthread_rwlock_init): Likewise.
38255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38256 (__pthread_rwlock_destroy): Likewise.
38257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38258 (__pthread_rwlock_rdlock): Likewise.
38259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38260 (__pthread_rwlock_tryrdlock): Likewise.
38261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38262 (__pthread_rwlock_wrlock): Likewise.
38263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38264 (__pthread_rwlock_trywrlock): Likewise.
38265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38266 (__pthread_rwlock_unlock): Likewise.
38267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38268 (__pthread_key_create): Likewise.
38269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38270 (__pthread_setspecific): Likewise.
38271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38272 (__pthread_getspecific): Likewise.
38273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38276 (_pthread_cleanup_push_defer): Likewise.
38277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38278 (_pthread_cleanup_pop_restore): Likewise.
38279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38280 (pthread_setcancelstate): Likewise.
38281 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38283 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38284 (memchr): Do not use BP_SYM in weak_alias.
38285 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38286 (fegetenv): Do not use BP_SYM in versioned symbols.
38287 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38288 (fesetenv): Do not use BP_SYM in versioned symbols.
38289 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38290 (feupdateenv): Do not use BP_SYM in versioned symbols.
38291 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38292 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38293 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38294 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38295 (open64): Do not use BP_SYM in weak_alias.
38296 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38297 (fegetenv): Do not use BP_SYM in versioned symbols.
38298 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38299 (fesetenv): Do not use BP_SYM in versioned symbols.
38300 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38301 (feupdateenv): Do not use BP_SYM in versioned symbols.
38302 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38303 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38304 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38305 (feraiseexcept): Do not use BP_SYM in versioned symbols.
38306 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38307 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38310 (__libc_start_main): Do not use BP_SYM.
38312 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38315 redundant return line.
38317 (denorm): Likewise.
38318 (dbl_mp): Likewise.
38319 (sub_magnitudes): Likewise.
38325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38327 (denorm): Likewise.
38328 (dbl_mp): Likewise.
38329 (sub_magnitudes): Likewise.
38336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38339 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38342 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38343 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38345 of __mul for squares.
38346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38350 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38353 2013-02-13 Joseph Myers <joseph@codesourcery.com>
38356 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38358 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38359 prototype or function definition. Rename ubp_* variables and
38360 parameters. Remove argv definitions conditional on
38361 [__BOUNDED_POINTERS__].
38362 * debug/backtrace.c (__backtrace): Do not use __unbounded.
38363 * elf/dl-runtime.c (_dl_fixup): Likewise.
38364 * include/set-hooks.h (RUN_HOOK): Likewise.
38365 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38367 * string/strcpy.c (strcpy): Do not use __unbounded.
38368 * sysdeps/generic/frame.h (struct layout): Likewise.
38369 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38370 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38371 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38372 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38373 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38374 (__backtrace): Likewise.
38375 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38377 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38378 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38379 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38381 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38382 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38383 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38384 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38385 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38386 Do not use __unbounded.
38387 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38388 Rename __unboundedrlimits parameter to rlimits in prototype.
38389 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38390 Do not use __unbounded.
38391 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38392 not use __ptrvalue.
38393 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38394 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38396 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38397 __ptrvalue or __unbounded.
38398 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38399 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38401 (__new_msgctl): Do not use __ptrvalue.
38402 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38404 (__libc_msgrcv): Do not use __ptrvalue.
38405 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38406 startup_info): Do not use __unbounded.
38407 (__libc_start_main): Likewise. Rename ubp_* variables and
38408 parameters. Remove argv definitions conditional on
38409 [__BOUNDED_POINTERS__].
38410 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38412 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38416 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38418 (__new_shmctl): Do not use __ptrvalue.
38419 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38420 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38422 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38424 (__libc_sigaction): Likewise.
38425 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38426 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38428 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38430 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
38432 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38434 * string/mempcpy.c: Implement by calling memcpy.
38436 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
38438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38440 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38444 values in the mantissa.
38446 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38447 minimize writes to Z.
38448 (sub_magnitudes): Simplify code a bit.
38450 2013-02-12 Roland McGrath <roland@hack.frob.com>
38452 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38453 from the message. The linker prefixes all warnings with that already.
38455 2013-02-12 Andreas Schwab <schwab@suse.de>
38458 * posix/regexec.c (extend_buffers): Add parameter min_len.
38459 (check_matching): Pass minimum needed length.
38460 (clean_state_log_if_needed): Likewise.
38461 (get_subexp): Likewise.
38462 * posix/Makefile (tests): Add bug-regex34.
38463 (bug-regex34-ENV): Define.
38464 * posix/bug-regex34.c: New file.
38467 * posix/regcomp.c (parse_bracket_exp): When looking up collating
38468 elements compare against the byte sequence of it, not its name.
38469 * posix/Makefile (tests): Add bug-regex35.
38470 (bug-regex35-ENV): Define.
38471 * posix/bug-regex35.c: New file.
38473 2013-02-11 Tom de Vries <tom@codesourcery.com>
38475 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
38477 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38478 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38479 (CHECK_EOL): Add undef.
38481 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
38483 * bits/stdlib-bsearch.h: New file.
38484 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38485 * stdlib/stdlib.h: Likewise.
38487 2013-02-11 Roland McGrath <roland@hack.frob.com>
38489 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38490 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38492 * manual/search.texi (Array Search Function): Add missing const in
38494 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38495 declaration to use rlim_t.
38496 (Basic Scheduling Functions): Remove erroneous const from
38497 sched_getparam prototype. Remove erroneous * from
38498 sched_get_priority_max and sched_get_priority_min prototypes.
38499 (Resource Usage): Fix summary @comment on vtimes to refer to
38500 sys/vtimes.h rather than vtimes.h.
38501 Add missing *s in vtimes prototype.
38502 (Limits on Resources): Fix ulimit prototype to return long int.
38503 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38504 prototypes to use long int rather than double.
38505 (BSD Random): Fix initstate and setstate to use char *, not void *.
38506 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38507 prototype to make second argument 'struct aiocb64 *const[]'.
38508 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38509 (Status of AIO Operations): Remove erroneous const in aio_return and
38510 aio_return64 prototypes.
38511 (Synchronizing I/O): Fix sync prototype to return void.
38512 * manual/startup.texi (Suboptions): Remove an erroneous const in
38513 getsubopt prototype.
38514 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38515 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38516 use size_t rather than int.
38517 (Scanning All Users): Likewise for getpwent_r.
38518 (Setting Groups): Add missing const to setgroups prototype.
38519 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38520 * manual/socket.texi (Host Names): Fix gethostbyaddr and
38521 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38522 'const void *' rather than 'const char *'.
38523 (Host Address Functions): Likewise for inet_ntop.
38524 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38525 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38526 ssize_t for return value.
38527 (Sending Data): Likewise for send, sendto, sendmsg.
38528 (Socket Option Functions): Add a missing const in setsockopt prototype.
38529 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38530 use wchar_t for the argument.
38531 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38532 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38534 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38535 double/float/long double for second argument.
38536 Fix return types of significand, significandf, significandl.
38537 * manual/filesys.texi (Setting Permissions): Use mode_t for second
38538 argument in fchmod prototype.
38539 (File Owner): Use uid_t and gid_t in fchown prototype.
38540 (File Times): Add const to utimes, futimes, and lutimes prototypes.
38541 (Making Special Files): Use mode_t and dev_t in mknod prototype.
38542 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38543 use 'const struct dirent **' as argument types to CMP function pointer
38545 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38546 (File Times): Fix summary magic @comment for struct utimbuf and utime
38547 to refer to utime.h, not time.h.
38548 * manual/string.texi (Argz Functions): Add missing const in
38549 argz_extract and argz_next prototypes.
38550 (Finding Tokens in a String): Likewise for basename.
38551 (String/Array Comparison): Fix typo in wcscasecmp prototype.
38552 (Copying and Concatenation): Fix typo in wmemmove prototype.
38553 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38554 (Signal Stack): Remove erroneous const in sigstack prototype.
38555 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38557 (Simple Calendar Time): Likewise for stime.
38558 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38560 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38561 say sys/sysctl.h instead.
38562 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38563 and vsyslog prototypes.
38565 2013-02-11 Tom de Vries <tom@codesourcery.com>
38567 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38570 2013-02-11 Roland McGrath <roland@hack.frob.com>
38572 * misc/sys/mman.h: Fix typo in mremap comment.
38574 2013-02-08 Roland McGrath <roland@hack.frob.com>
38576 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38577 the '\0' terminator.
38579 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38582 * debug/segfault.c: Don't include <bp-checks.h>.
38583 * sysdeps/generic/bp-checks.h: Remove file.
38584 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38585 (__GETDENTS): Don't use CHECK_N.
38586 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38587 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38588 (__getgroups): Don't use CHECK_N.
38589 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38590 (setgroups): Don't use CHECK_N.
38591 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38592 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38593 (__libc_msgrcv): Don't use CHECK_N.
38594 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38595 (__libc_msgsnd): Don't use CHECK_N.
38596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38598 (__libc_pread): Don't use CHECK_N.
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38600 include <bp-checks.h>.
38601 (__libc_pread64): Don't use CHECK_N.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38603 include <bp-checks.h>.
38604 (__libc_pwrite): Don't use CHECK_N.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38606 include <bp-checks.h>.
38607 (__libc_pwrite64): Don't use CHECK_N.
38608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38610 (__libc_pread): Don't use CHECK_N.
38611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38612 include <bp-checks.h>.
38613 (__libc_pread64): Don't use CHECK_N.
38614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38615 include <bp-checks.h>.
38616 (__libc_pwrite): Don't use CHECK_N.
38617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38618 include <bp-checks.h>.
38619 (__libc_pwrite64): Don't use CHECK_N.
38620 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38621 (do_pread): Don't use CHECK_N.
38622 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38623 (do_pread64): Don't use CHECK_N.
38624 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38625 (do_pwrite): Don't use CHECK_N.
38626 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38627 (do_pwrite64): Don't use CHECK_N.
38628 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38629 (__libc_readv): Don't use CHECK_N.
38630 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38631 (semop): Don't use CHECK_N.
38632 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38634 (semtimedop): Don't use CHECK_N.
38635 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38636 (__libc_pread): Don't use CHECK_N.
38637 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38639 (__libc_pread64): Don't use CHECK_N.
38640 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38642 (__libc_pwrite): Don't use CHECK_N.
38643 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38645 (__libc_pwrite64): Don't use CHECK_N.
38646 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38648 (__libc_msgrcv): Don't use CHECK_N.
38649 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38650 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
38651 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38652 (__libc_writev): Don't use CHECK_N.
38654 2013-02-08 Roland McGrath <roland@hack.frob.com>
38656 * string/strcpy.c: Removed unused variable.
38658 * Makeconfig (+sysdep-includes): Define with := rather than =.
38659 Use an existing include/ subdir of each sysdeps dir before it.
38661 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38663 * nscd/connection.c (register_traced_file): Comment function.
38664 [HAVE_INOTIFY] (union __inev): Define.
38665 [HAVE_INOTIFY] (inotify_check_files): New function.
38666 [HAVE_INOTIFY] (clear_db_cache): Likewise.
38667 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38669 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38671 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38673 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38674 loaded if not already and that a failure is permanent.
38676 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38679 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38680 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38682 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38685 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38686 (CHECK_1_NULL_OK): Likewise.
38687 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38688 (__fxstat): Do not use CHECK_1.
38689 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38691 (___fxstat64): Do not use CHECK_1.
38692 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38694 (__fxstatat): Do not use CHECK_1.
38695 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38697 (__fxstatat64): Do not use CHECK_1.
38698 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38700 (__fxstat): Do not use CHECK_1.
38701 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38703 (__fxstatat): Do not use CHECK_1.
38704 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38706 (__getresgid): Do not use CHECK_1.
38707 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38709 (__getresuid): Do not use CHECK_1.
38710 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38712 (__lxstat): Do not use CHECK_1.
38713 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38715 (__old_msgctl): Do not use CHECK_1.
38716 (__new_msgctl): Likewise.
38717 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38719 (__new_setrlimit): Do not use CHECK_1.
38720 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38722 (__old_shmctl): Do not use CHECK_1.
38723 (__new_shmctl): Likewise.
38724 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38726 (__xstat): Do not use CHECK_1.
38727 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38728 (__lxstat): Do not use CHECK_1.
38729 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38731 (___lxstat64): Do not use CHECK_1.
38732 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38733 (__old_msgctl): Do not use CHECK_1.
38734 (__new_msgctl): Likewise.
38735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38737 (__gettimeofday): Do not use CHECK_1.
38738 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38739 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38740 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38742 (__gettimeofday): Do not use CHECK_1.
38743 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38744 (__old_shmctl): Do not use CHECK_1_NULL_OK.
38745 (__new_shmctl): Do not use CHECK_1.
38746 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38748 (do_sigtimedwait): Do not use CHECK_1.
38749 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38751 (do_sigwaitinfo): Do not use CHECK_1.
38752 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38754 (msgctl): Do not use CHECK_1.
38755 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38757 (shmctl): Do not use CHECK_1.
38758 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38759 (ustat): Do not use CHECK_1.
38760 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38762 (__fxstat): Do not use CHECK_1.
38763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38765 (__fxstatat): Do not use CHECK_1.
38766 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38768 (__lxstat): Do not use CHECK_1.
38769 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38771 (__xstat): Do not use CHECK_1.
38772 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38773 (__xstat): Do not use CHECK_1.
38774 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38775 (___xstat64): Do not use CHECK_1.
38778 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38780 (CHECK_BOUNDS_HIGH): Likewise.
38781 * string/strcpy.c: Do not include <bp-checks.h>.
38782 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38784 2013-02-07 Roland McGrath <roland@hack.frob.com>
38786 * nscd/nscd-client.h (__nscd_drop_map_ref):
38787 Add __attribute__ ((unused)).
38788 * nis/nss-nisplus.h (niserr2nss): Likewise.
38790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38791 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38793 * csu/libc-tls.c (init_static_tls, init_slotinfo):
38794 Remove inline keyword.
38795 * include/rounding-mode.h (round_away): Likewise.
38796 * libio/wfileops.c (adjust_wide_data): Likewise.
38797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38798 (__m128i_strloadu_tolower): Likewise.
38799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38800 (__m128i_strloadu_tolower): Likewise.
38801 * time/mktime.c (ydhms_diff): Likewise.
38802 * locale/elem-hash.h (elem_hash): Likewise.
38803 * locale/setlocale.c (setdata): Likewise.
38804 * posix/regex_internal.h (re_string_char_size_at): Likewise.
38805 (re_string_wchar_at): Likewise.
38806 (bitset_not, bitset_merge, bitset_mask): Likewise.
38807 [!(__GNUC__ > 3)] (inline): Remove macro.
38808 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38809 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38810 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38811 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38812 * string/memcmp.c (memcmp_bytes): Likewise.
38813 * locale/programs/locarchive.c (compute_hashval): Likewise.
38814 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38815 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38816 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38817 * nss/getent.c (print_rpc, print_protocols): Likewise.
38818 (print_passwd, print_group, print_aliases): Likewise.
38819 * nis/nss-nisplus.h (niserr2nss): Likewise.
38820 * nscd/connections.c (restart_p): Likewise.
38821 Change return type to bool.
38823 2013-02-05 Roland McGrath <roland@hack.frob.com>
38825 * Makeconfig (all-Depend-files): Add existing
38826 $(sorted-subdirs:=/Depend) files.
38827 (all-subdirs): Remove nss.
38828 * sysdeps/unix/inet/Subdirs: Add it here instead.
38829 * hesiod/Depend: New file.
38831 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38832 instead of calling alloca.
38834 * io/lseek.c (__lseek): Rename to __libc_lseek.
38835 Define __lseek as an alias.
38837 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38839 2013-02-04 Carlos O'Donell <carlos@redhat.com>
38841 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38842 else clause and remove check for non-standard endianness.
38844 2013-02-04 David S. Miller <davem@davemloft.net>
38846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38848 2013-02-04 Joseph Myers <joseph@codesourcery.com>
38851 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38852 (__ubp_memchr): Remove prototype.
38853 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38854 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38855 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38856 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38857 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38859 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38860 (__ubp_memchr): Likewise.
38861 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38862 (__ubp_memchr): Likewise.
38863 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38864 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38865 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38866 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38868 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38869 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38870 (__getcwd): Do not use CHECK_STRING.
38871 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38873 (__real_chown): Do not use CHECK_STRING.
38874 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38876 (fchownat): Do not use CHECK_STRING.
38877 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38879 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38881 (__lchown): Do not use CHECK_STRING.
38882 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38883 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38884 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38885 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38887 include <bp-checks.h>.
38888 (truncate64): Do not use CHECK_STRING.
38889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38891 (__real_chown): Do not use CHECK_STRING.
38892 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38894 (__lchown): Do not use CHECK_STRING.
38895 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38897 (__chown): Do not use CHECK_STRING.
38898 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38900 (truncate64): Do not use CHECK_STRING.
38901 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38903 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38904 (__xmknod): Do not use CHECK_STRING.
38905 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38907 (__xmknodat): Do not use CHECK_STRING.
38908 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38909 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38911 2013-02-04 Andreas Schwab <schwab@suse.de>
38914 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38915 * include/netdb.h: Likewise for h_errno.
38916 * elf/tst-stackguard1.c: Include <tls.h>.
38918 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
38920 * elf/link.h (struct link_map): Extend the l_addr comment.
38921 * include/link.h (struct link_map): Likewise.
38923 2013-02-01 Joseph Myers <joseph@codesourcery.com>
38926 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38927 (BOUNDED_1): Remove macro.
38928 * debug/backtrace.c: Don't include <bp-checks.h>.
38929 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38930 (__backtrace): Likewise.
38931 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38933 (__backtrace): Don't use BOUNDED_1.
38934 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38936 (__backtrace): Don't use BOUNDED_1.
38937 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38938 (__backtrace): Don't use BOUNDED_1.
38939 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38940 (shmat): Don't use BOUNDED_N.
38942 2013-01-31 Joseph Myers <joseph@codesourcery.com>
38945 * sysdeps/generic/bp-start.h: Remove file.
38946 * csu/libc-start.c: Don't include <bp-start.h>.
38947 (LIBC_START_MAIN): Set up __environ directly instead of using
38948 INIT_ARGV_and_ENVIRON.
38949 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38953 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38955 (CHECK_FCNTL): Likewise.
38956 (CHECK_N_PAGES): Likewise.
38959 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38961 (CHECK_SIGSET_NULL_OK): Likewise.
38962 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38964 (sigpending): Don't use CHECK_SIGSET.
38965 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38967 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38968 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38970 (do_sigsuspend): Don't use CHECK_SIGSET.
38971 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38973 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38974 (do_sigwait): Don't use CHECK_SIGSET.
38975 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38978 include <bp-checks.h>.
38979 (sigpending): Don't use CHECK_SIGSET.
38980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38981 include <bp-checks.h>.
38982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38983 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38985 (sigpending): Don't use CHECK_SIGSET.
38986 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38988 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38991 * sysdeps/generic/bp-semctl.h: Remove file.
38992 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38993 <bp-checks.h> and <bp-semctl.h>.
38994 (__old_semctl): Don't use CHECK_SEMCTL.
38995 (__new_semctl): Likewise.
38996 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38998 (__old_semctl): Don't use CHECK_SEMCTL.
38999 (__new_semctl): Likewise.
39000 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39001 <bp-checks.h> and <bp-semctl.h>.
39002 (__old_semctl): Don't use CHECK_SEMCTL.
39003 (__new_semctl): Likewise.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39005 <bp-checks.h> and <bp-semctl.h>.
39006 (semctl): Don't use CHECK_SEMCTL.
39009 * Makerules (elide-bp-thunks): Remove variable.
39010 (elide-routines.oS): Don't use $(elide-bp-thunks).
39011 (elide-routines.os): Likewise.
39012 (elide-routines.o): Likewise.
39013 (elide-routines.op): Likewise.
39014 (elide-routines.og): Likewise.
39015 (objects): Don't use $(bp-thunks).
39016 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39018 (common-generated): Do not add s-proto-bp.d.
39019 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39022 Do not generate makefile rules for bounded-pointer thunks.
39023 * sysdeps/generic/bp-thunks.h: Remove file.
39024 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39025 * sysdeps/unix/s-proto-bp.S: Likewise.
39028 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39029 parts of result separately when argument is not close to line from
39030 -i to i and one part of argument is small.
39031 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39032 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39033 * math/libm-test.inc (cacos_test): Add more tests.
39034 (casin_test): Likewise.
39035 (casinh_test): Likewise.
39036 * sysdeps/i386/fpu/libm-test-ulps: Update.
39037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39039 2013-01-31 David S. Miller <davem@davemloft.net>
39041 * po/de.po: Update from translation team.
39043 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
39045 * time/tzfile.c: Include stdint.h for SIZE_MAX.
39047 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
39049 * configure.in (_AC_PROG_CC_C89): New definition.
39050 * configure: Regenerate.
39052 * configure.in (AC_PROG_CPP): New definition.
39053 * configure: Regenerate.
39055 2013-01-23 Joseph Myers <joseph@codesourcery.com>
39057 * debug/tst-backtrace.h: New file.
39058 * debug/tst-backtrace2.c: Include tst-backtrace.h.
39059 (ret): Remove variable.
39061 (FAIL): Remove macro.
39062 (NO_INLINE): Likewise.
39063 (fn1): Use match function instead of strstr.
39064 * debug/tst-backtrace3.c: Include tst-backtrace.h.
39065 (ret): Remove variable.
39067 (FAIL): Remove macro.
39068 (NO_INLINE): Likewise.
39069 (fn): Use match function instead of strstr.
39070 * debug/tst-backtrace4.c: Include tst-backtrace.h.
39071 (ret): Remove variable.
39073 (FAIL): Remove macro.
39074 (NO_INLINE): Likewise.
39075 (handle_signal): Use match function instead of strstr.
39076 * debug/tst-backtrace5.c: Include tst-backtrace.h.
39077 (ret): Remove variable.
39079 (FAIL): Remove macro.
39080 (NO_INLINE): Likewise.
39081 (handle_signal): Use match function instead of strstr.
39083 2013-01-23 Roland McGrath <roland@hack.frob.com>
39085 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39087 2013-01-23 David S. Miller <davem@davemloft.net>
39089 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39090 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39091 argument of CAS if possible.
39092 * sysdeps/sparc/sparc64/bits/atomic.h
39093 (__arch_compare_and_exchange_val_32_acq): Likewise.
39094 (__arch_compare_and_exchange_val_64_acq): Likewise.
39096 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
39098 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39099 * sysdeps/posix/ulimit.c: ... this.
39100 Include <limits.h>.
39101 * sysdeps/unix/bsd/ulimit.c: Remove file.
39103 2013-01-23 Adam Conrad <adconrad@0c3.net>
39105 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39106 (LDFLAGS-tst-array5): Likewise.
39108 2013-01-23 Joseph Myers <joseph@codesourcery.com>
39111 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39112 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39113 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39114 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39116 2013-01-21 David S. Miller <davem@davemloft.net>
39118 * sysdeps/sparc/backtrace.c: New file.
39119 * sysdeps/sparc/sparc32/backtrace.h: New file.
39120 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39121 * sysdeps/sparc/sparc64/backtrace.h: New file.
39122 * sysdeps/sparc/sparc64/backtrace.c: Delete.
39123 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39126 2013-01-21 Andreas Schwab <schwab@suse.de>
39129 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39132 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
39134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39138 2013-01-18 Joseph Myers <joseph@codesourcery.com>
39139 Mark Mitchell <mark@codesourcery.com>
39140 Tom de Vries <tom@codesourcery.com>
39141 Paul Pluzhnikov <ppluzhnikov@google.com>
39143 * debug/tst-backtrace2.c: New file.
39144 * debug/tst-backtrace3.c: Likewise.
39145 * debug/tst-backtrace4.c: Likewise.
39146 * debug/tst-backtrace5.c: Likewise.
39147 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39148 (CFLAGS-tst-backtrace3.c): Likewise.
39149 (CFLAGS-tst-backtrace4.c): Likewise.
39150 (CFLAGS-tst-backtrace5.c): Likewise.
39151 (LDFLAGS-tst-backtrace2): Likewise.
39152 (LDFLAGS-tst-backtrace3): Likewise.
39153 (LDFLAGS-tst-backtrace4): Likewise.
39154 (LDFLAGS-tst-backtrace5): Likewise.
39155 (tests): Add new tests tst-backtrace2, tst-backtrace3,
39156 tst-backtrace4 and tst-backtrace5.
39158 2013-01-18 Anton Blanchard <anton@samba.org>
39159 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39161 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39162 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39164 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39166 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39167 "+r" and remove output regs list as redundant. Add explicit inline
39168 asm to specify register of return val to work around compiler codegen
39169 bug. Remove (int) cast on return value. Add return type parameter to
39170 use in macro so that this macro does not truncate return value for
39172 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39173 pass to INTERNAL_VSYSCALL_NCS.
39174 (INLINE_VSYSCALL): Add 'long int' as return type to
39175 INTERNAL_VSYSCALL_NCS macro invocation.
39176 (INTERNAL_VSYSCALL): Add 'long int' as return type to
39177 INTERNAL_VSYSCALL_NCS macro invocation.
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39180 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39183 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39184 Fix application of SIMD FP exception mask.
39186 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39187 mp_no from a power of two.
39188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39189 __mpexp_twomm1. Use __pow_mp.
39191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39194 2013-01-17 David S. Miller <davem@davemloft.net>
39196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39198 2013-01-17 Joseph Myers <joseph@codesourcery.com>
39201 * include/complex.h: Condition contents on [!_COMPLEX_H].
39202 (__kernel_casinhf): New prototype.
39203 (__kernel_casinh): Likewise.
39204 (__kernel_casinhl): Likewise.
39205 * math/Makefile (libm_calls): Add k_casinh.
39206 * math/k_casinh.c: New file.
39207 * math/k_casinhf.c: Likewise.
39208 * math/k_casinhl.c: Likewise.
39209 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39210 finite nonzero arguments.
39211 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39212 finite nonzero arguments.
39213 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39214 finite nonzero arguments.
39215 * math/s_casinh.c: Do not include <float.h>.
39216 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39217 * math/s_casinhf.c: Do not include <float.h>.
39218 (__casinhf): Move code for finite nonzero arguments to
39220 * math/s_casinhl.c: Do not include <float.h>.
39221 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39223 (__casinhl): Move code for finite nonzero arguments to
39225 * math/libm-test.inc (cacos_test): Add more tests.
39226 * sysdeps/i386/fpu/libm-test-ulps: Update.
39227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39229 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
39231 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39232 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39233 [!HAVE_MREMAP]: Remove [defined linux] case.
39234 * malloc/arena.c: Do not include <malloc-sysdep.h>.
39236 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
39238 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39240 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
39242 * elf/elf.h (R_386_SIZE32): New relocation.
39243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39245 (elf_machine_rela): Likewise.
39246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39247 R_X86_64_SIZE64 and R_X86_64_SIZE32.
39249 2013-01-17 Joseph Myers <joseph@codesourcery.com>
39251 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39252 (FP_FAST_FMA): Do not define.
39253 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39254 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39255 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39256 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39257 !_SOFT_FLOAT]: Likewise.
39258 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39262 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39265 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39266 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39269 2013-01-16 Andreas Schwab <schwab@suse.de>
39272 * include/stdlib.h (__mktemp): Add declaration.
39273 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39274 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39276 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39278 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39280 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39281 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39282 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39284 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39285 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39287 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39289 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39290 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39291 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39293 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39294 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39296 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39298 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39300 2013-01-15 David S. Miller <davem@davemloft.net>
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39303 trunc{,f} to libm-sysdep_routes.
39304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39315 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39316 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39317 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39318 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39319 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39322 nearbyint{,f} to libm-sysdep_routes.
39323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39337 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39340 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39341 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39343 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39344 libc_feholdexcept and libc_fesetenv.
39346 2013-01-15 Mike Frysinger <vapier@gentoo.org>
39348 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39350 2013-01-14 David S. Miller <davem@davemloft.net>
39352 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39353 (SPARC_ASM_VIS2_IFUNC): Likewise.
39354 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39356 use of 'siam' instruction.
39357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39390 routines to libm-sysdep_routines.
39391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39394 fdim/fdimf to libm-sysdep_routines.
39395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39403 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39404 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39405 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39406 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39408 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39410 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39411 to optimize copies.
39413 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39418 local variable MPTWO.
39419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39422 2013-01-13 Mike Frysinger <vapier@gentoo.org>
39424 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39427 2013-01-13 Mike Frysinger <vapier@gentoo.org>
39429 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39431 2013-01-13 Mike Frysinger <vapier@gentoo.org>
39433 * manual/pattern.texi (glob_t): Document gl_flags.
39434 (glob64_t): Likewise.
39436 2013-01-11 David S. Miller <davem@davemloft.net>
39438 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39439 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39440 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
39441 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39442 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39443 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39444 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39445 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39446 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39447 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39448 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39449 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39450 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39452 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39453 sparc V9 rather than using V8 code.
39454 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39455 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39457 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39459 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39462 2013-01-11 Roland McGrath <roland@hack.frob.com>
39464 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39465 not in the main loop.
39466 * configure: Regenerated.
39468 2013-01-11 Joseph Myers <joseph@codesourcery.com>
39470 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39471 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39473 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
39474 [!__GLIBC_HAVE_LONG_LONG] case.
39475 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39476 condition to just #else.
39477 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39478 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39479 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39480 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39482 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39483 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39484 #elif condition to just #else.
39485 * sysdeps/unix/sysv/linux/sys/sysmacros.h
39486 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39487 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39488 #elif condition to just #else.
39490 2013-01-11 Steve Ellcey <sellcey@mips.com>
39492 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39493 (EF_MIPS_ARCH_64): Fix value.
39494 (EF_MIPS_ARCH_32R2): New.
39495 (EF_MIPS_ARCH_64R2): New.
39497 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
39499 * Makeconfig (+link-pie-before-libc): New.
39500 (+link-pie-after-libc): Likewise.
39501 (+link-pie-tests): Likewise.
39502 (+link-pie): Rewritten.
39503 (link-before-libc): Remove $(config-LDFLAGS).
39504 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39505 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39506 (config-LDFLAGS): Renamed to ...
39507 (rtld-LDFLAGS): This.
39508 (rtld-tests-LDFLAGS): New macro.
39509 (link-libc-rpath-link): Likewise.
39510 (link-libc-tests-rpath-link): Likewise.
39511 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39512 (link-libc): Prepand $(link-libc-rpath-link).
39513 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39514 (test-program-prefix): New macro.
39515 (test-via-rtld-prefix): Likewise.
39516 (test-program-cmd): Likewise.
39517 (host-test-program-cmd): Likewise.
39518 * Makefile ($(common-objpfx)testrun.sh): Replace
39519 $(run-program-prefix) with $(test-program-prefix).
39520 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39522 ($(common-objpfx)shlib.lds): Likewise.
39523 (build-module-helper): Likewise.
39524 ($(common-objpfx)format.lds): Likewise.
39525 * Rules (binaries-pie-tests): New.
39526 (binaries-pie-notests): Likewise.
39527 (binaries-pie): Rewritten.
39528 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39529 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39530 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39531 (make-test-out): Replace $(host-built-program-cmd) with
39532 $(host-test-program-cmd).
39533 * config.make.in (build-hardcoded-path-in-tests): New variable.
39534 * configure.in (--enable-hardcoded-path-in-tests): New configure
39536 (hardcoded_path_in_tests): New AC_SUBST.
39537 * configure: Regenerated.
39538 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39539 $(built-program-cmd) with $(test-program-cmd).
39540 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39541 (test_program_cmd): This.
39542 * elf/Makefile ($(objpfx)order.out): Run test with
39543 $(test-program-prefix).
39544 ($(objpfx)order2.out): Likewise.
39545 ($(objpfx)tst-initorder.out): Likewise.
39546 ($(objpfx)tst-initorder2.out): Likewise.
39547 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39548 $(test-program-cmd).
39549 ($(objpfx)tst-array1-static.out): Likewise.
39550 ($(objpfx)tst-array2.out): Likewise.
39551 ($(objpfx)tst-array3.out): Likewise.
39552 ($(objpfx)tst-array4.out): Likewise.
39553 ($(objpfx)tst-array5.out): Likewise.
39554 ($(objpfx)tst-array5-static.out): Likewise.
39555 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39556 $(test-program-cmd).
39557 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39558 $(run-program-prefix) with $(test-program-prefix).
39559 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39560 (test_program_prefix): This.
39561 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39562 $(run-program-prefix) with $(test-program-prefix).
39563 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39564 (test_program_prefix): This.
39565 * iconvdata/tst-tables.sh: Likewise.
39566 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39567 $(run-program-prefix) with $(test-program-prefix).
39568 ($(objpfx)tst-translit.out): Likewise.
39569 ($(objpfx)tst-gettext2.out): Likewise.
39570 ($(objpfx)tst-gettext4.out): Likewise.
39571 ($(objpfx)tst-gettext6.out): Likewise.
39572 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39573 (test_program_prefix): This.
39574 * intl/tst-gettext2.sh: Likewise.
39575 * intl/tst-gettext4.sh Likewise.
39576 * intl/tst-gettext6.sh: Likewise.
39577 * intl/tst-translit.sh: Likewise.
39578 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39579 with $(test-program-cmd).
39580 * libio/Makefile ($(objpfx)test-freopen.out): Replace
39581 $(run-program-prefix) with $(test-program-prefix).
39582 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39583 (test_program_prefix): This.
39584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39585 $(run-program-prefix) with $(test-program-prefix).
39586 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39587 (test_program_prefix): This.
39588 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39589 * posix/Makefile ($(objpfx)globtest.out): Replace
39590 $(run-via-rtld-prefix) and $(test-wrapper) with
39591 $(test-program-prefix) and $(test-via-rtld-prefix).
39592 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39593 $(test-program-prefix).
39594 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39595 $(host-test-program-cmd).
39596 (tst-spawn-ARGS): Likewise.
39597 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39598 $(test-program-prefix).
39599 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39600 (test_via_rtld_prefix): This.
39601 (test_wrapper): Renamed to ...
39602 (test_program_prefix): This.
39603 (run_program_prefix): Replaced by test_program_prefix.
39604 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39605 (test_program_prefix): This.
39606 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39607 with $(host-test-program-cmd).
39608 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39609 $(run-program-prefix) with $(test-program-prefix).
39610 ($(objpfx)tst-printf.out): Likewise.
39611 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39612 $(test-program-cmd).
39613 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39614 (test_program_prefix): This.
39615 * stdio-common/tst-unbputc.sh: Likewise.
39616 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39617 $(run-program-prefix) with $(test-program-prefix).
39618 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39619 (test_program_prefix): This.
39620 * string/Makefile ($(objpfx)tst-svc.out): Replace
39621 $(built-program-cmd) with $(test-program-cmd).
39623 2013-01-11 Andreas Jaeger <aj@suse.de>
39626 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39627 value. Sync with Linux 3.7.
39629 2013-01-10 David S. Miller <davem@davemloft.net>
39631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39635 2013-01-10 Roland McGrath <roland@hack.frob.com>
39637 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39639 * configure: Regenerated.
39641 2013-01-10 David S. Miller <davem@davemloft.net>
39643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39644 sparc V9 rather than using V8 code.
39645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39648 2013-01-10 Roland McGrath <roland@hack.frob.com>
39650 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39651 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39652 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39653 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39654 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39655 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39656 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39657 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39658 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39659 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39660 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39661 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39662 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39663 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39664 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39665 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39666 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39667 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39668 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39669 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39670 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39671 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39672 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39673 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39674 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39675 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39676 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39678 2013-01-10 David S. Miller <davem@davemloft.net>
39680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39682 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39684 * posix/Makefile (tests-static): New variable.
39685 (tests): Add $(tests-static).
39686 (tst-exec-static-ARGS): New variable.
39687 (tst-spawn-static-ARGS): Likewise.
39688 * posix/tst-exec-static.c: New file.
39689 * posix/tst-spawn-static.c: Likewise.
39690 * posix/tst-exec.c: Support run directly.
39691 * posix/tst-spawn.c: Likewise.
39693 2013-01-10 Joseph Myers <joseph@codesourcery.com>
39695 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39697 * math/bits/mathcalls.h (llrint): Likewise.
39698 (llround): Likewise.
39699 * stdlib/stdlib.h (struct drand48_data): Likewise.
39700 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39701 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39702 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39704 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39707 (elf_greg_t): Likewise.
39708 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39709 (__jmp_buf): Likewise.
39710 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39712 (llrint): Likewise, for all definitions.
39713 (llrintl): Likewise.
39715 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39716 Remove [__GNUC__] condition.
39717 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39718 condition to just [__USE_ISOC99].
39719 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39721 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39724 * sysdeps/unix/sysv/linux/x86/bits/environments.h
39725 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39727 (_POSIX_V6_ILP32_OFF32): Likewise.
39728 (_XBS5_ILP32_OFF32): Likewise.
39729 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39730 (__ILP32_OFFBIG_LDFLAGS): Likewise.
39732 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39734 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39737 doubles __mpexp_twomm1. Adjust usage.
39738 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39741 2013-01-10 Andreas Schwab <schwab@suse.de>
39744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39745 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39747 2013-01-09 David S. Miller <davem@davemloft.net>
39750 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39751 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39752 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39753 (TCP_FASTOPEN): Define.
39754 (tcp_repair_opt): New structure.
39755 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39757 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39758 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39759 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39760 (tcp_cookie_transactions): New structure.
39762 2013-01-09 Anton Blanchard <anton@samba.org>
39764 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39765 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39767 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39769 2013-01-09 Joseph Myers <joseph@codesourcery.com>
39771 * include/features.h (__USE_ANSI): Remove.
39773 2013-01-09 Roland McGrath <roland@hack.frob.com>
39775 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39777 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39779 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
39781 * sysdeps/s390/fpu/libm-test-ulps: Update.
39783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39785 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39789 (denorm): Likewise.
39790 (__mp_dbl): Likewise.
39791 (__dbl_mp): Likewise.
39792 (add_magnitudes): Likewise.
39793 (sub_magnitudes): Likewise.
39799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39803 (denorm): Likewise.
39804 (__mp_dbl): Likewise.
39805 (__dbl_mp): Likewise.
39806 (add_magnitudes): Likewise.
39807 (sub_magnitudes): Likewise.
39813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39817 (denorm): Likewise.
39818 (__mp_dbl): Likewise.
39819 (__dbl_mp): Likewise.
39820 (add_magnitudes): Likewise.
39821 (sub_magnitudes): Likewise.
39828 2013-01-08 Joseph Myers <joseph@codesourcery.com>
39830 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39831 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39832 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39833 2 && __USE_EXTERN_INLINES]: Likewise.
39835 2013-01-08 Andreas Jaeger <aj@suse.de>
39838 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39840 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39841 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39843 2013-01-07 Anton Blanchard <anton@samba.org>
39845 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39846 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39847 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39848 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39850 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39851 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39852 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39854 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39856 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39857 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39864 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39865 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39866 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39868 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39869 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39871 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39872 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39874 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39875 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39879 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39880 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39881 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39885 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39887 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39889 2013-01-07 Joseph Myers <joseph@codesourcery.com>
39891 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39892 (__MALLOC_PMT): Likewise.
39893 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39894 [__GNUC__], only on [_LIBC].
39895 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39896 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39897 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39898 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39899 forward declaration.
39900 (realloc_hook_ini): Likewise.
39901 (memalign_hook_ini): Likewise.
39902 (__libc_memalign): Do not use __MALLOC_PMT in variable
39904 (__libc_valloc): Likewise.
39905 (__libc_pvalloc): Likewise.
39906 (__libc_calloc): Likewise.
39907 (__posix_memalign): Likewise.
39910 * math/s_casinh.c: Include <float.h>.
39911 (__casinh): Do not do computation with squaring and square root
39912 for large arguments.
39913 * math/s_casinhf.c: Include <float.h>.
39914 (__casinhf): Do not do computation with squaring and square root
39915 for large arguments.
39916 * math/s_casinhl.c: Include <float.h>.
39917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39918 (__casinhl): Do not do computation with squaring and square root
39919 for large arguments.
39920 * math/libm-test.inc (casin_test): Add more tests.
39921 (casinh_test): Likewise.
39922 * sysdeps/i386/fpu/libm-test-ulps: Update.
39923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39925 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
39927 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39928 (__x86_64_raw_data_cache_size): Likewise.
39929 (__x86_64_data_cache_size_half): Likewise.
39930 (__x86_64_raw_data_cache_size_half): Likewise.
39931 (__x86_64_shared_cache_size): Likewise.
39932 (__x86_64_raw_shared_cache_size): Likewise.
39933 (__x86_64_shared_cache_size_half): Likewise.
39934 (__x86_64_raw_shared_cache_size_half): Likewise.
39935 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39937 (__x86_data_cache_size): This.
39938 (__x86_64_raw_data_cache_size): Renamed to ...
39939 (__x86_raw_data_cache_size): This.
39940 (__x86_64_data_cache_size_half): Renamed to ...
39941 (__x86_data_cache_size_half): This.
39942 (__x86_64_raw_data_cache_size_half): Renamed to ...
39943 (__x86_raw_data_cache_size_half): This.
39944 (__x86_64_shared_cache_size): Renamed to ...
39945 (__x86_shared_cache_size): This.
39946 (__x86_64_raw_shared_cache_size): Renamed to ...
39947 (__x86_raw_shared_cache_size): This.
39948 (__x86_64_shared_cache_size_half): Renamed to ...
39949 (__x86_shared_cache_size_half): This.
39950 (__x86_64_raw_shared_cache_size_half): Renamed to ...
39951 (__x86_raw_shared_cache_size_half): This.
39952 * sysdeps/x86_64/memcpy.S: Updated.
39953 * sysdeps/x86_64/memset.S: Likewise.
39954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39958 2013-01-04 David S. Miller <davem@davemloft.net>
39960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39962 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39964 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39965 1 to avoid redefinition warning.
39966 (__USE_GNU): Don't define.
39967 (init_signaling_nan): Protoize.
39969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39971 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39973 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39975 (__cpymn): Likewise.
39976 (norm): Remove commented code.
39977 (denorm): Likewise.
39978 (__mp_dbl): Likewise.
39980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39981 (__cpymn): Likewise.
39982 (norm): Remove commented code.
39983 (denorm): Likewise.
39984 (__mp_dbl): Likewise.
39987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39988 mp_no value for 1.0 and 2.0.
39989 (norm): Use RADIXI instead of radixi.d.
39990 (denorm): Likewise.
39991 (__mul): Use 0.0 instead of zero.d.
39992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39993 mp_no value for 1.0 and 2.0.
39994 (norm): Use RADIXI instead of radixi.d.
39995 (denorm): Likewise.
39996 (__mul): Use 0.0 instead of zero.d.
39998 2013-01-04 Joseph Myers <joseph@codesourcery.com>
40001 * math/s_casinh.c (__casinh): Reduce finite argument to first
40002 quadrant then set signs of results at the end.
40003 * math/s_casinhf.c (__casinhf): Likewise.
40004 * math/s_casinhl.c (__casinhl): Likewise.
40005 * math/libm-test.inc (casin_test): Add more tests.
40006 (casinh_test): Likewise.
40007 * sysdeps/i386/fpu/libm-test-ulps: Update.
40008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40012 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40014 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40016 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40018 (denorm): Likewise.
40019 (__mp_dbl): Likewise.
40022 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40023 and adjust the header comment.
40025 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40026 variable name from declaration.
40028 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
40030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40031 Initialize COMMON_CPUID_INDEX_7 element.
40032 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40033 (CPUID_RTM): Likewise.
40034 (HAS_RTM): Likewise.
40035 (COMMON_CPUID_INDEX_7): New enum.
40037 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
40040 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40041 size is zero, record memory as freed.
40043 2013-01-03 Andreas Jaeger <aj@suse.de>
40045 * po/ia.po: Add new Interlingua translation.
40047 2012-01-03 Allan McRae <allan@archlinux.org>
40049 * locale/programs/localedef.c: Fix description of '--posix' flag.
40051 2013-01-02 Joseph Myers <joseph@codesourcery.com>
40053 * NEWS: Update dates in second copyright notice.
40054 * README: Update copyright dates in example.
40055 * manual/libc.texinfo: Update copyright dates.
40056 * scripts/test-installation.pl: Update copyright date in --version
40059 * hurd/ctty-input.c: Fix copyright notice formatting.
40060 * hurd/ctty-output.c: Likewise.
40061 * hurd/dtable.c: Likewise.
40062 * hurd/hurd-raise.c: Likewise.
40063 * hurd/hurdprio.c: Likewise.
40064 * hurd/msgportdemux.c: Likewise.
40065 * misc/sys/file.h: Likewise.
40066 * misc/sys/ioctl.h: Likewise.
40067 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40068 * sysdeps/mach/hurd/chdir.c: Likewise.
40069 * sysdeps/mach/hurd/fchdir.c: Likewise.
40070 * sysdeps/mach/hurd/rename.c: Likewise.
40071 * sysdeps/mach/hurd/rmdir.c: Likewise.
40072 * sysdeps/mach/hurd/seekdir.c: Likewise.
40073 * sysdeps/mach/hurd/setsid.c: Likewise.
40074 * sysdeps/posix/wait3.c: Likewise.
40076 * All files with FSF copyright notices: Update copyright dates
40077 using scripts/update-copyrights.
40078 * intl/plural.c: Regenerated.
40079 * locale/programs/charmap-kw.h: Likewise.
40080 * locale/programs/locfile-kw.h: Likewise.
40082 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40084 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40088 calculation loop and add branch prediction.
40090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40091 check access beyond bounds of m1np.
40093 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40095 (__inv): Remove local variable MPTWO to use the global
40097 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40100 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40101 MP3HALFS static const.
40103 2013-01-01 David S. Miller <davem@davemloft.net>
40105 * po/ca.po: Update from translation team.
40107 2013-01-01 Joseph Myers <joseph@codesourcery.com>
40109 * scripts/update-copyrights: New file.
40110 * Makeconfig: Reformat copyright notice.
40111 * ctype/ctype.h: Likewise.
40112 * debug/swprintf_chk.c: Likewise.
40113 * elf/dl-cache.c: Likewise.
40114 * elf/dl-debug.c: Likewise.
40115 * elf/dl-object.c: Likewise.
40116 * grp/initgroups.c: Likewise.
40117 * hurd/Makefile: Likewise.
40118 * hurd/hurd/signal.h: Likewise.
40119 * hurd/hurdfault.c: Likewise.
40120 * hurd/hurdioctl.c: Likewise.
40121 * hurd/hurdlookup.c: Likewise.
40122 * hurd/intr-msg.c: Likewise.
40123 * iconv/gconv_open.c: Likewise.
40124 * libio/swprintf.c: Likewise.
40125 * locale/lc-ctype.c: Likewise.
40126 * locale/nl_langinfo.c: Likewise.
40127 * mach/Machrules: Likewise.
40128 * mach/Makefile: Likewise.
40129 * malloc/obstack.h: Likewise.
40130 * manual/Makefile: Likewise.
40131 * manual/tsort.awk: Likewise.
40132 * misc/bits/stab.def: Likewise.
40133 * nis/nis_print_group_entry.c: Likewise.
40134 * nis/nis_table.c: Likewise.
40135 * nis/nss_compat/compat-pwd.c: Likewise.
40136 * nis/nss_compat/compat-spwd.c: Likewise.
40137 * po/Makefile: Likewise.
40138 * posix/fnmatch.c: Likewise.
40139 * posix/regex.h: Likewise.
40140 * resolv/Makefile: Likewise.
40141 * resolv/nss_dns/dns-network.c: Likewise.
40142 * resolv/res_hconf.c: Likewise.
40143 * scripts/gen-sorted.awk: Likewise.
40144 * soft-fp/soft-fp.h: Likewise.
40145 * stdio-common/printf.h: Likewise.
40146 * stdlib/monetary.h: Likewise.
40147 * stdlib/random.c: Likewise.
40148 * stdlib/random_r.c: Likewise.
40149 * sysdeps/generic/Makefile: Likewise.
40150 * sysdeps/gnu/Makefile: Likewise.
40151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40165 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40167 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40179 * sysdeps/mach/hurd/errnos.awk: Likewise.
40180 * sysdeps/mach/hurd/fork.c: Likewise.
40181 * sysdeps/mach/hurd/getcwd.c: Likewise.
40182 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40183 * sysdeps/mach/hurd/mmap.c: Likewise.
40184 * sysdeps/mach/hurd/utimes.c: Likewise.
40185 * sysdeps/mach/hurd/xmknod.c: Likewise.
40186 * sysdeps/posix/profil.c: Likewise.
40187 * sysdeps/posix/readdir_r.c: Likewise.
40188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40189 * sysdeps/powerpc/bits/setjmp.h: Likewise.
40190 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40191 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40193 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40197 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40198 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40199 * sysdeps/pthread/lio_listio.c: Likewise.
40200 * sysdeps/sparc/dl-procinfo.h: Likewise.
40201 * sysdeps/unix/i386/sysdep.S: Likewise.
40202 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40203 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40204 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40205 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40207 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40208 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40209 * sysdeps/unix/sysv/linux/speed.c: Likewise.
40210 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40211 * sysdeps/wordsize-32/divdi3.c: Likewise.
40212 * time/sys/time.h: Likewise.
40213 * wcsmbs/Makefile: Likewise.
40215 2013-01-01 David S. Miller <davem@davemloft.net>
40217 * po/fr.po: Update from translation team.
40219 * catgets/gencat.c: Update copyright year.
40220 * csu/version.c: Likewise.
40221 * debug/catchsegv.sh: Likewise.
40222 * debug/pcprofiledump.c: Likewise.
40223 * debug/xtrace.sh: Likewise.
40224 * elf/ldconfig.c: Likewise.
40225 * elf/ldd.bash.in: Likewise.
40226 * elf/pldd.c: Likewise.
40227 * elf/sotruss.ksh: Likewise.
40228 * elf/sprof.c: Likewise.
40229 * iconv/iconv_prog.c: Likewise.
40230 * iconv/iconvconfig.c: Likewise.
40231 * locale/programs/locale.c: Likewise.
40232 * locale/programs/localedef.c: Likewise.
40233 * login/programs/pt_chown.c: Likewise.
40234 * malloc/memusage.sh: Likewise.
40235 * malloc/memusagestat.c: Likewise.
40236 * malloc/mtrace.pl: Likewise.
40237 * nscd/nscd.c: Likewise.
40238 * nss/getent.c: Likewise.
40239 * nss/makedb.c: Likewise.
40240 * posix/getconf.c: Likewise.
40242 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40244 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40247 2012-12-30 Mike Frysinger <vapier@gentoo.org>
40249 * math/bits/mathcalls.h (modf): Use __nonnull.
40251 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40253 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40254 (split): Use macro CN instead of the bare value.
40255 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40258 instead of the bare value.
40259 (power1): Likewise.
40261 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40265 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40267 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40269 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40270 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40271 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40272 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40274 2012-12-28 Andreas Jaeger <aj@suse.de>
40276 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
40277 values are from Linux 3.7.
40279 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40280 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
40282 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40284 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40287 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40289 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40290 variables with preprocessor constants.
40291 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40292 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40293 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40295 2012-12-27 Bruno Haible <bruno@clisp.org>
40298 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40301 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40304 and use variable directly.
40305 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40307 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40309 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40312 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40314 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40315 include directive. Remove local variable MPONE.
40316 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40317 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40320 2012-12-25 David S. Miller <davem@davemloft.net>
40322 * version.h (RELEASE): Set to "development".
40323 (VERSION): Set to "2.17.90".
40324 * NEWS: Add 2.18 section.
40326 2012-12-21 David S. Miller <davem@davemloft.net>
40328 * po/hr.po: Update from translation team.
40330 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40332 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40334 2012-12-19 Steve Ellcey <sellcey@mips.com>
40336 * NEWS: Mention new memcpy for MIPS.
40338 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40340 * manual/contrib.texi (Contributors): Spelling correction.
40342 2012-12-15 David S. Miller <davem@davemloft.net>
40344 * po/ru.po: Update from translation team.
40346 2012-12-13 David S. Miller <davem@davemloft.net>
40348 * NEWS: Mention IFUNC testsuite enhancements.
40350 * po/pl.po: Update from translation team.
40351 * po/bg.po: Likewise.
40353 * manual/contrib.texi (Contributors): Update entries for Hongjiu
40354 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
40356 2012-12-11 David S. Miller <davem@davemloft.net>
40358 * po/sv.po: Update from translation team.
40360 * po/vi.po: Update from translation team.
40362 * po/cs.po: Update from translation team.
40364 * po/de.po: Update from translation team.
40365 * po/eo.po: Likewise.
40366 * po/nl.po: Likewise.
40368 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40371 * manual/argp.texi (Argp Helper Functions): Move node to follow
40372 Argp Parsing State.
40375 * manual/conf.texi (Limits on File System Capacity): Mention if
40376 terminating null is included in the max size.
40378 2012-12-10 Andreas Jaeger <aj@suse.de>
40380 * po/cs.po: Update from translation team.
40382 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40384 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40385 void pointer and cast to uintptr_t.
40386 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40388 * sysdeps/s390/s390-64/memcpy.S: Likewise.
40389 * sysdeps/s390/s390-64/memset.S: Likewise.
40391 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
40394 * menual/message.texi (Message Translation): Fix typos.
40395 (Helper programs for gettext): Likewise.
40397 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
40400 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40403 2012-12-07 David S. Miller <davem@davemloft.net>
40405 * po/libc.pot: Update.
40407 2012-12-07 Richard Henderson <rth@redhat.com>
40410 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40411 normal/normal case to before the switch.
40412 (_FP_DIV): Likewise.
40414 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
40415 Mike Frysinger <vapier@gentoo.org>
40417 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40418 check for __NR_fadvise64_64.
40420 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
40422 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40423 0, not just to plain "0" as a statement.
40424 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40427 2012-12-06 Joseph Myers <joseph@codesourcery.com>
40429 * NEWS: Use sourceware.org in Bugzilla URL.
40431 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40434 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40436 * stdio-common/tst-put-error.c (do_test): Add newline to the
40437 padded test to ensure flush.
40439 2012-12-05 Jeff Law <law@redhat.com>
40441 * sunrpc/etc.rpc (fedfs_admin): Add entry.
40443 2012-12-05 Joseph Myers <joseph@codesourcery.com>
40445 * README: Don't refer to ports add-on as distributed separately.
40446 Mention AArch64 in list of systems supported in the ports add-on.
40448 * LICENSES: Add more non-FSF copyright and license notices.
40450 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40455 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40456 10000 as width of padded output.
40458 2012-12-04 Joseph Myers <joseph@codesourcery.com>
40460 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40462 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40463 variable LX with __attribute__ ((unused)).
40464 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40466 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40469 with __attribute__ ((unused)).
40471 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
40473 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40475 2012-12-04 Joseph Myers <joseph@codesourcery.com>
40477 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40478 (CFLAGS-nldbl-acos.c): New variable.
40479 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40480 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40481 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40482 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40483 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40484 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40485 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40486 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40487 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40488 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40489 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40490 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40491 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40492 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40493 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40494 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40495 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40496 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40497 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40498 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40499 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40500 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40501 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40502 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40503 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40504 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40505 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40506 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40507 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40508 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40509 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40510 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40511 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40512 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40513 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40514 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40515 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40516 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40517 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40518 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40519 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40520 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40521 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40522 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40523 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40524 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40525 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40526 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40527 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40528 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40529 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40530 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40531 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40532 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40533 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40534 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40535 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40536 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40537 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40538 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40539 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40540 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40541 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40542 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40543 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40544 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40545 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40546 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40547 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40548 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40549 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40550 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40551 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40552 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40553 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40554 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40555 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40556 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40557 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40558 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40559 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40560 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40561 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40562 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40563 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40564 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40565 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40566 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40567 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40568 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40569 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40570 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40571 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40572 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40573 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40574 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40575 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40578 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40582 whole low double instead of just low 47 bits when splitting values
40585 2012-12-03 Allan McRae <allan@archlinux.org>
40587 * manual/stdio.texi (Predefined Printf Handlers): Remove
40588 @hsep and @vsep usage.
40590 2012-12-03 Mike Frysinger <vapier@gentoo.org>
40592 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40593 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40595 2012-12-03 Jeff Law <law@redhat.com>
40597 * time/sys/time.h (settimeofday): Do not mark TV argument
40600 2012-12-01 Mike Frysinger <vapier@gentoo.org>
40602 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40603 when currently writing and seek to current position when not.
40604 * libio/Makefile (tests): Remove bug-fclose1.
40605 * libio/bug-fclose1.c: Delete.
40607 2012-12-01 Joseph Myers <joseph@codesourcery.com>
40609 * manual/arith.texi (feenableexcept): Fix typo.
40610 (fedisableexcept): Likewise.
40612 2012-11-30 Roland McGrath <roland@hack.frob.com>
40614 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40615 second, differently-typed declaration, rather than a cast.
40617 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40619 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40620 * include/rpc/svc.h: ... here.
40622 2012-11-30 Aurelien Jarno <aurel32@debian.org>
40625 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40626 depending n and resplen2 to catch cases where answer
40629 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
40631 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40632 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40634 2012-11-29 Mike Frysinger <vapier@gentoo.org>
40636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40638 2012-11-29 Roland McGrath <roland@hack.frob.com>
40640 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40642 2012-11-28 Jeff Law <law@redhat.com>
40645 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40646 dataset_temporary. Track alloca usage into alloca_used.
40647 If dataset is large allocate and release it via malloc/free.
40649 2012-06-04 Florian Weimer <fweimer@redhat.com>
40652 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40654 2012-11-28 David S. Miller <davem@davemloft.net>
40656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40658 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40661 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40662 of pi/2 rounded to nearest to 64 bits.
40663 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40664 nearest to 64 bits.
40665 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40668 2012-11-28 Jeff Law <law@redhat.com>
40669 Martin Osvald <mosvald@redhat.com>
40672 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40673 * sunrpc/svc.c: Include time.h.
40674 (__svc_accept_failed): New function.
40675 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40676 any reason other than EINTR, call __svc_accept_failed.
40677 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40678 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40680 2012-11-28 Andreas Schwab <schwab@suse.de>
40682 * scripts/abilist.awk: Also handle indirect functions in .opd
40685 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40688 * sysdeps/x86/fpu/powl_helper.c: New file.
40689 * sysdeps/x86/fpu/Makefile: Likewise.
40690 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40692 (__ieee754_powl): Use __powl_helper for finite arguments except
40693 integer exponents below 8.
40694 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40696 (__ieee754_powl): Use __powl_helper for finite arguments except
40697 integer exponents below 8.
40698 * math/libm-test.inc (pow_test): Add more tests and enable some
40699 previously disabled tests.
40700 * sysdeps/i386/fpu/libm-test-ulps: Update.
40701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40703 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40704 Carlos O'Donell <carlos_odonell@mentor.com>
40706 * nss/makedb.c (is_prime): Assert that input is odd and greater
40707 than 4. Note that fact in a comment too.
40708 (next_prime): Add 4 to input.
40710 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40713 * libio/Makefile (tests): Add test case tst-fwrite-error.
40714 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40715 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40716 * libio/tst-fwrite-error.c: New test case.
40718 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
40720 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40721 before casting to void *.
40722 * include/libc-internal.h (__pointer_type): New macro.
40723 (__integer_if_pointer_type_sub): Likewise.
40724 (__integer_if_pointer_type): Likewise.
40725 (cast_to_integer): Likewise.
40726 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40727 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40728 before casting to atomic64_t.
40729 (atomic_exchange_acq): Likewise.
40730 (__arch_exchange_and_add_body): Likewise.
40731 (__arch_add_body): Likewise.
40732 (atomic_add_negative): Likewise.
40733 (atomic_add_zero): Likewise.
40735 2012-11-26 Joseph Myers <joseph@codesourcery.com>
40737 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40738 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40739 (add_fdes): Likewise.
40740 (linear_search_fdes): Likewise.
40741 (binary_search_unencoded_fdes): Likewise.
40743 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
40745 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40747 2012-11-24 Adam Conrad <adconrad@0c3.net>
40749 * configure.in: Autodetect C++ header directories.
40750 * configure: Regenerated.
40752 2012-11-23 Mike Frysinger <vapier@gentoo.org>
40754 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40756 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40760 2012-11-22 Joseph Myers <joseph@codesourcery.com>
40762 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40763 LDBL_MANT_DIG == 106]: Disable some tests.
40764 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40766 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40771 input for small inputs. Return +/- pi/2 for large inputs.
40772 * math/libm-test.inc (atan_test): Add more tests.
40774 * sysdeps/generic/unwind-dw2-fde-glibc.c
40775 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40776 __attribute__ ((unused)).
40779 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40780 x * y if x and y are nonzero and z is zero.
40783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40784 nonzero exponents with absolute value below 0x1p-117 to +/-
40788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40789 up arguments below 2**-450, not just those below 2**-500.
40790 * math/libm-test.inc (hypot_test): Add another test.
40793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40794 Return a+b for ratio over 2**120, not 2**60.
40795 * math/libm-test.inc (hypot_test): Add another test.
40797 * math/libm-test.inc (clog_test): Use
40798 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40799 (clog10_test): Likewise.
40802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40804 2012-11-22 Andreas Schwab <schwab@suse.de>
40806 * sysdeps/i386/fpu/libm-test-ulps: Update.
40808 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
40810 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40811 printf output with newline.
40813 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
40816 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40817 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40818 -z nodlopen, -z initfirst and -z execstack support.
40819 * configure: Regenerated.
40821 * elf/elf.h (DF_1_NODIRECT): New macro.
40822 (DF_1_IGNMULDEF): Likewise.
40823 (DF_1_NOKSYMS): Likewise.
40824 (DF_1_NOHDR): Likewise.
40825 (DF_1_EDITED): Likewise.
40826 (DF_1_NORELOC): Likewise.
40827 (DF_1_SYMINTPOSE): Likewise.
40828 (DF_1_GLOBAUDIT): Likewise.
40829 (DF_1_SINGLETON): Likewise.
40830 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40831 DT_1_SUPPORTED_MASK bits.
40832 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40834 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
40836 * sysdeps/unix/make-syscalls.sh: Document prefixes.
40838 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
40840 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40843 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40844 (sendmmsg): Move declarations...
40845 * socket/sys/socket.h: ... here.
40846 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40847 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40849 * socket/recvmmsg.c: ... this new file.
40850 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40851 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40852 definition of __sendmmsg hidden.
40853 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40854 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40855 Move ENOSYS stub into and include it from...
40856 * socket/sendmmsg.c: ... this new file.
40857 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40858 (sysdep_routines): Move recvmmsg and sendmmsg...
40859 * socket/Makefile (routines): ... here.
40860 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40861 (GLIBC_PRIVATE): Add __sendmmsg.
40862 * include/sys/socket.h (__sendmmsg): Add declarations.
40863 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40866 2012-11-20 Joseph Myers <joseph@codesourcery.com>
40868 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40869 variable I1 with __attribute__ ((unused)).
40870 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40872 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40874 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40875 DUMMY variables with __attribute__ ((unused)).
40877 * bits/byteswap.h: Include <bits/types.h>.
40878 (__bswap_64): Use __uint64_t instead of unsigned long long int.
40880 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40882 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40883 string_t. Do not manually set errno.
40884 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40885 length with __strnlen. Make sure to both set errno and return it on
40888 2012-11-19 David S. Miller <davem@davemloft.net>
40890 With help from Joseph Myers.
40891 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40892 very large arguments properly.
40893 * math/libm-test.inc (atan_test): New tests.
40894 (atan2_test): New tests.
40895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40898 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40901 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40904 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40905 [POSIX] (EADDRNOTAVAIL): Likewise.
40906 [POSIX] (EAFNOSUPPORT): Likewise.
40907 [POSIX] (EALREADY): Likewise.
40908 [POSIX] (ECONNABORTED): Likewise.
40909 [POSIX] (ECONNREFUSED): Likewise.
40910 [POSIX] (ECONNRESET): Likewise.
40911 [POSIX] (EDESTADDRREQ): Likewise.
40912 [POSIX] (EDQUOT): Likewise.
40913 [POSIX] (EHOSTUNREACH): Likewise.
40914 [POSIX] (EIDRM): Likewise.
40915 [POSIX] (EISCONN): Likewise.
40916 [POSIX] (ELOOP): Likewise.
40917 [POSIX] (EMULTIHOP): Likewise.
40918 [POSIX] (ENETDOWN): Likewise.
40919 [POSIX] (ENETUNREACH): Likewise.
40920 [POSIX] (ENOBUFS): Likewise.
40921 [POSIX] (ENODATA): Likewise.
40922 [POSIX] (ENOLINK): Likewise.
40923 [POSIX] (ENOMSG): Likewise.
40924 [POSIX] (ENOPROTOOPT): Likewise.
40925 [POSIX] (ENOSR): Likewise.
40926 [POSIX] (ENOSTR): Likewise.
40927 [POSIX] (ENOTCONN): Likewise.
40928 [POSIX] (ENOTSOCK): Likewise.
40929 [POSIX] (EOPNOTSUPP): Likewise.
40930 [POSIX] (EOVERFLOW): Likewise.
40931 [POSIX] (EPROTO): Likewise.
40932 [POSIX] (EPROTONOSUPPORT): Likewise.
40933 [POSIX] (EPROTOTYPE): Likewise.
40934 [POSIX] (ESTALE): Likewise.
40935 [POSIX] (ETIME): Likewise.
40936 [POSIX] (ETXTBSY): Likewise.
40937 [POSIX] (EWOULDBLOCK): Likewise.
40938 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40939 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40940 [POSIX] (SEEK_CUR): Likewise.
40941 [POSIX] (SEEK_END): Likewise.
40942 [POSIX || UNIX98] (mode_t): Do not require.
40943 [POSIX] (off_t): Likewise.
40944 [POSIX] (pid_t): Likewise.
40945 [POSIX] (sys/stat.h): Do not allow header.
40946 [POSIX] (unistd.h): Likewise.
40947 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40948 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40949 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40950 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40952 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40953 sigevent): Specify elements.
40954 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40956 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40957 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40959 * conform/data/cpio.h-data [POSIX]: Disable whole file.
40960 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40961 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40962 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40963 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40964 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40965 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40966 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40967 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40968 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40969 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40970 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40971 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40974 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40980 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40982 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40983 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40984 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40985 Specify lower bound on value.
40986 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40987 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40988 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40989 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40990 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40991 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40992 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40993 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40995 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40997 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40998 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40999 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41000 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41001 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41002 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41003 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41004 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41005 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41006 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41007 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41008 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41009 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41010 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41011 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41012 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41014 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41016 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41017 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41018 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41019 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41020 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41023 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41024 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41025 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41026 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41027 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
41028 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41033 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41034 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41035 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41036 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41037 specify as optional.
41038 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41039 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41040 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41041 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41042 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41043 [XPG3] (NL_LANGMAX): Likewise.
41044 [POSIX || XPG3] (NL_MSGMAX): Likewise.
41045 [POSIX || XPG3] (NL_NMAX): Likewise.
41046 [POSIX || XPG3] (NL_SETMAX): Likewise.
41047 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41048 [XPG3] (NZERO): Likewise.
41049 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41050 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41051 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41052 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41053 (REG_ERANGE): Expect.
41054 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41056 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41057 Use (void) in prototype.
41058 [POSIX] (*_t): Allow.
41059 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41060 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41061 (WRDE_BADVAL): Expect.
41063 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41065 [XPG3 || XPG4] (O_RSYNC): Likewise.
41066 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41068 [XPG3 || XPG4] (pthread_sigmask): Likewise.
41069 [XPG3 || XPG4] (sigqueue): Likewise.
41070 [XPG3 || XPG4] (sigtimedwait): Likewise.
41071 [XPG3 || XPG4] (sigwaitinfo): Likewise.
41072 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41073 [XPG3 || XPG4] (vsnprintf): Likewise.
41074 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41076 [XPG3 || XPG4] (blksize_t): Likewise.
41077 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41079 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41080 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41081 [XPG3 || XPG4] (struct itimerspec): Likewise.
41082 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41083 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41084 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41085 [XPG3 || XPG4] (clockid_t): Likewise.
41086 [XPG3 || XPG4] (timer_t): Likewise.
41087 [XPG3 || XPG4] (clock_getres): Likewise.
41088 [XPG3 || XPG4] (clock_gettime): Likewise.
41089 [XPG3 || XPG4] (clock_settime): Likewise.
41090 [XPG3 || XPG4] (nanosleep): Likewise.
41091 [XPG3 || XPG4] (timer_create): Likewise.
41092 [XPG3 || XPG4] (timer_delete): Likewise.
41093 [XPG3 || XPG4] (timer_gettime): Likewise.
41094 [XPG3 || XPG4] (timer_getoverrun): Likewise.
41095 [XPG3 || XPG4] (timer_settime): Likewise.
41096 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41097 [XPG3 || XPG4] (getlogin_r): Likewise.
41098 [XPG3 || XPG4] (pread): Likewise.
41099 [XPG3 || XPG4] (pthread_atfork): Likewise.
41100 [XPG3 || XPG4] (pwrite): Likewise.
41103 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41106 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
41108 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41109 finalizing MALLSTREAM.
41111 * sysdeps/mach/hurd/syncfs.c: New file.
41113 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41116 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41117 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41119 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41120 (_nss_dns_gethostbyname4_r): Likewise.
41121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41122 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41124 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
41127 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41129 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
41131 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41132 * elf/cache.c (print_entry): Print ",AArch64" for
41135 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41136 * elf/cache.c (print_entry): Print ",hard-float" for
41139 2012-11-18 David S. Miller <davem@davemloft.net>
41141 With help from Joseph Myers.
41142 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41144 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41146 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41147 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41149 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41150 * math/libm-test.inc (y0_test): New tests.
41151 (y1_test): New tests.
41152 * sysdeps/i386/fpu/libm-test-ulps: Update.
41153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41156 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
41158 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41160 * configure: Regenerated.
41162 2012-11-17 David S. Miller <davem@davemloft.net>
41165 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41166 nonzero exponents with absolute value below 0x1p-128 to +/-
41169 2012-11-17 Joseph Myers <joseph@codesourcery.com>
41171 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41173 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41175 * posix/getconf-speclist.c: New file.
41176 * posix/posix-envs.def: Likewise.
41177 * posix/confstr.c (START_ENV_GROUP): New macro.
41178 (END_ENV_GROUP): Likewise.
41179 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41180 (KNOWN_PRESENT_ENV_STRING): Likewise.
41181 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41182 (UNKNOWN_ENVIRONMENT): Likewise.
41183 (confstr): Include posix-envs.def instead of handling
41184 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41185 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41186 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41187 (END_ENV_GROUP): Likewise.
41188 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41189 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41190 (UNKNOWN_ENVIRONMENT): Likewise.
41191 (__sysconf): Include posix-envs.def instead of handling associated
41192 cases directly here.
41193 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41194 preprocessing getconf-speclist.c rather than running getconf or
41195 generating empty file.
41197 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
41199 * scripts/check-local-headers.sh: Ignore 'mach' headers.
41201 2012-11-16 Andrej Lajovic <natrij@gmail.com>
41204 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41206 2012-11-16 David S. Miller <davem@davemloft.net>
41208 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41209 smaller than LDBL_EPSILON/2.0L, just return xm1.
41211 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
41213 * elf/tst-array1.c (init): Set constructor priority to 1000.
41214 (fini): Set destructor priority to 1000.
41215 * elf/tst-array2dep.c: Likewise.
41217 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41220 * libio/fileops.c (_IO_new_file_write): Correctly return error.
41221 (_IO_new_file_xsputn): Also return EOF if none of the input
41222 data was written when overflow failed.
41223 * libio/iopadn.c (_IO_padn): Likewise.
41224 * libio/iowpadn.c (_IO_wpadn): Likewise.
41225 * stdio-common/tst-put-error.c: Add copyright notice.
41226 (do_test): Add case for printing padded string.
41227 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41228 _IO_padn returned error.
41229 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41230 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41233 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41235 * libio/libioP.h: Add comment note that the references to C++
41236 bits are now obsolete.
41238 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41240 * math/libm-test.inc (check_complex): Use asprintf.
41242 2012-11-14 Joseph Myers <joseph@codesourcery.com>
41244 * debug/pcprofiledump.c (print_version): Update copyright year.
41245 * malloc/memusagestat.c (print_version): Likewise.
41247 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
41250 * elf/Makefile (tests): Add tst-audit8.
41251 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41252 ($(objpfx)tst-audit8.out): New target.
41253 (tst-audit8-ENV): New variable.
41254 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41255 audit if l_reloc_result is NULL.
41256 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41257 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41258 * elf/tst-audit8.c: New file.
41260 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41262 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41263 * misc/Makefile (CFLAGS-select.c): Define.
41264 * posix/Makefile (CFLAGS-pause.c): Define.
41266 2012-11-13 David S. Miller <davem@davemloft.net>
41268 * crypt/Makefile: Move test targets after toplevel Rules
41269 inclusion. Grab any necessary sysdep routines when linking.
41270 * crypt/md5.c (md5_process_block): Remove define, we will always
41271 name it __md5_process_block.
41272 (md5_finish_ctx): Update md5_process_block call.
41273 (md5_stream): Likewise.
41274 (md5_process_bytes): Likewise.
41275 (md5_process_block): Rename to __md5_process_block and move to ...
41276 * crypt/md5-block.c: ... here.
41277 * crypt/sha256.c (sha256_process_block): Move to ...
41278 * crypt/sha256-block.c: ... here.
41279 * crypt/sha512.c (sha512_process_block): Move to ...
41280 * crypt/sha512-block.c: ... here.
41281 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41283 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41284 * sysdeps/sparc/sparc64/multiarch/Makefile
41285 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41287 (localedef-aux): Add md5 crypto assembler when in locale subdir.
41288 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41290 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41291 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41292 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41293 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41294 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41295 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41296 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41297 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41301 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41303 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41305 2012-11-13 Joseph Myers <joseph@codesourcery.com>
41307 * timezone/tzselect.ksh: Update from tzcode git revision
41308 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41309 * timezone/zdump.c: Likewise.
41310 * timezone/zic.c: Likewise.
41311 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41312 in TZVERSION setting, not $(PKGVERSION).
41313 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
41314 REPORT_BUGS_TO settings.
41317 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41320 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41322 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41323 detection to immediately after _FP_ROUND().
41324 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41327 2012-11-11 David S. Miller <davem@davemloft.net>
41329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41331 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41332 __close rather than their public counterparts.
41334 2012-11-10 Joseph Myers <joseph@codesourcery.com>
41336 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41338 [UNIX98] (sem_timedwait): Do not expect.
41339 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41340 [XPG4 || UNIX98] (sockatmark): Do not expect.
41341 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41342 (clock_getcpuclockid): Do not expect.
41343 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41344 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41346 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41347 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41348 [UNIX98] (vwscanf): Likewise.
41349 [UNIX98] (vswscanf): Likewise.
41351 2012-11-09 Joseph Myers <joseph@codesourcery.com>
41353 * timezone/version.h: Remove file.
41354 * timezone/README: Do not refer to version.h.
41355 * timezone/Makefile ($(objpfx)zic.o): New dependency on
41356 $(objpfx)version.h.
41357 ($(objpfx)zdump.o): Likewise.
41358 ($(objpfx)version.h): New target.
41360 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41362 * timezone/README: Don't mention modification to tzselect.ksh.
41363 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41364 work on unmodified tzselect.ksh. Substitute version numbers in
41367 * Makefile (format-me): Remove.
41368 (INSTALL): Adjust indentation. Use commands directly instead of
41369 using $(format-me).
41371 * aclocal.m4 (ACX_PKGVERSION): New macro.
41372 (ACX_BUGURL): Likewise.
41373 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41374 (PKGVERSION): New AC_DEFINE_UNQUOTED.
41375 (REPORT_BUGS_TO): Likewise.
41376 * configure: Regenerated.
41377 * config.h.in (PKGVERSION): New macro.
41378 (REPORT_BUGS_TO): Likewise.
41379 * config.make.in (PKGVERSION): New variable.
41380 (PKGVERSION_TEXI): Likewise.
41381 (REPORT_BUGS_TO): Likewise.
41382 (REPORT_BUGS_TEXI): Likewise.
41383 * Makefile (format-me): Use -I$(common-objpfx)manual.
41384 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41385 ($(common-objpfx)manual/%): New target.
41386 (manual/%): Remove target.
41387 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41388 (print_version): Use PKGVERSION.
41389 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41390 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41391 and REPORT_BUGS_TO.
41392 ($(objpfx)xtrace): Likewise.
41393 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41394 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41395 (print_version): Use PKGVERSION.
41396 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41397 (do_version): Use PKGVERSION.
41398 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41400 (common-ldd-rewrite): Likewise.
41401 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41402 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41403 (print_version): Use PKGVERSION.
41404 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41405 * elf/pldd.c (argp_program_bug_address): Remove variable.
41406 (more_help): New function.
41407 (argp): Use more_help.
41408 (print_version): Use PKGVERSION.
41409 * elf/sln.c (main): Use PKGVERSION.
41410 (usage): Use REPORT_BUGS_TO.
41411 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41412 (top level): Use PKGVERSION.
41413 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41414 (print_version): Use PKGVERSION.
41415 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41416 (print_version): Use PKGVERSION.
41417 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41418 (print_version): Use PKGVERSION.
41419 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41420 (print_version): Use PKGVERSION.
41421 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41422 (print_version): Use PKGVERSION.
41423 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41424 (print_version): Use PKGVERSION.
41425 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41427 ($(objpfx)memusage): Likewise.
41428 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41429 (do_version): Use PKGVERSION.
41430 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41431 (print_version): Use PKGVERSION.
41432 * malloc/mtrace.pl ($PACKAGE): Remove variable.
41433 ($PKGVERSION): New variable.
41434 ($REPORT_BUGS_TO): Likewise.
41435 (usage): Use $REPORT_BUGS_TO.
41436 (top level): Use $PKGVERSION.
41437 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41438 ($(objpfx)pkgvers.texi): New rule.
41439 ($(objpfx)stamp-pkgvers): Likewise.
41440 * manual/install.texi: Include pkgvers.texi.
41441 (--with-pkgversion): Document new configure option.
41442 (--with-bugurl): Likewise.
41443 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41444 than necessarily for this particular distribution. Use
41445 REPORT_BUGS_TO for where to report bugs.
41446 * INSTALL: Regenerated.
41447 * manual/libc.texinfo: Include pkgvers.texi.
41448 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41449 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41450 (print_version): Use PKGVERSION.
41451 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41452 (print_version): Use PKGVERSION.
41453 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41454 (print_version): Use PKGVERSION.
41455 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41456 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41458 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41459 (print_version): Use PKGVERSION.
41460 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41461 (print_version): Use PKGVERSION.
41462 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41465 * timezone/checktab.awk: Update from tzcode 2012i.
41466 * timezone/ialloc.c: Likewise.
41467 * timezone/private.h: Likewise.
41468 * timezone/scheck.c: Likewise.
41469 * timezone/tzfile.h: Likewise.
41470 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41471 (TZVERSION): Hardcode tzcode version number.
41472 * timezone/zdump.c: Update from tzcode 2012i.
41473 * timezone/zic.c: Likewise.
41474 * timezone/version.h: New file.
41475 * timezone/README: Describe version.h. Update upstream location.
41478 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41479 (mktemp): Enable declaration.
41480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41497 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41498 offset in buffer as u_int32_t not u_long. Consistently use memcpy
41499 for copies of such integer values.
41500 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41501 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41503 2012-11-09 Andreas Jaeger <aj@suse.de>
41505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41506 definitions and declarations that are provided by
41507 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41509 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41511 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41512 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41513 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41516 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41518 * elf/elf.h: Update comment before AArch64 relocations.
41520 2012-11-07 David S. Miller <davem@davemloft.net>
41522 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41523 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41524 (__start_context): Declare.
41525 (__makecontext_ret): Delete.
41526 (__makecontext): Hook up __start_context instead of
41528 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41529 (sysdep_routines): Add __start_context when in stdlib.
41531 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41533 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41534 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41535 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
41537 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
41538 (READELF): New variable. Use it instead of hardcoded "readelf".
41540 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
41542 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41543 * sysdeps/x86/Makefile: Here.
41544 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41545 * sysdeps/x86/tst-xmmymm.sh: This.
41547 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41549 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41551 [UNIX98] (pthread_barrier_t): Do not expect.
41552 [UNIX98] (pthread_barrierattr_t): Likewise.
41553 [UNIX98] (pthread_spinlock_t): Likewise.
41554 [UNIX98] (pthread_barrier_destroy): Likewise.
41555 [UNIX98] (pthread_barrier_init): Likewise.
41556 [UNIX98] (pthread_barrier_wait): Likewise.
41557 [UNIX98] (pthread_barrierattr_destroy): Likewise.
41558 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41559 [UNIX98] (pthread_barrierattr_init): Likewise.
41560 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41561 [UNIX98] (pthread_getcpuclockid): Likewise.
41562 [UNIX98] (pthread_mutex_timedlock): Likewise.
41563 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41564 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41565 [UNIX98] (pthread_sigmask): Likewise.
41566 [UNIX98] (pthread_spin_destroy): Likewise.
41567 [UNIX98] (pthread_spin_init): Likewise.
41568 [UNIX98] (pthread_spin_lock): Likewise.
41569 [UNIX98] (pthread_spin_trylock): Likewise.
41570 [UNIX98] (pthread_spin_unlock): Likewise.
41571 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41573 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41575 [XPG3 || XPG4] (pthread_cond_t): Likewise.
41576 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41577 [XPG3 || XPG4] (pthread_key_t): Likewise.
41578 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41579 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41580 [XPG3 || XPG4] (pthread_once_t): Likewise.
41581 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41582 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41584 [XPG3 || XPG4] (pthread_t): Likewise.
41586 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41588 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41591 Change function return type to int.
41593 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41594 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41595 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41596 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41597 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41598 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41599 [!POSIX] (posix_madvise): Likewise.
41600 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41602 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41603 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41604 (mode_t): Likewise.
41605 (posix_mem_offset): Likewise.
41606 (posix_typed_mem_get_info): Likewise.
41607 (posix_typed_mem_open): Likewise.
41609 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41610 Change condition to [XOPEN2K8].
41612 * conform/conformtest.pl: Preprocess allow-header data with -x c
41613 instead of from stdin.
41614 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41615 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41616 [C99-based standards] (cerfc): Likewise.
41617 [C99-based standards] (cexp2): Likewise.
41618 [C99-based standards] (cexpm1): Likewise.
41619 [C99-based standards] (clog10): Likewise.
41620 [C99-based standards] (clog1p): Likewise.
41621 [C99-based standards] (clog2): Likewise.
41622 [C99-based standards] (clgamma): Likewise.
41623 [C99-based standards] (ctgamma): Likewise.
41624 [C99-based standards] (cerff): Likewise.
41625 [C99-based standards] (cerfcf): Likewise.
41626 [C99-based standards] (cexp2f): Likewise.
41627 [C99-based standards] (cexpm1f): Likewise.
41628 [C99-based standards] (clog10f): Likewise.
41629 [C99-based standards] (clog1pf): Likewise.
41630 [C99-based standards] (clog2f): Likewise.
41631 [C99-based standards] (clgammaf): Likewise.
41632 [C99-based standards] (ctgammaf): Likewise.
41633 [C99-based standards] (cerfl): Likewise.
41634 [C99-based standards] (cerfcl): Likewise.
41635 [C99-based standards] (cexp2l): Likewise.
41636 [C99-based standards] (cexpm1l): Likewise.
41637 [C99-based standards] (clog10l): Likewise.
41638 [C99-based standards] (clog1pl): Likewise.
41639 [C99-based standards] (clog2l): Likewise.
41640 [C99-based standards] (clgammal): Likewise.
41641 [C99-based standards] (ctgammal): Likewise.
41642 * conform/data/inttypes.h-data [C99-based standards]: Include
41643 stdint.h-data. Remove all expectations for stdint.h contents.
41644 [C99-based standards] (PRI*): Do not allow.
41645 [C99-based standards] (SCN*): Likewise.
41646 [C99-based standards] (*_t): Likewise.
41647 [C99-based-standards] (PRId8): Expect macro.
41648 [C99-based-standards] (PRIi8): Likewise.
41649 [C99-based-standards] (PRIo8): Likewise.
41650 [C99-based-standards] (PRIu8): Likewise.
41651 [C99-based-standards] (PRIx8): Likewise.
41652 [C99-based-standards] (PRIX8): Likewise.
41653 [C99-based-standards] (SCNd8): Likewise.
41654 [C99-based-standards] (SCNi8): Likewise.
41655 [C99-based-standards] (SCNo8): Likewise.
41656 [C99-based-standards] (SCNu8): Likewise.
41657 [C99-based-standards] (SCNx8): Likewise.
41658 [C99-based-standards] (PRIdLEAST8): Likewise.
41659 [C99-based-standards] (PRIiLEAST8): Likewise.
41660 [C99-based-standards] (PRIoLEAST8): Likewise.
41661 [C99-based-standards] (PRIuLEAST8): Likewise.
41662 [C99-based-standards] (PRIxLEAST8): Likewise.
41663 [C99-based-standards] (PRIXLEAST8): Likewise.
41664 [C99-based-standards] (SCNdLEAST8): Likewise.
41665 [C99-based-standards] (SCNiLEAST8): Likewise.
41666 [C99-based-standards] (SCNoLEAST8): Likewise.
41667 [C99-based-standards] (SCNuLEAST8): Likewise.
41668 [C99-based-standards] (SCNxLEAST8): Likewise.
41669 [C99-based-standards] (PRIdFAST8): Likewise.
41670 [C99-based-standards] (PRIiFAST8): Likewise.
41671 [C99-based-standards] (PRIoFAST8): Likewise.
41672 [C99-based-standards] (PRIuFAST8): Likewise.
41673 [C99-based-standards] (PRIxFAST8): Likewise.
41674 [C99-based-standards] (PRIXFAST8): Likewise.
41675 [C99-based-standards] (SCNdFAST8): Likewise.
41676 [C99-based-standards] (SCNiFAST8): Likewise.
41677 [C99-based-standards] (SCNoFAST8): Likewise.
41678 [C99-based-standards] (SCNuFAST8): Likewise.
41679 [C99-based-standards] (SCNxFAST8): Likewise.
41680 [C99-based-standards] (PRId16): Likewise.
41681 [C99-based-standards] (PRIi16): Likewise.
41682 [C99-based-standards] (PRIo16): Likewise.
41683 [C99-based-standards] (PRIu16): Likewise.
41684 [C99-based-standards] (PRIx16): Likewise.
41685 [C99-based-standards] (PRIX16): Likewise.
41686 [C99-based-standards] (SCNd16): Likewise.
41687 [C99-based-standards] (SCNi16): Likewise.
41688 [C99-based-standards] (SCNo16): Likewise.
41689 [C99-based-standards] (SCNu16): Likewise.
41690 [C99-based-standards] (SCNx16): Likewise.
41691 [C99-based-standards] (PRIdLEAST16): Likewise.
41692 [C99-based-standards] (PRIiLEAST16): Likewise.
41693 [C99-based-standards] (PRIoLEAST16): Likewise.
41694 [C99-based-standards] (PRIuLEAST16): Likewise.
41695 [C99-based-standards] (PRIxLEAST16): Likewise.
41696 [C99-based-standards] (PRIXLEAST16): Likewise.
41697 [C99-based-standards] (SCNdLEAST16): Likewise.
41698 [C99-based-standards] (SCNiLEAST16): Likewise.
41699 [C99-based-standards] (SCNoLEAST16): Likewise.
41700 [C99-based-standards] (SCNuLEAST16): Likewise.
41701 [C99-based-standards] (SCNxLEAST16): Likewise.
41702 [C99-based-standards] (PRIdFAST16): Likewise.
41703 [C99-based-standards] (PRIiFAST16): Likewise.
41704 [C99-based-standards] (PRIoFAST16): Likewise.
41705 [C99-based-standards] (PRIuFAST16): Likewise.
41706 [C99-based-standards] (PRIxFAST16): Likewise.
41707 [C99-based-standards] (PRIXFAST16): Likewise.
41708 [C99-based-standards] (SCNdFAST16): Likewise.
41709 [C99-based-standards] (SCNiFAST16): Likewise.
41710 [C99-based-standards] (SCNoFAST16): Likewise.
41711 [C99-based-standards] (SCNuFAST16): Likewise.
41712 [C99-based-standards] (SCNxFAST16): Likewise.
41713 [C99-based-standards] (PRId32): Likewise.
41714 [C99-based-standards] (PRIi32): Likewise.
41715 [C99-based-standards] (PRIo32): Likewise.
41716 [C99-based-standards] (PRIu32): Likewise.
41717 [C99-based-standards] (PRIx32): Likewise.
41718 [C99-based-standards] (PRIX32): Likewise.
41719 [C99-based-standards] (SCNd32): Likewise.
41720 [C99-based-standards] (SCNi32): Likewise.
41721 [C99-based-standards] (SCNo32): Likewise.
41722 [C99-based-standards] (SCNu32): Likewise.
41723 [C99-based-standards] (SCNx32): Likewise.
41724 [C99-based-standards] (PRIdLEAST32): Likewise.
41725 [C99-based-standards] (PRIiLEAST32): Likewise.
41726 [C99-based-standards] (PRIoLEAST32): Likewise.
41727 [C99-based-standards] (PRIuLEAST32): Likewise.
41728 [C99-based-standards] (PRIxLEAST32): Likewise.
41729 [C99-based-standards] (PRIXLEAST32): Likewise.
41730 [C99-based-standards] (SCNdLEAST32): Likewise.
41731 [C99-based-standards] (SCNiLEAST32): Likewise.
41732 [C99-based-standards] (SCNoLEAST32): Likewise.
41733 [C99-based-standards] (SCNuLEAST32): Likewise.
41734 [C99-based-standards] (SCNxLEAST32): Likewise.
41735 [C99-based-standards] (PRIdFAST32): Likewise.
41736 [C99-based-standards] (PRIiFAST32): Likewise.
41737 [C99-based-standards] (PRIoFAST32): Likewise.
41738 [C99-based-standards] (PRIuFAST32): Likewise.
41739 [C99-based-standards] (PRIxFAST32): Likewise.
41740 [C99-based-standards] (PRIXFAST32): Likewise.
41741 [C99-based-standards] (SCNdFAST32): Likewise.
41742 [C99-based-standards] (SCNiFAST32): Likewise.
41743 [C99-based-standards] (SCNoFAST32): Likewise.
41744 [C99-based-standards] (SCNuFAST32): Likewise.
41745 [C99-based-standards] (SCNxFAST32): Likewise.
41746 [C99-based-standards] (PRId64): Likewise.
41747 [C99-based-standards] (PRIi64): Likewise.
41748 [C99-based-standards] (PRIo64): Likewise.
41749 [C99-based-standards] (PRIu64): Likewise.
41750 [C99-based-standards] (PRIx64): Likewise.
41751 [C99-based-standards] (PRIX64): Likewise.
41752 [C99-based-standards] (SCNd64): Likewise.
41753 [C99-based-standards] (SCNi64): Likewise.
41754 [C99-based-standards] (SCNo64): Likewise.
41755 [C99-based-standards] (SCNu64): Likewise.
41756 [C99-based-standards] (SCNx64): Likewise.
41757 [C99-based-standards] (PRIdLEAST64): Likewise.
41758 [C99-based-standards] (PRIiLEAST64): Likewise.
41759 [C99-based-standards] (PRIoLEAST64): Likewise.
41760 [C99-based-standards] (PRIuLEAST64): Likewise.
41761 [C99-based-standards] (PRIxLEAST64): Likewise.
41762 [C99-based-standards] (PRIXLEAST64): Likewise.
41763 [C99-based-standards] (SCNdLEAST64): Likewise.
41764 [C99-based-standards] (SCNiLEAST64): Likewise.
41765 [C99-based-standards] (SCNoLEAST64): Likewise.
41766 [C99-based-standards] (SCNuLEAST64): Likewise.
41767 [C99-based-standards] (SCNxLEAST64): Likewise.
41768 [C99-based-standards] (PRIdFAST64): Likewise.
41769 [C99-based-standards] (PRIiFAST64): Likewise.
41770 [C99-based-standards] (PRIoFAST64): Likewise.
41771 [C99-based-standards] (PRIuFAST64): Likewise.
41772 [C99-based-standards] (PRIxFAST64): Likewise.
41773 [C99-based-standards] (PRIXFAST64): Likewise.
41774 [C99-based-standards] (SCNdFAST64): Likewise.
41775 [C99-based-standards] (SCNiFAST64): Likewise.
41776 [C99-based-standards] (SCNoFAST64): Likewise.
41777 [C99-based-standards] (SCNuFAST64): Likewise.
41778 [C99-based-standards] (SCNxFAST64): Likewise.
41779 [C99-based-standards] (PRIdMAX): Likewise.
41780 [C99-based-standards] (PRIiMAX): Likewise.
41781 [C99-based-standards] (PRIoMAX): Likewise.
41782 [C99-based-standards] (PRIuMAX): Likewise.
41783 [C99-based-standards] (PRIxMAX): Likewise.
41784 [C99-based-standards] (PRIXMAX): Likewise.
41785 [C99-based-standards] (SCNdMAX): Likewise.
41786 [C99-based-standards] (SCNiMAX): Likewise.
41787 [C99-based-standards] (SCNoMAX): Likewise.
41788 [C99-based-standards] (SCNuMAX): Likewise.
41789 [C99-based-standards] (SCNxMAX): Likewise.
41790 [C99-based-standards] (PRIdPTR): Likewise.
41791 [C99-based-standards] (PRIiPTR): Likewise.
41792 [C99-based-standards] (PRIoPTR): Likewise.
41793 [C99-based-standards] (PRIuPTR): Likewise.
41794 [C99-based-standards] (PRIxPTR): Likewise.
41795 [C99-based-standards] (PRIXPTR): Likewise.
41796 [C99-based-standards] (SCNdPTR): Likewise.
41797 [C99-based-standards] (SCNiPTR): Likewise.
41798 [C99-based-standards] (SCNoPTR): Likewise.
41799 [C99-based-standards] (SCNuPTR): Likewise.
41800 [C99-based-standards] (SCNxPTR): Likewise.
41801 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41803 * conform/data/stdint.h-data: Update comments to clarify
41805 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
41807 [C99-based standards] (INT8_MAX): Likewise.
41808 [C99-based standards] (INT16_MIN): Likewise.
41809 [C99-based standards] (INT16_MAX): Likewise.
41810 [C99-based standards] (INT32_MIN): Likewise.
41811 [C99-based standards] (INT32_MAX): Likewise.
41812 [C99-based standards] (INT64_MIN): Likewise.
41813 [C99-based standards] (INT64_MAX): Likewise.
41814 [C99-based standards] (UINT8_MAX): Likewise.
41815 [C99-based standards] (UINT16_MAX): Likewise.
41816 [C99-based standards] (UINT32_MAX): Likewise.
41817 [C99-based standards] (UINT64_MAX): Likewise.
41818 [C99-based standards] (INT_LEAST8_MIN): Likewise.
41819 [C99-based standards] (INT_LEAST8_MAX): Likewise.
41820 [C99-based standards] (INT_LEAST16_MIN): Likewise.
41821 [C99-based standards] (INT_LEAST16_MAX): Likewise.
41822 [C99-based standards] (INT_LEAST32_MIN): Likewise.
41823 [C99-based standards] (INT_LEAST32_MAX): Likewise.
41824 [C99-based standards] (INT_LEAST64_MIN): Likewise.
41825 [C99-based standards] (INT_LEAST64_MAX): Likewise.
41826 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41827 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41828 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41829 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41830 [C99-based standards] (INT_FAST8_MIN): Likewise.
41831 [C99-based standards] (INT_FAST8_MAX): Likewise.
41832 [C99-based standards] (INT_FAST16_MIN): Likewise.
41833 [C99-based standards] (INT_FAST16_MAX): Likewise.
41834 [C99-based standards] (INT_FAST32_MIN): Likewise.
41835 [C99-based standards] (INT_FAST32_MAX): Likewise.
41836 [C99-based standards] (INT_FAST64_MIN): Likewise.
41837 [C99-based standards] (INT_FAST64_MAX): Likewise.
41838 [C99-based standards] (UINT_FAST8_MAX): Likewise.
41839 [C99-based standards] (UINT_FAST16_MAX): Likewise.
41840 [C99-based standards] (UINT_FAST32_MAX): Likewise.
41841 [C99-based standards] (UINT_FAST64_MAX): Likewise.
41842 [C99-based standards] (INTPTR_MIN): Likewise.
41843 [C99-based standards] (INTPTR_MAX): Likewise.
41844 [C99-based standards] (UINTPTR_MAX): Likewise.
41845 [C99-based standards] (INTMAX_MIN): Likewise.
41846 [C99-based standards] (INTMAX_MAX): Likewise.
41847 [C99-based standards] (UINTMAX_MAX): Likewise.
41848 [C99-based standards] (PTRDIFF_MIN): Likewise.
41849 [C99-based standards] (PTRDIFF_MAX): Likewise.
41850 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41851 [C99-based standards] (SIZE_MAX): Likewise.
41852 [C99-based standards] (WCHAR_MAX): Likewise.
41853 [C99-based standards] (WINT_MAX): Likewise.
41854 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
41855 constraint on value.
41856 [C99-based standards] (WCHAR_MIN): Likewise.
41857 [C99-based standards] (WINT_MIN): Likewise.
41858 [C99-based standards] (*_t): Allow.
41859 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41860 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41861 Include math.h-data and complex.h-data. Remove all expectations
41862 of math.h and complex.h contents.
41863 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41865 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41866 (struct tm): Expect tag.
41867 [C99-based-standards] (wcstof): Expect function.
41868 [C99-based-standards] (wcstold): Likewise.
41869 [C99-based-standards] (wcstoll): Likewise.
41870 [C99-based-standards] (wcstoull): Likewise.
41871 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41872 macro-int-constant. Specify type.
41873 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
41874 constraint on value.
41875 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41877 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41879 [ISO C standards]: Do not allow headers.
41880 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41881 wcs[abcdefghijklmnopqrstuvwxyz]*.
41882 [ISO C standards] (*_t): Do not allow.
41883 * conform/data/wctype.h-data [C99-based standards] (iswblank):
41885 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41886 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41888 [ISO C standards]: Do not allow headers.
41889 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41890 is[abcdefghijklmnopqrstuvwxyz]*.
41891 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41892 to[abcdefghijklmnopqrstuvwxyz]*.
41893 [ISO C standards] (*_t): Do not allow.
41894 * conform/data/stdalign.h-data: New file.
41895 * conform/data/stdbool.h-data: Likewise.
41896 * conform/data/stdnoreturn.h-data: Likewise.
41898 2012-11-07 Roland McGrath <roland@hack.frob.com>
41901 * manual/filesys.texi (Directory Entries): Typo fix.
41902 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41904 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41906 * elf/elf.h (EM_AARCH64): New macro.
41907 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41908 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41909 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41910 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41911 (R_AARCH64_TLSDESC): Likewise.
41912 (NT_ARM_TLS): Likewise.
41913 (NT_ARM_HW_BREAK): Likewise.
41914 (NT_ARM_HW_WATCH): Likewise.
41916 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41919 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41920 (__ieee754_powl): Saturate nonzero exponents with absolute value
41921 below 0x1p-79 to +/- 0x1p-79.
41922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41923 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41924 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41925 nonzero exponents with absolute value below 0x1p-32 to +/-
41927 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41928 (__ieee754_powl): Saturate nonzero exponents with absolute value
41929 below 0x1p-79 to +/- 0x1p-79.
41930 * math/libm-test.inc (pow_test): Add more tests.
41932 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41934 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41935 _dl_s390_cap_flags with kernel. Increase string length.
41936 (_dl_s390_platforms): Add z196 and zEC12.
41938 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41940 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41941 Change XOPEN21K to XOPEN2K.
41943 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
41945 * string/memmove.c: Use memcpy when possible.
41947 2012-11-06 Andreas Jaeger <aj@suse.de>
41949 * po/eo.po: Update from translation team.
41951 2012-11-06 Joseph Myers <joseph@codesourcery.com>
41954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41955 exponent and small x and y exponents, scale x or y up. Increase
41956 by 2 the exponent used in scaling up.
41957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41959 * math/libm-test.inc (fma_test): Add more tests.
41960 (fma_test_towardzero): Likewise.
41961 (fma_test_downward): Likewise.
41962 (fma_test_upward): Likewise.
41964 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41967 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41971 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41972 namespace for names of struct fields.
41973 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41975 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41976 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41978 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41981 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41983 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41985 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41989 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41992 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41996 definitely overflow as x * y not x * y + z.
41997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41999 * math/libm-test.inc (fma_test): Add more tests.
42000 (fma_test_towardzero): Likewise.
42001 (fma_test_downward): Likewise.
42002 (fma_test_upward): Likewise.
42004 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
42008 * include/stub-tag.h: Remove file.
42009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42011 * manual/maint.texi (Porting): Don't reference it.
42012 * Makerules ($(objpfx)stubs): Likewise.
42013 * dirent/closedir.c: Don't include <stub-tag.h>.
42014 * dirent/dirfd.c: Likewise.
42015 * dirent/fdopendir.c: Likewise.
42016 * dirent/getdents.c: Likewise.
42017 * dirent/getdents64.c: Likewise.
42018 * dirent/opendir.c: Likewise.
42019 * dirent/readdir.c: Likewise.
42020 * dirent/readdir64.c: Likewise.
42021 * dirent/readdir64_r.c: Likewise.
42022 * dirent/readdir_r.c: Likewise.
42023 * dirent/rewinddir.c: Likewise.
42024 * dirent/seekdir.c: Likewise.
42025 * dirent/telldir.c: Likewise.
42026 * gmon/profil.c: Likewise.
42027 * grp/setgroups.c: Likewise.
42028 * inet/if_index.c: Likewise.
42029 * io/access.c: Likewise.
42030 * io/chdir.c: Likewise.
42031 * io/chmod.c: Likewise.
42032 * io/chown.c: Likewise.
42033 * io/close.c: Likewise.
42034 * io/dup.c: Likewise.
42035 * io/dup2.c: Likewise.
42036 * io/dup3.c: Likewise.
42037 * io/euidaccess.c: Likewise.
42038 * io/faccessat.c: Likewise.
42039 * io/fchdir.c: Likewise.
42040 * io/fchmod.c: Likewise.
42041 * io/fchmodat.c: Likewise.
42042 * io/fchown.c: Likewise.
42043 * io/fchownat.c: Likewise.
42044 * io/fcntl.c: Likewise.
42045 * io/flock.c: Likewise.
42046 * io/fstatfs.c: Likewise.
42047 * io/fstatfs64.c: Likewise.
42048 * io/fstatvfs.c: Likewise.
42049 * io/fstatvfs64.c: Likewise.
42050 * io/futimens.c: Likewise.
42051 * io/fxstat.c: Likewise.
42052 * io/fxstat64.c: Likewise.
42053 * io/fxstatat.c: Likewise.
42054 * io/fxstatat64.c: Likewise.
42055 * io/getcwd.c: Likewise.
42056 * io/isatty.c: Likewise.
42057 * io/lchmod.c: Likewise.
42058 * io/lchown.c: Likewise.
42059 * io/link.c: Likewise.
42060 * io/linkat.c: Likewise.
42061 * io/lseek.c: Likewise.
42062 * io/lseek64.c: Likewise.
42063 * io/lxstat64.c: Likewise.
42064 * io/mkdir.c: Likewise.
42065 * io/mkdirat.c: Likewise.
42066 * io/mkfifo.c: Likewise.
42067 * io/mkfifoat.c: Likewise.
42068 * io/open.c: Likewise.
42069 * io/open64.c: Likewise.
42070 * io/openat.c: Likewise.
42071 * io/openat64.c: Likewise.
42072 * io/pipe.c: Likewise.
42073 * io/pipe2.c: Likewise.
42074 * io/poll.c: Likewise.
42075 * io/posix_fadvise.c: Likewise.
42076 * io/posix_fadvise64.c: Likewise.
42077 * io/posix_fallocate.c: Likewise.
42078 * io/posix_fallocate64.c: Likewise.
42079 * io/read.c: Likewise.
42080 * io/readlink.c: Likewise.
42081 * io/readlinkat.c: Likewise.
42082 * io/rmdir.c: Likewise.
42083 * io/sendfile.c: Likewise.
42084 * io/sendfile64.c: Likewise.
42085 * io/statfs.c: Likewise.
42086 * io/statfs64.c: Likewise.
42087 * io/statvfs.c: Likewise.
42088 * io/statvfs64.c: Likewise.
42089 * io/symlink.c: Likewise.
42090 * io/symlinkat.c: Likewise.
42091 * io/ttyname.c: Likewise.
42092 * io/ttyname_r.c: Likewise.
42093 * io/umask.c: Likewise.
42094 * io/unlink.c: Likewise.
42095 * io/unlinkat.c: Likewise.
42096 * io/utime.c: Likewise.
42097 * io/utimensat.c: Likewise.
42098 * io/write.c: Likewise.
42099 * io/xmknod.c: Likewise.
42100 * io/xmknodat.c: Likewise.
42101 * io/xstat.c: Likewise.
42102 * io/xstat64.c: Likewise.
42103 * login/getpt.c: Likewise.
42104 * login/grantpt.c: Likewise.
42105 * login/unlockpt.c: Likewise.
42106 * math/e_acoshl.c: Likewise.
42107 * math/e_acosl.c: Likewise.
42108 * math/e_asinl.c: Likewise.
42109 * math/e_atan2l.c: Likewise.
42110 * math/e_atanhl.c: Likewise.
42111 * math/e_coshl.c: Likewise.
42112 * math/e_expl.c: Likewise.
42113 * math/e_fmodl.c: Likewise.
42114 * math/e_gammal_r.c: Likewise.
42115 * math/e_hypotl.c: Likewise.
42116 * math/e_j0l.c: Likewise.
42117 * math/e_j1l.c: Likewise.
42118 * math/e_jnl.c: Likewise.
42119 * math/e_lgammal_r.c: Likewise.
42120 * math/e_log10l.c: Likewise.
42121 * math/e_log2l.c: Likewise.
42122 * math/e_logl.c: Likewise.
42123 * math/e_powl.c: Likewise.
42124 * math/e_rem_pio2l.c: Likewise.
42125 * math/e_sinhl.c: Likewise.
42126 * math/e_sqrtl.c: Likewise.
42127 * math/fclrexcpt.c: Likewise.
42128 * math/fedisblxcpt.c: Likewise.
42129 * math/feenablxcpt.c: Likewise.
42130 * math/fegetenv.c: Likewise.
42131 * math/fegetexcept.c: Likewise.
42132 * math/fegetround.c: Likewise.
42133 * math/feholdexcpt.c: Likewise.
42134 * math/fesetenv.c: Likewise.
42135 * math/fesetround.c: Likewise.
42136 * math/feupdateenv.c: Likewise.
42137 * math/fgetexcptflg.c: Likewise.
42138 * math/fraiseexcpt.c: Likewise.
42139 * math/fsetexcptflg.c: Likewise.
42140 * math/ftestexcept.c: Likewise.
42141 * math/k_cosl.c: Likewise.
42142 * math/k_rem_pio2l.c: Likewise.
42143 * math/k_sinl.c: Likewise.
42144 * math/k_tanl.c: Likewise.
42145 * math/s_asinhl.c: Likewise.
42146 * math/s_atanl.c: Likewise.
42147 * math/s_cbrtl.c: Likewise.
42148 * math/s_erfl.c: Likewise.
42149 * math/s_expm1l.c: Likewise.
42150 * math/s_log1pl.c: Likewise.
42151 * math/s_tanhl.c: Likewise.
42152 * misc/acct.c: Likewise.
42153 * misc/brk.c: Likewise.
42154 * misc/chflags.c: Likewise.
42155 * misc/chroot.c: Likewise.
42156 * misc/fchflags.c: Likewise.
42157 * misc/fgetxattr.c: Likewise.
42158 * misc/flistxattr.c: Likewise.
42159 * misc/fremovexattr.c: Likewise.
42160 * misc/fsetxattr.c: Likewise.
42161 * misc/fsync.c: Likewise.
42162 * misc/ftruncate.c: Likewise.
42163 * misc/futimes.c: Likewise.
42164 * misc/futimesat.c: Likewise.
42165 * misc/getdomain.c: Likewise.
42166 * misc/getdtsz.c: Likewise.
42167 * misc/gethostid.c: Likewise.
42168 * misc/gethostname.c: Likewise.
42169 * misc/getloadavg.c: Likewise.
42170 * misc/getpagesize.c: Likewise.
42171 * misc/getsysstats.c: Likewise.
42172 * misc/getxattr.c: Likewise.
42173 * misc/gtty.c: Likewise.
42174 * misc/ioctl.c: Likewise.
42175 * misc/lgetxattr.c: Likewise.
42176 * misc/listxattr.c: Likewise.
42177 * misc/llistxattr.c: Likewise.
42178 * misc/lremovexattr.c: Likewise.
42179 * misc/lsetxattr.c: Likewise.
42180 * misc/lutimes.c: Likewise.
42181 * misc/madvise.c: Likewise.
42182 * misc/mincore.c: Likewise.
42183 * misc/mlock.c: Likewise.
42184 * misc/mlockall.c: Likewise.
42185 * misc/mmap.c: Likewise.
42186 * misc/mprotect.c: Likewise.
42187 * misc/msync.c: Likewise.
42188 * misc/munlock.c: Likewise.
42189 * misc/munlockall.c: Likewise.
42190 * misc/munmap.c: Likewise.
42191 * misc/preadv.c: Likewise.
42192 * misc/preadv64.c: Likewise.
42193 * misc/ptrace.c: Likewise.
42194 * misc/pwritev.c: Likewise.
42195 * misc/pwritev64.c: Likewise.
42196 * misc/readv.c: Likewise.
42197 * misc/reboot.c: Likewise.
42198 * misc/remap_file_pages.c: Likewise.
42199 * misc/removexattr.c: Likewise.
42200 * misc/revoke.c: Likewise.
42201 * misc/select.c: Likewise.
42202 * misc/setdomain.c: Likewise.
42203 * misc/setegid.c: Likewise.
42204 * misc/seteuid.c: Likewise.
42205 * misc/sethostid.c: Likewise.
42206 * misc/sethostname.c: Likewise.
42207 * misc/setregid.c: Likewise.
42208 * misc/setreuid.c: Likewise.
42209 * misc/setxattr.c: Likewise.
42210 * misc/sstk.c: Likewise.
42211 * misc/stty.c: Likewise.
42212 * misc/swapoff.c: Likewise.
42213 * misc/swapon.c: Likewise.
42214 * misc/sync.c: Likewise.
42215 * misc/syncfs.c: Likewise.
42216 * misc/syscall.c: Likewise.
42217 * misc/truncate.c: Likewise.
42218 * misc/ualarm.c: Likewise.
42219 * misc/usleep.c: Likewise.
42220 * misc/ustat.c: Likewise.
42221 * misc/utimes.c: Likewise.
42222 * misc/vhangup.c: Likewise.
42223 * misc/writev.c: Likewise.
42224 * posix/_exit.c: Likewise.
42225 * posix/alarm.c: Likewise.
42226 * posix/execve.c: Likewise.
42227 * posix/fexecve.c: Likewise.
42228 * posix/fork.c: Likewise.
42229 * posix/fpathconf.c: Likewise.
42230 * posix/getaddrinfo.c: Likewise.
42231 * posix/getegid.c: Likewise.
42232 * posix/geteuid.c: Likewise.
42233 * posix/getgid.c: Likewise.
42234 * posix/getgroups.c: Likewise.
42235 * posix/getlogin.c: Likewise.
42236 * posix/getlogin_r.c: Likewise.
42237 * posix/getpgid.c: Likewise.
42238 * posix/getpid.c: Likewise.
42239 * posix/getppid.c: Likewise.
42240 * posix/getresgid.c: Likewise.
42241 * posix/getresuid.c: Likewise.
42242 * posix/getsid.c: Likewise.
42243 * posix/getuid.c: Likewise.
42244 * posix/glob64.c: Likewise.
42245 * posix/nanosleep.c: Likewise.
42246 * posix/pathconf.c: Likewise.
42247 * posix/pause.c: Likewise.
42248 * posix/posix_madvise.c: Likewise.
42249 * posix/pread.c: Likewise.
42250 * posix/pread64.c: Likewise.
42251 * posix/pwrite.c: Likewise.
42252 * posix/pwrite64.c: Likewise.
42253 * posix/sched_getaffinity.c: Likewise.
42254 * posix/sched_getp.c: Likewise.
42255 * posix/sched_gets.c: Likewise.
42256 * posix/sched_primax.c: Likewise.
42257 * posix/sched_primin.c: Likewise.
42258 * posix/sched_rr_gi.c: Likewise.
42259 * posix/sched_setaffinity.c: Likewise.
42260 * posix/sched_setp.c: Likewise.
42261 * posix/sched_sets.c: Likewise.
42262 * posix/sched_yield.c: Likewise.
42263 * posix/setgid.c: Likewise.
42264 * posix/setlogin.c: Likewise.
42265 * posix/setpgid.c: Likewise.
42266 * posix/setresgid.c: Likewise.
42267 * posix/setresuid.c: Likewise.
42268 * posix/setsid.c: Likewise.
42269 * posix/setuid.c: Likewise.
42270 * posix/sleep.c: Likewise.
42271 * posix/spawni.c: Likewise.
42272 * posix/sysconf.c: Likewise.
42273 * posix/times.c: Likewise.
42274 * posix/wait.c: Likewise.
42275 * posix/wait3.c: Likewise.
42276 * posix/wait4.c: Likewise.
42277 * posix/waitpid.c: Likewise.
42278 * resolv/gai_sigqueue.c: Likewise.
42279 * resource/getpriority.c: Likewise.
42280 * resource/getrlimit.c: Likewise.
42281 * resource/getrusage.c: Likewise.
42282 * resource/nice.c: Likewise.
42283 * resource/setpriority.c: Likewise.
42284 * resource/setrlimit.c: Likewise.
42285 * resource/ulimit.c: Likewise.
42286 * rt/aio_cancel.c: Likewise.
42287 * rt/aio_fsync.c: Likewise.
42288 * rt/aio_read.c: Likewise.
42289 * rt/aio_sigqueue.c: Likewise.
42290 * rt/aio_suspend.c: Likewise.
42291 * rt/aio_write.c: Likewise.
42292 * rt/clock_getres.c: Likewise.
42293 * rt/clock_gettime.c: Likewise.
42294 * rt/clock_nanosleep.c: Likewise.
42295 * rt/clock_settime.c: Likewise.
42296 * rt/lio_listio.c: Likewise.
42297 * rt/mq_close.c: Likewise.
42298 * rt/mq_getattr.c: Likewise.
42299 * rt/mq_notify.c: Likewise.
42300 * rt/mq_open.c: Likewise.
42301 * rt/mq_receive.c: Likewise.
42302 * rt/mq_send.c: Likewise.
42303 * rt/mq_setattr.c: Likewise.
42304 * rt/mq_timedreceive.c: Likewise.
42305 * rt/mq_timedsend.c: Likewise.
42306 * rt/mq_unlink.c: Likewise.
42307 * rt/shm_open.c: Likewise.
42308 * rt/shm_unlink.c: Likewise.
42309 * rt/timer_create.c: Likewise.
42310 * rt/timer_delete.c: Likewise.
42311 * rt/timer_getoverr.c: Likewise.
42312 * rt/timer_gettime.c: Likewise.
42313 * rt/timer_settime.c: Likewise.
42314 * setjmp/__longjmp.c: Likewise.
42315 * setjmp/setjmp.c: Likewise.
42316 * signal/kill.c: Likewise.
42317 * signal/killpg.c: Likewise.
42318 * signal/raise.c: Likewise.
42319 * signal/sigaction.c: Likewise.
42320 * signal/sigaltstack.c: Likewise.
42321 * signal/sigblock.c: Likewise.
42322 * signal/sigignore.c: Likewise.
42323 * signal/sigintr.c: Likewise.
42324 * signal/signal.c: Likewise.
42325 * signal/sigpause.c: Likewise.
42326 * signal/sigpending.c: Likewise.
42327 * signal/sigqueue.c: Likewise.
42328 * signal/sigreturn.c: Likewise.
42329 * signal/sigset.c: Likewise.
42330 * signal/sigsetmask.c: Likewise.
42331 * signal/sigstack.c: Likewise.
42332 * signal/sigsuspend.c: Likewise.
42333 * signal/sigtimedwait.c: Likewise.
42334 * signal/sigvec.c: Likewise.
42335 * signal/sigwait.c: Likewise.
42336 * signal/sigwaitinfo.c: Likewise.
42337 * signal/sysv_signal.c: Likewise.
42338 * socket/accept.c: Likewise.
42339 * socket/accept4.c: Likewise.
42340 * socket/bind.c: Likewise.
42341 * socket/connect.c: Likewise.
42342 * socket/getpeername.c: Likewise.
42343 * socket/getsockname.c: Likewise.
42344 * socket/getsockopt.c: Likewise.
42345 * socket/isfdtype.c: Likewise.
42346 * socket/listen.c: Likewise.
42347 * socket/recv.c: Likewise.
42348 * socket/recvfrom.c: Likewise.
42349 * socket/recvmsg.c: Likewise.
42350 * socket/send.c: Likewise.
42351 * socket/sendmsg.c: Likewise.
42352 * socket/sendto.c: Likewise.
42353 * socket/setsockopt.c: Likewise.
42354 * socket/shutdown.c: Likewise.
42355 * socket/sockatmark.c: Likewise.
42356 * socket/socket.c: Likewise.
42357 * socket/socketpair.c: Likewise.
42358 * stdio-common/ctermid.c: Likewise.
42359 * stdio-common/cuserid.c: Likewise.
42360 * stdio-common/remove.c: Likewise.
42361 * stdio-common/rename.c: Likewise.
42362 * stdio-common/renameat.c: Likewise.
42363 * stdio-common/tempname.c: Likewise.
42364 * stdlib/getcontext.c: Likewise.
42365 * stdlib/makecontext.c: Likewise.
42366 * stdlib/setcontext.c: Likewise.
42367 * stdlib/swapcontext.c: Likewise.
42368 * stdlib/system.c: Likewise.
42369 * streams/fattach.c: Likewise.
42370 * streams/fdetach.c: Likewise.
42371 * streams/getmsg.c: Likewise.
42372 * streams/getpmsg.c: Likewise.
42373 * streams/putmsg.c: Likewise.
42374 * streams/putpmsg.c: Likewise.
42375 * sysdeps/unix/bsd/getpt.c: Likewise.
42376 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42377 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42378 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42381 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42382 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42383 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42384 * sysvipc/msgctl.c: Likewise.
42385 * sysvipc/msgget.c: Likewise.
42386 * sysvipc/msgrcv.c: Likewise.
42387 * sysvipc/msgsnd.c: Likewise.
42388 * sysvipc/semctl.c: Likewise.
42389 * sysvipc/semget.c: Likewise.
42390 * sysvipc/semop.c: Likewise.
42391 * sysvipc/semtimedop.c: Likewise.
42392 * sysvipc/shmat.c: Likewise.
42393 * sysvipc/shmctl.c: Likewise.
42394 * sysvipc/shmdt.c: Likewise.
42395 * sysvipc/shmget.c: Likewise.
42396 * termios/tcdrain.c: Likewise.
42397 * termios/tcflow.c: Likewise.
42398 * termios/tcflush.c: Likewise.
42399 * termios/tcgetattr.c: Likewise.
42400 * termios/tcgetpgrp.c: Likewise.
42401 * termios/tcsendbrk.c: Likewise.
42402 * termios/tcsetattr.c: Likewise.
42403 * termios/tcsetpgrp.c: Likewise.
42404 * time/adjtime.c: Likewise.
42405 * time/clock.c: Likewise.
42406 * time/getitimer.c: Likewise.
42407 * time/gettimeofday.c: Likewise.
42408 * time/setitimer.c: Likewise.
42409 * time/settimeofday.c: Likewise.
42410 * time/stime.c: Likewise.
42411 * time/time.c: Likewise.
42413 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
42415 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42418 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42420 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42422 2012-11-03 Joseph Myers <joseph@codesourcery.com>
42425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42426 FE_TONEAREST before applying Dekker multiplication and Knuth
42427 addition. Clear inexact exceptions and check for exact zero
42428 results afterwards.
42429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42430 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42432 * math/libm-test.inc (fma_test): Add more tests.
42433 (fma_test_towardzero): Likewise.
42434 (fma_test_downward): Likewise.
42435 (fma_test_upward): Likewise.
42436 * sysdeps/generic/math_private.h (default_libc_fesetround): New
42438 (libc_fesetround): New macro.
42439 (libc_fesetroundf): Likewise.
42440 (libc_fesetroundl): Likewise.
42441 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42443 (libc_fesetround_387): Likewise.
42444 (libc_fesetroundf): New macro.
42445 (libc_fesetround): Likewise.
42446 (libc_fesetroundl): Likewise.
42447 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42449 (libc_fesetroundf): New macro.
42450 (libc_fesetround): Likewise.
42451 (libc_fesetroundl): Likewise.
42452 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42453 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42454 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42456 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42457 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42459 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42460 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42462 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42466 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42467 integer constant usable in #if and use that to give value to enum
42469 (FE_DIVBYZERO): Likewise.
42470 (FE_UNDERFLOW): Likewise.
42471 (FE_OVERFLOW): Likewise.
42472 (FE_INVALID): Likewise.
42473 (FE_INVALID_SNAN): Likewise.
42474 (FE_INVALID_ISI): Likewise.
42475 (FE_INVALID_IDI): Likewise.
42476 (FE_INVALID_ZDZ): Likewise.
42477 (FE_INVALID_IMZ): Likewise.
42478 (FE_INVALID_COMPARE): Likewise.
42479 (FE_INVALID_SOFTWARE): Likewise.
42480 (FE_INVALID_SQRT): Likewise.
42481 (FE_INVALID_INTEGER_CONVERSION): Likewise.
42482 (FE_TONEAREST): Likewise.
42483 (FE_TOWARDZERO): Likewise.
42484 (FE_UPWARD): Likewise.
42485 (FE_DOWNWARD): Likewise.
42486 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42487 (FE_DIVBYZERO): Likewise.
42488 (FE_OVERFLOW): Likewise.
42489 (FE_UNDERFLOW): Likewise.
42490 (FE_INEXACT): Likewise.
42491 (FE_TONEAREST): Likewise.
42492 (FE_DOWNWARD): Likewise.
42493 (FE_UPWARD): Likewise.
42494 (FE_TOWARDZERO): Likewise.
42495 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42496 (FE_UNDERFLOW): Likewise.
42497 (FE_OVERFLOW): Likewise.
42498 (FE_DIVBYZERO): Likewise.
42499 (FE_INVALID): Likewise.
42500 (FE_TONEAREST): Likewise.
42501 (FE_TOWARDZERO): Likewise.
42502 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42503 (FE_OVERFLOW): Likewise.
42504 (FE_UNDERFLOW): Likewise.
42505 (FE_DIVBYZERO): Likewise.
42506 (FE_INEXACT): Likewise.
42507 (FE_TONEAREST): Likewise.
42508 (FE_TOWARDZERO): Likewise.
42509 (FE_UPWARD): Likewise.
42510 (FE_DOWNWARD): Likewise.
42511 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42512 (FE_DIVBYZERO): Likewise.
42513 (FE_OVERFLOW): Likewise.
42514 (FE_UNDERFLOW): Likewise.
42515 (FE_INEXACT): Likewise.
42516 (FE_TONEAREST): Likewise.
42517 (FE_DOWNWARD): Likewise.
42518 (FE_UPWARD): Likewise.
42519 (FE_TOWARDZERO): Likewise.
42521 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
42523 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42525 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
42527 * scripts/cross-test-ssh.sh (command): Use newlines to separate
42528 commands. Quote $PWD.
42529 (blacklist_exports): Don't use remove_newlines. Replace "declare
42531 (remove_newlines): Remove.
42533 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
42535 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42536 * stdlib/stdlib.h (atof): Moved to ...
42537 * include/bits/stdlib-float.h: Here. New file.
42538 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42539 * stdlib/bits/stdlib-float.h: New file.
42540 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42545 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42547 * conform/conformtest.pl (@headers): Add fenv.h.
42548 * conform/data/fenv.h-data: New file.
42549 * include/fenv.h [_ISOMAC]: Disable all contents of file except
42550 include of <math/fenv.h>.
42552 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42553 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42554 && !UNIX98]. Enables tests for XOPEN2K8.
42555 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42556 POSIX2008]: Likewise.
42558 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42559 (struct rusage): Do not expect type or its members.
42562 * math/math.h (FP_NAN): Define macro to integer constant usable in
42563 #if and use that to give value to enum constant.
42564 (FP_INFINITE): Likewise.
42565 (FP_ZERO): Likewise.
42566 (FP_SUBNORMAL): Likewise.
42567 (FP_NORMAL): Likewise.
42569 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
42571 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42572 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42575 2012-11-02 Roland McGrath <roland@hack.frob.com>
42577 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42578 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42579 autoconf-time if not.
42580 * configure.in: Remove AC_PREREQ.
42582 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42584 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42585 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42586 of the internal implementation.
42588 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42590 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42591 except include of <misc/sys/syslog.h>.
42593 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42596 function returns with a NULL context exit with zero.
42598 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42600 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42602 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
42604 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42605 (run_program_cmd): This.
42606 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42607 (tst_langinfo): New variable. Use it.
42609 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
42611 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42612 floating point opcodes.
42614 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42616 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42619 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42621 * sysdeps/mach/hurd/powerpc: Remove directory.
42622 * sysdeps/mach/powerpc: Likewise.
42624 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42626 * scripts/check-local-headers.sh: Ignore c++ headers.
42628 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42630 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42631 __libc_cleanup_region_start argument.
42633 2012-11-01 Joseph Myers <joseph@codesourcery.com>
42637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42638 x * y using scaling, not as x * y + z.
42639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42641 * math/libm-test.inc (fma_test): Add more tests.
42642 (fma_test_towardzero): Likewise.
42643 (fma_test_downward): Likewise.
42644 (fma_test_upward): Likewise.
42646 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42648 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42650 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42652 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42655 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
42657 * rt/tst-shm.c (worker): Correct checking for mmap failure.
42659 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42666 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42669 Fix the order of the list for glibc 2.17.
42670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42673 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42677 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42680 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42681 for low part of x being zero before using __atanl (y).
42682 * math/libm-test.inc (atan2_test): Add another test.
42684 * manual/install.texi (Configuring and compiling): Document
42685 general use of test-wrapper and test-wrapper-env.
42686 * INSTALL: Regenerated.
42688 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42689 (__fma): Do not extract and scale down low bits on after-rounding
42690 systems when result rounded to normal precision would have normal
42692 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42693 (__fmal): Do not extract and scale down low bits on after-rounding
42694 systems when result rounded to normal precision would have normal
42696 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42697 (__fmal): Do not extract and scale down low bits on after-rounding
42698 systems when result rounded to normal precision would have normal
42700 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42702 (fma_test): Add more tests.
42703 (fma_test_towardzero): Likewise.
42704 (fma_test_downward): Likewise.
42705 (fma_test_upward): Likewise.
42707 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
42709 * sysdeps/i386/tininess.h: Renamed to ...
42710 * sysdeps/x86/tininess.h: This.
42711 * sysdeps/x86_64/tininess.h: Removed.
42713 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42715 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42716 input. Use $(build-program-cmd).
42717 ($(objpfx)tst-array1-static.out): Likewise.
42718 ($(objpfx)tst-array2.out): Likewise.
42719 ($(objpfx)tst-array3.out): Likewise.
42720 ($(objpfx)tst-array4.out): Likewise.
42721 ($(objpfx)tst-array5.out): Likewise.
42722 ($(objpfx)tst-array5-static.out): Likewise.
42724 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
42726 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42729 * nss/nsswitch.h (nss_interface_function): Provide new
42730 macro for use with NSS functions.
42731 * grp/initgroups.c: Use new macro.
42732 * nss/getXXbyYY.c: Likewise.
42733 * nss/getXXbyYY_r.c: Likewise.
42734 * nss/getXXent.c: Likewise.
42735 * nss/getXXent_r.c: Likewise.
42736 * sysdeps/posix/getaddrinfo.c: Likewise.
42738 2012-10-30 Andreas Jaeger <aj@suse.de>
42740 * po/ru.po: Update Russion translation from translation project.
42742 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42747 result and shift together with sticky bit instead of replicating
42748 round-to-nearest rounding.
42749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42751 * math/libm-test.inc (fma_test): Add more tests. Do not permit
42752 missing underflow exceptions.
42753 (fma_test_towardzero): Add more tests.
42754 (fma_test_downward): Likewise.
42755 (fma_test_upward): Likewise.
42758 * sysdeps/generic/tininess.h: New file.
42759 * sysdeps/i386/tininess.h: Likewise.
42760 * sysdeps/sh/tininess.h: Likewise.
42761 * sysdeps/x86_64/tininess.h: Likewise.
42762 * stdlib/tst-strtod-underflow.c: Likewise.
42763 * stdlib/tst-tininess.c: Likewise.
42764 * stdlib/strtod_l.c: Include <tininess.h>.
42765 (round_and_return): Do not set errno for exact underflow cases.
42766 Force an underflow exception when setting errno for underflow.
42767 Determine underflow based on rounding to normal precision if
42768 TININESS_AFTER_ROUNDING.
42769 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42770 ERANGE for exact underflow cases.
42771 * stdlib/Makefile (tests): Add tst-tininess and
42772 tst-strtod-underflow.
42773 ($(objpfx)tst-tininess): Use $(link-libm).
42774 ($(objpfx)tst-strtod-underflow): Likewise.
42776 2012-10-30 Andreas Jaeger <aj@suse.de>
42779 * elf/Makefile (tests): Remove conditional for have-initfini-array
42780 since this is now always required and the variable does not exist
42782 (tests-static): Likewise.
42783 (modules-names): Likewise.
42785 * po/eo.po: Add Esperanto translation from translation project.
42787 * elf/tst-array1.c (fini_array): Make writeable so that it can be
42788 merged with constructor/destructor.
42789 (init_array): Likewise.
42790 * elf/tst-array2dep.c (fini_array): Likewise.
42791 (init_array): Likewise.
42793 2012-10-29 Mike Frysinger <vapier@gentoo.org>
42795 * manual/message.texi: Delete @cartouche tags.
42797 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
42799 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42801 * sysdeps/mach/hurd/fsync.c: Likewise.
42803 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42804 [_POSIX_REALTIME_SIGNALS]: Change condition to
42805 [_POSIX_REALTIME_SIGNALS > 0].
42807 2012-10-27 Andreas Jaeger <aj@suse.de>
42809 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42810 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42812 [__WORDSIZE != 64]: Likewise.
42814 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
42816 * iconvdata/tst-table.sh: Remove ${SHELL}.
42817 * iconvdata/tst-tables.sh: Likewise.
42819 2012-10-25 David S. Miller <davem@davemloft.net>
42821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42822 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42828 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42829 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42832 2012-10-25 Roland McGrath <roland@hack.frob.com>
42834 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42835 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42838 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42839 Jim Blandy <jimb@codesourcery.com>
42841 * scripts/cross-test-ssh.sh: New file.
42842 * manual/install.texi (Configuring and compiling): Document use of
42844 * INSTALL: Regenerated.
42846 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
42848 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42851 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42853 * Makeconfig (run-program-prefix): Fix comment.
42855 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42856 Jim Blandy <jimb@codesourcery.com>
42858 * Makeconfig (test-wrapper): New variable,
42859 (test-wrapper-env): Likewise.
42860 [$(cross-compiling) = yes && $(test-wrapper) != ""]
42861 (run-built-tests): Define to yes.
42862 (run-program-prefix): Use $(test-wrapper).
42863 (built-program-cmd): Likewise.
42864 * Rules (make-test-out): Use $(test-wrapper-env) and
42865 $(host-built-program-cmd).
42866 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42867 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42869 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42870 $(test-wrapper-env) to tst-rtld-load-self.sh.
42871 ($(objpfx)order2.out): Use $(test-wrapper).
42872 ($(objpfx)tst-initorder.out): Likewise.
42873 ($(objpfx)tst-initorder2.out): Likewise.
42874 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42875 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42876 (test_wrapper_env): New variable. Use it to run ld.so.
42877 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42878 Use it to run ld.so.
42879 (test_wrapper_env): Likewise.
42880 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42881 $(test-wrapper) to run-iconv-test.sh.
42882 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42883 (ICONV): Use $test_wrapper.
42884 * posix/Makefile ($(objpfx)globtest.out): Pass
42885 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42886 globtest.sh, not $(run-program-prefix).
42887 * posix/globtest.sh (run_via_rtld_prefix): New variable.
42888 (test_wrapper): Likewise.
42889 (test_wrapper_env): Likewise. Use it to run globtest with HOME
42890 set together with run_via_rtld_prefix.
42891 (run_program_prefix): Define in terms of test_wrapper and
42892 run_via_rtld_prefix.
42894 2012-10-24 Roland McGrath <roland@hack.frob.com>
42896 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42897 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42901 * include/time.h: Remove librt_hidden_proto (clock_gettime).
42902 Declare __clock_getres, __clock_gettime, __clock_settime,
42903 __clock_nanosleep, and __clock_getcpuclockid.
42904 * rt/clock_gettime.c: Define __clock_gettime as an alias.
42905 Remove librt_hidden_def (clock_gettime).
42906 * sysdeps/unix/clock_gettime.c: Likewise.
42907 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42908 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42909 * rt/clock_getres.c: Define __clock_getres as an alias.
42910 * sysdeps/posix/clock_getres.c: Likewise.
42911 * rt/clock_settime.c: Define __clock_settime as an alias.
42912 * sysdeps/unix/clock_settime.c: Likewise.
42913 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42914 * sysdeps/unix/clock_nanosleep.c: Likewise.
42915 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42916 * rt/clock-compat.c: New file.
42917 * rt/Makefile (librt-routines): Add clock-compat and move
42918 $(clock-routines) to ...
42919 (routines): ... here, new variable.
42920 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42921 Don't add get_clockfreq here.
42922 * rt/Versions (libc: GLIBC_2.17): New version set.
42923 Add clock_* symbols here.
42924 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
42925 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42926 (GLIBC_2.17): Add clock_* symbols.
42927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42938 * NEWS: Mention the move.
42940 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42941 Use __open, __read, __close rather than their public counterparts.
42942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42943 (__get_clockfreq_via_cpuinfo): Likewise.
42944 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42945 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42947 * config.h.in (HAVE_IFUNC): New #undef.
42948 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42950 * configure: Regenerated.
42952 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42954 * configure.in: Move READELF check to start of file.
42955 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42956 libc_cv_asm_gnu_indirect_function in the process.
42957 * configure: Regenerated.
42959 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42961 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42962 send the output to /dev/null.
42963 (libc_cv_cc_with_libunwind): Likewise.
42964 (libc_cv_as_noexecstack): Likewise.
42965 * configure: Regenerate.
42967 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42969 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42971 * posix/globtest.sh (TMPDIR): Do not set.
42972 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42973 (testout): Likewise.
42975 2012-10-24 Andreas Jaeger <aj@suse.de>
42977 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42978 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42979 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42980 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42981 posix_fadvise64, posix_fallocate64.
42983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42984 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42985 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42987 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42989 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42992 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42993 <bits/fcntl-linux.h>.
42994 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42997 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42998 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42999 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43000 [__WORDSIZE != 64]: Likewise.
43002 2012-10-23 Joseph Myers <joseph@codesourcery.com>
43004 * Makeconfig (run-built-tests): New variable.
43005 * Rules [$(cross-compiling) = yes]: Change condition to
43006 [$(run-built-tests) = no].
43007 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43008 to [$(run-built-tests) = yes].
43009 * elf/Makefile [$(cross-compiling) = no]: Likewise
43010 * grp/Makefile [$(cross-compiling) = no]: Likewise.
43011 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43012 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43013 * intl/Makefile [$(cross-compiling) = no]: Likewise.
43014 * io/Makefile [$(cross-compiling) = no]: Likewise.
43015 * libio/Makefile [$(cross-compiling) = no]: Likewise.
43016 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43017 * misc/Makefile [$(cross-compiling) = no]: Likewise.
43018 * posix/Makefile [$(cross-compiling) = no]: Likewise.
43019 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43020 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43021 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43022 * string/Makefile [$(cross-compiling) = no]: Likewise.
43024 * posix/Makefile ($(objpfx)globtest.out): Pass
43025 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43026 $(rtld-installed-name).
43027 * posix/globtest.sh (elf_objpfx): Remove variable.
43028 (rtld_installed_name): Likewise.
43029 (library_path): Likewise.
43030 (run_program_prefix): New variable. Use for running globtest
43033 2012-10-23 Jim Blandy <jimb@codesourcery.com>
43034 Joseph Myers <joseph@codesourcery.com>
43036 * Makeconfig (host-built-program-cmd): New variable.
43037 * elf/Makefile (tst-stackguard1-ARGS): Use
43038 $(host-built-program-cmd).
43039 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43040 (tst-spawn-ARGS): Likewise.
43041 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43043 2012-10-23 Joseph Myers <joseph@codesourcery.com>
43044 Jim Blandy <jimb@codesourcery.com>
43046 * Makeconfig (run-via-rtld-prefix): New variable.
43047 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43048 (built-program-cmd): Likewise.
43050 2012-10-22 Andreas Jaeger <aj@suse.de>
43052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43053 __O_RSYNC if it exists, otherwise to O_SYNC.
43055 2012-10-22 Jim Blandy <jimb@codesourcery.com>
43056 Joseph Myers <joseph@codesourcery.com>
43058 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43060 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43062 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43065 2012-10-22 Andreas Jaeger <aj@suse.de>
43067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43072 bits/fcntl-linux.h.
43074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43075 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43082 2012-10-21 Jim Blandy <jimb@codesourcery.com>
43083 Joseph Myers <joseph@codesourcery.com>
43085 * config.make.in (NM): New variable.
43087 2012-10-21 Andreas Jaeger <aj@suse.de>
43089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43090 definitions and declarations that are provided by
43091 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43093 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43096 * elf/Makefile (tests-static): Add tst-leaks1-static.
43097 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43098 ($(objpfx)tst-leaks1-static): New rule.
43099 ($(objpfx)tst-leaks1-static-mem): Likewise.
43100 (tst-leaks1-static-ENV): New macro.
43101 * elf/dl-open.c (dl_open_worker): Check the main application
43102 only if SHARED is defined.
43103 * elf/tst-leaks1-static.c: New file.
43105 2012-10-20 Andreas Jaeger <aj@suse.de>
43107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43108 generic values for Linux.
43109 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43110 and declarations that are provided by <bits/fcntl-linux.h> and
43111 include <bits/fcntl-linux.h>.
43112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43115 2012-10-20 Roland McGrath <roland@hack.frob.com>
43117 * io/fcntl.h: Move include of <bits/types.h> to the top and
43118 include it unconditionally.
43120 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43122 * wcsmbs/Makefile (tests-ifunc): New variable.
43123 (tests): Add $(tests-ifunc).
43124 * wcsmbs/test-wcschr-ifunc.c: New file.
43125 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43126 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43127 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43128 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43129 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43131 * string/Makefile (tests-ifunc): New variable.
43132 (tests): Add $(tests-ifunc).
43133 * string/test-memccpy.c (TEST_NAME): New macro.
43134 * string/test-memchr.c (TEST_NAME): Likewise.
43135 * string/test-memcmp.c (TEST_NAME): Likewise.
43136 * string/test-memcpy.c (TEST_NAME): Likewise.
43137 * string/test-memmem.c (TEST_NAME): Likewise.
43138 * string/test-memmove.c (TEST_NAME): Likewise.
43139 * string/test-memset.c (TEST_NAME): Likewise.
43140 * string/test-rawmemchr.c (TEST_NAME): Likewise.
43141 * string/test-stpcpy.c (TEST_NAME): Likewise.
43142 * string/test-stpncpy.c (TEST_NAME): Likewise.
43143 * string/test-strcasecmp.c (TEST_NAME): Likewise.
43144 * string/test-strcasestr.c (TEST_NAME): Likewise.
43145 * string/test-strcat.c (TEST_NAME): Likewise.
43146 * string/test-strchr.c (TEST_NAME): Likewise.
43147 * string/test-strcmp.c(TEST_NAME): Likewise.
43148 * string/test-strcpy.c (TEST_NAME): Likewise.
43149 * string/test-strcspn.c (TEST_NAME): Likewise.
43150 * string/test-strlen.c (TEST_NAME): Likewise.
43151 * string/test-strncasecmp.c (TEST_NAME): Likewise.
43152 * string/test-strncmp.c (TEST_NAME): Likewise.
43153 * string/test-strncpy.c (TEST_NAME): Likewise.
43154 * string/test-strnlen.c (TEST_NAME): Likewise.
43155 * string/test-strpbrk.c (TEST_NAME): Likewise.
43156 * string/test-strrchr.c (TEST_NAME): Likewise.
43157 * string/test-strspn.c (TEST_NAME): Likewise.
43158 * string/test-strstr.c (TEST_NAME): Likewise.
43159 * string/test-bcopy-ifunc.c: New file.
43160 * string/test-bzero-ifunc.c: Likewise.
43161 * string/test-memccpy-ifunc.c: Likewise.
43162 * string/test-memchr-ifunc.c: Likewise.
43163 * string/test-memcmp-ifunc.c: Likewise.
43164 * string/test-memcpy-ifunc.c: Likewise.
43165 * string/test-memmem-ifunc.c: Likewise.
43166 * string/test-memmove-ifunc.c: Likewise.
43167 * string/test-mempcpy-ifunc.c: Likewise.
43168 * string/test-memset-ifunc.c: Likewise.
43169 * string/test-rawmemchr-ifunc.c: Likewise.
43170 * string/test-stpcpy-ifunc.c: Likewise.
43171 * string/test-stpncpy-ifunc.c: Likewise.
43172 * string/test-strcasecmp-ifunc.c: Likewise.
43173 * string/test-strcasestr-ifunc.c: Likewise.
43174 * string/test-strcat-ifunc.c: Likewise.
43175 * string/test-strchr-ifunc.c: Likewise.
43176 * string/test-strchrnul-ifunc.c: Likewise.
43177 * string/test-strcmp-ifunc.c: Likewise.
43178 * string/test-strcpy-ifunc.c: Likewise.
43179 * string/test-strcspn-ifunc.c: Likewise.
43180 * string/test-strlen-ifunc.c: Likewise.
43181 * string/test-strncasecmp-ifunc.c: Likewise.
43182 * string/test-strncat-ifunc.c: Likewise.
43183 * string/test-strncmp-ifunc.c: Likewise.
43184 * string/test-strncpy-ifunc.c: Likewise.
43185 * string/test-strnlen-ifunc.c: Likewise.
43186 * string/test-strpbrk-ifunc.c: Likewise.
43187 * string/test-strrchr-ifunc.c: Likewise.
43188 * string/test-strspn-ifunc.c: Likewise.
43189 * string/test-strstr-ifunc.c: Likewise.
43191 * debug/Makefile (tests-ifunc): New variable.
43192 (tests): Add $(tests-ifunc).
43193 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43194 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43195 * debug/test-stpcpy_chk-ifunc.c: New file.
43196 * debug/test-strcpy_chk-ifunc.c: Likewise.
43198 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
43201 * elf/dl-load.c (open_verify): Retry read if the entire ELF
43202 header is not read in.
43204 2012-10-19 Joseph Myers <joseph@codesourcery.com>
43206 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
43207 script to $(SHELL) as $<. Pass $(common-objpfx) to script
43208 directly. Pass built executable to script as
43209 $(built-program-cmd).
43210 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
43211 $testprogram without using LD_LIBRARY_PATH and $ldso.
43213 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43214 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43215 $(rtld-installed-name).
43216 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43217 (rtld_installed_name): Likewise.
43218 (library_path): Likewise.
43219 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
43220 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43221 $(run-program-prefix) to tst-tables.sh.
43222 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
43223 it to run tst-table-from and tst-table-to.
43224 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43225 Pass it to tst-table.sh.
43226 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43227 $(run-program-prefix) to tst-gettext.sh.
43228 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43230 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43232 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
43233 to run tst-gettext.
43234 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
43235 to run tst-gettext2.
43236 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
43237 to run tst-translit.
43238 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43239 $(run-program-prefix) to tst-mtrace.sh.
43240 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
43242 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43243 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43244 $(rtld-installed-name).
43245 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43246 (rtld_installed_name): Likewise.
43247 (run_program_prefix): New variable. Use it to run wordexp-test.
43249 * Makeconfig (ARCH): Remove all definitions.
43250 (machine): Likewise.
43251 [ARCH]: Remove conditional code.
43252 [!objdir]: Give error.
43253 [!objdir] (objpfx): Remove.
43254 [!objdir] (common-objpfx): Likewise.
43255 [!objdir] (common-objdir): Likewise.
43256 * configure.in (config_makefile): Remove. Hardcode Makefile in
43257 AC_CONFIG_FILES call.
43258 * configure: Regenerated.
43261 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43263 (testout): Likewise.
43265 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43266 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43267 $(rtld-installed-name).
43268 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43269 (rtld_installed_name): Likwise.
43270 (runit): Remove function.
43271 (run_getconf): New variable, Use it for running getconf binary.
43273 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
43276 * string/test-memmem.c (check_result): New function.
43277 (do_one_test): Use it.
43278 (check1): New function.
43279 (test_main): Use it.
43281 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
43283 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43285 2012-10-18 Joseph Myers <joseph@codesourcery.com>
43287 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43288 (_G_LSEEK64): Likewise.
43289 (_G_MMAP64): Likewise.
43290 (_G_FSTAT64): Likewise.
43291 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43292 (_G_LSEEK64): Likewise.
43293 (_G_MMAP64): Likewise.
43294 (_G_FSTAT64): Likewise.
43295 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43296 unconditional. Call __mmap64 directly.
43297 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43298 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
43299 __lseek64 directly.
43300 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43301 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
43303 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43304 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
43305 __lseek64 directly.
43306 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43307 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
43308 __lseek64 directly.
43309 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43310 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
43311 __lseek64 directly.
43312 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43313 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
43314 __fxstat64 directly.
43315 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43316 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43318 (freopen64) [!_G_OPEN64]: Remove conditional code.
43319 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43321 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43322 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43324 (ftello64) [!_G_LSEEK64]: Remove conditional code.
43325 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43327 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43328 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43330 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43331 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43333 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43334 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43336 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43337 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43339 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43341 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43344 * manual/memory.texi (Malloc Tunable Parameters): Add note
43345 about free list pointers overwriting some perturb bytes.
43346 Wording suggested by Roland McGrath.
43348 2012-10-17 Joseph Myers <joseph@codesourcery.com>
43350 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43351 (lgamma_test): Likewise.
43352 (tgamma_test): Likewise.
43354 2012-10-16 Florian Weimer <fweimer@redhat.com>
43357 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43358 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43360 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
43362 * NEWS: Mention BZ #14716.
43363 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43364 when removing AVAILABLE1_USES_J macro.
43366 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
43368 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43369 (__bswap_64): __uint64_t for unsigned 64-bit int.
43371 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
43373 * include/string.h (memmem): Declare libc hidden alias.
43374 * string/memmem.c (memmem): Define libc hidden alias.
43375 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43376 __read, __close instead of open, read, close.
43378 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
43380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43381 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43383 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43384 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43385 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43387 (__rawmemchr_sse2): Likewise.
43388 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43389 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43390 (__strchr_sse2): Likewise.
43391 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43392 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43393 (__strcasecmp_sse2): Likewise.
43394 (__strncasecmp_sse2): Likewise.
43395 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43396 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43397 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43398 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43399 (__strrchr_sse2): Likewise.
43400 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43402 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43403 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43404 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43405 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43406 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43407 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43408 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43409 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43410 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43411 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43412 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43413 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43414 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43415 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43416 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43417 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43418 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43419 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43420 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43421 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43422 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43423 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43424 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43425 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43426 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43427 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43428 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43429 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43430 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43431 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43433 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43435 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43436 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43437 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43438 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43440 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43442 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43443 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43444 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43445 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43449 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43450 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43451 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43452 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43453 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43454 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43455 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43456 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43457 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43458 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43459 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43460 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43461 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43463 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43464 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43465 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43466 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43467 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43468 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43469 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43470 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43472 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43473 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43474 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43475 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43476 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43477 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43480 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43481 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43482 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43483 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43484 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43485 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43486 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43487 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43489 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43490 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43491 * include/ifunc-impl-list.h: New file.
43492 * misc/ifunc-impl-list.c: Likewise.
43493 * misc/Makefile (routines): Add ifunc-impl-list.
43494 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43495 * string/test-string.h: Include <ifunc-impl-list.h>.
43496 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43497 TEST_NAME]: New variables.
43498 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43500 (test_init): Call __libc_ifunc_impl_list to initialize
43501 func_list if TEST_IFUNC and TEST_NAME are defined.
43503 * string/Makefile (strop-tests): Add bcopy and bzero.
43504 * string/test-bcopy.c: New file.
43505 * string/test-bzero.c: Likewise.
43506 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43508 * string/test-memset.c: Support bzero test if TEST_BZERO is
43510 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43512 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43514 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43517 2012-10-10 Joseph Myers <joseph@codesourcery.com>
43519 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43520 * configure: Regenerated.
43522 * Makeconfig (+link-static-before-libc): Don't include
43523 $(link-static-libc).
43525 * libio/libio.h (_IO_pos_t): Remove.
43527 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43529 * NEWS: Add note about FIPS mode. Wording suggested by Roland
43532 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43534 * crypt/crypt-entry.c: Include fips-private.h.
43535 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43536 * crypt/md5c-test.c (main): Tolerate disabled MD5.
43537 * sysdeps/unix/sysv/linux/fips-private.h: New file.
43538 * sysdeps/generic/fips-private.h: New file, dummy fallback.
43540 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
43542 * crypt/crypt-private.h: Include stdbool.h.
43543 (_ufc_setup_salt_r): Return bool.
43544 * crypt/crypt-entry.c: Include errno.h.
43545 (__crypt_r): Return NULL with EINVAL for bad salt.
43546 * crypt/crypt_util.c (bad_for_salt): New.
43547 (_ufc_setup_salt_r): Check that salt is long enough and within
43548 the specified alphabet.
43549 * crypt/badsalttest.c: New file.
43550 * crypt/Makefile (tests): Add it.
43551 ($(objpfx)badsalttest): New.
43553 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
43555 * NEWS: Add entry for BZ #14602.
43557 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43559 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43561 * math/libm-test.inc: Update comment listing what functions and
43563 (isgreater_test): New function.
43564 (isgreaterequal_test): Likewise.
43565 (isless_test): Likewise.
43566 (islessequal_test): Likewise.
43567 (islessgreater_test): Likewise.
43568 (isunordered_test): Likewise.
43569 (main): Call the new functions.
43571 2012-10-09 Roland McGrath <roland@hack.frob.com>
43573 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43574 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43575 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43576 * sysdeps/i386/configure: Regenerated.
43577 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43578 * sysdeps/mach/configure: Regenerated.
43579 * sysdeps/mach/hurd/configure: Regenerated.
43580 * sysdeps/powerpc/configure: Regenerated.
43581 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43582 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43583 * sysdeps/s390/s390-32/configure: Regenerated.
43584 * sysdeps/s390/s390-64/configure: Regenerated.
43585 * sysdeps/sh/configure: Regenerated.
43586 * sysdeps/sparc/configure: Regenerated.
43587 * sysdeps/unix/sysv/linux/configure: Regenerated.
43588 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43589 * sysdeps/x86_64/configure: Regenerated.
43591 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43592 defined. Don't check if MAP is NULL.
43594 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43596 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43597 (_G_stat64): Likewise.
43598 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43599 (_G_stat64): Likewise.
43600 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43601 instead of struct _G_stat64.
43602 * libio/fileops.c (mmap_remap_check): Likewise.
43603 (decide_maybe_mmap): Likewise.
43604 (_IO_new_file_seekoff): Likewise.
43605 (_IO_file_stat): Likewise.
43606 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43608 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43609 instead of struct _G_stat64.
43610 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43612 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
43615 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43617 (CHECK_EOL): New macro.
43618 (two_way_short_needle): Check beginning of haystack for EOL. Use
43620 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43621 Replace with CHECK_EOL.
43622 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43623 Replace with CHECK_EOL.
43625 2012-10-08 Joseph Myers <joseph@codesourcery.com>
43627 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43629 * math/libm-test.inc: Update comment listing what functions and
43631 (finite_test): New function.
43632 (isinf_test): Likewise.
43633 (isnan_test): Likewise.
43634 (fpclassify_test): Test subnormal input.
43635 (isfinite_test): Likewise.
43636 (isnormal_test): Likewise.
43637 (main): Call the new functions.
43639 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
43642 * Makerules (%.dynsym): Force C locale when running
43643 $(OBJDUMP) --dynamic-syms.
43645 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
43647 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43650 2012-10-06 David S. Miller <davem@davemloft.net>
43652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43653 upper 32-bits of the length value in %o2 since we use branch-on-register
43654 tests which consider the entire 64-bit register.
43656 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
43658 * string/test-strstr.c (check2): Add a test for page boundary.
43660 2012-10-05 David S. Miller <davem@davemloft.net>
43662 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43663 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43665 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43667 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43668 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43669 and bzero when HWCAP_SPARC_CRYPTO is present.
43671 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
43674 * string/test-strstr.c (check2): New function.
43675 (test_main): Call check2.
43677 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43679 * string/bug-strcasestr1.c (do_test): Moved to ...
43680 * string/test-strcasestr.c (check1): Here. New function.
43681 (do_one_test): Break out result checking code into ...
43682 (check_result): This. New function.
43683 (do_one_test): Call check_result.
43684 (test_main): Call check1.
43685 * string/bug-strchr1.c (do_test): Moved to ...
43686 * string/test-strchr.c (check1): Here. New function.
43687 (do_one_test): Break out result checking code into ...
43688 (check_result): This. New function.
43689 (do_one_test): Call check_result.
43690 (test_main): Call check1.
43691 * string/bug-strstr1.c (main): Moved to ...
43692 * string/test-strstr.c (check1): Here. New function.
43693 (do_one_test): Break out result checking code into ...
43694 (check_result): This. New function.
43695 (do_one_test): Call check_result.
43696 (test_main): Call check1.
43697 * string/bug-strcasestr1.c: Removed.
43698 * string/bug-strchr1.c: Likewise.
43699 * string/bug-strstr1.c: Likewise.
43701 * elf/Makefile (dl-routines): Add hwcaps.
43702 * elf/dl-support.c (_dl_important_hwcaps): Removed.
43703 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43704 (_dl_important_hwcaps): Moved to ...
43705 * elf/dl-hwcaps.c: Here. New file.
43706 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43709 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43710 if IS_IN_rtld isn't defined.
43712 * elf/dl-support.c (_dl_sysinfo_map): New.
43713 Include "get-dynamic-info.h" and "setup-vdso.h".
43714 (_dl_non_dynamic_init): Call setup_vdso.
43715 * elf/dynamic-link.h: Don't include <assert.h>.
43716 (elf_get_dynamic_info): Moved to ...
43717 * elf/get-dynamic-info.h: Here. New file.
43718 * elf/dynamic-link.h: Include "get-dynamic-info.h".
43719 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43720 * elf/setup-vdso.h: Here. New file.
43721 * elf/rtld.c: Include "setup-vdso.h".
43722 (dl_main): Call setup_vdso.
43724 2012-10-05 Joseph Myers <joseph@codesourcery.com>
43726 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43727 creal in comment listing functions tested. List finite, isinf,
43728 isnan, isless, islessequal, isgreater, isgreaterequal,
43729 islessgreater, isunordered, lgamma_r and pow10 as functions and
43730 macros not tested. Mention which functions not tested are aliases
43731 for other functions. Fix typo. Note that signs of NaNs are not
43734 * scripts/config.guess: Update from config.git.
43735 * scripts/config.sub: Likewise.
43737 2012-10-04 Roland McGrath <roland@hack.frob.com>
43739 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43740 * misc/madvise.c (madvise): Renamed to __madvise.
43741 Make madvise a weak alias.
43742 * include/sys/mman.h: Declare __madvise.
43743 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43744 * sysdeps/unix/syscalls.list
43745 (madvise): Make __madvise the strong name, and madvise a weak alias.
43746 * sysdeps/unix/sysv/linux/syscalls.list
43747 (madvise, mmap): Remove redundant entries.
43748 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43749 * malloc/malloc.c (mtrim): Likewise.
43750 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43752 2012-10-03 Roland McGrath <roland@hack.frob.com>
43754 * sysdeps/mach/hurd/dl-cache.c: File removed.
43755 * config.h.in (USE_LDCONFIG): New #undef.
43756 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43757 * configure: Regenerated.
43758 * elf/Makefile (dl-routines): Add dl-cache only under
43759 [$(use-ldconfig) = yes].
43760 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43761 cache on [USE_LDCONFIG].
43762 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43764 * elf/rtld.c (dl_main): Likewise.
43766 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
43768 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43769 _SC_LEVEL4_CACHE_LINESIZE.
43771 2012-10-03 Roland McGrath <roland@hack.frob.com>
43773 * sysdeps/unix/bsd/confstr.h: File removed.
43775 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
43777 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43780 2012-10-02 Roland McGrath <roland@hack.frob.com>
43782 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43783 Make 'mapoff' field ElfW(Off) rather than off_t.
43785 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
43787 * nscd/Makefile: Remove nscd-cflags and all its users.
43788 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43789 (CFLAGS-nonlib): Add compiler flags for nscd modules.
43792 * malloc.c (malloc_printerr): Clarify error message.
43794 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
43797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43798 Set bit_FMA_Usable if FMA is supported.
43799 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43801 (bit_FMA4_Usable): Updated.
43802 (index_FMA_Usable): New macro.
43803 (CPUID_FMA): Likewise
43804 (HAS_FMA): Defined with bit_FMA_Usable.
43806 2012-10-01 Roland McGrath <roland@hack.frob.com>
43808 * bits/types.h (__swblk_t): Type removed.
43809 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43810 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43812 (__SWBLK_T_TYPE): Likewise.
43813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43814 (__SWBLK_T_TYPE): Likewise.
43815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43816 (__SWBLK_T_TYPE): Likewise.
43817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43818 (__SWBLK_T_TYPE): Likewise.
43820 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
43821 Honza Horak <hhorak@redhat.com>
43823 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43824 (xdr_mapname): Use YPMAXMAP as maxsize.
43825 (xdr_peername): Use YPMAXPEER as maxsize.
43826 (xdr_keydat): Use YPAXRECORD as maxsize.
43827 (xdr_valdat): Use YPMAXRECORD as maxsize.
43829 2012-10-01 Roland McGrath <roland@hack.frob.com>
43831 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43833 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43834 * csu/init-first.c: ... here.
43835 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43836 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43837 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43838 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43839 * sysdeps/i386/init-first.c: File removed.
43840 * sysdeps/sh/init-first.c: File removed.
43842 2012-10-01 Joseph Myers <joseph@codesourcery.com>
43845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43846 if x * y might underflow to zero and z is zero.
43847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43849 * math/libm-test.inc (min_subnorm_value): New variable.
43850 (fma_test): Add more tests.
43851 (fma_test_towardzero): Likewise.
43852 (fma_test_downward): Likewise
43853 (fma_test_upward): Likewise.
43854 (initialize): Set min_subnorm_value.
43856 2012-09-29 Joseph Myers <joseph@codesourcery.com>
43859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43862 mode for addition resulting in exact zero.
43863 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43868 * math/libm-test.inc (fma_test): Add more tests.
43869 (fma_test_towardzero): New function.
43870 (fma_test_downward): Likewise.
43871 (fma_test_upward): Likewise.
43872 (main): Call the new functions.
43874 2012-09-28 David S. Miller <davem@davemloft.net>
43876 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43878 2012-09-28 Roland McGrath <roland@hack.frob.com>
43880 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43881 instead of SIGALRM.
43883 * sysdeps/gnu/_G_config.h: Moved to ...
43884 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43885 * sysdeps/mach/hurd/_G_config.h: Moved to ...
43886 * sysdeps/generic/_G_config.h: ... here.
43888 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
43890 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43892 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43893 Conditionalize target on [libnss_test1.so-version].
43895 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43897 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43898 (elfobjdir): Move out of conditionals.
43900 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43901 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43902 (__nss_lookup_function): Conditionalize label remove_from_tree on
43903 [!DO_STATIC_NSS || SHARED], matching its only use.
43905 2012-09-28 David S. Miller <davem@davemloft.net>
43907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43908 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43910 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43912 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43914 when HWCAP_SPARC_CRYPTO is present.
43916 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43918 * io/tst-mknodat.c: Create a FIFO instead of a socket.
43920 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
43923 * stdio-common/vfprintf.c (process_string_arg): Revert
43926 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
43928 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43930 * stdio-common/tst-sprintf.c: Include <locale.h>
43931 (main): Test sprintf's handling of incomplete multibyte
43934 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
43936 * elf/dl-runtime.c (VERSYMIDX): Removed.
43937 * elf/dl-version.c (VERSYMIDX): Likewise.
43938 * elf/do-rel.h (VERSYMIDX): Likewise.
43939 (VALIDX): Likewise.
43940 * elf/dynamic-link.h (VERSYMIDX): Likewise.
43941 * elf/rtld.c (VALIDX): Likewise.
43942 (ADDRIDX): Likewise.
43943 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43944 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43945 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43946 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43947 (VALIDX): Likewise.
43948 (ADDRIDX): Likewise.
43950 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43952 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43954 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
43957 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43959 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43960 addresses are in the same scope as 192.0.2/24.
43961 * posix/gai.conf: Document new scope table defaults.
43963 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43966 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43967 for ftell. Compute offsets from write pointers instead.
43968 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43970 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43973 * libio/Makefile (tests): New test case tst-fseek.
43974 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43975 combination works in wide mode.
43976 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43977 state when the external buffer state changes.
43979 2012-09-27 David S. Miller <davem@davemloft.net>
43982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43983 pass reloc->r_addend in as the 'high' argument to
43984 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43988 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43990 * rt/tst-aio2.c: Include <pthread.h>.
43991 * rt/tst-aio3.c: Likewise.
43993 2012-09-27 Steve Ellcey <sellcey@mips.com>
43995 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43997 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43999 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44000 contents on [SHARED].
44002 2012-09-26 Marek Polacek <polacek@redhat.com>
44006 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44007 for C++ and GCC <4.3 as well as for non GCC compilers.
44009 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
44011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44013 2012-09-25 Roland McGrath <roland@hack.frob.com>
44015 * Makefile.in (all, install): Declare with .PHONY.
44016 Reported by Michael Hope <michael.hope@linaro.org>.
44018 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44020 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44021 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44023 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44025 (sydep_routines): Add the new and the internal functions.
44026 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44027 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44029 (GLIBC_2.17): Add the new function.
44030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44031 (GLIBC_2.17): Likewise.
44032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44033 (GLIBC_2.17): Likewise.
44034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44035 (GLIBC_2.17): Likewise.
44036 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44038 2012-09-25 Alan Modra <amodra@gmail.com>
44040 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44041 Add release barrier before setting once_control to say
44042 initialisation is done. Add hints on lwarx. Use macro in
44044 (clear_once_control): Add release barrier.
44046 2012-09-25 Joseph Myers <joseph@codesourcery.com>
44049 * math/s_clog.c (__clog): Handle more values close to |z| = 1
44051 * math/s_clog10.c (__clog10): Likewise.
44052 * math/s_clog10f.c (__clog10f): Likewise.
44053 * math/s_clog10l.c (__clog10l): Likewise.
44054 * math/s_clogf.c (__clogf): Likewise.
44055 * math/s_clogl.c (__clogl): Likewise.
44056 * math/Makefile (libm-calls): Add x2y2m1.
44057 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44058 (__x2y2m1): Likewise.
44059 (__x2y2m1l): Likewise.
44060 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44061 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44064 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44065 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44066 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44067 * sysdeps/i386/fpu/libm-test-ulps: Update.
44068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44071 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44072 int as type of variable DEPTH.
44073 (glob): Use size_t instead of int as type of variables NEWCOUNT
44076 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44078 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44079 Add s_sincosf-sse2.
44080 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44081 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44082 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44083 macros for using routine as __sincosf_ia32.
44084 Use macro for function declaration and weak_alias.
44085 * sysdeps/i386/fpu/libm-test-ulps: Update.
44087 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44090 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44091 subnormal argument.
44092 * math/s_cexpf.c (__cexpf): Likewise.
44093 * math/s_csinf.c (__csinf): Likewise.
44094 * math/s_csinhf.c (__csinhf): Likewise.
44095 * math/s_ctanf.c (__ctanf): Likewise.
44096 * math/s_ctanhf.c (__ctanhf): Likewise.
44097 * math/s_ccosh.c (__ccoshf): Likewise.
44098 * math/s_cexp.c (__cexpl): Likewise.
44099 * math/s_csin.c (__csin): Likewise.
44100 * math/s_csinh.c (__csinh): Likewise.
44101 * math/s_ctan.c (__ctan): Likewise.
44102 * math/s_ctanh.c (ctanh): Likewise.
44103 * math/s_ccoshl.c (__ccoshl): Likewise.
44104 * math/s_cexpl.c (__cexpl): Likewise.
44105 * math/s_csinl.c (__csinl): Likewise.
44106 * math/s_csinhl.c (__csinhl): Likewise.
44107 * math/s_ctanl.c (__ctanl): Likewise.
44108 * math/s_ctanhl.c (__ctanhl): Likewise.
44110 2012-09-25 Joseph Myers <joseph@codesourcery.com>
44112 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44113 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44114 (_IO_off_t): Define to __off_t, not _G_off_t.
44115 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44116 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44117 (_IO_wint_t): Define to wint_t, not _G_wint_t.
44118 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44119 type of __dummy and __dummy2 fields.
44120 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44121 (_G_ssize_t): Likewise.
44122 (_G_off_t): Likewise.
44123 (_G_pid_t): Likewise.
44124 (_G_uid_t): Likewise.
44125 (_G_wchar_t): Likewise.
44126 (_G_wint_t): Likewise.
44127 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44128 (_G_ssize_t): Likewise.
44129 (_G_off_t): Likewise.
44130 (_G_pid_t): Likewise.
44131 (_G_uid_t): Likewise.
44132 (_G_wchar_t): Likewise.
44133 (_G_wint_t): Likewise.
44134 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44135 (_G_ssize_t): Likewise.
44136 (_G_off_t): Likewise.
44137 (_G_pid_t): Likewise.
44138 (_G_uid_t): Likewise.
44139 (_G_wchar_t): Likewise.
44140 (_G_wint_t): Likewise.
44142 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44144 * malloc/arena.c: Include malloc-sysdep.h.
44145 (shrink_heap): Use check_may_shrink_heap to decide if madvise
44146 is sufficient to shrink the heap or an unmap is needed.
44147 * sysdeps/generic/malloc-sysdep.h: New file. Define
44148 new function check_may_shrink_heap.
44149 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
44150 new function check_may_shrink_heap.
44152 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44154 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44157 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
44159 * catgets/test-gencat.sh: Add "set -e".
44160 * elf/tst-pathopt.sh: Likewise.
44161 * grp/tst_fgetgrent.sh: Likewise.
44162 * iconvdata/run-iconv-test.sh: Likewise.
44163 * intl/tst-gettext.sh: Likewise.
44164 * intl/tst-gettext2.sh: Likewise.
44165 * intl/tst-gettext4.sh: Likewise.
44166 * intl/tst-gettext6.sh: Likewise.
44167 * intl/tst-translit.sh: Likewise.
44168 * io/ftwtest-sh: Likewise.
44169 * libio/test-freopen.sh: Likewise.
44170 * malloc/tst-mtrace.sh: Likewise.
44171 * posix/globtest.sh: Likewise.
44172 * posix/tst-getconf.sh: Likewise.
44173 * posix/wordexp-tst.sh: Likewise.
44174 * stdio-common/tst-printf.sh: Likewise.
44175 * stdio-common/tst-unbputc.sh: Likewise.
44176 * stdlib/tst-fmtmsg.sh: Likewise.
44177 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44178 * catgets/Makefile: Do not specify -e option when running
44179 testsuite shell scripts.
44180 * elf/Makefile: Likewise.
44181 * grp/Makefile: Likewise.
44182 * iconvdata/Makefile: Likewise.
44183 * intl/Makefile: Likewise.
44184 * io/Makefile: Likewise.
44185 * libio/Makefile: Likewise.
44186 * malloc/Makefile: Likewise.
44187 * posix/Makefile: Likewise.
44188 * stdio-common/Makefile: Likewise.
44189 * stdlib/Makefile: Likewise.
44190 * sysdeps/x86_64/Makefile: Likewise.
44192 * io/ftwtest-sh: Add copyright header.
44193 * posix/globtest.sh: Likewise.
44194 * posix/tst-getconf.sh: Likewise.
44195 * posix/wordexp-tst.sh: Likewise.
44196 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44198 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
44201 * Makeconfig (+link): Defined as $(+link-static) if
44202 $(build-shared) isn't yes.
44203 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44205 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44207 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44210 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44211 new chunk size with MALLOC_ALIGN_MASK.
44213 2012-09-24 Joseph Myers <joseph@codesourcery.com>
44216 * stdio-common/printf_fphex.c: Include <stdbool.h> and
44218 (__printf_fphex): Determine rounding using get_rounding_mode and
44220 * stdio-common/tst-printf-round.c (struct hex_test): New
44222 (hex_tests): New variable.
44223 (test_hex_in_one_mode): New function.
44224 (do_test): Also run tests for hex float output.
44226 2012-09-21 Joseph Myers <joseph@codesourcery.com>
44228 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44229 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44230 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44231 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44232 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44233 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44234 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44237 2012-09-20 Joseph Myers <joseph@codesourcery.com>
44239 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44240 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44241 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44242 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44244 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
44247 * elf/rtld.c (dl_main): Limit the check for self loading to normal
44249 * elf/tst-rtld-load-self.sh: New test.
44250 * elf/Makefile: Run it.
44252 2012-09-18 Joseph Myers <joseph@codesourcery.com>
44254 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44255 (tst-writev-ENV): Remove.
44256 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44258 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
44260 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44262 2012-09-17 Joseph Myers <joseph@codesourcery.com>
44264 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44266 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44268 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44269 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44273 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
44276 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44277 * config.make.in (have-cpp-asm-debuginfo): Removed.
44278 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44279 * configure: Regenerated.
44281 2012-09-14 Joseph Myers <joseph@codesourcery.com>
44284 * stdio-common/printf_fp.c: Include <stdbool.h> and
44286 (___printf_fp): Determine rounding using get_rounding_mode and
44288 * stdio-common/tst-printf-round.c: New file.
44289 * stdio-common/Makefile (tests): Add tst-printf-round.
44290 (link-libm): New variable.
44291 ($(objpfx)tst-printf-round): Depend in $(link-libm).
44293 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
44296 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44297 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44299 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44302 2012-09-13 Joseph Myers <joseph@codesourcery.com>
44304 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44305 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44306 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44309 2012-09-12 Joseph Myers <joseph@codesourcery.com>
44312 * include/rounding-mode.h: New file.
44313 * sysdeps/generic/get-rounding-mode.h: Likewise.
44314 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44315 * stdlib/strtod_l.c: Include <rounding-mode.h>.
44316 (MAX_VALUE): New macro.
44317 (MIN_VALUE): Likewise.
44318 (overflow_value): New function.
44319 (underflow_value): Likewise.
44320 (round_and_return): Use overflow_value and underflow_value to
44321 determine return values in overflow and underflow cases. Use
44322 round_away to determine rounding depending on rounding mode.
44323 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44324 determine return values in overflow and underflow cases.
44325 * stdlib/tst-strtod-round.c: Include <fenv.h>.
44326 (struct test_results): New structure.
44327 (struct test): Use struct test_results to store expected results
44328 for all rounding modes.
44329 (TEST): Include expected results for all rounding modes.
44330 (test_in_one_mode): New function.
44331 (do_test): Use test_in_one_mode to compute and check results.
44332 Check results for all rounding modes.
44333 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44336 2012-12-09 Allan McRae <allan@archlinux.org>
44338 * sysdeps/i386/fpu/libm-test-ulps: Update
44340 2012-09-11 Joseph Myers <joseph@codesourcery.com>
44342 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44343 (_G_int32_t): Likewise.
44344 (_G_uint16_t): Likewise.
44345 (_G_uint32_t): Likewise.
44346 (_G_HAVE_BOOL): Likewise.
44347 (_G_HAVE_ATEXIT): Likewise.
44348 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44349 (_G_HAVE_IO_FILE_OPEN): Likewise.
44350 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44351 (_G_int32_t): Likewise.
44352 (_G_uint16_t): Likewise.
44353 (_G_uint32_t): Likewise.
44354 (_G_HAVE_BOOL): Likewise.
44355 (_G_HAVE_ATEXIT): Likewise.
44356 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44357 (_G_HAVE_IO_FILE_OPEN): Likewise.
44358 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44359 (_G_int32_t): Likewise.
44360 (_G_uint16_t): Likewise.
44361 (_G_uint32_t): Likewise.
44362 (_G_HAVE_BOOL): Likewise.
44363 (_G_HAVE_ATEXIT): Likewise.
44364 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44365 (_G_HAVE_IO_FILE_OPEN): Likewise.
44367 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
44369 * csu/libc-tls.c: Update copyright years.
44371 2012-09-10 Joseph Myers <joseph@codesourcery.com>
44373 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44374 [!_G_USING_THUNKS]: Remove conditional code.
44375 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44376 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44378 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44379 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44380 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44381 (_G_VTABLE_LABEL_PREFIX): Likewise.
44382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44383 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44384 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44385 (_G_VTABLE_LABEL_PREFIX): Likewise.
44386 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44387 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44389 (_G_VTABLE_LABEL_PREFIX): Likewise.
44390 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44392 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
44394 * libio/Makefile: Include ../Makeconfig before tests.
44395 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44396 only if $(build-shared) is yes.
44398 * iconv/gconv_db.c: Update copyright years.
44400 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44402 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44403 unwind info if defined PIC. Fix special cases description.
44404 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44406 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44408 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44410 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
44412 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44414 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44417 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44418 (LDLIBS-tst-chk4): This.
44419 (LDFLAGS-tst-chk5): Renamed to ...
44420 (LDLIBS-tst-chk5): This.
44421 (LDFLAGS-tst-chk6): Renamed to ...
44422 (LDLIBS-tst-chk6): This.
44423 (LDFLAGS-tst-lfschk4): Renamed to ...
44424 (LDLIBS-tst-lfschk4): This.
44425 (LDFLAGS-tst-lfschk5): Renamed to ...
44426 (LDLIBS-tst-lfschk5): This.
44427 (LDFLAGS-tst-lfschk6): Renamed to ...
44428 (LDLIBS-tst-lfschk6): This.
44430 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44431 on $(common-objpfx)soversions.mk.
44433 2012-09-07 Joseph Myers <joseph@codesourcery.com>
44436 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44439 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44441 * malloc/arena.c (arena_get_retry): New function that gets
44442 another arena for the caller to try its request on.
44443 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44444 current arena cannot fulfill the request.
44445 (__libc_memalign): Likewise.
44446 (__libc_memalign): Likewise.
44447 (__libc_pvalloc): Likewise.
44448 (__libc_calloc): Likewise.
44450 2012-09-05 John Tobey <john.tobey@gmail.com>
44453 * manual/arith.texi (Operations on Complex): Fix description
44454 of carg branch cut.
44456 2012-09-06 Joseph Myers <joseph@codesourcery.com>
44459 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44463 * manual/memory.texi (Memory): Make order of menu items match
44466 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44468 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44469 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
44470 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44472 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44474 * csu/libc-tls.c (static_dtv): Renamed to ...
44475 (_dl_static_dtv): This. Make it global.
44476 (_dl_initial_dtv): Removed.
44477 (__libc_setup_tls): Updated.
44478 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44479 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44482 2012-09-06 Petr Machata <pmachata@redhat.com>
44484 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44485 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44486 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44487 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44489 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44492 * csu/libc-tls.c (_dl_initial_dtv): New variable.
44493 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44496 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
44499 * Makeconfig (link-static-before-libc): Replace $(+prector)
44501 (link-static-after-libc): Replace $(+postctor) with
44503 (link-bounded): Replace $(+prector)/$(+postctor) with
44504 $(+prectorT)/$(+postctorT).
44505 (+prectorT): New macro.
44506 (+postctorT): Likewise.
44508 2012-09-06 Joseph Myers <joseph@codesourcery.com>
44510 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44511 (round_str): Handle values above the maximum for IBM long double
44513 * stdlib/tst-strtod-round.c (tests): Regenerated.
44515 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44517 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44519 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44520 zarch_nohighgprs around the zarch optimized routines.
44521 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44522 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44523 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44526 2012-09-05 David S. Miller <davem@davemloft.net>
44528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44530 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44531 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44532 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44533 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44536 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44538 * malloc/arena.c: Fold copyright years.
44539 * malloc/mcheck.c, malloc/memusage.c: Likewise.
44541 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44543 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44545 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44547 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
44549 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44551 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44552 change internal state upon failure.
44554 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44556 * malloc/mcheck.c (mcheck_check_all): Fix typo.
44557 * malloc/memusage.c (mmap): Likewise.
44558 (mmap64, mremap): Likewise. Adjust name in comment.
44560 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44562 * libio/fileops.c: Fix typos in comments.
44563 * libio/oldfileops.c: Likewise.
44564 * libio/wfileops.c: Likewise.
44566 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44569 * malloc/Makefile (tests): Add tst-malloc-usable test case.
44570 (tst-malloc-usable-ENV): Set environment for test case.
44571 * malloc/hooks.c (malloc_check_get_size): New function to get
44573 * malloc/malloc.c (musable): Use malloc_check_get_size.
44574 * malloc/tst-malloc-usable.c: New test case.
44576 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44578 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44580 2012-09-05 Allan McRae <allan@archlinux.org>
44583 * configure.in (CXX_SYSINCLUDES): Use compiler output to
44584 determine header location.
44585 * configure: Regenerated.
44587 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44589 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44591 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44592 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44594 (test): Regenerate.
44596 2012-09-04 David S. Miller <davem@davemloft.net>
44598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44600 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44602 2012-09-04 Florian Weimer <fweimer@redhat.com>
44604 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44607 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44609 2012-09-04 Joseph Myers <joseph@codesourcery.com>
44612 * libio/iogetdelim.c: Include <limits.h>.
44613 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44614 + len + 1 would overflow.
44616 2012-09-03 Andreas Jaeger <aj@suse.de>
44618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44619 * sysdeps/i386/fpu/libm-test-ulps: Update.
44621 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44623 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44624 Add s_sinf-sse2, s_conf-sse2.
44626 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44627 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44628 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44629 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44631 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44632 for using routine as __sinf_ia32.
44633 Use macro for function declaration and weak_alias.
44634 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44635 for using routine as __cosf_ia32.
44636 Use macro for function declaration and weak_alias.
44638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44639 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44641 * sysdeps/x86_64/fpu/s_sinf.S: New file.
44642 * sysdeps/x86_64/fpu/s_cosf.S: New file.
44643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44645 * math/libm-test.inc (cos_test): Add more test cases.
44646 (sin_test): Likewise.
44647 (sincos_test): Likewise.
44649 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44651 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44652 (IFUNC_RESOLVE): Make pointers to the specialized implementations
44654 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44656 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
44659 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44660 first element of the GOT.
44661 (elf_machine_load_address): Return the difference between
44662 the runtime address of _DYNAMIC and elf_machine_dynamic ().
44664 2012-09-01 Allan McRae <allan@archlinux.org>
44667 * configure.in (AWK): Require gawk version 3.0 or later.
44668 * configure: Regenerated.
44670 2012-09-01 Joseph Myers <joseph@codesourcery.com>
44672 * sysdeps/unix/sysv/linux/kernel-features.h
44673 (__ASSUME_POSIX_CPU_TIMERS): Remove.
44674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44675 [__NR_clock_getres]: Make code unconditional.
44676 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44677 (clock_getcpuclockid): Remove code left unreachable by removal of
44679 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44680 code unconditional.
44681 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44682 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44683 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44684 Make code unconditional.
44685 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44687 * sysdeps/unix/sysv/linux/clock_settime.c
44688 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44690 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44691 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44693 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
44696 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44697 scripts/test-installation.pl.
44699 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44700 and $ld_so_version if it is set.
44702 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44706 failure if reading from procfs failed.
44707 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44709 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44711 * sysdeps/unix/sysv/linux/kernel-features.h
44712 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44713 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44714 Remove conditional code.
44715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44716 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44717 Remove conditional code.
44718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44719 * sysdeps/unix/sysv/linux/i386/fxstat.c
44720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44722 * sysdeps/unix/sysv/linux/i386/fxstatat.c
44723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44725 * sysdeps/unix/sysv/linux/i386/lxstat.c
44726 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44728 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44729 Remove conditional code.
44730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44731 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44732 Remove conditional code.
44733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44734 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44735 <kernel-features.h>.
44736 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44738 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44739 Remove conditional code.
44740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44741 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44742 Remove conditional.
44744 2012-08-27 Mike Frysinger <vapier@gentoo.org>
44747 * NEWS: Add fixed bug number.
44749 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44752 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44753 underflowing exponent in case of negative sign.
44754 * stdlib/tst-strtod-round-data: Add more tests.
44755 * stdlib/tst-strtod-round.c (tests): Regenerated.
44758 * stdlib/strtod_l.c (NDIG): Remove.
44759 (HEXNDIG): Likewise.
44760 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44761 smallest representable value.
44762 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44763 lie within an exact representation of 1/2 ulp of the result.
44764 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44766 (TENS_P9_IDX): Define unconditionally.
44767 (TENS_P9_SIZE): Likewise.
44768 (TENS_P10_IDX): Likewise.
44769 (TENS_P10_SIZE): Likewise.
44770 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44771 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44772 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44773 entries for 10^2^13 and 10^2^14.
44774 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44775 (TENS_P13_IDX): Define.
44776 (TENS_P13_SIZE): Likewise.
44777 (TENS_P14_IDX): Likewise.
44778 (TENS_P14_SIZE): Likewise.
44779 (_fpioconst_pow10): Change array size to
44780 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
44782 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44783 1024]: Add entries for 10^2^13 and 10^2^14.
44784 [LAST_POW10 > _LAST_POW10]: Remove #error.
44785 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44786 (_fpioconst_pow10): Change array size to
44787 FPIOCONST_POW10_ARRAY_SIZE.
44788 * stdlib/gen-fpioconst.c: New file.
44789 * stdlib/gen-tst-strtod-round.c: Likewise.
44790 * stdlib/tst-strtod-round-data: Likewise.
44791 * stdlib/tst-strtod-round.c: Likewise.
44792 * stdlib/Makefile (tests): Add tst-strtod-round.
44795 * stdlib/strtod_l.c: Include <stdint.h>.
44796 (NDEBUG): Do not define.
44797 (round_and_return): Change EXPONENT parameter to type intmax_t.
44798 Rearrange calculations to avoid internal overflow possibilities.
44799 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44800 Rearrange calculations to avoid internal overflow possibilities.
44801 Assert that number fits inside MPNSIZE limbs.
44802 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44803 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
44804 calculations and add assertions to avoid internal overflow
44805 possibilities. Add casts to avoid signed/unsigned operations.
44806 * stdlib/tst-strtod-overflow.c: New file.
44807 * stdlib/Makefile (tests): Add tst-strtod-overflow.
44809 2012-08-25 Marek Polacek <polacek@redhat.com>
44811 * time/time.h: Fix some typos in comments.
44813 2012-08-23 Roland McGrath <roland@hack.frob.com>
44815 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44816 * posix/tst-rfc3484-2.c: Likewise.
44817 * posix/tst-rfc3484-3.c: Likewise.
44819 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
44821 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44822 (EF_ARM_ABI_FLOAT_HARD): Likewise.
44824 2012-08-23 Joseph Myers <joseph@codesourcery.com>
44826 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44827 #include of fxstatat64.c.
44829 2012-08-22 Roland McGrath <roland@hack.frob.com>
44831 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44832 * shadow/getspent_r.c: Likewise.
44833 * shadow/getspnam.c: Likewise.
44834 * shadow/getspnam_r.c: Likewise.
44835 * gshadow/getsgent.c: Likewise.
44836 * gshadow/getsgent_r.c: Likewise.
44837 * gshadow/getsgnam.c: Likewise.
44838 * gshadow/getsgnam_r.c: Likewise.
44839 * inet/getnetbyad.c: Likewise.
44840 * inet/getnetbyad_r.c: Likewise.
44841 * inet/getnetbynm.c: Likewise.
44842 * inet/getnetbynm_r.c: Likewise.
44843 * inet/getnetent.c: Likewise.
44844 * inet/getnetent_r.c: Likewise.
44845 * inet/getproto.c: Likewise.
44846 * inet/getproto_r.c: Likewise.
44847 * inet/getprtent.c: Likewise.
44848 * inet/getprtent_r.c: Likewise.
44849 * inet/getprtname.c: Likewise.
44850 * inet/getprtname_r.c: Likewise.
44851 * inet/getrpcbyname.c: Likewise.
44852 * inet/getrpcbyname_r.c: Likewise.
44853 * inet/getrpcbynumber.c: Likewise.
44854 * inet/getrpcbynumber_r.c: Likewise.
44855 * inet/getrpcent.c: Likewise.
44856 * inet/getrpcent_r.c: Likewise.
44857 * inet/getaliasent.c: Likewise.
44858 * inet/getaliasent_r.c: Likewise.
44859 * inet/getaliasname.c: Likewise.
44860 * inet/getaliasname_r.c: Likewise.
44861 * nscd/getgrgid_r.c: Likewise.
44862 * nscd/getgrnam_r.c: Likewise.
44863 * nscd/gethstbyad_r.c: Likewise.
44864 * nscd/gethstbynm3_r.c: Likewise.
44865 * nscd/getpwnam_r.c: Likewise.
44866 * nscd/getpwuid_r.c: Likewise.
44867 * nscd/getsrvbynm_r.c: Likewise.
44868 * nscd/getsrvbypt_r.c: Likewise.
44869 * nscd/gai.c: Likewise.
44871 * configure.in (build_nscd): New substituted variable, set
44872 by --disable-build-nscd and defaults to $use_nscd.
44873 * configure: Regenerated.
44874 * config.make.in (build-nscd): New substituted variable.
44875 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44876 Change conditional to require [$(build-nscd) = yes] as well.
44877 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44880 * configure.in (use_nscd): New substituted variable, set by
44881 --disable-nscd. If enabled, define USE_NSCD.
44882 * configure: Regenerated.
44883 * config.h.in: Add USE_NSCD.
44884 * config.make.in (use-nscd): New substituted variable.
44885 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44886 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44887 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44888 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44889 (CFLAGS-getgrnam_r.c): Likewise.
44890 (CFLAGS-initgroups.c): Likewise.
44891 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44892 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44894 * inet/getnetgrent_r.c
44895 (nscd_setnetgrent): New function, broken out of ...
44896 (setnetgrent): ... here. Call it.
44897 (innetgr): Conditionalize nscd bits on [USE_NSCD].
44898 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44899 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44900 * nscd/Makefile (routines, aux): Move definitions after include of
44901 Makeconfig. Conditionalize on [$(use-nscd) != no].
44902 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44903 Conditionalize on [USE_NSCD].
44904 (is_nscd, nscd_init_cb): Likewise.
44905 (nss_load_library): Conditionalize init callback on [USE_NSCD].
44906 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44907 * nss/nss_db/db-init.c: Likewise.
44908 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44910 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44911 (make_request): Use it.
44912 (cache_valid_p): New function.
44913 (__check_pf): Use it.
44914 * NEWS: Add item for --disable-nscd.
44916 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
44918 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44919 to support sed >= 4.2.1-20-ga9bf076.
44920 * configure: Regenerated.
44922 2012-08-22 Roland McGrath <roland@hack.frob.com>
44924 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44925 Conditionalize whole body on [IREL].
44927 2012-08-22 Jeff Law <law@redhat.com>
44930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44931 if the family is PF_UNSPEC.
44933 2012-08-22 Mike Frysinger <vapier@gentoo.org>
44935 * Makerules (lib-version): Rename from V.
44936 (install-lib-nosubdir): Change V to lib-version.
44938 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
44941 * powerpc32/power6/wcschr.c: New file.
44942 * powerpc32/power6/wcscpy.c: New file.
44943 * powerpc32/power6/wcsrchr.c: New file.
44944 * powerpc64/power6/wcschr.c: New file.
44945 * powerpc64/power6/wcscpy.c: New file.
44946 * powerpc64/power6/wcsrchr.c: New file.
44948 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44950 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44951 (two_way_short_needle): Use it.
44952 * string/strstr.c (AVAILABLE1_USES_J): Define.
44953 * string/strcasestr.c: Likewise.
44955 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44957 * string/strcasestr.c (TOLOWER): Make side-effect safe.
44960 * NEWS: Add an entry.
44961 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44962 define their defaults.
44963 (two_way_short_needle): Detect end-of-string on-the-fly.
44964 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44965 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44966 * string/bug-strcasestr1.c: New test.
44967 * string/Makefile: Run it.
44969 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44972 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44973 the first character.
44975 2012-08-21 Roland McGrath <roland@hack.frob.com>
44977 * csu/elf-init.c (__libc_csu_irel): Function removed.
44978 * csu/libc-start.c (apply_irel): New function.
44979 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44981 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44983 * sysdeps/unix/sysv/linux/kernel-features.h
44984 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44985 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44986 <kernel-features.h>.
44987 [__NR_fadvise64_64]: Make code unconditional.
44988 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44989 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44990 !__NR_fadvise64_64)]: Likewise.
44991 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44992 !__NR_fadvise64_64))]: Likewise.
44993 [__NR_fadvise64]: Make code unconditional.
44994 [!__NR_fadvise64]: Remove conditional code.
44995 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44996 <kernel-features.h>.
44997 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44999 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45002 not include <kernel-features.h>.
45003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45007 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45008 include <kernel-features.h>.
45009 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45011 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45014 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45017 slight instruction rearrangements per scrollpipe analysis.
45018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45020 2012-08-20 Roland McGrath <roland@hack.frob.com>
45022 * manual/syslog.texi (syslog; vsyslog, closelog):
45023 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45024 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45026 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45027 DSOCAPS to match condition on defining it.
45029 2012-08-20 Joseph Myers <joseph@codesourcery.com>
45031 * sysdeps/unix/sysv/linux/kernel-features.h
45032 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45040 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45041 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45043 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45044 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45046 * sysdeps/unix/sysv/linux/kernel-features.h
45047 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45048 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45050 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45051 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45052 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45053 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45054 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45055 Make code unconditional.
45056 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45057 (__mmap64) [!__NR_mmap2]: Likewise.
45058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45059 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45060 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45061 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45062 [__NR_mmap2]: Make code unconditional.
45063 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45064 (__mmap64) [!__NR_mmap2]: Likewise.
45066 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45068 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45070 2012-08-18 Andreas Jaeger <aj@suse.de>
45072 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45074 2012-08-18 Mike Frysinger <vapier@gentoo.org>
45076 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45077 * include/unistd.h (__have_sock_cloexec): Likewise.
45078 (__have_pipe2): Likewise.
45079 (__have_dup3): Likewise.
45081 2012-08-18 Mike Frysinger <vapier@gentoo.org>
45084 * include/unistd.h (__have_pipe2): Change define into an extern int.
45085 (__have_dup3): Likewise.
45086 * socket/have_sock_cloexec.c: Include fcntl.h.
45087 (__have_pipe2): New variable.
45088 (__have_dup3): Likewise.
45090 2012-08-17 Mike Frysinger <vapier@gentoo.org>
45092 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45094 2012-08-17 Marek Polacek <polacek@redhat.com>
45096 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45097 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45099 2012-08-17 Roland McGrath <roland@hack.frob.com>
45101 * configure.in: Add AC_SUBST for sysheaders.
45102 * configure: Regenerated.
45103 * config.make.in (sysheaders): New substituted variable.
45105 * sysdeps/unix/mkfifo.c: Moved ...
45106 * sysdeps/posix/mkfifo.c: ... here.
45107 * sysdeps/unix/mkfifoat.c: Moved ...
45108 * sysdeps/posix/mkfifoat.c: ... here.
45110 * sysdeps/unix/utime.c: Moved ...
45111 * sysdeps/posix/utime.c: ... here.
45113 * sysdeps/unix/time.c: Moved ...
45114 * sysdeps/posix/time.c: ... here.
45115 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45116 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45118 * sysdeps/unix/nice.c: Moved ...
45119 * sysdeps/posix/nice.c: ... here.
45121 * sysdeps/unix/alarm.c: Moved ...
45122 * sysdeps/posix/alarm.c: ... here.
45124 * intl/Makefile ($(codeset_mo)): Depend on the input file.
45126 2012-08-17 Jeff Law <law@redhat.com>
45128 * intl/Makefile (codeset_mo): New variable.
45129 ($(codeset_mo)): New target.
45130 (tst-codeset.out): Depend on that. Remove explicit rule.
45131 (tst-gettext3.out, tst-gettext5.out): Likewise.
45132 (LOCPATH-ENV, tst-codeset-ENV): New variables.
45133 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45134 * intl/tst-codeset.sh: Remove.
45135 * intl/tst-gettext3.sh: Likewise.
45136 * intl/tst-gettext5.sh: Likewise.
45138 2012-08-17 Roland McGrath <roland@hack.frob.com>
45140 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
45141 * sysdeps/unix/syscalls.list: ... here.
45143 * sysdeps/posix/getaddrinfo.c
45144 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45145 (gaiconf_init, gaiconf_reload): Use them.
45146 [!_STATBUF_ST_NSEC]
45147 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45148 Define using time_t rather than struct timespec.
45150 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45151 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45153 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45155 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45156 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45159 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45160 __libc_cleanup_push argument.
45162 * bits/param.h: New file.
45163 * misc/sys/param.h: New file.
45164 * include/sys/param.h: New file.
45165 * misc/Makefile (headers): Add bits/param.h.
45166 * sysdeps/generic/sys/param.h: File removed.
45167 * sysdeps/unix/sysv/linux/bits/param.h: New file.
45168 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45169 * sysdeps/mach/hurd/bits/param.h: New file.
45170 * sysdeps/mach/hurd/sys/param.h: File removed.
45172 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45175 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45177 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45178 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45181 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45182 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45183 rather than -D_IO_MTSAFE_IO conditionally.
45184 * stdio-common/Makefile (CPPFLAGS): Likewise.
45185 * wcsmbs/Makefile (CPPFLAGS): Likewise.
45186 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45187 Use $(libio-mtsafe).
45188 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45189 of -D_IO_MTSAFE_IO.
45190 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45191 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45192 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45193 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45194 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45195 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45196 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45197 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45198 (CFLAGS-fread_u_chk.c): Likewise.
45199 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45200 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45201 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45202 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45203 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45204 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45205 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45206 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45207 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45209 * libio/Makefile: Test [$(libc-reentrant) = yes]
45210 instead of [$(filter %REENTRANT, $(defines)) nonempty].
45213 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45214 * sysdeps/pthread/configure: File removed.
45215 * sysdeps/pthread/Makeconfig: New file.
45216 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45217 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45219 2012-08-16 Gary Benson <gbenson@redhat.com>
45221 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45222 unmapping the first object in a namespace.
45224 2012-08-16 Roland McGrath <roland@hack.frob.com>
45226 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45227 (__internal_setnetgrent): ... this. Add internal_function to
45228 definition. Add libc_hidden_def.
45229 (setnetgrent): Update caller.
45230 (internal_endnetgrent): Renamed to ...
45231 (__internal_endnetgrent): ... this. Add internal_function to
45232 definition. Add libc_hidden_def.
45233 (endnetgrent): Update caller.
45234 (internal_getnetgrent_r): Renamed to ...
45235 (__internal_getnetgrent_r): ... this. Add internal_function to
45236 definition. Add libc_hidden_def.
45237 (__getnetgrent_r): Update caller.
45238 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
45240 2012-08-16 Joseph Myers <joseph@codesourcery.com>
45242 * stdlib/longlong.h: Update from GCC.
45244 2012-08-16 Roland McGrath <roland@hack.frob.com>
45246 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45247 on _QL, which is set by umul_ppmm but never used.
45248 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45249 variables, which are set by GMP macros but never used.
45250 * stdio-common/_itowa.c (_itowa): Likewise.
45251 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45252 * stdlib/mod_1.c (mpn_mod_1): Likewise.
45254 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
45256 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45257 struct La_sh_regs is not constant.
45258 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45259 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45260 and struct La_sparc64_regs are not constant.
45262 2012-08-16 Joseph Myers <joseph@codesourcery.com>
45264 * sysdeps/unix/sysv/linux/kernel-features.h
45265 (__ASSUME_POSIX_TIMERS): Remove.
45266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45268 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45269 Make code unconditional.
45270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45271 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45272 Make code unconditional.
45273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45274 * sysdeps/unix/sysv/linux/clock_nanosleep.c
45275 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45277 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45278 Make code unconditional.
45279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45280 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45281 (__libc_missing_posix_timers): Remove.
45283 2012-08-15 Roland McGrath <roland@hack.frob.com>
45285 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45286 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45288 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45290 * elf/dl-sym.c: Include <stdlib.h>.
45292 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45293 constants, which avoids warnings in 32-bit builds.
45295 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45296 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45298 * misc/lseek.c: File moved to ...
45299 * io/lseek.c: ... here.
45301 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45303 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45304 shifting LEN more than 31 bits at once.
45306 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45309 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45310 segmentation fault for a case of two empty input strings.
45311 * string/test-strncasecmp.c (check1): Renamed to...
45312 (bz12205): ...this.
45313 (bz14195): Add new testcase for two empty input strings and N > 0.
45314 (test_main): Call new testcase, adapt for renamed function.
45316 2012-08-15 Andreas Jaeger <aj@suse.de>
45319 * crypt/md5test2.c: New test, based on test supplied by Serge
45320 Belyshev <belyshev@depni.sinp.msu.ru>.
45321 * crypt/Makefile (xtests): Add md5test-giant..
45322 * crypt/Makefile ($(objpfx)md5test-giant): Add.
45324 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
45327 * crypt/md5.c (md5_process_block): Don't assume the buffer
45328 length is less than 2**32.
45329 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45330 length is less than 2**64.
45332 2012-08-15 Roland McGrath <roland@hack.frob.com>
45334 * string/str-two-way.h: Include <sys/param.h>.
45335 (MAX): Macro removed.
45337 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45338 Move #define and #undef of memmove to just before and after
45339 including <string.h>.
45341 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45342 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45343 and after including <string.h>. Move declarations of
45344 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45345 to before #include "string/memmove.c".
45347 * include/dirent.h: Declare __getdirentries.
45349 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45350 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45352 2012-08-14 Mike Frysinger <vapier@gentoo.org>
45354 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45355 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45356 * sysdeps/i386/configure: Regenerated.
45357 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45358 STABS_CURRENT_FILE, and STABS_FUN.
45359 (END): Remove call to STABS_FUN_END.
45360 (STABS_CURRENT_FILE1): Delete.
45361 (STABS_CURRENT_FILE): Likewise.
45362 (STABS_FUN): Likewise.
45363 (STABS_FUN_END): Likewise.
45364 (STABS_FUN2): Likewise.
45365 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45366 * sysdeps/x86_64/configure: Regenerated.
45368 2012-08-14 Roland McGrath <roland@hack.frob.com>
45370 * elf/dl-open.c: Include <atomic.h>.
45371 * elf/dl-lookup.c: Likewise.
45373 2012-08-14 Joseph Myers <joseph@codesourcery.com>
45375 * sysdeps/unix/sysv/linux/kernel-features.h
45376 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45377 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45379 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45381 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45382 condition on __ASSUME_CLONE_THREAD_FLAGS.
45384 2012-08-14 Andreas Jaeger <aj@suse.de>
45386 * sysdeps/i386/fpu/libm-test-ulps: Update.
45388 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
45390 * include/atomic.h (atomic_exchange_and_add): Split into ...
45391 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45394 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
45396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45398 2012-08-13 Jeff Law <law@redhat.com>
45400 * manual/stdio.texi (snprintf): Clarify handling of the trailing
45401 null byte in the output string.
45403 2012-08-10 Joseph Myers <joseph@codesourcery.com>
45405 * sysdeps/unix/sysv/linux/kernel-features.h
45406 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45407 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45408 (__ASSUME_ARG_MAX_STACK_BASED): Define.
45409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45410 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45411 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
45412 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45414 2012-08-09 Jeff Law <law@redhat.com>
45417 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45418 When avoid_arena is set, don't retry in the that arena. Pick the
45419 next one, whatever it might be.
45420 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45421 (arena_lock): Pass in new parameter to arena_get2.
45422 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45424 (__libc_malloc): Unify retrying after main arena failure with
45425 __libc_memalign version.
45426 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45428 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
45431 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45432 to __redirect_strstr.
45433 (__strstr_sse42): Use typeof __redirect_strstr.
45434 (__strstr_ia32): Likewise.
45435 (__libc_strstr): New prototype.
45436 (strstr): Renamed to ...
45437 (__libc_strstr): This.
45438 (strstr): New strong alias of __libc_strstr.
45439 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45440 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45443 (__libc_time): New prototype.
45444 (time_ifunc): Replace time with __libc_time.
45445 (time): New strong alias and hidden definition of __libc_time.
45446 (__GI_time): Remove strong alias.
45447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45448 Include <stddef.h>.
45449 (memmove): Redefined to __redirect_memmove.
45450 (__memmove_sse2): Use typeof __redirect_memmove.
45451 (__memmove_ssse3): Likewise.
45452 (__memmove_ssse3_back): Likewise.
45453 (__libc_memmove): New prototype.
45454 (memmove): Renamed to ...
45455 (__libc_memmove): This.
45456 (memmove): New strong alias of __libc_memmove.
45458 2012-08-08 Mark Salter <msalter@redhat.com>
45461 (R_MN10300_TLS_GD): Define.
45462 (R_MN10300_TLS_LD): Likewise.
45463 (R_MN10300_TLS_LDO): Likewise.
45464 (R_MN10300_TLS_GOTIE): Likewise.
45465 (R_MN10300_TLS_IE): Likewise.
45466 (R_MN10300_TLS_LE): Likewise.
45467 (R_MN10300_TLS_DTPMOD): Likewise.
45468 (R_MN10300_TLS_DTPOFF): Likewise.
45469 (R_MN10300_TLS_TPOFF): Likewise.
45470 (R_MN10300_SYM_DIFF): Likewise.
45471 (R_MN10300_ALIGN): Likewise.
45472 (R_MN10300_NUM): Update.
45474 2012-08-08 Joseph Myers <joseph@codesourcery.com>
45476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45479 2012-08-08 Roland McGrath <roland@hack.frob.com>
45481 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45483 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45484 sysdeps/unix -> sysdeps/posix move.
45485 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45487 2012-08-07 Allan McRae <allan@archlinux.org>
45490 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45491 (SUNOS_CPP): Likewise.
45492 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45494 (open_input): Call CPP using execvp.
45496 2012-08-07 Joseph Myers <joseph@codesourcery.com>
45498 * sysdeps/unix/sysv/linux/kernel-features.h
45499 (__ASSUME_PROT_GROWSUPDOWN): Remove.
45500 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45501 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45502 (__ASSUME_WAITID_SYSCALL): Likewise.
45503 * sysdeps/unix/sysv/linux/dl-execstack.c
45504 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45505 code unconditional.
45506 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45508 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45509 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45510 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45512 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45514 [__ASSUME_WAITID_SYSCALL]: Likewise.
45515 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45517 2012-08-07 Roland McGrath <roland@hack.frob.com>
45519 * sysdeps/unix/closedir.c: Renamed to ...
45520 * sysdeps/posix/closedir.c: ... here.
45521 * sysdeps/unix/dirfd.c: Renamed to ...
45522 * sysdeps/posix/dirfd.c: ... here.
45523 * sysdeps/unix/dirstream.h: Renamed to ...
45524 * sysdeps/posix/dirstream.h: ... here.
45525 * sysdeps/unix/fdopendir.c: Renamed to ...
45526 * sysdeps/posix/fdopendir.c: ... here.
45527 * sysdeps/unix/opendir.c: Renamed to ...
45528 * sysdeps/posix/opendir.c: ... here.
45529 * sysdeps/unix/readdir.c: Renamed to ...
45530 * sysdeps/posix/readdir.c: ... here.
45531 * sysdeps/unix/readdir_r.c: Renamed to ...
45532 * sysdeps/posix/readdir_r.c: ... here.
45533 * sysdeps/unix/rewinddir.c: Renamed to ...
45534 * sysdeps/posix/rewinddir.c: ... here.
45535 * sysdeps/unix/seekdir.c: Renamed to ...
45536 * sysdeps/posix/seekdir.c: ... here.
45537 * sysdeps/unix/telldir.c: Renamed to ...
45538 * sysdeps/posix/telldir.c: ... here.
45539 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45540 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45541 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45542 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45544 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45545 * bits/fcntl.h: ... here.
45547 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45549 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45550 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45551 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45552 (struct flock): Move l_start, l_len to the beginning.
45553 Use __pid_t for l_pid.
45554 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45555 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45556 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45557 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45558 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45559 [__USE_LARGEFILE64] (struct flock64): New type.
45560 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45562 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45563 * bits/dirent.h: ... here.
45565 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45566 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45568 2012-08-07 Joseph Myers <joseph@codesourcery.com>
45570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45571 Change from 2.6.0 to 2.6.16.
45572 * sysdeps/unix/sysv/linux/configure: Regenerated.
45573 * sysdeps/unix/sysv/linux/kernel-features.h
45574 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45575 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45577 (__ASSUME_UTIMES): Likewise.
45578 (__ASSUME_CLONE_STOPPED): Remove.
45579 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45580 architectures, not kernel version.
45581 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45582 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45583 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45584 (__ASSUME_WAITID_SYSCALL): Likewise.
45585 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45586 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45587 * README: State 2.6.16 as minimum Linux kernel version. Do not
45588 refer to older versions.
45590 2012-08-06 Roland McGrath <roland@hack.frob.com>
45592 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45593 Define alphasort64 as an alias.
45594 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45595 Define versionsort64 as an alias.
45596 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45597 Define scandir64 as an alias.
45598 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45599 Define scandirat64 as an alias.
45600 * dirent/alphasort64.c (alphasort64):
45601 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45602 * dirent/versionsort64.c: Likewise.
45603 * dirent/scandir64.c: Likewise.
45604 * dirent/scandirat64.c: Likewise.
45605 * sysdeps/wordsize-64/alphasort.c: File removed.
45606 * sysdeps/wordsize-64/alphasort64.c: File removed.
45607 * sysdeps/wordsize-64/scandir.c: File removed.
45608 * sysdeps/wordsize-64/scandir64.c: File removed.
45609 * sysdeps/wordsize-64/scandirat.c: File removed.
45610 * sysdeps/wordsize-64/scandirat64.c: File removed.
45611 * sysdeps/wordsize-64/versionsort.c: File removed.
45612 * sysdeps/wordsize-64/versionsort64.c: File removed.
45613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45614 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45616 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45618 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45622 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45624 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45626 [defined __arch64__ || defined __sparcv9]
45627 (__INO_T_MATCHES_INO64_T): New macro.
45628 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45629 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45630 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45631 * sysdeps/unix/sysv/linux/bits/dirent.h
45632 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45633 (_DIRENT_MATCHES_DIRENT64): New macro.
45635 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45636 Define lockf64 as an alias.
45637 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45638 Define fseeko64 as an alias.
45639 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45640 Define ftello64 as an alias.
45641 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45642 Define _IO_fgetpos64 and fgetpos64 as aliases.
45643 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45644 Define _IO_fsetpos64 and fsetpos64 as aliases.
45645 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45646 Conditionalize body on this.
45647 * libio/fseeko64.c: Likewise.
45648 * libio/ftello64.c: Likewise.
45649 * libio/iofgetpos64.c: Likewise.
45650 * libio/iofsetpos64.c: Likewise.
45651 * sysdeps/wordsize-64/lockf.c: File removed.
45652 * sysdeps/wordsize-64/lockf64.c: File removed.
45653 * sysdeps/wordsize-64/fseeko.c: File removed.
45654 * sysdeps/wordsize-64/fseeko64.c: File removed.
45655 * sysdeps/wordsize-64/ftello.c: File removed.
45656 * sysdeps/wordsize-64/ftello64.c: File removed.
45657 * sysdeps/wordsize-64/iofgetpos.c: File removed.
45658 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45659 * sysdeps/wordsize-64/iofsetpos.c: File removed.
45660 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45662 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45664 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45666 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45668 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45670 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45672 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45674 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45676 [defined __arch64__ || defined __sparcv9]
45677 (__OFF_T_MATCHES_OFF64_T): New macro.
45678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45679 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45681 (__OFF_T_MATCHES_OFF64_T): New macro.
45683 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45685 * stdlib/secure-getenv.c (__secure_getenv): Replace
45686 GLIBC_2_16 with GLIBC_2_17.
45688 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45691 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45693 2012-08-03 David S. Miller <davem@davemloft.net>
45695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45697 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45699 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45701 (__ASSUME_CORRECT_SI_PID): Likewise.
45702 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45703 (__ASSUME_TMPFS_NAME): Likewise.
45704 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45705 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45706 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45707 (HAVE_AUX_SECURE): Make definition unconditional.
45708 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45709 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45711 2012-08-03 Roland McGrath <roland@hack.frob.com>
45713 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45714 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45715 * sysdeps/mach/hurd/eloop-threshold.h: New file.
45716 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45717 __eloop_threshold instead of SYMLOOP_MAX.
45719 * sysdeps/generic/eloop-threshold.h: New file.
45720 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45722 * elf/chroot_canon.c (chroot_canon): Likewise.
45724 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45728 Change to 2.6.0 everywhere.
45729 * sysdeps/unix/sysv/linux/configure: Regenerated.
45730 * sysdeps/unix/sysv/linux/kernel-features.h
45731 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45732 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45734 (__ASSUME_POSIX_TIMERS): Define unconditionally.
45735 (__ASSUME_FUTEX_REQUEUE): Remove.
45736 (__ASSUME_STATFS64): Define unconditionally.
45737 (__ASSUME_AT_SECURE): Likewise.
45738 (__ASSUME_CORRECT_SI_PID): Likewise.
45739 (__ASSUME_TGKILL): Define without depending on kernel version for
45741 (__ASSUME_UTIMES): Likewise.
45742 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45744 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45745 (__ASSUME_TMPFS_NAME): Likewise.
45746 * README: Update reference to Linux kernel versions.
45748 2012-08-02 Marek Polacek <polacek@redhat.com>
45751 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
45752 libc_cv_asm_type_prefix with %.
45753 * configure: Regenerated.
45754 * include/libc-symbols.h: Remove comment about
45755 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45756 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45757 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45758 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45759 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45760 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45762 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45763 * elf/tst-unique2mod1.c: Likewise.
45764 * elf/tst-unique1mod2.c: Likewise.
45765 * elf/tst-unique1mod1.c: Likewise.
45766 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45767 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45768 Replace ASM_TYPE_DIRECTIVE with .type.
45769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45770 * sysdeps/i386/sysdep.h: Likewise.
45771 * sysdeps/x86_64/sysdep.h: Likewise.
45772 * sysdeps/sh/sysdep.h: Likewise.
45773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45774 Do not define ASM_TYPE_DIRECTIVE.
45775 * sysdeps/powerpc/sysdep.h: Likewise.
45776 * sysdeps/powerpc/powerpc32/sysdep.h:
45777 Replace ASM_TYPE_DIRECTIVE with .type.
45778 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45779 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45780 * sysdeps/i386/fpu/e_powf.S: Likewise.
45781 * sysdeps/i386/fpu/e_expl.S: Likewise.
45782 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45783 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45784 * sysdeps/i386/fpu/e_pow.S: Likewise.
45785 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45786 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45787 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45788 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45789 * sysdeps/i386/fpu/e_log2.S: Likewise.
45790 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45791 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45792 * sysdeps/i386/fpu/e_powl.S: Likewise.
45793 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45794 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45795 * sysdeps/i386/fpu/e_logl.S: Likewise.
45796 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45797 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45798 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45800 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45801 * sysdeps/i386/fpu/e_log.S: Likewise.
45802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45803 * sysdeps/i386/fpu/e_logf.S: Likewise.
45804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45806 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45807 * sysdeps/i386/fpu/e_log10.S: Likewise.
45808 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45809 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45810 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45811 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45814 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45815 * sysdeps/i386/i686/strtok.S: Likewise.
45816 * sysdeps/i386/i386-mcount.S: Likewise.
45817 * sysdeps/i386/strtok.S: Likewise.
45818 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45819 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45821 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45822 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45823 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45824 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45825 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45826 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45827 * sysdeps/x86_64/_mcount.S: Likewise.
45828 * sysdeps/x86_64/strtok.S: Likewise.
45829 * sysdeps/sh/_mcount.S: Likewise.
45831 2012-08-01 Roland McGrath <roland@hack.frob.com>
45833 * libio/iofopen.c: Include <fcntl.h>.
45834 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45835 (_IO_fopen64, fopen64): Define as aliases.
45836 * libio/iofopen64.c: Include <fcntl.h>.
45837 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45838 Conditionalize body on this.
45839 * sysdeps/wordsize-64/iofopen.c: File removed.
45840 * sysdeps/wordsize-64/iofopen64.c: File removed.
45842 2012-08-01 Marek Polacek <polacek@redhat.com>
45844 * libc/Makeconfig: Use elf in place of binfmt-subdir.
45845 Use dlfcn directly instead of a variable.
45846 (binfmt-subdir): Do not define.
45849 2012-08-01 Joseph Myers <joseph@codesourcery.com>
45851 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45852 Remove all definitions.
45853 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45854 <kernel-features.h>.
45855 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45856 (miss_F_GETOWN_EX): Remove all definitions.
45857 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45859 [!__ASSUME_FCNTL64]: Remove conditional code.
45860 [__ASSUME_FCNTL64]: Make code unconditional.
45861 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45862 <kernel-features.h>.
45863 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45864 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45865 (lockf64) [__NR_fcntl64]: Make code unconditional.
45866 (lockf64) [__ASSUME_FCNTL64]: Likewise.
45868 * sysdeps/unix/sysv/linux/kernel-features.h
45869 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45870 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45871 Make code unconditional.
45872 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45873 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45875 [__NR_vfork]: Make code unconditional.
45876 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45877 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45879 [__NR_vfork]: Make code unconditional.
45880 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45881 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45883 2012-08-01 Roland McGrath <roland@hack.frob.com>
45885 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45886 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45888 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45889 Define mkstemp64 as an alias.
45890 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45891 Define mkstemps64 as an alias.
45892 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45893 Define mkostemp64 as an alias.
45894 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45895 Define mkostemps64 as an alias.
45896 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45897 Conditionalize body on this.
45898 * misc/mkostemp64.c: Likewise.
45899 * misc/mkostemps64.c: Likewise.
45900 * misc/mkstemps64.c: Likewise.
45901 * sysdeps/wordsize-64/mkstemp64.c: File removed.
45902 * sysdeps/wordsize-64/mkostemp64.c: File removed.
45903 * sysdeps/wordsize-64/mkostemp.c: File removed.
45904 * sysdeps/wordsize-64/mkstemp.c: File removed.
45905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45907 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45908 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45911 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45912 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45913 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45914 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45916 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45917 compat_symbol macros from <shlib-compat.h> rather than the underlying
45918 default_symbol_version and symbol_version macros, so that DEFAULT
45919 lines in shlib-versions are respected.
45920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45922 2012-08-01 Florian Weimer <fweimer@redhat.com>
45924 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45925 Declare with warn_unused_result.
45926 (setgid, setregid, setegid, setresgid): Likewise.
45927 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45929 * WUR-REPORT: Remove set*id functions.
45931 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
45933 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45935 2012-07-31 Roland McGrath <roland@hack.frob.com>
45938 * include/sys/socket.h (__libc_accept, __libc_accept4):
45939 Add attribute_hidden.
45940 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45942 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45944 * inet/getnetgrent_r.c (setup): Likewise.
45946 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45948 2012-07-31 David S. Miller <davem@davemloft.net>
45950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45952 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45955 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45956 value between 1.0 and 2.0 and smaller part has absolute value less
45958 * math/s_clog10.c (__clog10): Likewise.
45959 * math/s_clog10f.c (__clog10f): Likewise.
45960 * math/s_clog10l.c (__clog10l): Likewise.
45961 * math/s_clogf.c (__clogf): Likewise.
45962 * math/s_clogl.c (__clogl): Likewise.
45963 * math/libm-test.inc (clog_test): Add more tests.
45964 (clog10_test): Likewise.
45965 * sysdeps/i386/fpu/libm-test-ulps: Update.
45966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45968 2012-07-31 Florian Weimer <fweimer@redhat.com>
45970 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45971 Exit with zero in case no suitable GID is found, and write a
45972 message to standard error.
45974 2012-07-30 Roland McGrath <roland@hack.frob.com>
45976 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45978 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45979 (MAXPATHLEN): Removed.
45980 (NOGROUP, NODEV): New macros.
45981 (setbit, clrbit, isset, isclr): New macros.
45982 (howmany, roundup, powerof2): New macros.
45983 (DEV_BSIZE): New macro.
45985 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45986 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45988 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45989 definition on [!__NO_LONG_DOUBLE_MATH].
45991 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45992 PTR_MANGLE and PTR_DEMANGLE.
45994 * socket/accept4.c (accept4): Rename to __libc_accept4.
45995 Define accept4 as a weak alias.
45997 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45998 on [_DIRENT_HAVE_D_TYPE].
45999 * io/ftw.c (ftw_dir): Likewise.
46001 * io/xmknod.c (__xmknod): Don't check PATH for being null.
46003 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46005 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46006 Use the BSD numbers rather than the arbitrary ones we had.
46007 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46008 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46009 (SIGXCPU, SIGXFSZ): New macros.
46012 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46013 initializer on [_LIBC_REENTRANT].
46015 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46016 definitions inside [_POSIX_MAPPED_FILES].
46018 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46020 * dirent/opendir.c: Include <fcntl.h>.
46022 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46023 (__libc_getspecific): Likewise.
46024 (__libc_key_create): Likewise.
46026 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46027 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46028 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46029 (tmpfile64): Define as alias.
46030 * sysdeps/wordsize-64/tmpfile.c: File removed.
46031 * sysdeps/wordsize-64/tmpfile64.c: File removed.
46032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46033 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46035 * stdio-common/vfscanf.c: Include <stdbool.h>.
46036 * nss/makedb.c: Likewise.
46037 * stdio-common/_i18n_number.h: Likewise.
46038 * argp/argp-help.c: Likewise.
46039 * posix/wordexp.c: Likewise.
46040 * sysdeps/posix/spawni.c: Likewise.
46041 * nss/nss_files/files-initgroups.c: Likewise.
46042 * stdio-common/reg-modifier.c: Include <stdlib.h>.
46043 * nss/nss_files/files-initgroups.c: Likewise.
46044 * nss/nss_db/db-netgrp.c: Likewise.
46045 * nss/nss_db/db-initgroups.c: Likewise.
46046 * io/fchmodat.c: Include <sys/stat.h>.
46048 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46049 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46051 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46054 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46055 Add multiple inclusion protection.
46057 2012-07-27 David S. Miller <davem@davemloft.net>
46059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46061 2012-07-27 Gary Benson <gbenson@redhat.com>
46064 * elf/rtld.c: Include <stap-probe.h>.
46065 (dl_main): Added static probes "init_start" and "init_complete".
46066 * elf/dl-load.c: Include <stap-probe.h>.
46067 (lose): Take new parameter "nsid".
46068 Added static probe "map_failed".
46069 (_dl_map_object_from_fd): Pass namespace id to lose.
46070 Added static probe "map_start".
46071 (open_verify): Pass namespace id to lose.
46072 * elf/dl-open.c: Include <stap-probe.h>.
46073 (dl_open_worker) Added static probes "map_complete", "reloc_start"
46074 and "reloc_complete".
46075 * elf/dl-close.c: Include <stap-probe.h>.
46076 (_dl_close_worker): Added static probes "unmap_start" and
46078 * elf/rtld-debugger-interface.txt: New file documenting the above.
46080 2012-07-26 Roland McGrath <roland@hack.frob.com>
46082 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46083 rather than a string variable.
46084 * sunrpc/rpc_main.c (h_output): Likewise.
46085 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46087 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
46089 * inet/check_native.c: New file.
46091 2012-07-26 Joseph Myers <joseph@codesourcery.com>
46094 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46095 if larger part has absolute value 1.0.
46096 * math/s_clog10.c (__clog10): Likewise.
46097 * math/s_clog10f.c (__clog10f): Likewise.
46098 * math/s_clog10l.c (__clog10l): Likewise.
46099 * math/s_clogf.c (__clogf): Likewise.
46100 * math/s_clogl.c (__clogl): Likewise.
46101 * math/libm-test.inc (clog_test): Add more tests.
46102 (clog10_test): Likewise.
46103 * sysdeps/i386/fpu/libm-test-ulps: Update.
46104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46106 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46107 (pltexit): Likewise.
46108 (La_regs): Likewise.
46109 (La_retval): Likewise.
46110 (int_retval): Likewise.
46111 Update #error for removed macros to refer only to definitions in
46113 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46115 (pltexit): Likewise.
46116 (La_regs): Likewise.
46117 (La_retval): Likewise.
46118 (int_retval): Likewise.
46119 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46121 (pltexit): Likewise.
46122 (La_regs): Likewise.
46123 (La_retval): Likewise.
46124 (int_retval): Likewise.
46125 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46127 (pltexit): Likewise.
46128 (La_regs): Likewise.
46129 (La_retval): Likewise.
46130 (int_retval): Likewise.
46131 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46133 (pltexit): Likewise.
46134 (La_regs): Likewise.
46135 (La_retval): Likewise.
46136 (int_retval): Likewise.
46137 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46139 (pltexit): Likewise.
46140 (La_regs): Likewise.
46141 (La_retval): Likewise.
46142 (int_retval): Likewise.
46143 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46145 (pltexit): Likewise.
46146 (La_regs): Likewise.
46147 (La_retval): Likewise.
46148 (int_retval): Likewise.
46149 * sysdeps/generic/tst-audit.h: Update comment to refer only to
46150 macro definitions in tst-audit.h.
46151 * sysdeps/i386/tst-audit.h: New file.
46152 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46153 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46154 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46155 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46156 * sysdeps/sh/tst-audit.h: Likewise.
46157 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46158 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46159 * sysdeps/x86_64/tst-audit.h: Likewise.
46161 2012-07-26 Andreas Jaeger <aj@suse.de>
46163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46166 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46167 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46168 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46170 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46171 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46172 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46174 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46177 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46179 (si_call_addr, si_syscall, si_arch): Define new macro.
46180 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46182 (si_call_addr, si_syscall, si_arch): Define new marcro.
46183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46185 (si_call_addr, si_syscall, si_arch): Define new macro.
46186 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46188 (si_call_addr, si_syscall, si_arch): Define new macro.
46190 2012-07-25 Joseph Myers <joseph@codesourcery.com>
46193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46194 Change to 2.4.21 where previously 2.4.1.
46195 * sysdeps/unix/sysv/linux/configure: Regenerated.
46196 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46197 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46198 Linux kernel version.
46199 (__ASSUME_STD_AUXV): Remove.
46200 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46202 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46203 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46204 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46205 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46206 (__ASSUME_NETLINK_SUPPORT): Likewise.
46207 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46208 (__no_netlink_support): Remove conditional definition.
46209 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46211 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46212 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46213 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46214 (if_nameindex_ioctl): Remove.
46215 (if_nameindex_netlink): Do not handle __no_netlink_support.
46216 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46218 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46219 Remove conditional code.
46220 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46222 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46224 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46225 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46226 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46228 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46229 [!__ASSUME_STD_AUXV]: Remove conditional code.
46230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46231 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46232 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46234 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46235 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46237 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46239 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46240 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46242 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46244 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46247 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46250 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46251 code unconditional.
46252 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46254 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46256 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46259 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46261 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46264 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46265 code unconditional.
46266 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46268 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46270 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46273 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46274 code unconditional.
46275 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46277 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46279 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46282 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
46284 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46285 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46286 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46287 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46288 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46289 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46290 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46291 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46292 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46293 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46294 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46295 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46296 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46297 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46298 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46299 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46300 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46302 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46304 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46305 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46308 2012-07-25 Florian Weimer <fweimer@redhat.com>
46310 * Versions.def: Add GLIBC_2.17.
46311 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46312 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46313 Introduce __libc_secure_getenv.
46314 * stdlib/Versions (2.17): Add secure_getenv
46315 (GLIBC_PRIVATE): Add __libc_secure_getenv.
46316 * stdlib/secure-getenv.c: Rename __secure_getenv to
46317 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
46318 symbol __secure_getenv for GLIBC_2.0.
46319 * stdlib/tst-secure-getenv.c: New.
46320 * stdlib/Makefile (tests): Add testcase.
46321 * manual/startup.texi (Environment Access): Document
46323 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46324 __libc_secure_getenv.
46325 * inet/ruserpass.c (ruserpass): Likewise.
46326 * malloc/mtrace.c (mtrace): Likewise.
46327 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46328 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46329 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46330 * sysdeps/posix/tempname.c: Likewise. Evaluate
46331 HAVE_SECURE_GETENV.
46332 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46333 __secure_getenv to __libc_secure_getenv.
46334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46347 2012-07-25 Joseph Myers <joseph@codesourcery.com>
46349 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46350 (struct La_i86_retval): Likewise.
46351 (struct La_x86_64_regs): Likewise.
46352 (struct La_x86_64_retval): Likewise.
46353 (struct La_x32_regs): Likewise.
46354 (struct La_x32_retval): Likewise.
46355 (struct La_ppc32_regs): Likewise.
46356 (struct La_ppc32_retval): Likewise.
46357 (struct La_ppc64_regs): Likewise.
46358 (struct La_ppc64_retval): Likewise.
46359 (struct La_sh_regs): Likewise.
46360 (struct La_sh_retval): Likewise.
46361 (struct La_s390_32_regs): Likewise.
46362 (struct La_s390_32_retval): Likewise.
46363 (struct La_s390_64_regs): Likewise.
46364 (struct La_s390_64_retval): Likewise.
46365 (struct La_sparc32_regs): Likewise.
46366 (struct La_sparc32_retval): Likewise.
46367 (struct La_sparc64_regs): Likewise.
46368 (struct La_sparc64_retval): Likewise.
46369 (struct audit_ifaces): Remove architecture-specific pltenter and
46371 * sysdeps/i386/ldsodefs.h: New file.
46372 * sysdeps/powerpc/ldsodefs.h: Likewise.
46373 * sysdeps/s390/ldsodefs.h: Likewise.
46374 * sysdeps/sh/ldsodefs.h: Likewise.
46375 * sysdeps/sparc/ldsodefs.h: Likewise.
46376 * sysdeps/x86_64/ldsodefs.h: Likewise.
46378 2012-07-25 Marek Polacek <polacek@redhat.com>
46381 * math/libm-test.inc (yn_test): Add another test.
46382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46383 to ERANGE when the result is +-Inf.
46384 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46385 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46386 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46387 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46389 2012-07-24 Joseph Myers <joseph@codesourcery.com>
46391 * conform/data/time.h-data (NULL): Use macro-constant. Require
46393 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
46395 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
46397 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
46399 * configure.in <sysdeps resolving>: Correct printing
46401 * configure: Regenerate.
46403 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
46405 * math/w_ilogb.c: Include <limits.h>.
46406 * math/w_ilogbl.c: Likewise.
46408 2012-07-20 Joseph Myers <joseph@codesourcery.com>
46410 * manual/lang.texi (__va_copy): Document primarily as ISO C99
46411 va_copy. Document allowing for unavailable va_copy only as
46412 pre-C99 compatibility.
46413 * manual/string.texi (Copying and Concatenation): Use va_copy
46414 instead of __va_copy in concat example.
46416 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
46418 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46419 (__sendto): Use create_address_port. Initialize APORT and deallocate
46422 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46423 with O_NOLINK passed to __file_name_lookup.
46425 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46426 with O_NOLINK passed to __file_name_lookup.
46428 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46429 negative N or less than NGIDS.
46431 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46432 type to string_t. Set ERANGE as errno and return it if NAME is not big
46433 enough. Use memcpy instead of strncpy.
46435 2012-07-20 Joseph Myers <joseph@codesourcery.com>
46437 * elf/Makefile (check-data): Remove.
46438 (localplt.data): New vpath directive.
46439 ($(objpfx)check-localplt.out): Use localplt.data from vpath
46440 instead of $(check-data).
46441 * scripts/data/localplt-generic.data: Move to ...
46442 * sysdeps/generic/localplt.data: ... here.
46443 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46444 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46445 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46448 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46451 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46454 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46457 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46460 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46464 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46466 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46467 PPC32 and PPC64 files.
46468 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46469 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46471 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46473 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46474 __makecontext_ret to ...
46475 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46476 ... here and call exit if uc_link is NULL. New file.
46477 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46478 __makecontext_ret.S.
46479 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46480 __makecontext_ret to ...
46481 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46482 ... here and call exit if uc_link is NULL. New file.
46483 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46484 __makecontext_ret.S.
46486 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46488 * elf/elf.h (R_390_IRELATIVE): New definition.
46489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46490 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
46491 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46492 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46493 (elf_machine_lazy_rel): Likewise.
46494 * sysdeps/s390/dl-irel.h: New file.
46495 * sysdeps/s390/s390-64/memcpy.S: New asm code.
46496 * sysdeps/s390/s390-64/memset.S: New asm code.
46497 * sysdeps/s390/s390-64/memcmp.S: New asm code.
46498 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46500 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46501 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46502 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46504 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46505 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46506 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46507 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46508 * sysdeps/s390/s390-32/memcpy.S: New asm code.
46509 * sysdeps/s390/s390-32/memset.S: New asm code.
46510 * sysdeps/s390/s390-32/memcmp.S: New asm code.
46512 2012-07-17 Marek Polacek <polacek@redhat.com>
46515 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46516 * sysdeps/s390/s390-64/configure.in: Likewise.
46517 * sysdeps/sparc/configure.in: Likewise.
46518 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46519 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46520 * sysdeps/i386/configure.in: Likewise.
46521 * sysdeps/x86_64/configure.in: Likewise.
46522 * sysdeps/sh/configure.in: Likewise.
46523 * sysdeps/s390/s390-32/configure: Regenerated.
46524 * sysdeps/s390/s390-64/configure: Likewise.
46525 * sysdeps/x86_64/configure: Likewise.
46526 * sysdeps/sh/configure: Likewise.
46527 * sysdeps/powerpc/powerpc64/configure: Likewise.
46528 * sysdeps/powerpc/powerpc32/configure: Likewise.
46529 * sysdeps/sparc/configure: Likwise.
46530 * sysdeps/i386/configure: Likewise.
46532 * elf/dl-open.c: Comment fixes.
46534 2012-07-17 Joseph Myers <joseph@codesourcery.com>
46536 * Makefile [CXX] (check-data): Remove.
46537 [CXX] (c++-types.data): New vpath directive.
46538 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46539 vpath. Do not allow for C++ type data being missing.
46540 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46541 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46542 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46543 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46544 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46545 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46546 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46549 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46552 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46555 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46558 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46561 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46564 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46567 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46570 * elf/tls-macros.h (TLS_LE): Move architecture-specific
46571 definitions to architecture-specific files.
46572 (TLS_IE): Likewise.
46573 (TLS_LD): Likewise.
46574 (TLS_GD): Likewise.
46575 * sysdeps/i386/tls-macros.h: New file.
46576 * sysdeps/powerpc/tls-macros.h: Likewise.
46577 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46578 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46579 * sysdeps/sh/tls-macros.h: Likewise.
46580 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46581 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46582 * sysdeps/x86_64/tls-macros.h: Likewise.
46584 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46587 zero value for regular exit case.
46589 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46590 (__start_context): Preserve zero value for regular exit case.
46592 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46593 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46595 * manual/setjmp.texi (setcontext): Clarify normal process
46596 termination when uc_link is the null pointer.
46597 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46600 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
46602 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46603 preprocessor. Test for each exception mask separately.
46605 2012-07-16 Andreas Jaeger <aj@suse.de>
46607 * po/ru.po: Update from translation team.
46609 2012-07-15 Joseph Myers <joseph@codesourcery.com>
46611 * conform/data/string.h-data (NULL): Use macro-constant. Require
46613 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46614 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46615 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46616 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46619 2012-07-13 Andreas Jaeger <aj@suse.de>
46621 * po/fr.po: Update from translation team.
46623 2012-07-12 Marek Polacek <polacek@redhat.com>
46626 * math/libm-test.inc (yn_test): Add test for BZ #14173.
46627 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46630 2012-07-12 Joseph Myers <joseph@codesourcery.com>
46633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46634 Change to 2.4.1 where previously 2.4.0.
46635 * sysdeps/unix/sysv/linux/configure: Regenerated.
46636 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46637 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46639 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46640 (__ASSUME_AT_CLKTCK): Remove.
46641 (__ASSUME_AT_PAGESIZE): Likewise.
46642 (__ASSUME_AT_XID): Likewise.
46643 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46644 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46645 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46647 (HAVE_AUX_PAGESIZE): Likewise.
46648 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46649 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46650 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46652 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
46655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46656 the temporary buffer used to invoke __gethostbyname2_r,
46657 __gethostbyaddr_r and gethostbyname4_r to make room for struct
46658 host_data / struct gaih_addrtuple.
46659 * resolv/nss_dns/dns-host.c (global scope): Move definition of
46660 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46661 header file nss/nsswitch.h.
46662 * nss/nsswitch.h (global scope): Add definition of implementation
46663 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46664 resolv/nss_dns/dns-host.c).
46666 2012-07-11 Andreas Jaeger <aj@suse.de>
46668 * po/fr.po: Update from translation team.
46670 * po/sv.po: Update from translation team
46671 * po/fr.po: Another update from translation team.
46673 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46676 for subnormals or multiply small sinh result by itself.
46677 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46680 2012-07-11 David S. Miller <davem@davemloft.net>
46682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46684 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
46687 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46688 (INTERNAL_MARK): Shift it here.
46690 2012-07-10 Marek Polacek <polacek@redhat.com>
46693 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
46694 libc_cv_asm_global_directive with .globl.
46695 * configure: Regenerated.
46696 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46698 * sysdeps/i386/configure: Regenerated.
46699 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46701 * sysdeps/x86_64/configure: Regenerated.
46702 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46703 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46704 * elf/tst-unique2mod2.c: Likewise.
46705 * elf/tst-unique2mod1.c: Likewise.
46706 * elf/tst-unique1mod2.c: Likewise.
46707 * elf/tst-unique1mod1.c: Likewise.
46708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46710 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46712 * sysdeps/mach/sysdep.h: Likewise.
46713 * sysdeps/i386/sysdep.h: Likewise.
46714 * sysdeps/i386/i386-mcount.S: Likewise.
46715 * sysdeps/x86_64/_mcount.S: Likewise.
46716 * sysdeps/x86_64/sysdep.h: Likewise.
46717 * sysdeps/sh/_mcount.S: Likewise.
46718 * sysdeps/sh/sysdep.h: Likewise.
46719 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46720 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46721 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46723 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46724 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46725 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46726 * locale/localeinfo.h: Likewise.
46727 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46728 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46730 2012-07-09 Roland McGrath <roland@hack.frob.com>
46733 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46735 * manual/message.texi (The Uniforum approach): Likewise.
46736 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46737 (glibc iconv Implementation): Likewise.
46739 2012-07-09 Joseph Myers <joseph@codesourcery.com>
46742 * math/s_clog.c (__clog): Avoid scaling a value down where that
46743 could result in underflow.
46744 * math/s_clog10.c (__clog10): Likewise.
46745 * math/s_clog10f.c (__clog10f): Likewise.
46746 * math/s_clog10l.c (__clog10l): Likewise.
46747 * math/s_clogf.c (__clogf): Likewise.
46748 * math/s_clogl.c (__clogl): Likewise.
46749 * math/libm-test.inc (clog_test): Add more tests.
46750 (clog10_test): Likewise.
46751 * sysdeps/i386/fpu/libm-test-ulps: Update.
46752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46754 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
46757 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46758 by 7 not 8 to examine high bit of fractional part.
46761 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46762 for call to __mcount_internal.
46763 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46764 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46765 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46767 2012-07-06 Joseph Myers <joseph@codesourcery.com>
46770 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46771 approximation for values within 0x1p-13f of an odd multiple of
46773 * math/libm-test.inc (tan_test): Do not allow spurious underflow
46774 exception. Add more tests.
46775 * sysdeps/i386/fpu/libm-test-ulps: Update.
46778 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46779 inputs and return -1 for them. Do not check for +Inf in case not
46780 reachable for +Inf.
46781 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46782 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46784 and return -1 for them. Do not check for +Inf in case not
46785 reachable for +Inf.
46786 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46788 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46789 and return -1 for them. Do not check for +Inf in case not
46790 reachable for +Inf.
46791 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
46792 spurious underflow.
46793 * sysdeps/i386/fpu/libm-test-ulps: Update.
46794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46796 2012-07-06 Mike Frysinger <vapier@gentoo.org>
46798 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46800 2012-07-05 Joseph Myers <joseph@codesourcery.com>
46804 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46805 could result in spurious underflow. Scale down values above
46806 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46807 * math/s_csqrtf.c (__csqrtf): Likewise.
46808 * math/s_csqrtl.c (__csqrtl): Likewise.
46809 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
46810 spurious underflow.
46811 * sysdeps/i386/fpu/libm-test-ulps: Update.
46812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46814 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
46816 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46818 * catgets/xopen-msg.awk: New file.
46819 * catgets/xopen-msg.sed: Removed.
46821 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46823 * intl/po2test.awk: New file.
46824 * intl/po2test.sed: Removed.
46826 2012-07-04 Joseph Myers <joseph@codesourcery.com>
46829 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46830 or multiply small sinh result by itself.
46831 * math/s_ctanf.c (__ctanf): Likewise.
46832 * math/s_ctanh.c (__ctanh): Likewise.
46833 * math/s_ctanhf.c (__ctanhf): Likewise.
46834 * math/s_ctanhl.c (__ctanhl): Likewise.
46835 * math/s_ctanl.c (__ctanl): Likewise.
46836 * math/libm-test.inc (ctan_test_tonearest): New function.
46837 (ctan_test_towardzero): Likewise.
46838 (ctan_test_downward): Likewise.
46839 (ctan_test_upward): Likewise.
46840 (ctanh_test_tonearest): Likewise.
46841 (ctanh_test_towardzero): Likewise.
46842 (ctanh_test_downward): Likewise.
46843 (ctanh_test_upward): Likewise.
46844 (main): Call these new functions.
46845 * sysdeps/i386/fpu/libm-test-ulps: Update.
46846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46848 2012-07-03 Mike Frysinger <vapier@gentoo.org>
46850 * .gitignore: Delete /ports entry.
46852 2012-07-03 Andreas Jaeger <aj@suse.de>
46854 * po/bg.po: Update from translation team.
46855 * po/cs.po: Likewise.
46856 * po/de.po: Likewise.
46857 * po/hr.po: Likewise.
46858 * po/nl.pl: Likewise.
46859 * po/pl.po: Likewise.
46860 * po/vi.po: Likewise.
46862 2012-07-03 Joseph Myers <joseph@codesourcery.com>
46864 * Makeconfig [!+link] (+link-before-libc): New variable.
46865 [!+link] (+link-after-libc): Likewise.
46866 [!+link] (+link-tests): Likewise.
46867 [!+link] (+link): Define in terms of $(+link-before-libc) and
46868 $(+link-after-libc).
46869 [!+link-static] (+link-static-before-libc): New variable.
46870 [!+link-static] (+link-static-after-libc): Likewise.
46871 [!+link-static] (+link-static-tests): Likewise.
46872 [!+link-static] (+link-static): Define in terms of
46873 $(+link-static-before-libc) and $(+link-static-after-libc).
46874 [build-shared] (link-libc-before-gnulib): New variable.
46875 [build-shared] (link-libc-tests): Likewise.
46876 [build-shared] (link-libc): Define in terms of
46877 $(link-libc-before-gnulib).
46878 [!build-shared] (link-libc-tests): New variable.
46879 (link-libc-static-tests): New variable.
46880 [!gnulib] (gnulib-arch): New variable.
46881 [!gnulib] (gnulib-tests): Likewise.
46882 [!gnulib] (static-gnulib-arch): Likewise.
46883 [!gnulib] (static-gnulib-tests): Likewise.
46884 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
46885 Define with "=" instead of ":=".
46886 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
46887 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
46888 * Rules (binaries-all-notests): New variable.
46889 (binaries-all-tests): Likewise.
46890 (binaries-static-notests): Likewise.
46891 (binaries-static-tests): Likewise.
46892 (binaries-all): Define using $(binaries-all-notests) and
46893 $(binaries-all-tests).
46894 (binaries-static): Define using $(binaries-static-notests) and
46895 $(binaries-static-tests).
46896 (binaries-shared-tests): New variable.
46897 (binaries-shared-notests): Likewise.
46898 (binaries-shared): Remove variable.
46899 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46900 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46901 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46902 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46903 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46904 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46905 * elf/Makefile (sln-modules): New variable.
46906 (extra-objs): Add $(sln-modules:=.o).
46907 (ldconfig-modules): Add static-stubs.
46908 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46909 * elf/static-stubs.c: New file.
46912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46913 by 7 not 8 to examine high bit of fractional part. Use volatile
46914 variables when splitting into final array of floats if
46915 __FLT_EVAL_METHOD__ != 0.
46916 * math/libm-test.inc (cos_test): Add another test.
46917 (sin_test): Likewise.
46918 * sysdeps/i386/fpu/libm-test-ulps: Update.
46921 * math/libm-test.inc (cosh_test): Add more tests.
46923 * version.h (RELEASE): Set to "development".
46924 (VERSION): Set to "2.16.90".
46926 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
46928 * NEWS: Update copyright. Remove last-updated date.
46929 Mention math library bug fixes and timezone data changes.
46930 * README: Mention GNU/Hurd, x32, and HPPA support status.
46932 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
46934 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46936 2012-06-27 Andreas Jaeger <aj@suse.de>
46938 * manual/contrib.texi (Contributors): Add Samuel Thibault.
46940 2012-06-25 Andreas Jaeger <aj@suse.de>
46942 * sysdeps/s390/fpu/libm-test-ulps: Update.
46944 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
46945 Thomas Schwinge <thomas@codesourcery.com>
46947 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46948 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46952 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
46954 * sysdeps/mach/start.c: Remove file.
46955 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46956 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46957 * sysdeps/sh/init-first.c: Likewise.
46959 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46960 registers for frame unwinding purposes, add CFI directives.
46961 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46962 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46963 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46966 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46967 __fortify_fail returning.
46968 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46970 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46971 sysdeps/sh/____longjmp_chk.S.
46972 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46973 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46974 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46975 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46977 * sysdeps/sh/abort-instr.h: New file.
46978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46979 process in case exit returns.
46981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46982 initialize the GOT register before use.
46984 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46985 calculation of ARGC > 4.
46987 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46988 meaningful names to some local labels.
46990 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46991 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46993 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46994 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46995 (__arch_compare_and_exchange_val_16_acq): Likewise.
46996 (__arch_compare_and_exchange_val_32_acq): Likewise.
46997 (atomic_exchange_and_add): Fix gUSA sequence.
46998 (atomic_add): Likewise.
46999 (atomic_add_negative): Likewise.
47000 (atomic_add_zero): Likewise.
47001 (atomic_bit_test_set): Likewise.
47003 2012-06-22 Andreas Schwab <schwab@redhat.com>
47006 * include/link.h (struct link_map): Add l_free_initfini.
47007 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47009 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47010 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47011 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47014 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
47016 * configure.in: Use AC_LANG_SOURCE.
47017 * configure: Regenerate.
47019 2012-06-22 Roland McGrath <roland@hack.frob.com>
47021 * configure.in (libc_cv_localstatedir): New substituted variable.
47022 * configure: Regenerated.
47023 * config.make.in (localstatedir): New variable, substituted from
47024 libc_cv_localstatedir.
47025 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47026 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47027 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47028 * sysdeps/gnu/configure: Regenerated.
47030 2012-06-21 Jeff Law <law@redhat.com>
47033 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47034 free. Simplify list management for _LIBC case.
47036 2012-06-21 Joseph Myers <joseph@codesourcery.com>
47039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47040 Clear sign bit of 64-bit integer value before comparing against
47043 * sysdeps/mach/configure: Regenerated.
47045 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
47048 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47050 2012-06-21 Jeff Law <law@redhat.com>
47053 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
47054 uint16_t for elements in the "seen" array to avoid char overflows.
47055 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47056 * elf/dl-open.c (dl_open_worker): Likewise.
47058 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
47060 * scripts/list-sources.sh: Scan PORTS for translations.
47061 * po/libc.pot: Regenerated.
47063 2012-06-21 Andreas Jaeger <aj@suse.de>
47066 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47068 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47069 * bits/byteswap-16.h (__bswap_16): Likewise.
47070 * bits/byteswap.h (__bswap_constant_16): Likewise.
47072 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
47075 * sysdeps/i386/fpu_control.h: Removed.
47076 * sysdeps/x86_64/fpu_control.h: Moved to ...
47077 * sysdeps/x86/fpu_control.h: Here.
47079 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47080 (_FPU_SETCW): Likewise.
47082 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
47085 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47086 * sysdeps/x86/fpu/bits/mathinline.h: This.
47087 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47091 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47092 functions if __x86_64__ is defined.
47094 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
47096 * string/endian.h: Add !__ASSEMBLER__ condition for including
47097 conversion interfaces.
47099 2012-06-15 Joseph Myers <joseph@codesourcery.com>
47102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47103 of ABS(x) in calculating zero to negative powers other than odd
47105 * math/libm-test.inc (pow_test): Add more tests.
47107 2012-06-15 Andreas Jaeger <aj@suse.de>
47109 * manual/contrib.texi (Contributors): Update entry of Liubov
47110 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47113 2012-06-15 Cyril Hrubis <metan@ucw.cz>
47115 * string/string.h: Add __wur to GNU version of strerror_r.
47117 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
47120 * string/Makefile (tests): Add tst-strtok_r.
47121 * string/tst-strtok_r.c: New file.
47122 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47123 RAX_LP/RDX_LP on SAVE_PTR.
47125 2012-06-14 Roland McGrath <roland@hack.frob.com>
47127 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47129 2012-06-14 Joseph Myers <joseph@codesourcery.com>
47131 * libm_test.inc (csqrt_test): Allow more spurious underflow
47133 (j0_test): Likewise.
47134 (j1_test): Likewise.
47135 (y0_test): Likewise.
47136 (y1_test): Likewise.
47138 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
47140 * po/Makefile (libc.pot): Use UTF-8 charset.
47142 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
47145 Suppress sign-conversion warning from FD_SET.
47146 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47147 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47148 not unsigned long int.
47149 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47151 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
47155 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47156 __extern_always_inline instead of __extern_inline.
47157 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47158 (__signbit): Likewise.
47159 (__signbitl): Support C++ namespace.
47160 (lrintf): New inline function.
47162 (llrintf): Likewise.
47163 (llrint): Likewise.
47173 (floorf): Likewise.
47174 (nearbyint): Likewise.
47175 (nearbyintf): Likewise.
47177 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
47179 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47180 non-default versions.
47182 2012-06-11 Roland McGrath <roland@hack.frob.com>
47185 * manual/argp.texi (Argp): Reword argp_parse description slightly.
47187 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
47189 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47190 (FE_UPWARD, FE_DOWNWARD): Don't define.
47191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47192 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47194 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47196 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47197 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47199 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47201 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47203 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47206 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
47209 * sysdeps/i386/fpu/bits/fenv.h: Removed.
47210 * sysdeps/i386/fpu/Implies: New file.
47211 * sysdeps/x86_64/fpu/Implies: Likewise.
47212 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47213 * sysdeps/x86/fpu/bits/fenv.h: This.
47215 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47218 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47221 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47222 character 0xffff that matches the last element of the
47225 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47230 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47233 values higher than 25.6283.
47235 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47238 subnormal exponent extraction and add some __builtin_expect.
47239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47240 Fix for subnormal mantissa calculation.
47242 2012-06-04 Mike Frysinger <vapier@gentoo.org>
47244 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47245 cpu2 is -1 and errno is not ENOSYS.
47247 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
47250 * sysdeps/i386/i486/bits/string.h: Renamed to ...
47251 * sysdeps/x86/bits/string.h: This.
47252 * sysdeps/x86_64/bits/string.h: Removed.
47254 * sysdeps/i386/i486/bits/string.h: Define inline functions only
47255 if not compiling for x86-64, but compiling for >= i486.
47257 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47258 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47260 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47261 New macro from Linux kernel 3.4.0.
47262 (FP_XSTATE_MAGIC2): Likewise.
47263 (FP_XSTATE_MAGIC2_SIZE): Likewise.
47264 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47265 (struct _fpx_sw_bytes): New struct.
47266 (struct _xsave_hdr): Likewise.
47267 (struct _ymmh_state): Likewise.
47268 (struct _xstate): Likewise.
47270 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47271 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47273 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47275 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47277 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47278 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47279 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47280 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47281 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47282 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47284 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47287 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47288 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47289 (sysdep_headers): Include sys/platform/ppc.h.
47290 * sysdeps/powerpc/test-gettimebase.c: Test for
47291 __ppc_get_timebase() to catch future ISA opcode/insn changes.
47292 * manual/Makefile (appendices): Include platform.texi.
47293 * manual/contrib.texi (Contributors): Update @node pointers.
47294 * manual/maint.texi (Maintenance): Likewise.
47295 (Platform): New node.
47296 * manual/platform.texi: New file. Document the new features.
47298 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47299 Jakub Jelinek <jakub@redhat.com>
47302 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47303 where __builtin_expect is unavailable.
47305 2012-06-03 David S. Miller <davem@davemloft.net>
47307 * stdlib/longlong.h: Updated from GCC.
47309 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
47312 * sysdeps/powerpc/powerpc32/mcount.c: New file.
47313 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47316 (GLIBC_2.16): Likewise.
47318 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47320 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47322 2012-06-01 Joseph Myers <joseph@codesourcery.com>
47324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47325 (default-abi): New variable.
47326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47327 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47329 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47331 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47333 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47336 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47337 definition. Document in comment.
47339 2012-06-01 David S. Miller <davem@davemloft.net>
47341 * stdlib/longlong.h: Updated from GCC.
47343 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47346 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47347 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47348 sys/debugreg.h sys/io.h here.
47349 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47350 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47352 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47353 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47354 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47355 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47356 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47357 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47360 Define only if __x86_64__ is defined.
47362 2012-06-01 Joseph Myers <joseph@codesourcery.com>
47365 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47366 Use int64_t for variable i.
47367 * math/libm-test.inc (fmod_test): Add more tests.
47369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47370 z computation is not scheduled after fetestexcept.
47371 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47372 Use math_force_eval instead of asm to ensure calculation scheduled
47373 before exception test.
47374 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47375 Ensure a1 + u.d computation is not scheduled after fetestexcept.
47377 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
47379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47380 computation is not scheduled after fetestexcept.
47382 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
47385 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47386 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47388 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47390 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47391 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47393 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
47396 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47398 (__WCHAR_MIN): Support __WORDSIZE == 64.
47399 (__WCHAR_MAX): Likewise.
47401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47406 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47409 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47410 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47413 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47415 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47416 Defined to 1 if __x86_64__ isn't defined.
47417 (_STAT_VER_LINUX_OLD): New.
47418 (st_atime): Remove duplicate.
47419 (st_mtime): Likewise.
47420 (st_ctime): Likewise.
47422 2012-05-31 David S. Miller <davem@davemloft.net>
47424 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47427 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
47429 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47433 * elf/dl-reloc.c: Include <_itoa.h>.
47434 (_dl_reloc_bad_type): Remove use of INTUSE.
47435 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47436 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47437 * stdio-common/psiginfo.c (psiginfo): Likewise.
47438 * stdio-common/psignal.c (psignal): Likewise.
47439 * string/strsignal.c (strsignal): Likewise.
47440 * include/signal.h (_sys_siglist): Declare hidden proto.
47441 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
47442 INTVARDEF with libc_hidden_data_def.
47443 * stdio-common/itoa-udigits.c: Likewise.
47444 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47445 (_itoa_lower_digits_internal): Remove declaration.
47446 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47447 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47448 (_sys_sigabbrev_internal): Remove aliases.
47449 (_sys_siglist): Define hidden alias.
47451 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
47453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47456 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
47459 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47460 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47462 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47463 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47464 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47465 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47467 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47469 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47470 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47471 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47473 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47482 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47485 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47486 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47488 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47489 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47490 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47493 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47495 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47496 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47500 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47502 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47503 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47505 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47507 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47508 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47509 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47511 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47515 2012-05-31 Joseph Myers <joseph@codesourcery.com>
47517 * math/math.h (M_El): Use two more decimal places.
47518 (M_LOG2El): Likewise.
47519 (M_LOG10El): Likewise.
47520 (M_LN2l): Likewise.
47521 (M_LN10l): Likewise.
47523 (M_PI_2l): Likewise.
47524 (M_PI_4l): Likewise.
47525 (M_1_PIl): Likewise.
47526 (M_2_PIl): Likewise.
47527 (M_2_SQRTPIl): Likewise.
47528 (M_SQRT2l): Likewise.
47529 (M_SQRT1_2l): Likewise.
47531 2012-05-31 David S. Miller <davem@davemloft.net>
47533 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47534 values between float registers.
47535 * sysdeps/sparc/sparc64/memset.S: Likewise.
47536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47538 2012-05-31 Mike Frysinger <vapier@gentoo.org>
47540 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47541 -D_FORTIFY_SOURCE=1.
47542 (CPPFLAGS-tst-longjmp_chk.c): Define.
47543 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47544 (CPPFLAGS-tst-longjmp_chk2.c): Define.
47545 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47546 CFLAGS-tst-wchar-h.c.
47548 2012-05-31 Marek Polacek <polacek@redhat.com>
47551 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47552 __endmntent_internal): Remove declaration.
47553 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47554 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47555 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47557 2012-05-30 David S. Miller <davem@davemloft.net>
47559 * sysdeps/sparc/sparc32/soft-fp/q_util.c
47560 (___Q_simulate_exceptions): Use real FP ops rather than writing
47562 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47565 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47568 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47569 * sysdeps/x86/bits/xtitypes.h: This.
47571 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47572 * sysdeps/x86/bits/wordsize.h: This.
47574 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47575 * sysdeps/x86/bits/huge_vall.h: This.
47577 * sysdeps/i386/bits/select.h: Removed.
47578 * sysdeps/x86_64/bits/select.h: Renamed to ...
47579 * sysdeps/x86/bits/select.h: This.
47581 * sysdeps/i386/bits/setjmp.h: Removed.
47582 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47583 * sysdeps/x86/bits/setjmp.h: This.
47585 * sysdeps/i386/bits/mathdef.h: Removed.
47586 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47587 * sysdeps/x86/bits/mathdef.h: This.
47589 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
47592 * include/sys/socket.h (__connect_internal)
47593 (__libc_sa_len_internal): Remove declaration.
47594 (__connect, __libc_sa_len): Declare hidden_proto.
47595 (SA_LEN): Remove use of INTUSE.
47596 * socket/connect.c: Add libc_hidden_def.
47597 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47598 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47599 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47601 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47603 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47604 of adding _internal alias.
47606 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47609 * sysdeps/i386/bits/link.h: Removed.
47610 * sysdeps/i386/bits/linkmap.h: Likewise.
47611 * sysdeps/x86_64/bits/link.h: Renamed to ...
47612 * sysdeps/x86/bits/link.h: This.
47613 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47614 * sysdeps/x86/bits/linkmap.h: This.
47616 * sysdeps/i386/bits/endian.h: Removed.
47617 * sysdeps/x86_64/bits/endian.h: Renamed to ...
47618 * sysdeps/x86/bits/endian.h: This.
47620 * sysdeps/i386/bits/byteswap.h: Removed.
47621 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47622 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47623 * sysdeps/x86/bits/byteswap.h: This.
47624 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47625 * sysdeps/x86/bits/byteswap-16.h: This.
47626 * sysdeps/i386/Implies: Add x86.
47627 * sysdeps/x86_64/Implies: Likewise.
47629 2012-05-30 David S. Miller <davem@davemloft.net>
47631 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47632 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47633 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47634 (FP_TRAPPING_EXCEPTIONS): Define.
47635 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47636 (FP_TRAPPING_EXCEPTIONS): Define.
47637 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47638 subnormals only when inexact has been signalled or underflow
47639 exceptions are enabled.
47640 (_FP_PACK_CANONICAL): Likewise.
47642 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47645 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47646 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47648 2012-05-30 Richard Henderson <rth@twiddle.net>
47650 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47651 with #ifndef NOT_IN_libc.
47653 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
47654 marked to avoid plt entry.
47656 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47659 * Makeconfig (default-abi): New macro.
47660 (abi-includes): Likewise.
47661 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
47662 $(abi-$(default-abi)-lib-soname) for soname if defined.
47663 ($(common-objpfx)gnu/lib-names.stmp): Generate from
47665 * Makefile (installed-stubs): Likewise.
47666 * include/stubs-biarch.h: Removed.
47667 * scripts/lib-names.awk: Only handle one library at a time.
47668 * scripts/soversions.awk: Remove WORDSIZE support.
47669 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47671 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47673 (syscall-list-default-condition): Likewise.
47674 (syscall-list-default-condition): Likewise.
47675 (syscall-list-includes): Likewise.
47676 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47677 syscall-list-* with abi-*. Handle undefined abi-variants.
47678 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47679 * sysdeps/unix/sysv/linux/i386/Implies: New file.
47680 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47681 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47682 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47683 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47685 (syscall-list-32-options): Likewise.
47686 (syscall-list-32-condition): Likewise.
47687 (syscall-list-64-options): Likewise.
47688 (syscall-list-64-condition): Likewise.
47689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47691 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47694 (abi-64-ld-soname): New macro.
47695 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47696 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47699 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47700 * sysdeps/x86_64/x32/shlib-versions: Likewise.
47702 2012-05-30 Joseph Myers <joseph@codesourcery.com>
47704 * sysdeps/unix/sysv/linux/kernel-features.h
47705 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47706 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47707 include <kernel-features.h>.
47708 [!__NR_ftruncate64]: Remove conditional code.
47709 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47710 [__NR_ftruncate64]: Make code unconditional.
47711 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47712 * sysdeps/unix/sysv/linux/truncate64.c: Do not
47713 include <kernel-features.h>.
47714 [!__NR_ftruncate64]: Remove conditional code.
47715 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47716 [__NR_ftruncate64]: Make code unconditional.
47717 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47719 include <kernel-features.h>.
47720 [!__NR_ftruncate64]: Remove conditional code.
47721 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47722 [__NR_ftruncate64]: Make code unconditional.
47723 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47725 include <kernel-features.h>.
47726 [!__NR_ftruncate64]: Remove conditional code.
47727 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47728 [__NR_ftruncate64]: Make code unconditional.
47729 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47731 * configure.in (libc_cv_fpie): Weaken to a compile test using
47732 LIBC_TRY_CC_OPTION.
47733 * configure: Regenerated.
47735 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47750 2012-05-27 David S. Miller <davem@davemloft.net>
47752 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47754 (__Q_simulate_exceptions): Return void. Change to simulate
47755 exceptions by writing into the %fsr.
47756 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47757 (__Qp_handle_exceptions): Likewise.
47759 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47760 __Qp_handle_exceptions.
47761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47762 __Qp_handle_exceptions.
47763 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47764 as unused and give dummy FP_RND_NEAREST initializer.
47765 (FP_INHIBIT_RESULTS): Define.
47766 (___Q_simulate_exceptions): Update declaration.
47767 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47770 as unused and give dummy FP_RND_NEAREST initializer.
47771 (__Qp_handle_exceptions): Update declaration.
47772 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47775 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
47777 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47778 the temporary FPU control word.
47779 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47780 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47782 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47785 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47786 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47787 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47788 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47791 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47793 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47796 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
47798 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47799 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47800 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47801 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47803 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47804 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47807 2012-05-27 Ulrich Drepper <drepper@gmail.com>
47809 * po/h.po: Update from translation team.
47811 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
47813 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47815 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47816 handling of denormals.
47817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47818 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47819 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47820 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47826 2012-05-26 Marek Polacek <polacek@redhat.com>
47829 * math/libm-test.inc (fma_test): Don't always expect underflow
47832 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47835 * elf/tst-execstack.c: Include stackinfo.h.
47836 (do_test): Adjust test case to ensure that pthread_getattr_np
47837 behaviour remains the same after marking stack executable.
47839 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47841 * sysdeps/unix/sysv/linux/kernel-features.h
47842 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47845 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47846 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47847 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47849 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47850 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47852 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
47854 * configure.in: Define the default includes to being none.
47855 * configure: Regenerated.
47857 2012-05-25 Roland McGrath <roland@hack.frob.com>
47859 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47860 * sysdeps/x86_64/setjmp.S: Likewise.
47861 * sysdeps/i386/bsd-setjmp.S: Likewise.
47862 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47863 * sysdeps/i386/setjmp.S: Likewise.
47864 * sysdeps/i386/__longjmp.S: Likewise.
47865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47866 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47868 * include/stap-probe.h: New file.
47869 * configure.in: Handle --enable-systemtap.
47870 * configure: Regenerated.
47871 * config.h.in (USE_STAP_PROBE): New #undef.
47872 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47873 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47874 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47876 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47880 to 2.4.0 where earlier.
47881 * sysdeps/unix/sysv/linux/configure: Regenerated.
47882 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47883 <kernel-features.h>.
47884 [__ASSUME_32BITUIDS]: Make code unconditional.
47885 [!__ASSUME_32BITUIDS]: Remove conditional code.
47886 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47887 <kernel-features.h>.
47888 [__ASSUME_32BITUIDS]: Make code unconditional.
47889 [!__ASSUME_32BITUIDS]: Remove conditional code.
47890 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47891 [__ASSUME_32BITUIDS]: Make code unconditional.
47892 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47893 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47894 <kernel-features.h>.
47895 [__ASSUME_32BITUIDS]: Make code unconditional.
47896 [!__ASSUME_32BITUIDS]: Remove conditional code.
47897 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47898 <kernel-features.h>.
47899 [__ASSUME_32BITUIDS]: Make code unconditional.
47900 [!__ASSUME_32BITUIDS]: Remove conditional code.
47901 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47902 <kernel-features.h>.
47903 [__ASSUME_32BITUIDS]: Make code unconditional.
47904 [!__ASSUME_32BITUIDS]: Remove conditional code.
47905 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47906 <kernel-features.h>.
47907 [__ASSUME_32BITUIDS]: Make code unconditional.
47908 [!__ASSUME_32BITUIDS]: Remove conditional code.
47909 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47910 <kernel-features.h>.
47911 [__ASSUME_32BITUIDS]: Make code unconditional.
47912 [!__ASSUME_32BITUIDS]: Remove conditional code.
47913 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47914 <kernel-features.h>.
47915 [__ASSUME_32BITUIDS]: Make code unconditional.
47916 [!__ASSUME_32BITUIDS]: Remove conditional code.
47917 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47918 <kernel-features.h>.
47919 [__ASSUME_32BITUIDS]: Make code unconditional.
47920 [!__ASSUME_32BITUIDS]: Remove conditional code.
47921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47922 <kernel-features.h>.
47923 [__ASSUME_32BITUIDS]: Make code unconditional.
47924 [!__ASSUME_32BITUIDS]: Remove conditional code.
47925 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47926 <kernel-features.h>.
47927 [__ASSUME_32BITUIDS]: Make code unconditional.
47928 [!__ASSUME_32BITUIDS]: Remove conditional code.
47929 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47930 <kernel-features.h>.
47931 [__ASSUME_32BITUIDS]: Make code unconditional.
47932 [!__ASSUME_32BITUIDS]: Remove conditional code.
47933 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47934 <kernel-features.h>.
47935 [__NR_setresgid] (__setresgid): Do not declare.
47936 [__ASSUME_32BITUIDS]: Make code unconditional.
47937 [!__ASSUME_32BITUIDS]: Remove conditional code.
47938 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47939 <kernel-features.h>.
47940 [__NR_setresuid] (__setresuid): Do not declare.
47941 [__ASSUME_32BITUIDS]: Make code unconditional.
47942 [!__ASSUME_32BITUIDS]: Remove conditional code.
47943 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47944 <kernel-features.h>.
47945 [__ASSUME_32BITUIDS]: Make code unconditional.
47946 [!__ASSUME_32BITUIDS]: Remove conditional code.
47947 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47948 <kernel-features.h>.
47949 [__ASSUME_32BITUIDS]: Make code unconditional.
47950 [!__ASSUME_32BITUIDS]: Remove conditional code.
47951 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47952 <kernel-features.h>.
47953 [__ASSUME_32BITUIDS]: Make code unconditional.
47954 [!__ASSUME_32BITUIDS]: Remove conditional code.
47955 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47956 <kernel-features.h>.
47957 [__ASSUME_32BITUIDS]: Make code unconditional.
47958 [!__ASSUME_32BITUIDS]: Remove conditional code.
47959 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47960 <kernel-features.h>.
47961 [__ASSUME_32BITUIDS]: Make code unconditional.
47962 [!__ASSUME_32BITUIDS]: Remove conditional code.
47963 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47964 <kernel-features.h>.
47965 [__ASSUME_32BITUIDS]: Make code unconditional.
47966 [!__ASSUME_32BITUIDS]: Remove conditional code.
47967 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47968 <kernel-features.h>.
47969 [__ASSUME_32BITUIDS]: Make code unconditional.
47970 [!__ASSUME_32BITUIDS]: Remove conditional code.
47971 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47972 <kernel-features.h>.
47973 [__ASSUME_32BITUIDS]: Make code unconditional.
47974 [!__ASSUME_32BITUIDS]: Remove conditional code.
47975 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47976 <kernel-features.h>.
47977 [__ASSUME_32BITUIDS]: Make code unconditional.
47978 [!__ASSUME_32BITUIDS]: Remove conditional code.
47979 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47980 <kernel-features.h>.
47981 [__ASSUME_32BITUIDS]: Make code unconditional.
47982 [!__ASSUME_32BITUIDS]: Remove conditional code.
47983 * sysdeps/unix/sysv/linux/kernel-features.h
47984 (__ASSUME_SETRESUID_SYSCALL): Remove.
47985 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47986 (__ASSUME_32BITUIDS): Likewise.
47987 (__ASSUME_LDT_WORKS): Likewise.
47988 (__ASSUME_O_DIRECTORY): Likewise.
47989 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47990 architecture but not kernel version.
47991 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47992 (__ASSUME_MMAP2_SYSCALL): Likewise.
47993 (__ASSUME_STAT64_SYSCALL): Likewise.
47994 (__ASSUME_IPC64): Likewise.
47995 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47996 <kernel-features.h>.
47997 [__ASSUME_32BITUIDS]: Make code unconditional.
47998 [!__ASSUME_32BITUIDS]: Remove conditional code.
47999 * sysdeps/unix/sysv/linux/opendir.c: Do not include
48000 <kernel-features.h>.
48001 [__ASSUME_O_DIRECTORY]: Make code unconditional.
48002 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48003 132096]: Remove conditional code.
48004 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48006 <kernel-features.h>.
48007 [__ASSUME_32BITUIDS]: Make code unconditional.
48008 [!__ASSUME_32BITUIDS]: Remove conditional code.
48009 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48010 <kernel-features.h>.
48011 [__ASSUME_32BITUIDS]: Make code unconditional.
48012 [!__ASSUME_32BITUIDS]: Remove conditional code.
48013 * sysdeps/unix/sysv/linux/setegid.c: Do not include
48014 <kernel-features.h>.
48015 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48017 (__setresgid): Do not declare.
48018 [__ASSUME_32BITUIDS]: Make code unconditional.
48019 [!__ASSUME_32BITUIDS]: Remove conditional code.
48020 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48021 <kernel-features.h>.
48022 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48024 (__setresuid): Do not declare.
48025 [__ASSUME_32BITUIDS]: Make code unconditional.
48026 [!__ASSUME_32BITUIDS]: Remove conditional code.
48027 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48028 <kernel-features.h>.
48029 [__ASSUME_32BITUIDS]: Make code unconditional.
48030 [!__ASSUME_32BITUIDS]: Remove conditional code.
48031 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48032 <kernel-features.h>.
48033 [__ASSUME_32BITUIDS]: Make code unconditional.
48034 [!__ASSUME_32BITUIDS]: Remove conditional code.
48036 2012-05-25 Richard Henderson <rth@twiddle.net>
48038 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48039 dl_hwcap to ifunc resolver.
48040 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48042 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48043 dl_hwcap to ifunc resolver.
48044 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48046 2012-05-24 Joseph Myers <joseph@codesourcery.com>
48049 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48050 for |x| <= 2**-26, not 2**-57.
48051 * math/libm-test.inc (acos_test): Do not allow spurious underflow
48054 2012-05-24 Jeff Law <law@redhat.com>
48056 * stdio-common/Makefile (tests): Add bug25.
48057 * stdio-common/bug25.c: New test.
48059 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
48062 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48063 multiple of MALLOC_ALIGNMENT in size.
48064 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48066 2012-05-24 Joseph Myers <joseph@codesourcery.com>
48068 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48070 (FILENAME_MAX): Use macro-int-constant.
48071 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
48072 (_IOFBF): Use macro-int-constant.
48073 (_IOLBF): Likewise.
48074 (_IONBF): Likewise.
48075 (SEEK_CUR): Likewise.
48076 (SEEK_END): Likewise.
48077 (SEEK_SET): Likewise.
48078 (TMP_MAX): Likewise.
48079 (EOF): Use macro-int-constant. Require < 0.
48080 (NULL): Use macro-constant. Require == 0.
48081 (stdin): Require type to be FILE *.
48082 (stdout): Likewise.
48083 (stderr): Likewise.
48084 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48085 macro-int-constant.
48086 (EXIT_SUCCESS): Likewise.
48087 (NULL): Use macro-constant. Require == 0.
48088 (RAND_MAX): Use macro-int-constant.
48089 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48090 [C99-based standards] (strtof): Require function.
48091 [C99-based standards] (strtold): Likewise.
48092 [C99-based standards] (strtoll): Likewise.
48093 [C99-based standards] (strtoull): Likewise.
48094 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48095 [ISO || ISO99 || ISO11] (limits.h): Likewise.
48096 [ISO || ISO99 || ISO11] (math.h): Likewise.
48097 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48098 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48101 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
48104 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48105 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48106 * intl/dgettext.c (DCGETTEXT): Likewise.
48107 * intl/gettext.c (DCGETTEXT): Likewise.
48108 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48109 * posix/regex_internal.h (gettext): Likewise.
48110 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48111 Remove declaration.
48112 * include/argz.h (__argz_count_internal)
48113 (__argz_stringify_internal): Remove declaration.
48114 (__argz_count, __argz_stringify): Declare hidden proto.
48115 * intl/dcgettext.c: Remove use of INTDEF.
48116 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48117 * string/argz-stringify.c: Likewise.
48118 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48119 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48120 Declare hidden proto.
48121 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48122 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48123 Declare hidden proto.
48124 * include/stdio.h (__asprintf_internal): Don't declare.
48125 (__asprintf): Don't define as macro. Declare hidden proto.
48126 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48127 (__fsetlocking): Declare hidden proto.
48128 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48129 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48131 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48132 (_IO_setlinebuf): Remove use of INTUSE.
48133 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48134 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48135 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48136 Remove declaration.
48137 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48138 (_IO_do_flush): Remove use of INTUSE.
48139 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48140 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48141 (_IO_adjust_column, _IO_least_wmarker)
48142 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48143 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48144 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48145 (_IO_default_doallocate, _IO_wdefault_doallocate)
48146 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48147 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48148 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48149 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48150 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48151 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48152 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48153 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48154 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48155 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48156 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48157 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48158 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48160 (_IO_flush_all_internal, _IO_adjust_column_internal)
48161 (_IO_default_uflow_internal, _IO_default_finish_internal)
48162 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48163 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48164 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48165 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48166 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48167 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48168 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48169 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48170 (_IO_file_close_internal, _IO_file_close_it_internal)
48171 (_IO_file_underflow_internal, _IO_file_overflow_internal)
48172 (_IO_file_init_internal, _IO_file_attach_internal)
48173 (_IO_file_fopen_internal, _IO_file_read_internal)
48174 (_IO_file_sync_internal, _IO_file_seek_internal)
48175 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48176 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48177 (_IO_str_underflow_internal, _IO_str_overflow_internal)
48178 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48179 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48180 (_IO_list_all_internal, _IO_link_in_internal)
48181 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48182 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48183 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48184 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48185 (_IO_do_write_internal, _IO_padn_internal)
48186 (_IO_getline_info_internal, _IO_getline_internal)
48187 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48188 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48189 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48190 (_IO_vfscanf_internal, _IO_vfprintf_internal)
48191 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48192 (_IO_init_internal, _IO_un_link_internal): Don't declare.
48193 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48194 with libc_hidden_ver, remove use of INTUSE.
48195 * libio/genops.c: Likewise.
48196 * libio/freopen.c: Likewise.
48197 * libio/freopen64.c: Likewise.
48198 * libio/iofclose.c: Likewise.
48199 * libio/iofdopen.c: Likewise.
48200 * libio/iofflush.c: Likewise.
48201 * libio/iofflush_u.c: Likewise.
48202 * libio/iofgets.c: Likewise.
48203 * libio/iofgets_u.c: Likewise.
48204 * libio/iofopen.c: Likewise.
48205 * libio/iofopncook.c: Likewise.
48206 * libio/iofread.c: Likewise.
48207 * libio/iofread_u.c: Likewise.
48208 * libio/ioftell.c: Likewise.
48209 * libio/iofwrite.c: Likewise.
48210 * libio/iogetline.c: Likewise.
48211 * libio/iogets.c: Likewise.
48212 * libio/iogetwline.c: Likewise.
48213 * libio/iopadn.c: Likewise.
48214 * libio/iopopen.c: Likewise.
48215 * libio/ioseekoff.c: Likewise.
48216 * libio/ioseekpos.c: Likewise.
48217 * libio/iosetbuffer.c: Likewise.
48218 * libio/iosetvbuf.c: Likewise.
48219 * libio/ioungetc.c: Likewise.
48220 * libio/ioungetwc.c: Likewise.
48221 * libio/iovdprintf.c: Likewise.
48222 * libio/iovsprintf.c: Likewise.
48223 * libio/iovsscanf.c: Likewise.
48224 * libio/memstream.c: Likewise.
48225 * libio/obprintf.c: Likewise.
48226 * libio/oldfileops.c: Likewise.
48227 * libio/oldiofclose.c: Likewise.
48228 * libio/oldiofdopen.c: Likewise.
48229 * libio/oldiofopen.c: Likewise.
48230 * libio/oldiopopen.c: Likewise.
48231 * libio/oldstdfiles.c: Likewise.
48232 * libio/putc.c: Likewise.
48233 * libio/setbuf.c: Likewise.
48234 * libio/setlinebuf.c: Likewise.
48235 * libio/stdfiles.c: Likewise.
48236 * libio/strops.c: Likewise.
48237 * libio/vasprintf.c: Likewise.
48238 * libio/vscanf.c: Likewise.
48239 * libio/vsnprintf.c: Likewise.
48240 * libio/vswprintf.c: Likewise.
48241 * libio/wfiledoalloc.c: Likewise.
48242 * libio/wfileops.c: Likewise.
48243 * libio/wgenops.c: Likewise.
48244 * libio/wmemstream.c: Likewise.
48245 * libio/wstrops.c: Likewise.
48246 * libio/__fpurge.c: Likewise.
48247 * libio/__fsetlocking.c: Likewise.
48248 * assert/assert.c: Likewise.
48249 * debug/fgets_chk.c: Likewise.
48250 * debug/fgets_u_chk.c: Likewise.
48251 * debug/fread_chk.c: Likewise.
48252 * debug/fread_u_chk.c: Likewise.
48253 * debug/gets_chk.c: Likewise.
48254 * debug/obprintf_chk.c: Likewise.
48255 * debug/vasprintf_chk.c: Likewise.
48256 * debug/vdprintf_chk.c: Likewise.
48257 * debug/vsnprintf_chk.c: Likewise.
48258 * debug/vsprintf_chk.c: Likewise.
48259 * malloc/mtrace.c: Likewise.
48260 * misc/error.c: Likewise.
48261 * misc/syslog.c: Likewise.
48262 * stdio-common/asprintf.c: Likewise.
48263 * stdio-common/fxprintf.c: Likewise.
48264 * stdio-common/getw.c: Likewise.
48265 * stdio-common/isoc99_fscanf.c: Likewise.
48266 * stdio-common/isoc99_scanf.c: Likewise.
48267 * stdio-common/isoc99_vfscanf.c: Likewise.
48268 * stdio-common/isoc99_vscanf.c: Likewise.
48269 * stdio-common/isoc99_vsscanf.c: Likewise.
48270 * stdio-common/printf-prs.c: Likewise.
48271 * stdio-common/printf_fp.c: Likewise.
48272 * stdio-common/printf_fphex.c: Likewise.
48273 * stdio-common/printf_size.c: Likewise.
48274 * stdio-common/putw.c: Likewise.
48275 * stdio-common/scanf.c: Likewise.
48276 * stdio-common/sprintf.c: Likewise.
48277 * stdio-common/tmpfile.c: Likewise.
48278 * stdio-common/vfprintf.c: Likewise.
48279 * stdio-common/vfscanf.c: Likewise.
48280 * stdlib/strfmon_l.c: Likewise.
48281 * sunrpc/openchild.c: Likewise.
48282 * sunrpc/xdr_stdio.c: Likewise.
48283 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48284 * sysdeps/mach/hurd/tmpfile.c: Likewise.
48286 2012-05-24 Roland McGrath <roland@hack.frob.com>
48288 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48290 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48291 in the third column, to generate for the shared library an IFUNC
48292 that uses _dl_vdso_vsym.
48293 * Makerules (COMPILE.c, compile-stdin.c): New variables.
48294 * Makeconfig (object-suffixes-noshared): New variable.
48296 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48297 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48298 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48299 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48302 * include/sys/time.h (__gettimeofday): Remove macro.
48303 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48304 * time/gettimeofday.c (__gettimeofday): Remove #undef.
48306 (__gettimeofday): Add libc_hidden_def.
48307 (gettimeofday): Add libc_hidden_weak.
48308 * sysdeps/mach/gettimeofday.c: Likewise.
48309 * sysdeps/posix/gettimeofday.c: Likewise.
48310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48311 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48313 (__gettimeofday_internal): Remove strong_alias.
48314 (__gettimeofday): Add libc_hidden_def.
48315 (gettimeofday): Add libc_hidden_weak.
48316 * sysdeps/unix/syscalls.list (gettimeofday):
48317 Remove __gettimeofday_internal alias.
48319 2012-05-24 Daniel Jacobowitz <drow@false.org>
48320 H.J. Lu <hongjiu.lu@intel.com>
48323 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48324 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48325 (largebin_index_32_big): New.
48326 (largebin_index): Use it for 16-byte alignment.
48327 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
48328 correction with front_misalign.
48330 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
48332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48358 * scripts/data/c++-types-x32-linux-gnu.data: New file.
48359 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48361 2012-05-24 Joseph Myers <joseph@codesourcery.com>
48365 * math/libm-test.inc (exp_test): Add test from bug 14036.
48366 (pow_test): Add test from bug 10846.
48368 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48370 (special_function): Do not include flags in test name.
48371 (parse_args): Likewise.
48372 * sysdeps/i386/fpu/libm-test-ulps: Update.
48373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48375 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48378 * math/gen-libm-test.pl (%beautify): Add entries for underflow
48380 * math/libm-test.inc ("Philosophy"): Update comment about
48382 (UNDERFLOW_EXCEPTION): New macro.
48383 (UNDERFLOW_EXCEPTION_OK): Likewise.
48384 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48385 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48386 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48387 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48388 (INVALID_EXCEPTION_OK): Update value.
48389 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48390 (OVERFLOW_EXCEPTION_OK): Likewise.
48391 (IGNORE_ZERO_INF_SIGN): Likewise.
48392 (test_exceptions): Handle underflow exceptions.
48393 (acos_test): Update for underflow exception expectations.
48394 (cexp_test): Likewise.
48395 (clog_test): Likewise.
48396 (clog10_test): Likewise.
48397 (csqrt_test): Likewise.
48398 (ctan_test): Likewise.
48399 (ctanh_test): Likewise.
48400 (exp_test): Likewise.
48401 (exp10_test): Likewise.
48402 (exp2_test): Likewise.
48403 (expm1_test): Likewise.
48404 (fma_test): Likewise.
48405 (j0_test): Likewise.
48406 (jn_test): Likewise.
48407 (nexttoward_test): Likewise.
48408 (pow_test): Likewise.
48409 (scalbn_test): Likewise.
48410 (scalbln_test): Likewise.
48411 (tan_test): Likewise.
48412 (y1_test): Likewise.
48413 * sysdeps/i386/fpu/libm-test-ulps: Update.
48414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48416 2012-05-23 David S. Miller <davem@davemloft.net>
48418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48419 (__libc_sigaction): Remove unused local variables.
48421 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48423 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48425 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
48427 mktime: avoid signed integer overflow
48428 * time/mktime.c (__mktime_internal): Do not mishandle the case
48429 where diff == INT_MIN.
48431 mktime: simplify computation of average
48432 * time/mktime.c (ranged_convert): Use new time_t_avg function
48433 instead of rolling our own (probably-slower) code.
48435 mktime: do not assume signed right shift propagates sign bit
48436 * time/mktime.c (isdst_differ): New static function.
48437 (__mktime_internal): No need to normalize tm_isdst now.
48438 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48441 mktime: merge another wrapv change from gnulib
48442 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48443 from some compilers.
48445 mktime: remove incorrect attempt at unusual arithmetics
48446 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48447 The code didn't really work on such machines anyway.
48448 (TYPE_MINIMUM): Assume two's complement.
48449 (twos_complement_arithmetic): Verify that long_int and time_t
48450 are two's complement (or unsigned, in the latter case).
48452 mktime: check signed shifts on long_int and time_t, too
48453 * time/mktime.c (SHR): Check that shifts work as desired
48454 on the types long_int and time_t too, as SHR is used on
48457 mktime: do not assume 'long' is wide enough
48458 * time/mktime.c (verify): Move decl up.
48459 (long_int): New type.
48460 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48461 to remove assumption in the code that 'long' is wide enough to
48462 store year values. This assumption is not true on x32 and on
48463 some non-glibc platforms.
48465 mktime: merge wrapv change from gnulib
48466 * time/mktime.c (WRAPV): New macro.
48467 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48468 (guess_time_tm, __mktime_internal): Do not assume that signed
48469 integer overflow wraps around; modern compilers generate code
48470 where this assumption is no longer valid.
48472 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48474 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48475 Replace "jmp L(pseudo_end)" with "ret".
48476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48479 2012-05-23 Andreas Jaeger <aj@suse.de>
48481 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48482 * sysdeps/unix/sysv/linux/poll.c: Remove file.
48484 2012-05-23 Andreas Jaeger <aj@suse.de>
48485 Maximilian Attems <max@stro.at>
48487 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48490 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
48492 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48493 code so that pseudo_end is just ret and the stack pointer is
48494 correct also for static library in error case.
48496 2012-05-23 Joseph Myers <joseph@codesourcery.com>
48498 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48499 move to syscalls.list.
48500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48505 * manual/install.texi (Running make install): Do not mention Linux
48506 kernel version for which pt_chown is not needed.
48507 (Linux): Do not mention problems with nscd with 2.0 kernels.
48508 * INSTALL: Regenerated.
48510 2012-05-23 Andreas Jaeger <aj@suse.de>
48512 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48513 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48515 * sysdeps/unix/sysv/linux/s390/bits/mman.h
48516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48517 * sysdeps/unix/sysv/linux/sh/bits/mman.h
48518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48519 * sysdeps/unix/sysv/linux/i386/bits/mman.h
48520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48525 * sysdeps/unix/sysv/linux/bits/in.h
48526 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48528 2012-05-22 Roland McGrath <roland@hack.frob.com>
48530 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48531 (PREPARE_VERSION): Just use assert instead, it will be elided
48532 under [NDEBUG] anyway.
48534 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48536 * sysdeps/unix/sysv/linux/Makefile: Include
48537 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48538 (sysdep_routines): Remove sysctl.
48539 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48540 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48541 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48542 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48543 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48545 2012-05-22 Andreas Jaeger <aj@suse.de>
48547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48548 that pseudo_end is just ret and the stack pointer is correct also
48549 for static library in error case.
48551 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
48554 * nss/nsswitch.c (defconfig_entries): New variable.
48555 (__nss_database_lookup): Don't leak defconfig entries.
48556 (nss_parse_service_list): Don't leak on error paths.
48557 (free_database_entries): New function.
48558 (free_defconfig): New function.
48559 (free_mem): Move common code to free_database_entries.
48561 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48565 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48567 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48568 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48571 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48572 (INTERNAL_SYSCALL_TYPES): Likewise.
48573 (LOAD_ARGS_TYPES_[1-6]): Likewise.
48574 (LOAD_REGS_TYPES_[1-6]): Likewise.
48575 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48576 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48578 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48580 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48581 copysignl for GLIBC_2_0.
48582 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48583 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48585 logbl for GLIBC_2_0.
48586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48587 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48589 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48592 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48594 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48597 * time/mktime.c: Update copyright years.
48599 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
48601 mktime: merge comment-quoting-style change from gnulib
48602 * time/mktime.c: Quote 'like this' in comments.
48603 The GNU coding standards suggest that we no longer quote `like this',
48604 as "`" and "'" are typically rendered asymmetrically nowadays.
48605 The typical gnulib style is to quote 'like this' when quoting
48606 code, and "like this" when quoting English.
48608 * time/mktime.c (compile-command): Add "-I.".
48610 mktime: merge mktime-internal.h change from gnulib
48611 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48613 mktime: merge time_r change from gnulib
48614 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48616 mktime: merge DEBUG change from gnulib
48617 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48618 case system <time.h> has a #define.
48620 mktime: merge <sys/types.h> change from gnulib
48621 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48622 since <time.t> is now guaranteed to define time_t.
48624 mktime: merge HAVE_CONFIG_H change from gnulib
48625 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48627 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48632 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48634 (struct rusage): Use anonymous union to pad each field to
48637 2012-05-21 David S. Miller <davem@davemloft.net>
48639 * Makefules (o-iterator): Remove .s cases.
48640 (compile-command.s): Delete.
48641 (COMPILE.s): Delete.
48642 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48644 2012-05-21 Joseph Myers <joseph@codesourcery.com>
48646 * configure.in (libc_cv_predef_stack_protector): Only consider
48647 "foobar" and "__stack_chk_fail" lines in libc_undefs.
48648 * configure: Regenerated.
48650 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48653 New macro. Use R*LP on int and pointer.
48654 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48655 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48656 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48657 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48659 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48660 [__WORDSIZE_TIME64_COMPAT32] instead of
48661 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48662 (struct utmp): Likewise.
48663 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48664 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48666 (__WORDSIZE_TIME64_COMPAT32): This.
48667 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48668 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48669 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48670 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48672 (__WORDSIZE_TIME64_COMPAT32): New macro.
48674 2012-05-21 Andreas Jaeger <aj@suse.de>
48676 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48677 only if [SHARED]. Add prototype for __wcschr_ia32.
48679 2012-05-21 Roland McGrath <roland@hack.frob.com>
48681 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48682 of %rbp unmolested in the jmp_buf while mangling the low bits.
48683 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48684 unmolested high bits of %rbp while demangling the low bits.
48685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48687 2012-05-21 Andreas Jaeger <aj@suse.de>
48689 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48690 * sunrpc/svc_simple.c: Use it for registerrpc.
48691 * sunrpc/xcrypt.c: Use it for passwd2des.
48693 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48695 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48697 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48698 Don't define if [__SYSCALL_WORDSIZE != 32].
48699 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48702 2012-05-21 Bruno Haible <bruno@clisp.org>
48703 Andreas Jaeger <aj@suse.de>
48705 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48706 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48707 inptr and inend for must_buffer_ch.
48708 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48709 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48710 * stdio-common/Makefile (tests): Remove bug15.
48711 (bug15-ENV): Remove macro.
48712 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48715 2012-05-19 Andreas Jaeger <aj@suse.de>
48716 Roland McGrath <roland@hack.frob.com>
48718 * manual/contrib.texi: Completely rewritten. It contains now an
48719 alphabetical list of contributors and their contributions.
48721 2012-05-21 Richard Henderson <rth@twiddle.net>
48723 * misc/getauxval.c (__getauxval): Use unsigned long int.
48724 * misc/sys/auxv.h: Include <sys/cdefs.h>.
48725 (getauxval): Use unsigned long int.
48727 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48729 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48731 2012-05-21 Roland McGrath <roland@hack.frob.com>
48733 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48734 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48735 __alignof__ (long double).
48737 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48741 2012-05-20 Richard Henderson <rth@twiddle.net>
48743 * misc/getauxval.c: New file.
48744 * misc/sys/auxv.h: New file.
48745 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48746 (routines): Add getauxval.
48747 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48748 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48749 * elf/dl-sysdep.c (_dl_auxv): Remove.
48750 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48751 * elf/dl-support.c (_dl_auxv): New variable.
48752 (_dl_aux_init): Initialize it.
48753 * manual/startup.texi (Auxiliary Vector): New node.
48754 * sysdeps/generic/bits/hwcap.h: New file.
48755 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48756 * sysdeps/powerpc/sysdep.h: ... here. Include it.
48757 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48758 * sysdeps/sparc/sysdep.h: ... here. Include it.
48759 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48772 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48776 2012-05-19 David S. Miller <davem@davemloft.net>
48778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48780 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48783 * math/s_ccosh.c: Include <float.h>
48784 (__ccosh): Avoid internal overflow calculating sinh and cosh
48785 values before multiplying by sin and cos values.
48786 * math/s_ccoshf.c: Likewise.
48787 * math/s_ccoshl.c: Likewise.
48788 * math/s_csin.c: Likewise.
48789 * math/s_csinf.c: Likewise.
48790 * math/s_csinl.c: Likewise.
48791 * math/s_csinh.c: Likewise.
48792 * math/s_csinhf.c: Likewise.
48793 * math/s_csinhl.c: Likewise.
48794 * math/libm-test.inc (ccos_test): Add more tests.
48795 (ccosh_test): Likewise.
48796 (csin_test): Likewise.
48797 (csinh_test): Likewise.
48798 * sysdeps/i386/fpu/libm-test-ulps: Update.
48799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48801 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
48803 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48804 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48806 * sysdeps/x86_64/x32/_itoa.h: Add comment.
48808 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48810 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48811 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48812 * sysdeps/powerpc/soft-fp/Versions: Likewise.
48813 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48814 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48815 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48816 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48817 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48818 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48819 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48820 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48821 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48822 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48823 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48824 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48825 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48826 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48827 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48828 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48829 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48830 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48831 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48832 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48833 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48834 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48835 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48836 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48837 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48838 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48839 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48840 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48842 2012-05-18 Andreas Jaeger <aj@suse.de>
48844 * csu/.gitignore: Delete.
48846 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48848 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48849 (timex): Use __syscall_slong_t.
48851 2012-05-18 Andreas Jaeger <aj@suse.de>
48852 Carlos O'Donell <carlos_odonell@mentor.com>
48854 * manual/install.texi (Configuring and compiling): Update
48855 description about files modified in the source directory.
48856 * INSTALL: Regenerated.
48858 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48860 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48861 value. Use "or" to set return value to -1.
48862 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48863 negate return value.
48865 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48867 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48868 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48869 failure if the compiler has Graphite support disabled.
48870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48872 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48873 (CFLAGS-memmove.c): Likewise.
48874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48877 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48879 * sysdeps/x86_64/x32/_itoa.h: New file.
48881 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48882 getdents system call only if kernel and user dirents have the
48883 same d_ino and d_off.
48885 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48886 LLONG_MAX != LONG_MAX.
48887 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48888 (_fitoa_word): Likewise.
48890 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48892 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48893 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48894 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48896 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48897 include <bits/wordsize.h>. Check __x86_64__ instead of
48899 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48900 if __x86_64__ is defined. Use anonymous union on fpstate.
48902 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48905 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
48907 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48908 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48909 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48910 Refer to _rtld_local_ro instead of _rtld_global_ro.
48911 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48913 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48915 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48917 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48918 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48919 of _rtld_global, and rtld_progname instead of _dl_argv[0].
48921 * sysdeps/powerpc/powerpc32/dl-machine.c
48922 (__elf_machine_runtime_setup) [PROF]: Don't reference
48925 2012-05-18 Andreas Jaeger <aj@suse.de>
48927 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48928 function only available for GCCs before 3.4 since GCC 3.4
48929 introduced a builtin.
48931 (llrintf): Likewise.
48932 (llrint): Likewise.
48939 (nearbyint): Likewise.
48940 (nearbyintf): Likewise.
48944 (floorf): Likewise.
48946 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48948 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48949 on both fields and cast pointer to __syscall_ulong_t.
48951 * bits/types.h (__fsword_t): New type.
48952 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48953 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48955 (__FSWORD_T_TYPE): Likewise.
48956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48957 (__FSWORD_T_TYPE): Likewise.
48958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48959 (__FSWORD_T_TYPE): Likewise.
48960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48961 (__FSWORD_T_TYPE): Likewise.
48962 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48963 __SWORD_TYPE with __fsword_t.
48964 (statfs64): Likewise.
48966 2012-05-17 David S. Miller <davem@davemloft.net>
48968 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48970 2012-05-17 Andreas Jaeger <aj@suse.de>
48972 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48975 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48977 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48979 2012-05-17 Andreas Jaeger <aj@suse.de>
48981 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48984 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48986 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48988 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48990 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48991 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48993 2012-05-17 Andreas Jaeger <aj@suse.de>
48994 Carlos O'Donell <carlos_odonell@mentor.com>
48997 * sysdeps/x86_64/multiarch/init-arch.h
48998 (bit_YMM_Usable): Rename to...
48999 (bit_AVX_Usable): ... this.
49000 (bit_FMA4_Usable): New macro.
49001 (bit_XMM_state): New macro.
49002 (bit_YMM_state): New macro.
49003 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49004 [__ASSEMBLER__] (index_AVX_Usable): ... this.
49005 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49006 (CPUID_OSXSAVE): New macro.
49007 (CPUID_AVX): New macro.
49008 (CPUID_FMA4): New macro.
49009 (index_YMM_Usable): Rename to...
49010 (index_AVX_Usable): ... this.
49011 (HAS_AVX): Use HAS_ARCH_FEATURE.
49012 (HAS_FMA4): Likewise.
49013 (HAS_YMM_USABLE): Remove.
49014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49015 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49017 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49018 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49019 * sysdeps/x86_64/multiarch/Makefile: Likewise.
49020 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49021 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49023 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
49025 * math/libm-test.c: Support platforms without multiple rounding modes.
49026 * math/bug-nextafter.c: Support platforms without FP exceptions.
49027 * math/bug-nexttoward.c: Likewise.
49028 * math/test-fenv.c: Likewise.
49029 * math/test-misc.c: Likewise.
49030 * stdlib/bug-getcontext.c: Likewise.
49032 2012-05-17 Andreas Jaeger <aj@suse.de>
49034 * manual/examples/search.c (critter_cmp): Change signature to
49036 * manual/string.texi (Collation Functions): Likewise.
49038 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49040 * bits/types.h: Fold copyright years.
49041 * bits/typesizes.h: Likewise.
49042 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49046 * time/time.h: Likewise.
49048 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
49051 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49052 in instead of returning them. Return void.
49053 (__libc_mallinfo): Accumulate over all arenas.
49054 (__malloc_stats): Adjust for change in int_mallinfo interface.
49056 2012-05-16 Roland McGrath <roland@hack.frob.com>
49059 * configure.in (NM): Add AC_CHECK_TOOL for it.
49060 (libc_extra_cflags): New substituted variable.
49061 Check for -fstack-protector being used implicitly.
49062 * configure: Regenerated.
49063 * config.make.in (config-extra-cflags): New variable,
49064 gets @libc_extra_cflags@.
49065 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49068 * configure.in: Check for _FORTIFY_SOURCE being predefined.
49069 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49070 * configure: Regenerated.
49071 * config.make.in (CPPUNDEFS): New substituted variable.
49072 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49073 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49074 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49078 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49079 (mq_attr): Use __syscall_slong_t.
49081 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49083 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49084 Check __x86_64__ instead of __WORDSIZE.
49085 (_STAT_VER_LINUX): Likewise.
49086 (stat): Check __x86_64__ instead of __WORDSIZE. Use
49087 __syscall_ulong_t and __syscall_slong_t.
49088 (stat64): Likewise.
49090 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49096 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49098 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49100 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49103 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49104 include <bits/wordsize.h>. Check __x86_64__ instead of
49106 (greg_t): Use "__extension__ long long int" if __x86_64__ is
49108 (mcontext_t): Replace "unsigned long" with "unsigned long long".
49110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49111 include <bits/wordsize.h>. Check __x86_64__ instead of
49113 (user_regs_struct): Use "__extension__ unsigned long long"
49114 instead of "unsigned long" if __x86_64__ is defined.
49115 (user): Likewise. Pad after pointer field if __ILP32__ is
49118 2012-05-16 Joseph Myers <joseph@codesourcery.com>
49120 * configure.in (makeinfo): Require version 4.5 or later. Allow
49122 * configure: Regenerated.
49123 * manual/install.texi (texinfo): Increase version requirement to
49125 * INSTALL: Regenerated.
49127 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49131 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49133 * sysdeps/x86_64/x32/ffs.c: New file.
49135 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49137 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49138 defined. Use __syscall_ulong_t.
49139 (shminfo): Use __syscall_ulong_t.
49140 (shm_info): Likewise.
49142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49147 (msgqnum_t): Use __syscall_ulong_t.
49148 (msglen_t): Likewise.
49149 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
49152 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49153 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49155 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49157 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49158 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49160 * sysvipc/sys/msg.h (msgbuf): Replace long int with
49163 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49164 include <bits/wordsize.h>. Check __x86_64__ instead of
49167 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49168 "unsigned long long int" if __x86_64__ is defined.
49169 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49171 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49173 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49175 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49177 (GET_PC): Cast to uintptr_t first.
49178 (GET_FRAME): Likewise.
49179 (GET_STACK): Likewise.
49181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49184 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49186 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49187 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49188 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49189 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49191 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49193 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49195 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49197 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49209 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49211 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
49213 * Makerules (+depfiles): Also collect depfiles from .oS in
49215 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49216 .oS, $(libnldbl-routines)).
49218 * Makerules (native-compile-mkdep-flags): Define.
49219 * sunrpc/Makefile (extra-objs): Add $(addprefix
49220 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49221 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49222 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
49223 calling $(make-target-directory).
49225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49227 * bits/types.h (__snseconds_t): Removed.
49228 * time/time.h (struct timespec): Replace __snseconds_t with
49230 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49231 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49234 (__SNSECONDS_T_TYPE): Likewise.
49235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49236 (__SNSECONDS_T_TYPE): Likewise.
49237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49238 (__SNSECONDS_T_TYPE): Likewise.
49240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49242 * sysdeps/mach/hurd/bits/typesizes.h
49243 (__SYSCALL_SLONG_TYPE): New macro.
49244 (__SYSCALL_ULONG_TYPE): Likewise.
49246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49248 * bits/types.h (__syscall_slong_t): New type.
49249 (__syscall_ulong_t): Likewise.
49251 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49252 (__SYSCALL_ULONG_TYPE): Likewise.
49253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49254 (__SYSCALL_SLONG_TYPE): Likewise.
49255 (__SYSCALL_ULONG_TYPE): Likewise.
49256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49257 (__SYSCALL_SLONG_TYPE): Likewise.
49258 (__SYSCALL_ULONG_TYPE): Likewise.
49259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49260 (__SYSCALL_SLONG_TYPE): Likewise.
49261 (__SYSCALL_ULONG_TYPE): Likewise.
49263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49265 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49266 Add sigaltstack-offsets.sym.
49267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49268 <sigaltstack-offsets.h>.
49269 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
49270 longjmp_msg pointer.
49271 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
49272 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49274 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49276 2012-05-15 Joseph Myers <joseph@codesourcery.com>
49278 * elf/stackguard-macros.h: Remove file.
49279 * sysdeps/generic/stackguard-macros.h: New file.
49280 * sysdeps/i386/stackguard-macros.h: Likewise.
49281 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49282 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49283 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49284 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49285 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49286 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49287 * sysdeps/x86_64/stackguard-macros.h: Likewise.
49288 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49289 <elf/stackguard-macros.h>.
49292 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49293 __aligned__ in attribute.
49294 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49295 (gregset_t): Likewise.
49297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49299 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49300 * sysdeps/x86_64/64/Implies-after: Here. New file.
49301 * sysdeps/x86_64/x32/Implies-after: New file.
49303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49305 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49306 and access return value for _dl_profile_fixup. Use R10_LP to
49309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49311 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49315 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49316 * sysdeps/x86_64/x32/sysdep.h: New file.
49318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49320 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49321 * sysdeps/x86_64/setjmp.S: Likewise.
49323 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49326 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49327 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49328 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49329 remove unused global constant.
49331 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
49333 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49334 include of <not-cancel.h>.
49336 2012-05-15 Roland McGrath <roland@hack.frob.com>
49338 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49340 2012-05-15 Jeff Law <law@redhat.com>
49341 Andreas Jaeger <aj@suse.de>
49344 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49346 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49347 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49348 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49349 code changing __hst_map_handle.map.
49351 2012-05-15 Roland McGrath <roland@hack.frob.com>
49353 * configure.in (sysnames): Look for Implies-before and Implies-after
49355 * configure: Regenerated.
49357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49360 8-byte data alignment with LP_SIZE alignment.
49362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49369 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49374 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49377 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49381 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49382 (stackinfo_sub_sp): Likewise.
49384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49386 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49401 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49405 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49406 into R11_LP and load __x86_64_shared_cache_size_half into
49409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49411 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49414 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49423 powerpc32/power7/fpu/s_logb.c via #include.
49424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49425 powerpc32/power7/fpu/s_logbf.c via #include.
49426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49427 powerpc32/power7/fpu/s_logbl.c via #include.
49429 2012-05-15 Joseph Myers <joseph@codesourcery.com>
49431 * README.libm: Remove file.
49433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49435 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49436 count for x32. Use R*_LP and omit operand-size suffix.
49438 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49440 * shlib-versions: Move x86_64-.*-linux.* entries to ...
49441 * sysdeps/x86_64/64/shlib-versions: Here. New file.
49442 * sysdeps/x86_64/x32/shlib-versions: New file.
49444 2012-05-14 Roland McGrath <roland@hack.frob.com>
49446 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49447 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49448 Use _dl_fatal_printf instead.
49450 2012-05-14 Joseph Myers <joseph@codesourcery.com>
49452 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49453 set if not set by the user. Do not allow for being unset.
49454 * sysdeps/unix/sysv/linux/configure: Regenerated.
49456 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49458 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49459 the `q' suffix from lea and replace .quad with ASM_ADDR.
49461 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49464 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
49466 (PTR_DEMANGLE): Likewise.
49468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49470 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49472 (ASM_ADDR): Likewise.
49473 (RAX_LP): Likewise.
49474 (RBP_LP): Likewise.
49475 (RBX_LP): Likewise.
49476 (RCX_LP): Likewise.
49477 (RDI_LP): Likewise.
49478 (RSI_LP): Likewise.
49479 (RSP_LP): Likewise.
49482 (R10_LP): Likewise.
49483 (R10_LP): Likewise.
49484 (R11_LP): Likewise.
49485 (R12_LP): Likewise.
49486 (R13_LP): Likewise.
49487 (R14_LP): Likewise.
49488 (R15_LP): Likewise.
49490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49492 * sysdeps/x86_64/x32/dl-machine.h: New file.
49494 2012-05-14 Andreas Jaeger <aj@suse.de>
49496 * manual/Makefile (subdir): Remove export of subdir.
49497 (all): Remove target.
49498 (.PHONY): Remove all from list.
49499 (mkinstalldirs): Remove.
49500 (.PHONY): Remove installdirs from list.
49501 ($(inst_infodir)/libc.info): Use make-target-directory.
49502 (installdirs): Remove.
49503 (subdir_%): Remove.
49504 (glibc-targets): Remove.
49507 ($(objpfx)stubs ../po/manual.pot): Remove.
49508 ($(objpfx)stamp%): Remove.
49509 (make-target-directory): Remove.
49510 (subdir_install): Remove.
49511 (routines): Remove.
49518 * manual/.gitignore: Remove, it's not needed anymore.
49519 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49521 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49523 (texis): Renamed to $(objpfx)texis.
49524 (texis-path): New, contains path to generated files.
49525 (chapters.%): Use texis-path for complete path, add extra argument
49527 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49528 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49529 (summary,texi, stamp-summary): Use complete path of
49530 files. Generate files in build dir.
49531 (dir-add.texi): Build in build dir.
49532 (libm-err.texi,stamp-libm-err): Likewise.
49533 (version.texi, stamp-version): Likewise.
49534 (.%c.texi): Likewise.
49535 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49536 (mostlyclean): Remove target.
49537 (realclean): Remove target.
49538 (generated): Add new variable with contents from mostlyclean and
49539 realclean, remove entries duplicated in common-mostlyclean, add
49540 stamp-libm-err and stamp-version.
49541 (generated-dirs): Add libc directory.
49542 ($(inst_infodir)/libc.info): Install files from build dir.
49544 * manual/install.texi (Configuring and compiling): Adjust since
49545 the info files are not part of the tar ball anymore.
49547 2012-05-14 Andreas Jaeger <aj@suse.de>
49549 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49552 2012-05-14 Joseph Myers <joseph@codesourcery.com>
49555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49556 to 2.2.0 where earlier.
49557 * sysdeps/unix/sysv/linux/configure: Regenerated.
49558 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49559 Remove conditional code.
49560 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49561 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49562 Remove conditional code.
49563 [!__NR_lchown]: Likewise.
49564 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49565 [__NR_lchown]: Likewise.
49566 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49567 comment referencing __ASSUME_LCHOWN_SYSCALL.
49568 * sysdeps/unix/sysv/linux/i386/sigaction.c
49569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49571 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49572 Remove conditional code.
49573 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49574 (__protocol_available): Remove #if 0 code.
49575 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49577 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49578 * sysdeps/unix/sysv/linux/kernel-features.h
49579 (__ASSUME_GETCWD_SYSCALL): Don't define.
49580 (__ASSUME_REALTIME_SIGNALS): Likewise.
49581 (__ASSUME_PREAD_SYSCALL): Likewise.
49582 (__ASSUME_PWRITE_SYSCALL): Likewise.
49583 (__ASSUME_POLL_SYSCALL): Likewise.
49584 (__ASSUME_LCHOWN_SYSCALL): Likewise.
49585 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49587 (__ASSUME_SIOCGIFNAME): Don't define.
49588 (__ASSUME_MSG_NOSIGNAL): Likewise.
49589 (__ASSUME_SENDFILE): Define unconditionally.
49590 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49591 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49593 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49594 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49595 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49596 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49597 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49598 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49599 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49601 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49604 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49610 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49613 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49616 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49624 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49625 Remove conditional code.
49626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49627 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49628 Remove conditional code.
49629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49630 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49631 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49632 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49633 Remove conditional code.
49634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49635 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49636 Remove conditional code.
49637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49638 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49639 Remove conditional code.
49640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49641 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49642 Remove conditional code.
49643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49644 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49645 Remove conditional code.
49646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49647 * sysdeps/unix/sysv/linux/sh/pwrite64.c
49648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49650 * sysdeps/unix/sysv/linux/sigaction.c
49651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49653 * sysdeps/unix/sysv/linux/sigpending.c
49654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49656 * sysdeps/unix/sysv/linux/sigprocmask.c
49657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49659 * sysdeps/unix/sysv/linux/sigsuspend.c
49660 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49661 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49663 (__libc_missing_rt_sigs): Remove.
49664 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49665 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49666 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49667 Remove conditional code.
49668 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49669 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49672 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49674 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49676 2012-05-14 Andreas Jaeger <aj@suse.de>
49678 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49679 it's not used in glibc.
49680 (__coshm1): Likewise.
49681 (__acosh1p): Likewise.
49684 * manual/string.texi (Copying and Concatenation): Add missing
49685 variable in concat example.
49686 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49688 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49692 __builtin_clzl with __builtin_clzll.
49694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49697 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49700 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49702 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49703 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49704 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49705 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49707 2012-05-14 Mike Frysinger <vapier@gentoo.org>
49709 * NEWS: Update ia64 info.
49711 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
49713 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49716 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
49718 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49719 * sysdeps/unix/syscalls.list (dup3): Likewise.
49720 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49721 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49723 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49725 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49726 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49728 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49730 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49732 (TLS_IE): Use mov/add instead of movq/addq to load thread
49734 (TLS_GD_PREFIX): New.
49737 2012-05-11 David S. Miller <davem@davemloft.net>
49739 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49740 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49741 (_FPU_SETCW): Likewise.
49743 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49745 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49746 is 32-byte aligned.
49748 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
49751 * iconvdata/gb18030.c: Update tables.
49752 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
49753 characters specially.
49754 (BODY for TO_LOOP): Add encoding of missing ranges.
49756 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
49759 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49760 * sysdeps/mach/hurd/dup3.c: Likewise.
49761 * sysdeps/mach/hurd/readlinkat.c: Likewise.
49762 * sysdeps/powerpc/memmove.c:: Likewise.
49764 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49766 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49767 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49769 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49771 * elf/elf.h (R_X86_64_RELATIVE64): New.
49772 (R_X86_64_NUM): Updated.
49773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49774 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
49775 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49776 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49777 tst-quad1pie tst-quad2pie
49778 (modules-names): Add tst-quadmod1 tst-quadmod2.
49779 ($(objpfx)tst-quad1): New dependency.
49780 ($(objpfx)tst-quad2): Likewise.
49781 ($(objpfx)tst-quad1pie): Likewise.
49782 ($(objpfx)tst-quad2pie): Likewise.
49783 * sysdeps/x86_64/tst-quad1.c: New file.
49784 * sysdeps/x86_64/tst-quad1pie.c: New file.
49785 * sysdeps/x86_64/tst-quad2.c: Likewise.
49786 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49787 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49788 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49789 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49790 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49794 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49795 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49796 * streams/stropts.h (t_scalar_t): Define type.
49798 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49799 (_PATH_PRESERVE): Set to "/var/lib".
49800 (_PATH_RWHODIR): Set to "/var/spool/rwho".
49802 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49805 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49806 if __dir_mkfile succeeded.
49808 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49809 checking for _hurd_dtablesize. Unlock it right after having
49810 finished _hurd_dtable allocation.
49812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49814 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49815 * sysdeps/mach/hurd/configure: Regenerated.
49816 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49817 special-casing to...
49818 * sysdeps/gnu/configure.in: ... this new file.
49819 * sysdeps/unix/sysv/linux/configure: Regenerated.
49820 * sysdeps/gnu/configure: New generated file.
49822 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49823 for Linux: use nsec instead of usec, as well as:
49824 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49825 members of type struct timespec.
49826 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49828 (struct stat64): Likewise.
49829 (_STATBUF_ST_NSEC): New macro.
49830 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49832 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49833 __strtoul_internal rather than strtoul.
49835 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49837 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49842 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49843 which preserves existing values.
49844 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49846 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49848 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49849 TIMEOUT values. Return EINVAL for NFDS values either negative or
49850 greater than FD_SETSIZE.
49852 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49854 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49855 allocated, call __vm_protect to finish enabling the existing space, and
49856 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49857 allocate the remainder.
49859 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49861 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49862 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
49864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49866 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49867 sysdeps/mach/hurd/readlink.c.
49869 * posix/tst-sysconf.c (posix_options): Only use
49870 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49871 _POSIX_SYNCHRONIZED_IO when they are defined
49872 * sysdeps/mach/hurd/bits/posix_opt.h:
49873 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49874 (_XOPEN_REALTIME): Undefine macro.
49875 (_XOPEN_REALTIME_THREADS): Undefine macro.
49876 (_XOPEN_SHM): Undefine macro.
49877 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49879 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49881 (_POSIX_ASYNC_IO): Undefine macro.
49882 (_POSIX_PRIORITIZED_IO): Undefine macro.
49883 (_POSIX_SPIN_LOCKS): Define macro to -1.
49885 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49886 SA_NODEFER, SA_RESETHAND.
49887 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49888 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49893 * elf/Makefile (pldd-modules): Define unconditionally.
49895 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49897 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49901 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49902 Return ENOENT when name is empty.
49903 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49905 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49907 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49909 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49911 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49913 Fix mlock in all cases except non-readable pages.
49914 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49915 instead of VM_PROT_ALL as parameter to __vm_wire function.
49917 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49918 (__mkdir): When path is `/', just fail with EEXIST.
49919 * sysdeps/mach/hurd/mkdirat.c: Likewise.
49921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49923 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49924 <sys/uio.h> (for writev).
49925 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49926 and <sys/param.h> (for MIN).
49928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49930 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49931 REQUESTED_TIME. Properly set the remaining time and return EINTR
49934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49936 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49937 Depend on against $(link-rpcuserlibs).
49939 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49941 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49942 (__libc_stack_end): Do not use attribute_relro.
49943 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49944 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49945 to libthread-provided value.
49946 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49949 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49952 * bits/libc-lock.h (__libc_once_get): New macro.
49953 * sysdeps/mach/bits/libc-lock.h: Likewise.
49954 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49955 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49956 instead of using implementation details.
49958 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49959 * libio/freopen.c: Likewise.
49960 * libio/freopen64.c: Likewise.
49961 * misc/syslog.c: Likewise.
49962 * nscd/connections.c: Likewise.
49963 * nscd/netgroupcache.c: Likewise.
49964 * sysdeps/posix/getcwd.c: Likewise.
49966 2012-05-10 Roland McGrath <roland@hack.frob.com>
49968 * math/w_ilogbf.c: Add #include <limits.h>.
49970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49972 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49973 path instead of returning without unlocking.
49975 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49976 immediate-write ioctls.
49977 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49981 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49982 __builtin_frame_address instead of making assumptions about the
49983 location of the return address relative to DATA. Force early load of
49984 the return address.
49985 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49986 __builtin_frame_address.
49989 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49990 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49991 implement dup3 and do some further code clean-ups.
49992 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49993 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49997 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49999 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50000 HURD_CRITICAL_END around holding _hurd_dtable_lock.
50001 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50002 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50003 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50006 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50007 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
50008 when handler == SIG_ERR, not when handler != SIG_ERR.
50010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50012 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50013 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50016 accept4 for GNU Hurd.
50017 * include/sys/socket.h (__libc_accept4): New prototype.
50018 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
50019 to implement __libc_accept4.
50020 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50022 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50024 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50025 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50026 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50027 signal-defines.sym.
50029 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50031 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50033 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50035 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50036 assertion on O_CLOEXEC flag.
50037 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50038 * hurd/intern-fd.c: Likewise.
50039 * hurd/port2fd.c: Likewise.
50041 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50044 * bits/in.h (IPV6_PKTINFO): Define new macro.
50045 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50047 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50054 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50055 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50057 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50058 * math/libm-test.inc (logb_test) : Additional logb tests.
50060 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
50061 Andreas Jaeger <aj@suse.de>
50063 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50064 * configure: Regenerated.
50065 * config.h.in (LINK_OBSOLETE_RPC): New macro.
50066 * config.make.in (link-obsolete-rpc): New substituted variable.
50067 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50068 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50069 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50070 (shared-only-routines): Don't set it under [link-obsolete-rpc],
50071 so that libc.a contains the symbols.
50072 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50073 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50074 * sunrpc/auth_none.c: Likewise.
50075 * sunrpc/auth_unix.c: Likewise.
50076 * sunrpc/authdes_prot.c: Likewise.
50077 * sunrpc/authuxprot.c: Likewise.
50078 * sunrpc/clnt_gen.c: Likewise.
50079 * sunrpc/clnt_perr.c: Likewise.
50080 * sunrpc/clnt_raw.c: Likewise.
50081 * sunrpc/clnt_simp.c: Likewise.
50082 * sunrpc/clnt_tcp.c: Likewise.
50083 * sunrpc/clnt_udp.c: Likewise.
50084 * sunrpc/clnt_unix.c: Likewise.
50085 * sunrpc/des_crypt.c: Likewise.
50086 * sunrpc/des_soft.c: Likewise.
50087 * sunrpc/get_myaddr.c: Likewise.
50088 * sunrpc/key_call.c: Likewise.
50089 * sunrpc/key_prot.c: Likewise.
50090 * sunrpc/netname.c: Likewise.
50091 * sunrpc/pm_getmaps.c: Likewise.
50092 * sunrpc/pm_getport.c: Likewise.
50093 * sunrpc/pmap_clnt.c: Likewise.
50094 * sunrpc/pmap_prot.c: Likewise.
50095 * sunrpc/pmap_prot2.c: Likewise.
50096 * sunrpc/pmap_rmt.c: Likewise.
50097 * sunrpc/publickey.c: Likewise.
50098 * sunrpc/rpc_cmsg.c: Likewise.
50099 * sunrpc/rpc_common.c: Likewise.
50100 * sunrpc/rpc_dtable.c: Likewise.
50101 * sunrpc/rpc_prot.c: Likewise.
50102 * sunrpc/rpc_thread.c: Likewise.
50103 * sunrpc/rtime.c: Likewise.
50104 * sunrpc/svc.c: Likewise.
50105 * sunrpc/svc_auth.c: Likewise.
50106 * sunrpc/svc_raw.c: Likewise.
50107 * sunrpc/svc_run.c: Likewise.
50108 * sunrpc/svc_tcp.c: Likewise.
50109 * sunrpc/svc_udp.c: Likewise.
50110 * sunrpc/svc_unix.c: Likewise.
50111 * sunrpc/svcauth_des.c: Likewise.
50112 * sunrpc/xcrypt.c: Likewise.
50113 * sunrpc/xdr.c: Likewise.
50114 * sunrpc/xdr_array.c: Likewise.
50115 * sunrpc/xdr_float.c: Likewise.
50116 * sunrpc/xdr_intXX_t.c: Likewise.
50117 * sunrpc/xdr_mem.c: Likewise.
50118 * sunrpc/xdr_rec.c: Likewise.
50119 * sunrpc/xdr_ref.c: Likewise.
50120 * sunrpc/xdr_sizeof.c: Likewise.
50121 * sunrpc/xdr_stdio.c: Likewise.
50123 2012-05-10 Roland McGrath <roland@hack.frob.com>
50125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50126 change. Update copyright years.
50128 2012-05-10 Joseph Myers <joseph@codesourcery.com>
50130 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50132 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
50133 Joseph Myers <joseph@codesourcery.com>
50134 Paul Pluzhnikov <ppluzhnikov@google.com>
50137 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50139 [cross-compiling] (extra-libs): Likewise.
50140 [cross-compiling] (extra-libs-others): Likewise.
50141 [cross-compiling] (librpcsvc-routines): Likewise.
50142 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50143 [cross-compiling] (omit-deps): Likewise.
50144 (sunrpc-CPPFLAGS): New variable.
50145 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50146 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50147 (cross-rpcgen-objs): New variable.
50148 (extra-objs): Append $(cross-rpcgen-objs).
50149 ($(cross-rpcgen-objs)): New rule.
50150 ($(objpfx)cross-rpcgen): Likewise.
50151 (rpcgen-cmd): Define to use $(built-program-file). Expand
50153 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50154 ($(objpfx)x%.stmp): Likewise.
50155 * sunrpc/proto.h [IS_IN_build] (_): Define.
50156 [IS_IN_build] (_libc_intl_domainname): Likewise.
50158 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50161 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50162 and R_X86_64_TPOFF64.
50164 2012-05-10 Joseph Myers <joseph@codesourcery.com>
50166 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50167 sysdeps/unix/sysv/syscalls.list.
50170 * sysdeps/unix/sysv/syscalls.list: Remove file.
50172 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
50175 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50176 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50177 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50178 (__LC_IDENTIFICATION): Make these macros useful in #if
50179 expressions, as required by C99.
50181 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
50183 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50184 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
50187 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
50189 * stdlib/longlong.h: Updated from GCC.
50191 2012-05-09 Andreas Jaeger <aj@suse.de>
50193 * nscd/nscd.c (run_modes): Make named enum, reorder so that
50194 default is first entry.
50195 (run_mode): Set type.
50196 (main): Remove informal message about syslog.
50197 (options): Fix typo.
50200 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50203 (llrintf): Likewise.
50204 (llrint): Likewise.
50207 (nearbyint): Likewise.
50208 (nearbyintf): Likewise.
50210 2012-05-09 Andreas Jaeger <aj@suse.de>
50211 Pedro Alves <palves@redhat.com>
50213 * nscd/nscd.c (run_mode): Use enum.
50214 (main): Cleanup coding style issue.
50216 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
50217 Andreas Jaeger <aj@suse.de>
50219 * nscd/nscd.c (go_background): Replaced with...
50220 (run_mode): ... this.
50221 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50222 (options): Add -F --foreground.
50223 (main): Implement it.
50224 (parse_opt): Parse it.
50226 2012-05-09 Andreas Jaeger <aj@suse.de>
50229 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50230 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50231 -Wconversion warning.
50232 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50235 2012-05-09 Joseph Myers <joseph@codesourcery.com>
50237 * conform/data/locale.h-data (NULL): Use macro-constant. Require
50239 (LC_ALL): Use macro-int-constant.
50240 (LC_COLLATE): Likewise.
50241 (LC_CTYPE): Likewise.
50242 (LC_MESSAGES): Likewise.
50243 (LC_MONETARY): Likewise.
50244 (LC_NUMERIC): Likewise.
50245 (LC_TIME): Likewise.
50246 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50247 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50249 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50251 [C99-based standards] (float_t): Expect type.
50252 [C99-based standards] (double_t): Expect type.
50253 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
50255 [C99-based standards] (HUGE_VALL): Likewise.
50256 [C99-based standards] (INFINITY): Likewise.
50257 [C99-based standards] (NAN): Likewise.
50258 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50259 [C99-based standards] (FP_NAN): Likewise.
50260 [C99-based standards] (FP_NORMAL): Likewise.
50261 [C99-based standards] (FP_SUBNORMAL): Likewise.
50262 [C99-based standards] (FP_ZERO): Likewise.
50263 [C99-based standards] (FP_FAST_FMA): Use
50264 optional-macro-int-constant. Specify type. Require == 1.
50265 [C99-based standards] (FP_FAST_FMAF): Likewise.
50266 [C99-based standards] (FP_FAST_FMAL): Likewise.
50267 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50268 [C99-based standards] (FP_ILOGBNAN): Likewise.
50269 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50271 [C99-based standards] (MATH_ERREXCEPT): Likewise.
50272 [C99-based standards] (math_errhandling): Specify type.
50273 [ISO99 || ISO11] (signgam): Do not allow.
50274 [non-C99-based standards] (copysignf): Do not allow.
50275 [non-C99-based standards] (exp2f): Likewise.
50276 [non-C99-based standards] (log2f): Likewise.
50277 [non-C99-based standards] (modff): Allow.
50278 [non-C99-based standards] (erff): Do not allow.
50279 [non-C99-based standards] (erfcf): Likewise.
50280 [non-C99-based standards] (gammaf): Likewise.
50281 [non-C99-based standards] (hypotf): Likewise.
50282 [non-C99-based standards] (j0f): Likewise.
50283 [non-C99-based standards] (j1f): Likewise.
50284 [non-C99-based standards] (jnf): Likewise.
50285 [non-C99-based standards] (lgammaf): Likewise.
50286 [non-C99-based standards] (tgammaf): Likewise.
50287 [non-C99-based standards] (y0f): Likewise.
50288 [non-C99-based standards] (y1f): Likewise.
50289 [non-C99-based standards] (ynf): Likewise.
50290 [non-C99-based standards] (isnanf): Likewise.
50291 [non-C99-based standards] (acoshf): Likewise.
50292 [non-C99-based standards] (asinhf): Likewise.
50293 [non-C99-based standards] (atanhf): Likewise.
50294 [non-C99-based standards] (cbrtf): Likewise.
50295 [non-C99-based standards] (expm1f): Likewise.
50296 [non-C99-based standards] (ilogbf): Likewise.
50297 [non-C99-based standards] (log1pf): Likewise.
50298 [non-C99-based standards] (logbf): Likewise.
50299 [non-C99-based standards] (nextafterf): Likewise.
50300 [non-C99-based standards] (remainderf): Likewise.
50301 [non-C99-based standards] (rintf): Likewise.
50302 [non-C99-based standards] (scalbf): Likewise.
50303 [non-C99-based standards] (copysignl): Likewise.
50304 [non-C99-based standards] (exp2l): Likewise.
50305 [non-C99-based standards] (log2l): Likewise.
50306 [non-C99-based standards] (modfl): Allow.
50307 [non-C99-based standards] (erfl): Do not allow.
50308 [non-C99-based standards] (erfcl): Likewise.
50309 [non-C99-based standards] (gammal): Likewise.
50310 [non-C99-based standards] (hypotl): Likewise.
50311 [non-C99-based standards] (j0l): Likewise.
50312 [non-C99-based standards] (j1l): Likewise.
50313 [non-C99-based standards] (jnl): Likewise.
50314 [non-C99-based standards] (lgammal): Likewise.
50315 [non-C99-based standards] (tgammal): Likewise.
50316 [non-C99-based standards] (y0l): Likewise.
50317 [non-C99-based standards] (y1l): Likewise.
50318 [non-C99-based standards] (ynl): Likewise.
50319 [non-C99-based standards] (isnanl): Likewise.
50320 [non-C99-based standards] (acoshl): Likewise.
50321 [non-C99-based standards] (asinhl): Likewise.
50322 [non-C99-based standards] (atanhl): Likewise.
50323 [non-C99-based standards] (cbrtl): Likewise.
50324 [non-C99-based standards] (expm1l): Likewise.
50325 [non-C99-based standards] (ilogbl): Likewise.
50326 [non-C99-based standards] (log1pl): Likewise.
50327 [non-C99-based standards] (logbl): Likewise.
50328 [non-C99-based standards] (nextafterl): Likewise.
50329 [non-C99-based standards] (remainderl): Likewise.
50330 [non-C99-based standards] (rintl): Likewise.
50331 [non-C99-based standards] (scalbl): Likewise.
50332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50333 [non-C99-based standards] (FP_*): Do not allow.
50334 [C99-based standards] (FP_*): Change to
50335 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50336 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50338 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50339 (SIG_ERR): Likewise.
50340 [X/Open-based standards] (SIG_HOLD): Likewise.
50341 (SIG_IGN): Likewise.
50342 (SIGABRT): Use macro-int-constant. Specify type. Require
50344 (SIGFPE): Likewise.
50345 (SIGILL): Likewise.
50346 (SIGINT): Likewise.
50347 (SIGSEGV): Likewise.
50348 (SIGTER): Likewise.
50349 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50350 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50351 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50352 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50353 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50354 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50355 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50356 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50357 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50358 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50359 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50360 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50361 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50362 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50363 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50364 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50365 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50366 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50367 [X/Open-based standards] (SIGTRAP): Likewise.
50368 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50369 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50370 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50371 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50372 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50375 2012-05-08 Ian Wienand <ianw@vmware.com>
50378 * time/tzset.c (__tzset_parse_tz): Update default rules for
50379 daylight time changes in the Energy Policy Act of 2005.
50381 2012-05-09 Andreas Jaeger <aj@suse.de>
50384 * elf/ldconfig.c (parse_conf): Change string to make clear that
50385 ldconfig only issued a warning if ld.so.conf does not exist.
50387 2012-05-08 David S. Miller <davem@davemloft.net>
50389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50390 movxtod instead of popping the value on the stack.
50392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50394 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
50396 * config.h.in: Add HAVE_ARM_PCS_VFP.
50398 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
50401 * include/features.h: Warn if user requests __FORTIFY_SOURCE
50402 checking but the checks are disabled for any reason.
50404 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
50406 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50407 and ELF64_R_TYPE with ELFW(R_TYPE).
50409 2012-05-08 Joseph Myers <joseph@codesourcery.com>
50411 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50412 (ulimit): Likewise.
50414 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50415 (settimeofday): Likewise.
50417 2012-05-08 Mike Frysinger <vapier@gentoo.org>
50419 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
50420 a struct th_u2 inside the union, and move tu_block/tu_code into
50421 a new th_u3 union of tu_block/tu_code inside of that. Move
50422 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
50423 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
50424 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50425 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50426 (th_stuff): Change to th_u1.tu_stuff.
50428 (th_msg): Change to th_u1.th_u2.tu_data.
50430 2012-05-07 David S. Miller <davem@davemloft.net>
50432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50435 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50436 (SETUP_PIC_REG): Use it.
50437 (SETUP_PIC_REG_LEAF): Use it.
50439 2012-05-07 Joseph Myers <joseph@codesourcery.com>
50443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50445 (EXPL_FINITE): Likewise.
50446 (FLDLOG): Likewise.
50447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50448 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50450 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50452 (EXPL_FINITE): Likewise.
50453 (FLDLOG): Likewise.
50454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50455 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50457 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
50458 test of -max_value argument for long double.
50459 * sysdeps/i386/fpu/libm-test-ulps: Update.
50460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50462 2012-05-06 David S. Miller <davem@davemloft.net>
50464 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50465 quad soft-float symbols whose references which are compiler
50467 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50469 2012-05-06 Joseph Myers <joseph@codesourcery.com>
50473 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50475 (EXPL_FINITE): Likewise.
50476 (FLDLOG): Likewise.
50479 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50480 Adjust comments for base varying.
50481 (__expl_finite): Change alias to EXPL_FINITE.
50482 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50484 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50485 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50486 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50487 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50490 (EXPL_FINITE): Likewise.
50491 (FLDLOG): Likewise.
50494 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
50495 Adjust comments for base varying.
50496 (__expl_finite): Change alias to EXPL_FINITE.
50497 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
50499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50502 * math/libm-test.inc (check_float_internal): Correct ulp
50503 calculation for subnormal expected results.
50505 2012-05-06 Andreas Jaeger <aj@suse.de>
50507 * Makeconfig (+math-flags): New, set to -frounding-math.
50508 (+cflags): Add +math-flags so that all of glibc gets compiled with
50511 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50513 2012-05-05 Joseph Myers <joseph@codesourcery.com>
50515 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50521 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50522 (__ieee754_expl): Allow for and saturate large arguments.
50523 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50524 (u_threshold): Likewise.
50525 (__exp): Call __ieee754_exp before checking for overflow and
50527 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50528 (u_threshold): Likewise.
50529 (__expf): Call __ieee754_expf before checking for overflow and
50531 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50532 (u_threshold): Likewise.
50533 (__expl): Call __ieee754_expl before checking for overflow and
50535 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50536 (__ieee754_expl): Allow for and saturate large arguments.
50537 * math/libm-test.inc (exp_test): Add another test. Do not allow
50538 missing overflow exception on overflow.
50539 (expm1_test): Do not allow missing overflow exception on overflow.
50541 * sysdeps/i386/fpu/e_expl.c: Move to ...
50542 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
50543 rather than using inline asm.
50544 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50545 * sysdeps/x86_64/fpu/e_expl.S: Copy from
50546 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50548 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50551 (signal): Likewise.
50555 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50557 * sysdeps/unix/syscalls.list (adjtime): Add entry from
50558 sysdeps/unix/common/syscalls.list.
50559 (fchmod): Likewise.
50560 (fchown): Likewise.
50561 (ftruncate): Likewise.
50562 (getrusage): Likewise.
50563 (gettimeofday): Likewise.
50564 (setpgid): Likewise.
50565 (setregid): Likewise.
50566 (setreuid): Likewise.
50567 (sigaction): Likewise.
50568 (truncate): Likewise.
50569 (vhangup): Likewise.
50570 * sysdeps/unix/common/syscalls.list: Remove file.
50571 * sysdeps/unix/bsd/Implies: Don't include unix/common.
50572 * sysdeps/unix/sysv/linux/Implies: Likewise.
50574 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
50576 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50578 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50582 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50585 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50588 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50591 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50594 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50600 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50604 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50608 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50611 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50615 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50619 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50621 * sysdeps/unix/common/bits/dirent.h: Remove file.
50622 * sysdeps/unix/common/bits/fcntl.h: Likewise.
50624 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50625 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50626 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50627 * sysdeps/unix/bsd/isatty.c: Likewise.
50628 * sysdeps/unix/bsd/tcdrain.c: Likewise.
50629 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50630 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50632 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50636 long double comparison inaccuracies.
50637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50640 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
50642 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50645 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50649 nonzero digits before rounding a hex value.
50650 * stdlib/tst-strtod.c (tests): Add another test.
50652 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50654 * sysdeps/s390/fpu/libm-test-ulps: Update.
50656 2012-05-03 Andreas Jaeger <aj@suse.de>
50658 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50659 does not get optimized out.
50660 (malloc_opt_barrier): New.
50662 2012-05-03 Andreas Jaeger <aj@suse.de>
50663 Roland McGrath <roland@hack.frob.com>
50665 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50666 intermediate file deletion.
50667 (generated): Add .symlist files.
50669 2012-05-03 Joseph Myers <joseph@codesourcery.com>
50672 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50673 Redirect under this condition.
50674 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50675 [__USE_GNU] (__dprintf_chk): Not under this condition.
50676 [__USE_GNU] (__vdprintf_chk): Likewise.
50677 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50678 under this condition.
50679 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50680 [__USE_XOPEN2K8] (dprintf): Define under this condition.
50681 [__USE_XOPEN2K8] (vdprintf): Likewise.
50682 [__USE_GNU] (__dprintf_chk): Not under this condition.
50683 [__USE_GNU] (__vdprintf_chk): Likewise.
50684 [__USE_GNU] (dprintf): Likewise.
50685 [__USE_GNU] (vdprintf): Likewise.
50687 2012-05-03 Roland McGrath <roland@hack.frob.com>
50689 * elf/Makefile (common-generated): Set this instead of generated for
50690 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
50691 $(all-built-dso)-derived lists.
50693 2012-05-03 Andreas Jaeger <aj@suse.de>
50695 * sysdeps/i386/fpu/libm-test-ulps: Update.
50698 * FAQ.in: Likewise.
50699 * scripts/gen-FAQ.pl: Likewise.
50700 * manual/install.texi (Installation): Point to online location of
50702 * Makefile (files-for-dist): Remove FAQ.
50705 2012-05-02 Allan McRae <allan@archlinux.org>
50707 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50708 (LDFLAGS-reldepmod5.so): Likewise.
50709 (LDFLAGS-reldep6mod1.so): Likewise.
50710 (LDFLAGS-reldep6mod4.so): Likewise.
50711 (LDFLAGS-reldep8mod3.so): Likewise.
50712 (LDFLAGS-unload4mod1.so): Likewise.
50713 (LDFLAGS-unload4mod2.so): Likewise.
50714 (LDFLAGS-tst-initorder): Likewise.
50715 (LDFLAGS-tst-initordera2.so): Likewise.
50716 (LDFLAGS-tst-initordera3.so): Likewise.
50717 (LDFLAGS-tst-initordera4.so): Likewise.
50718 (LDFLAGS-tst-initorderb2.so): Likewise.
50719 (LDFLAGS-noload): Likewise.
50720 (LDFLAGS-next): Likewise.
50721 (LDFLAGS-order2mod1.so): Likewise.
50722 (LDFLAGS-order2mod2.so): Likewise.
50723 (LDFLAGS-tst-initorder2): Likewise.
50724 (LDFLAGS-tst-initorder2a.so): Likewise.
50725 (LDFLAGS-tst-initorder2b.so): Likewise.
50726 (LDFLAGS-tst-initorder2c.so): Likewise.
50727 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50729 2012-05-02 David S. Miller <davem@davemloft.net>
50731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50733 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
50736 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50738 2012-05-02 Andreas Jaeger <aj@suse.de>
50740 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50741 since we manipulate rounding mode.
50742 (CPPFLAGS-test-idouble.c): Likewise.
50743 (CPPFLAGS-test-ifloat.c): Likewise.
50744 (CFLAGS-test-ldouble.c): Likewise.
50745 (CFLAGS-test-double.c): Likewise.
50746 (CFLAGS-test-float.c): Likewise.
50747 (CFLAGS-test-misc.c): Likewise.
50748 (CFLAGS-test-test-fenv.c): Likewise.
50750 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50755 comparisons to determine direction to adjust input.
50757 2012-05-01 Roland McGrath <roland@hack.frob.com>
50759 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50760 output to the target.
50762 * scripts/localplt.awk: New file.
50763 * elf/Makefile ($(objpfx)check-localplt): Target removed.
50764 (check-localplt-CFLAGS): Variable removed.
50765 ($(all-built-dso:=.jmprel)): New static pattern rule.
50766 (generated): Add those targets.
50767 (localplt-built-dso): New variable.
50768 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50770 * elf/check-localplt.c: File removed.
50772 * scripts/check-execstack.awk: New file.
50773 * elf/Makefile ($(objpfx)check-execstack): Target removed.
50774 (check-execstack-CFLAGS): Variable removed.
50775 ($(objpfx)check-execstack.h): Target removed.
50776 ($(objpfx)execstack-default): New target.
50777 (generated): Add that instead of check-execstack.h.
50778 ($(all-built-dso:=.phdr)): New static pattern rule.
50779 (generated): Add those targets.
50780 * elf/check-execstack.c: File removed.
50782 * scripts/check-textrel.awk: New file.
50783 * elf/Makefile ($(objpfx)check-textrel): Target removed.
50784 (check-textrel-CFLAGS): Variable removed.
50785 (all-built-dso): Use := to define.o
50786 ($(all-built-dso:=.dyn)): New static pattern rule.
50787 (generated): Add those targets.
50788 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50789 * config.make.in (READELF): New substituted variable.
50790 * elf/check-textrel.c: File removed.
50792 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50794 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50796 * conform/data/ctype.h-data [C99-based standards] (isblank):
50798 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50799 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50801 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50802 Specify type. Require positive value.
50803 (EILSEQ): Likewise.
50804 (ERANGE): Likewise.
50805 [ISO || POSIX] (EILSEQ): Do not expect.
50806 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50807 Specify type. Require positive value.
50808 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50809 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50810 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50811 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50812 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50813 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50814 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50815 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50816 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50817 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50818 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50819 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50820 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50821 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50822 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50823 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50824 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50825 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50826 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50827 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50828 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50829 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50830 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50831 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50832 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50833 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50834 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50835 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50836 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50837 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50838 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50839 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50840 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50841 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50842 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50843 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50844 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50845 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50846 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50847 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50848 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50849 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50850 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50851 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50852 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50853 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50854 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50855 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50856 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50857 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50858 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50859 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50860 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50861 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50862 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50863 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50864 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50865 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50866 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50867 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50868 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50869 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50870 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50871 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50872 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50873 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50874 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50875 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50876 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50877 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50878 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50879 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50880 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50881 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50882 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50883 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50884 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50886 (FLT_ROUNDS): Expect as macro, not constant.
50887 (FLT_MANT_DIG): Use macro-int-constant.
50888 (DBL_MANT_DIG): Likewise.
50889 (LDBL_MANT_DIG): Likewise.
50890 (FLT_DIG): Likewise.
50891 (DBL_DIG): Likewise.
50892 (LDBL_DIG): Likewise.
50893 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
50894 (DBL_MIN_EXP): Likewise.
50895 (LDBL_MIN_EXP): Likewise.
50896 (FLT_MAX_EXP): Use macro-int-constant.
50897 (DBL_MAX_EXP): Likewise.
50898 (LDBL_MAX_EXP): Likewise.
50899 (FLT_MAX_10_EXP): Likewise.
50900 (DBL_MAX_10_EXP): Likewise.
50901 (LDBL_MAX_10_EXP): Likewise.
50902 (FLT_MAX): Use macro-constant.
50903 (DBL_MAX): Likewise.
50904 (LDBL_MAX): Likewise.
50905 (FLT_EPSILON): Use macro-constant. Give upper bound.
50906 (DBL_EPSILON): Likewise.
50907 (LDBL_EPSILON): Likewise.
50908 (FLT_MIN): Likewise.
50909 (DBL_MIN): Likewise.
50910 (LDBL_MIN): Likewise.
50911 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50912 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50913 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50914 [ISO11] (FLT_HAS_SUBNORM): Likewise.
50915 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50916 [ISO11] (DBL_DECIMAL_DIG): Likewise.
50917 [ISO11] (FLT_DECIMAL_DIG): Likewise.
50918 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50919 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50920 [ISO11] (FLT_TRUE_MIN): Likewise.
50921 [ISO11] (LDBL_TRUE_MIN): Likewise.
50922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50923 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50924 (SCHAR_MIN): Use macro-int-constant. Specify type.
50925 (SCHAR_MAX): Likewise.
50926 (UCHAR_MAX): Likewise.
50927 (CHAR_MIN): Likewise.
50928 (CHAR_MAX): Likewise.
50929 (MB_LEN_MAX): Use macro-int-constant.
50930 (SHRT_MIN): Use macro-int-constant. Specify type.
50931 (SHRT_MAX): Likewise.
50932 (USHRT_MAX): Likewise.
50933 (INT_MAX): Likewise.
50934 (INT_MIN): Use macro-int-constant. Specify type. Make upper
50936 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
50938 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50940 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
50941 bound negative. Suffix upper bound with "L".
50942 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50944 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50946 [C99-based standards] (LLONG_MAX): Likewise.
50947 [C99-based standards] (ULLONG_MAX): Likewise.
50948 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
50950 [ISO11] (max_align_t): Require type.
50951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50953 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50954 from $CFLAGS, without defining away __attribute__ calls.
50955 (checknamespace): Use $CFLAGS_namespace.
50957 * conform/conformtest.pl (@keywords): Only include C99 keywords
50958 for standards based on C99 or C11.
50960 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50962 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50965 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50966 usability of symbols in #if.
50968 * conform/conformtest.pl: If macro or constant types start
50969 "promoted:", expect the symbol to be of the following type
50970 promoted by the integer promotions.
50972 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50973 in one place. Also handle "macro-constant".
50975 * conform/conformtest.pl: Only accept expected macro values with
50976 "==". Parse all "macro" lines in one place.
50977 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50979 * conform/conformtest.pl: Handle braced types on "constant" lines
50980 instead of handling "typed-constant".
50981 * conform/data/signal.h-data: Use "constant" instead of
50984 * conform/conformtest.pl: Handle "optional-" at start of lines in
50985 one place rather than duplicating several cases. Handle each
50986 format of "macro" line with initial "optional-".
50988 * conform/conformtest.pl: Only accept expected constant or
50989 optional-constant values with "==". Parse all "constant" lines in
50990 one place. Parse all "optional-constant" lines in one place.
50991 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50992 * conform/data/fmtmsg.h-data: Likewise.
50993 * conform/data/netinet/in.h-data: Likewise.
50994 * conform/data/tar.h-data: Likewise.
50995 * conform/data/limits.h-data: Use "==" form on "constant" and
50996 "optional-constant" lines.
50998 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50999 Use -std=c99 for XOPEN2K.
51000 (@knownproblems): Remove.
51001 (newtoken): Don't check %isknown.
51003 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51004 Do not expect macro.
51005 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51006 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51007 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51008 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51009 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51010 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51011 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51012 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51013 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51014 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51015 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51016 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51017 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51018 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51019 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51020 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51021 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51022 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51023 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51024 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51025 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51027 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51028 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51029 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51030 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51031 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51032 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51033 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51034 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51035 [XPG3] (acosh): Likewise.
51036 [XPG3] (asinh): Likewise.
51037 [XPG3] (atanh): Likewise.
51038 [XPG3] (cbrt): Likewise.
51039 [XPG3] (expm1): Likewise.
51040 [XPG3] (ilogb): Likewise.
51041 [XPG3] (log1p): Likewise.
51042 [XPG3] (logb): Likewise.
51043 [XPG3] (nextafter): Likewise.
51044 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51045 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51046 [XPG3] (remainder): Likewise.
51047 [XPG3] (rint): Likewise.
51048 [XPG3 || XPG4 || UNIX98] (round): Likewise.
51049 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51050 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51051 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51052 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51053 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51054 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51055 [UNIX98 || XOPEN2K] (scalb): Expect.
51056 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51057 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51058 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51059 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51060 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51061 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51062 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51063 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51064 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51065 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51066 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51067 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51068 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51069 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51070 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51071 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51072 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51073 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51074 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51075 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51076 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51077 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51078 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51079 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51080 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51081 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51082 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51083 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51084 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51085 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51086 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51087 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51088 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51089 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51090 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51091 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51092 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51093 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51094 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51095 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51096 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51097 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51098 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51099 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51100 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51101 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51102 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51103 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51104 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51105 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51106 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51107 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51108 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51109 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51110 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51111 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51112 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51113 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51114 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51115 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51116 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51117 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51118 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51119 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51120 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51121 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51122 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51123 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51124 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51125 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51126 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51127 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51128 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51129 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51130 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51131 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51132 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51133 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51134 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51135 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51136 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51137 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51138 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51139 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51140 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51141 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51142 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51143 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51144 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51145 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51146 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51147 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51148 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51149 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51150 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51151 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51152 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51153 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51154 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51155 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51156 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51157 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51158 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51159 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51160 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51161 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51162 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51163 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51164 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51165 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51166 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51167 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51168 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51169 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51170 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51171 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51172 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51173 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51174 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51175 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51176 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51177 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51178 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51179 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51180 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51181 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51182 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51183 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51184 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51185 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51186 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51187 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51188 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51189 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51190 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51191 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51192 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51194 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51195 _XOPEN_SOURCE_EXTENDED for XPG4.
51197 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51199 * Makeconfig (localtime): Remove variable.
51200 (inst_localtime-file): Likewise.
51202 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51223 2012-05-01 Joseph Myers <joseph@codesourcery.com>
51227 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51228 comparisons to determine direction to adjust input.
51229 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51230 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51235 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51240 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51242 * math/libm-test.inc (nexttoward_test): Add more tests.
51244 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51248 in version GLIBC_2.1, not GLIBC_2.0.
51249 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51252 2012-04-30 Joseph Myers <joseph@codesourcery.com>
51255 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51257 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51258 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51259 * math/libm-test.inc (acos_test): Add more tests.
51260 (asin_test): Likewise.
51261 * sysdeps/i386/fpu/libm-test-ulps: Update.
51262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51265 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51267 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51268 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51269 * math/libm-test.inc (acos_test_tonearest): New function.
51270 (acos_test_towardzero): Likewise.
51271 (acos_test_downward): Likewise.
51272 (acos_test_upward): Likewise.
51273 (asin_test_tonearest): Likewise.
51274 (asin_test_towardzero): Likewise.
51275 (asin_test_downward): Likewise.
51276 (asin_test_upward): Likewise.
51277 (main): Call the new functions.
51278 * sysdeps/i386/fpu/libm-test-ulps: Update.
51279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51283 * math/e_exp10.c: Include <float.h>.
51284 (__ieee754_exp10): Handle underflow here rather than multiplying
51285 large negative argument by M_LN10.
51286 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51288 * math/e_exp10l.c: Include <float.h>.
51289 (__ieee754_exp10l): Handle underflow here rather than multiplying
51290 large negative argument by M_LN10l.
51291 * math/libm-test.inc (exp10_test): Add another test. Do not allow
51292 spurious overflow exception on underflow.
51294 2012-04-29 Marek Polacek <polacek@redhat.com>
51296 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51297 (__fortify_function): New macro.
51298 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51299 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51300 __extern_always_inline.
51301 * libio/bits/stdio2.h: Likewise.
51302 * libio/bits/stdio.h: Likewise.
51303 * string/string.h: Likewise.
51304 * string/bits/string3.h: Likewise.
51305 * include/stdio.h: Likewise.
51306 * stdlib/bits/stdlib.h: Likewise.
51307 * stdlib/stdlib.h: Likewise.
51308 * rt/bits/mqueue2.h: Likewise.
51309 * rt/mqueue.h: Likewise.
51310 * posix/bits/unistd.h: Likewise.
51311 * posix/unistd.h: Likewise.
51312 * io/bits/poll2.h: Likewise.
51313 * io/bits/fcntl2.h: Likewise.
51314 * io/fcntl.h: Likewise.
51315 * io/sys/poll.h: Likewise.
51316 * misc/bits/syslog.h: Likewise.
51317 * misc/bits/syslog-ldbl.h: Likewise.
51318 * misc/sys/syslog.h: Likewise.
51319 * socket/bits/socket2.h: Likewise.
51320 * socket/sys/socket.h: Likewise.
51321 * debug/tst-chk1.c: Likewise.
51322 * wcsmbs/bits/wchar2.h: Likewise.
51323 * wcsmbs/bits/wchar-ldbl.h: Likewise.
51324 * wcsmbs/wchar.h: Likewise.
51326 2012-04-29 Andreas Jaeger <aj@suse.de>
51328 * Makerules (tests): Remove enable-check-abi protection.
51329 (check-abi-warn): Remove.
51330 (check-abi-%): Remove check-abi-warn usage.
51332 * configure.in: Remove check-abi configure option.
51333 * configure: Regenerated.
51334 * config.make.in (enable-check-abi): Remove.
51336 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
51339 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51340 double functions to double *_finite functions.
51343 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51344 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51346 * stdio-common/Makefile (tests): Add tst-sprintf3.
51347 * stdio-common/tst-sprintf3.c: New file.
51349 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51350 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51352 2012-04-28 Joseph Myers <joseph@codesourcery.com>
51354 * conform/conformtest.pl: Remove duplicate typed-constant
51357 2012-04-28 David S. Miller <davem@davemloft.net>
51359 * Makerules (%.abilist): Add vpath on sysdep_dirs.
51360 (check-abi-%): Remove AWK script prerequisite and explicit
51362 (check-abi): Rewrite to just diff the symlist with the abilist.
51363 (config-tls, config-abi-config): Delete, no longer used.
51364 (update-abi-%): Remove AWK script and explicit abilist directory.
51365 (update-abi): Rewrite to simply compare and conditionally copy the
51366 symlist and the sysdep abilist file. Remove update-abi-config
51368 * abilist/ld.abilist: Remove.
51369 * abilist/libBrokenLocale.abilist: Remove.
51370 * abilist/libanl.abilist: Remove.
51371 * abilist/libcrypt.abilist: Remove.
51372 * abilist/libdl.abilist: Remove.
51373 * abilist/librt.abilist: Remove.
51374 * abilist/libthread_db.abilist: Remove.
51375 * abilist/libutil.abilist: Remove.
51376 * scripts/extract-abilist.awk: Remove.
51377 * scripts/merge-abilist.awk: Remove.
51378 * sysdeps/generic/libcidn.abilist: New file.
51379 * sysdeps/generic/libnss_compat.abilist: New file.
51380 * sysdeps/generic/libnss_db.abilist: New file.
51381 * sysdeps/generic/libnss_dns.abilist: New file.
51382 * sysdeps/generic/libnss_files.abilist: New file.
51383 * sysdeps/generic/libnss_hesiod.abilist: New file.
51384 * sysdeps/generic/libnss_nis.abilist: New file.
51385 * sysdeps/generic/libnss_nisplus.abilist: New file.
51386 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51387 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51388 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51391 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51392 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51393 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51394 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51395 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51396 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51397 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51398 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51400 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51401 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51402 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51403 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51405 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51406 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51407 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51408 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51409 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51412 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51413 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51414 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51416 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51519 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51520 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51521 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51524 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51525 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51526 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51527 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51528 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51529 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51530 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51531 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51532 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51584 2012-04-28 Joseph Myers <joseph@codesourcery.com>
51586 * conform/conformtest.pl: Fix typo in handling typed-constant from
51589 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51591 * README: Cut down references to pre-2.6 Linux kernels and
51592 Linuxthreads. Update lists of configurations in libc and ports
51593 and sort alphabetically. Say "or newer" with Linux kernel version
51596 * config.h.in [IS_IN_build]: Allow compiling without optimization.
51598 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51601 * math/libm-test.inc (logb_test_downward): New test to expose
51602 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51605 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51608 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51610 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51611 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51613 2012-04-26 Joseph Myers <joseph@codesourcery.com>
51615 * sysdeps/unix/i386/brk.S: Remove file.
51616 * sysdeps/unix/i386/dl-brk.S: Likewise.
51617 * sysdeps/unix/i386/pipe.S: Likewise.
51618 * sysdeps/unix/i386/sigreturn.S: Likewise.
51619 * sysdeps/unix/i386/syscall.S: Likewise.
51620 * sysdeps/unix/i386/vfork.S: Likewise.
51621 * sysdeps/unix/i386/wait.S: Likewise.
51623 * sysdeps/unix/common/tcsendbrk.c: Move to ...
51624 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51626 * configure.in (arm*-none*): Do not allow without
51627 --enable-hacker-mode.
51628 (netbsd*): Remove case setting base_os.
51629 (386bsd*): Likewise.
51630 (freebsd*): Likewise.
51633 (sunos*): Likewise.
51634 (ultrix*): Likewise.
51635 (newsos*): Likewise.
51636 (dynix*): Likewise.
51642 (minix*): Likewise.
51643 (irix4*): Likewise.
51644 (irix6*): Likewise.
51645 (solaris[2-9]*): Likewise.
51647 * configure: Regenerated.
51649 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51652 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51653 overflow or cancellation in calculating denominator.
51654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51656 down expression to avoid unexpected rounding in newer GCCs.
51657 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51659 2012-04-26 David S. Miller <davem@davemloft.net>
51661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51662 long-double compat symbols.
51663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51677 2012-04-25 David S. Miller <davem@davemloft.net>
51679 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51680 HWCAP_* values only after the memory barriers have been defined.
51681 (atomic_full_barrier): Define.
51682 (atomic_read_barrier): Define.
51683 (atomic_write_barrier): Define.
51685 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51687 * shlib-versions: Add libgcc_s version information.
51688 * sysdeps/generic/libgcc_s.h: Remove.
51689 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51691 * sysdeps/gnu/unwind-resume.c: Likewise.
51692 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51694 2012-04-25 David S. Miller <davem@davemloft.net>
51696 * sysdeps/unix/sparc/brk.S: Delete.
51697 * sysdeps/unix/sparc/dl-brk.S: Delete.
51698 * sysdeps/unix/sparc/pipe.S: Delete.
51699 * sysdeps/unix/sparc/sysdep.S: Delete.
51700 * sysdeps/unix/sparc/sysdep.h: Delete.
51701 * sysdeps/unix/sparc/vfork.S: Delete.
51702 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51703 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51704 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51705 (ret_ERRVAL, r0, r1, MOVE): Define.
51706 (JUMPTARGET): Remove.
51707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51708 sysdeps/unix/sparc/sysdep.h
51709 (ENTRY, END): Remove.
51710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51712 2012-04-25 Joseph Myers <joseph@codesourcery.com>
51714 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51715 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51718 * timezone/README: Update upstream location and email address for
51720 * timezone/zdump.c: Update from tzcode 2012b.
51721 * timezone/zic.c: Likewise.
51723 * configure.in (libc_cv_as_needed): Remove test.
51724 * configure: Regenerated.
51725 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51726 conditional definition.
51727 [$(have-as-needed) != yes] (no-as-needed): Likewise.
51728 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51729 * config.make.in (have-as-needed): Remove variable.
51731 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51732 Paul Pluzhnikov <ppluzhnikov@google.com>
51734 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51737 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
51739 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51740 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51741 * sysdeps/sh/strlen.S: Likewise.
51743 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51745 * sysdeps/unix/fork.S: Remove file.
51746 * sysdeps/unix/i386/fork.S: Likewise.
51747 * sysdeps/unix/sparc/fork.S: Likewise.
51749 * sysdeps/unix/system.c: Remove file.
51750 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51752 * sysdeps/unix/getegid.S: Remove file.
51753 * sysdeps/unix/geteuid.S: Likewise.
51755 2012-04-24 Roland McGrath <roland@hack.frob.com>
51757 * scripts/check-localplt.awk: New file.
51758 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51760 * scripts/data/localplt-generic.data: Add a comment.
51762 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51763 NODE when __dir_mkfile failed.
51764 * sysdeps/mach/hurd/symlinkat.c: Likewise.
51765 Reported by Ludovic Courtès <ludo@gnu.org>.
51767 2012-04-24 Andreas Jaeger <aj@suse.de>
51769 * Makerules (common-clean): Also remove gen-as-const-headers
51772 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51774 * Makerules (native-compile): Do not change working directory for
51775 build. Use $(OUTPUT_OPTION) in command.
51776 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51778 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51781 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51782 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51783 * math/libm-test.inc (floor_test): Add more tests.
51784 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51786 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51788 * sysdeps/unix/getdents.c: Remove file.
51789 * sysdeps/unix/sysv/getdents.c: Likewise.
51790 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51792 * sysdeps/unix/syscalls.list (madvise): Add syscall from
51793 sysdeps/unix/mman/syscalls.list.
51795 (mprotect): Likewise.
51797 (munmap): Likewise.
51798 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51799 * sysdeps/unix/mman/syscalls.list: Remove.
51800 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51802 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51803 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51804 * configure: Regenerated.
51805 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51806 $(libgcc_s_suffix).
51807 * config.make.in (libgcc_s_suffix): Remove variable.
51809 2012-04-23 Joseph Myers <joseph@codesourcery.com>
51811 * sysdeps/unix/sysv/gethostname.c: Move to ...
51812 * sysdeps/posix/gethostname.c: ... here.
51814 * sysdeps/unix/execve.S: Remove file.
51816 * sysdeps/unix/_exit.S: Remove file.
51818 2012-04-23 Andreas Jaeger <aj@suse.de>
51821 * manual/Makefile: Remove make dist support, there's no
51822 need for a stand-alone documentation tar ball.
51823 (TEXI2DVI): Define always, it's not in Makeconfig.
51826 (edition): Removed.
51827 (glibc-doc-$(edition).tar): Removed
51831 (ETAGS): Remove, it's in Makeconfig.
51832 (move-if-change): Remove, it's in Makeconfig.
51834 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
51837 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51838 (strtod, strtof, strtold, strtol, strtoul, strtoq)
51839 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51840 (strtod_l, strtof_l, strtold_l): Remove __wur.
51841 It is not necessarily an error to ignore strtol's return value.
51842 One can reliably look at the stored endptr to decide whether
51843 the number had valid syntax.
51845 2012-04-21 Andreas Jaeger <aj@suse.de>
51848 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51850 2012-04-21 Joseph Myers <joseph@codesourcery.com>
51852 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51853 * sysdeps/unix/sysv/Versions: Remove file.
51855 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
51858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51860 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
51863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51864 version from __vm86.
51866 2012-04-20 Joseph Myers <joseph@codesourcery.com>
51868 * sysdeps/unix/common/lxstat.c: Remove file.
51869 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51871 * sysdeps/unix/sysv/Makefile: Remove file.
51873 * sysdeps/unix/sysv/direct.h: Remove file.
51875 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51876 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51877 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51878 * sysdeps/unix/sysv/bits/signum.h: Likewise.
51879 * sysdeps/unix/sysv/bits/stat.h: Likewise.
51880 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51881 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51883 * sysdeps/unix/sysv/setrlimit.c: Remove file.
51885 * sysdeps/unix/xmknod.c: Remove file.
51886 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51888 * sysdeps/unix/sysv/settimeofday.c: Remove file.
51890 * sysdeps/unix/sysv/i386/time.S: Remove file.
51892 * sysdeps/unix/fxstat.c: Remove file.
51893 * sysdeps/unix/xstat.c: Likewise.
51894 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51896 * sysdeps/unix/sysv/sigaction.c: Remove file.
51898 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51899 (sysdep_headers): Remove variable.
51900 [termio.h not in sysdep_headers] (generated): Likewise.
51901 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51902 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51903 * sysdeps/unix/sysv/tcdrain.c: Likewise.
51904 * sysdeps/unix/sysv/tcflow.c: Likewise.
51905 * sysdeps/unix/sysv/tcflush.c: Likewise.
51906 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51907 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51908 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51909 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51910 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51912 * sysdeps/unix/siglist.c: Remove file.
51914 * sysdeps/unix/getppid.S: Remove file.
51916 * sysdeps/unix/mkdir.c: Remove file.
51917 * sysdeps/unix/rmdir.c: Likewise.
51919 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
51921 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51923 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51924 errlist-compat value.
51926 2012-04-18 David S. Miller <davem@davemloft.net>
51928 * sysdeps/generic/memcopy.h (reg_char): Delete.
51929 * debug/strcat_chk.c: Use char, not reg_char.
51930 * debug/strcpy_chk.c: Likewise.
51931 * debug/strncat_chk.c: Likewise.
51932 * debug/strncpy_chk.c: Likewise.
51933 * string/memchr.c: Likewise.
51934 * string/memrchr.c: Likewise.
51935 * string/rawmemchr.c: Likewise.
51936 * string/strcat.c: Likewise.
51937 * string/strchr.c: Likewise.
51938 * string/strchrnul.c: Likewise.
51939 * string/strcmp.c: Likewise.
51940 * string/strcpy.c: Likewise.
51941 * string/strncat.c: Likewise.
51942 * string/strncmp.c: Likewise.
51943 * string/strncpy.c: Likewise.
51945 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51947 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51948 __builtin_memcopy is called when src and dest ranges are known to not
51951 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51954 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51955 fwd_align_merge macro call.
51956 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51957 bwd_align_merge macro call.
51958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51962 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51963 bwd_align_merge macros.
51964 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51965 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51968 2012-04-18 David S. Miller <davem@davemloft.net>
51970 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51972 2012-04-18 Andreas Jaeger <aj@suse.de>
51975 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51976 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51977 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51979 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51980 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51981 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51983 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51984 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51985 Adjust for changed ldbl-128 files.
51987 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51988 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51989 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51991 2012-04-17 David S. Miller <davem@davemloft.net>
51993 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51995 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51997 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51998 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51999 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52000 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52001 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52002 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52004 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52007 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52008 * math/libm-test.inc: Add ilogb errno and exception tests.
52009 * math/w_ilogb.c: New file: ilogb wrapper.
52010 * math/w_ilogbf.c: New file: ilogbf wrapper.
52011 * math/w_ilogbl.c: New file: ilogbl wrapper.
52012 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52013 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52014 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52015 exception being thrown with 0.0 as argument.
52016 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52017 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52018 exception being thrown with 0.0 as argument.
52019 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52020 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52021 exception being thrown with 0.0 as argument.
52022 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52023 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52024 exception being thrown with 0.0 as argument.
52025 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52026 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52027 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52028 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52030 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52031 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52032 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52033 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52035 2012-04-17 Petr Baudis <pasky@ucw.cz>
52037 * include/sys/uio.h: Change __vector to __iovec to avoid clash
52040 2012-04-16 Marek Polacek <polacek@redhat.com>
52042 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52044 2012-04-16 Marek Polacek <polacek@redhat.com>
52046 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52047 operands of fdivp instruction.
52049 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52051 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52052 * elf/tst-auditmod3b.c: Likewise.
52053 * elf/tst-auditmod4b.c: Likewise.
52054 * elf/tst-auditmod5b.c: Likewise.
52055 * elf/tst-auditmod6b.c: Likewise.
52056 * elf/tst-auditmod6c.c: Likewise.
52057 * elf/tst-auditmod7b.c: Likewise.
52058 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52059 * sysdeps/x86_64/preconfigure.in: Likewise.
52060 * sysdeps/x86_64/preconfigure: Regenerated.
52062 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52064 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52067 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
52069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52070 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52072 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
52075 * locale/iso-639.def: Fix gl language name. Spotted by
52078 2012-04-12 Roland McGrath <roland@hack.frob.com>
52081 * libio/libio.h (__io_write_fn): Update comment.
52083 2012-04-12 Petr Baudis <pasky@ucw.cz>
52086 * stdio.texi (Hook Functions): The user provided writer function
52087 is not allowed to return -1.
52089 2012-04-11 David S. Miller <davem@davemloft.net>
52091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52093 2012-04-11 Mike Frysinger <vapier@gentoo.org>
52095 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52096 Add a leading slash to rtkaio.
52098 2012-04-11 Jim Meyering <meyering@redhat.com>
52101 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52102 It is not necessarily an error to ignore fwrite's return
52103 value. One can reliably use ferror to test for errors after
52106 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52108 * bits/types.h (__snseconds_t): New type.
52109 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52111 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52113 (__SNSECONDS_T_TYPE): Likewise.
52114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52115 (__SNSECONDS_T_TYPE): Likewise.
52116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52117 (__SNSECONDS_T_TYPE): Likewise.
52119 2012-04-10 Andreas Jaeger <aj@suse.de>
52122 * manual/time.texi (Processor Time): Return type of times is
52123 elapsed real time since an arbitrary point in the past.
52124 (CPU Time): Move CLK_TCK from here...
52125 (Processor Time): ...to here. Correct description.
52126 * manual/conf.texi (Constants for Sysconf): Correct description of
52129 2012-04-10 David S. Miller <davem@davemloft.net>
52132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52133 where the is a gap between DT_REL(A) and DT_JMPREL.
52135 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52137 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52138 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52139 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52141 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52143 * elf/dl-support.c (_dl_inhibit_cache): New variable.
52144 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52145 (dl_main): Handle --inhibit-cache.
52146 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52148 * elf/dl-load.c (_dl_map_object): Use it.
52149 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52151 2012-04-09 Joseph Myers <joseph@codesourcery.com>
52154 * sysdeps/i386/fpu/e_powl.S (p78): New object.
52155 (__ieee754_powl): Saturate large exponents rather than testing for
52156 overflow of y*log2(x).
52157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52158 * math/libm-test.inc (pow_test): Do not permit spurious overflow
52162 * math/s_ctan.c: Include <float.h>.
52163 (__ctan): Avoid internal overflow or cancellation in calculating
52165 * math/s_ctanf.c: Likewise.
52166 * math/s_ctanl.c: Likewise.
52167 * math/s_ctanh.c: Likewise.
52168 * math/s_ctanhf.c: Likewise.
52169 * math/s_ctanhl.c: Likewise.
52170 * math/libm-test.inc (ctan_test): Add more tests.
52171 (ctanh_test): Likewise.
52172 * sysdeps/i386/fpu/libm-test-ulps: Update.
52173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52175 2012-04-09 Andreas Jaeger <aj@suse.de>
52178 * manual/filesys.texi (Directory Entries): Mention that d_namlen
52179 is an optional BSD extension.
52182 * manual/stdio.texi (Opening Streams): Document additional fopen
52185 2012-04-09 Roland McGrath <roland@hack.frob.com>
52187 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52188 %eax without telling the compiler.
52190 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
52193 * manual/install.texi: Use sourceware.org.
52195 2012-04-09 Joseph Myers <joseph@codesourcery.com>
52198 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52199 (__ieee754_pow): Generate overflow and underflow using huge*huge
52200 and tiny*tiny rather than just returning constant infinity or zero
52201 for large exponents.
52202 * math/libm-test.inc (pow_test): Require overflow exceptions for
52203 applicable cases of large exponents.
52206 * sysdeps/i386/fpu/e_pow.S (p10): New object.
52207 (__ieee754_pow): Use iterative multiplication algorithm only for
52208 integer exponents with absolute value below 1024. Check for odd
52209 integer exponents when using algorithm for real exponents.
52210 * math/libm-test.inc (pow_test): Add more tests.
52211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52213 2012-04-08 Joseph Myers <joseph@codesourcery.com>
52216 * math/libm-test.inc (exp_test): Do not allow overflow exception
52219 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
52222 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52223 instead of __kernel_standard_f.
52225 2012-04-08 Mike Frysinger <vapier@gentoo.org>
52227 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52228 * sysdeps/x86_64/memset_chk.S: Likewise.
52230 2012-04-08 Andreas Jaeger <aj@suse.de>
52233 * manual/startup.texi (Environment Access): Describe return value
52234 for putenv and setenv.
52237 * manual/filesys.texi (Directory Entries): Add description for
52241 * manual/filesys.texi (Directory Entries): Clarify that it's file
52242 system not operating system in the description of DT_UNKNOWN.
52245 * manual/syslog.texi (closelog): Fix reference, it's openlog.
52247 2012-04-08 Stephen Compall <s11@member.fsf.org>
52250 * manual/llio.texi (Opening and Closing Files): Add cross
52251 reference to explain mode argument.
52253 2012-04-07 Mike Frysinger <vapier@gentoo.org>
52255 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52256 * sysdeps/x86_64/memset_chk.S: Likewise.
52258 2012-04-07 David S. Miller <davem@davemloft.net>
52260 * elf/elf.h (R_SPARC_WDISP10): Define.
52261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52264 R_SPARC_SIZE64 and R_SPARC_H34.
52266 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
52268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52269 conditions and remove no longer applicable assertion.
52271 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52273 * bits/byteswap.h: Include <features.h>.
52274 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52275 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52277 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52279 * bits/byteswap.h (__bswap_16): Removed.
52280 Include <bits/byteswap-16.h> to get __bswap_16.
52281 * sysdeps/i386/bits/byteswap.h: Likewise.
52282 * sysdeps/s390/bits/byteswap.h: Likewise.
52283 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52284 * bits/byteswap-16.h: New file.
52285 * sysdeps/i386/bits/byteswap-16.h: Likewise.
52286 * sysdeps/s390/bits/byteswap-16.h: Likewise.
52287 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52288 * string/Makefile (headers): Add bits/byteswap-16.h.
52290 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52293 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52295 * nss/Makefile (tests-static, tests): Add tst-nss-static.
52296 * nss/tst-nss-static.c: New.
52298 2012-04-06 Robert Millan <rmh@gnu.org>
52301 * manual/llio.texi (File Position Primitive): lseek
52302 refers to WHENCE when it really means OFFSET.
52304 2012-04-06 Andreas Jaeger <aj@suse.de>
52306 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52307 strncmp declarations.
52309 * abilist/libc.abilist: Add __poll and __ppoll.
52311 2012-04-05 David S. Miller <davem@davemloft.net>
52313 * scripts/check-local-headers.sh: Accept a host triplet in the
52314 path matched by the exclude regexp.
52316 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52318 * sysdeps/powerpc/powerpc32/dl-machine.h
52319 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52320 * sysdeps/s390/s390-32/dl-machine.h
52321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52322 * sysdeps/sparc/sparc32/dl-machine.h
52323 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52324 * sysdeps/sparc/sparc64/dl-machine.h
52325 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52327 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52329 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52330 undefined symbol errors.
52332 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52335 2012-04-05 Michael Matz <matz@suse.de>
52338 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52340 2012-04-05 Andreas Jaeger <aj@suse.de>
52343 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52346 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52348 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52349 which ROUND is no valid rounding mode.
52351 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52355 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52357 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52359 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52360 an exception using FPU order intentionally.
52362 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52364 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52365 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52366 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52367 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52369 2012-04-05 Simon Josefsson <simon@josefsson.org>
52372 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52373 EINVAL when BUFLEN is too smal.
52375 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
52378 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52379 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52381 2012-04-03 Andreas Jaeger <aj@suse.de>
52384 * manual/setjmp.texi (System V contexts): Fix sentence.
52387 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52388 New macro for this case.
52389 [!__GNUC__] (__bswap_64): New inline function for this case.
52390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52391 * bits/byteswap.h: Likewise.
52392 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52393 ull, guard with __GLIBC_HAVE_LONG_LONG.
52395 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52396 __GLIBC_HAVE_LONG_LONG.
52398 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52399 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52401 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52404 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52405 inptr and inend, rather than using last_ch.
52407 2012-04-02 David S. Miller <davem@davemloft.net>
52409 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52410 * stdio-common/printf-parse.h (read_int): Change return type to
52411 'int', return -1 on INT_MAX overflow.
52412 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52413 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
52414 overflows INT_MAX. Check for overflow of in-format-string precision
52415 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
52416 SIZE_MAX not INT_MAX for integer overflow test.
52417 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52418 skip the construct in the format string but do not record anything.
52419 * stdio-common/bug22.c: Adjust to test both width/prevision
52420 INT_MAX overflow as well as total length INT_MAX overflow. Check
52421 explicitly for proper errno values.
52423 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
52425 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52427 * string/test-strcmp.c [! WIDE]: Likewise.
52428 * time/tst-mktime2.c: Likewise for INT_MAX.
52429 * string/test-string.h: #include <sys/param.h> for MIN.
52431 * csu/init-first.c (__libc_init_first): Call __ctype_init.
52432 * sysdeps/i386/init-first.c (init): Likewise.
52433 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52434 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52435 * sysdeps/sh/init-first.c (init): Likewise.
52437 2012-04-01 Ulrich Drepper <drepper@gmail.com>
52439 * po/ru.po: Update from translation team.
52440 * po/vi.po: Likewise.
52442 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
52444 * resolv/nss_dns/dns-host.c: Merge copyright years.
52446 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52449 Optimize memcpy with prefetch if
52450 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
52451 src, dst pointers have unequal 16 byte alignments.
52453 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52456 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52457 from a CNAME entry and return the minimum ttl for the query.
52458 (gaih_getanswer_slice): Likewise.
52460 2012-03-30 Jeff Law <law@redhat.com>
52462 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52464 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52465 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52467 * resolv/nss_dns/dns-host.c: Update copyright year.
52469 2012-03-30 Ulrich Drepper <drepper@gmail.com>
52471 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52472 requests to save a system call. Fix check that all bytes are sent.
52474 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52475 comments for sendmmsg.
52477 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52480 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52481 with only 1 character between 0x0041 and 0x01b0.
52482 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52483 * wcsmbs/tst-mbsnrtowcs.c: New file.
52485 2012-03-29 David S. Miller <davem@davemloft.net>
52487 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52488 small copies by hand.
52490 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52493 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52494 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52497 2012-03-28 David S. Miller <davem@davemloft.net>
52499 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52500 that branches into memcpy.
52501 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52504 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52507 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52508 implementation too.
52509 * sysdeps/sparc/mempcpy.S: New file.
52511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52512 the IFUNC routine in the libc case.
52513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52515 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52516 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52517 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52518 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52519 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52520 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52521 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52522 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52524 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52525 loop to 256 bytes instead of 64 bytes and fix test signedness.
52527 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52528 * sysdeps/sparc/sparc32/Makefile: rather than here...
52529 * sysdeps/sparc/sparc64/Makefile: and here.
52531 2012-03-28 Ulrich Drepper <drepper@gmail.com>
52533 * malloc/mallocbug.c: Avoid warnings about unused variables.
52535 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52538 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52539 in the right place. Discard and retry query if response is
52540 larger than input buffer size.
52542 2012-03-28 Joseph Myers <joseph@codesourcery.com>
52547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52548 x for large integer exponent.
52549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52550 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
52551 sign of result as needed afterwards.
52552 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52553 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52554 result for underflowing pow the same as for overflow.
52555 (__kernel_standard_l): Handle powl overflow and underflow here
52556 rather than calling __kernel_standard.
52557 * math/libm-test.inc (pow_test): Add more tests.
52572 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52573 * sysdeps/ieee754/k_standard.c: Include <float.h>.
52574 (__kernel_standard_l): New function.
52575 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52577 * math/w_acosl.c (__acosl): Likewise.
52578 * math/w_asinl.c (__asinl): Likewise.
52579 * math/w_atan2l.c (__atan2l): Likewise.
52580 * math/w_atanhl.c (__atanhl): Likewise.
52581 * math/w_coshl.c (__coshl): Likewise.
52582 * math/w_exp10l.c (__exp10l): Likewise.
52583 * math/w_exp2l.c (__exp2l): Likewise.
52584 * math/w_fmodl.c (__fmodl): Likewise.
52585 * math/w_hypotl.c (__hypotl): Likewise.
52586 * math/w_j0l.c (__j0l, __y0l): Likewise.
52587 * math/w_j1l.c (__j1l, __y1l): Likewise.
52588 * math/w_jnl.c (__jnl, __ynl): Likewise.
52589 * math/w_lgammal.c (__lgammal): Likewise.
52590 * math/w_log10l.c (__log10l): Likewise.
52591 * math/w_log2l.c (__log2l): Likewise.
52592 * math/w_logl.c (__logl): Likewise.
52593 * math/w_powl.c (__powl): Likewise.
52594 * math/w_remainderl.c (__remainderl): Likewise.
52595 * math/w_scalbl.c (sysv_scalbl): Likewise.
52596 * math/w_sinhl.c (__sinhl): Likewise.
52597 * math/w_sqrtl.c (__sqrtl): Likewise.
52598 * math/w_tgammal.c (__tgammal): Likewise.
52599 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52600 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52601 * math/libm-test.inc (acos_test): Add more tests.
52602 (acosh_test): Likewise.
52603 (asin_test): Likewise.
52604 (atanh_test): Likewise.
52605 (exp_test): Likewise.
52606 (exp10_test): Likewise.
52607 (exp2_test): Likewise.
52608 (expm1_test): Likewise.
52609 (lgamma_test): Likewise.
52610 (log_test): Likewise.
52611 (log10_test): Likewise.
52612 (log1p_test): Likewise.
52613 (log2_test): Likewise.
52614 (pow_test): Do not allow some spurious overflow exceptions.
52615 (sqrt_test): Add more tests.
52616 (tgamma_test): Likewise.
52617 (y0_test): Likewise.
52618 (y1_test): Likewise.
52619 (yn_test): Likewise.
52621 2012-03-27 Anton Blanchard <anton@samba.org>
52623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52629 2012-03-27 David S. Miller <davem@davemloft.net>
52631 * conform/Makefile: Run run-conformtest.sh using $(BASH).
52633 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52634 have-as-vis3 check.
52636 2012-03-27 Andreas Jaeger <aj@suse.de>
52638 * sysdeps/x86_64/elf/configure.in: Moved to ...
52639 * sysdeps/x86_64/configure.in: ... here.
52640 * sysdeps/x86_64/elf/start.S: Moved to ...
52641 * sysdeps/x86_64/start.S: ... here.
52642 * sysdeps/x86_64/elf/configure: Delete.
52644 * sysdeps/x86_64/configure.in: Merge contents from
52645 sysdeps/i386/configure.in (without i686 check).
52647 * sysdeps/i386/elf/Versions: Merge into ...
52648 * sysdeps/i386/Versions: ... this.
52649 * sysdeps/i386/elf/Versions: Delete file.
52650 * sysdeps/i386/elf/start.S: Moved to ...
52651 * sysdeps/i386/start.S: ...here.
52652 * sysdeps/i386/elf/configure.in: Merge into...
52653 * sysdeps/i386/configure.in: ...here.
52654 * sysdeps/i386/elf/configure.in: Delete file.
52655 * sysdeps/i386/elf/configure: Delete file.
52657 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52658 * debug/backtracesyms.c: ... here.
52659 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52660 * debug/backtracesymsfd.c: ... here.
52661 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52662 * sysdeps/generic/ifunc-sel.h: ... here.
52664 * sysdeps/unix/i386/start.c: Delete file.
52665 * sysdeps/unix/sparc/start.c: Delete file.
52666 * sysdeps/unix/start.c: Delete file.
52668 * sysdeps/sh/elf/configure.in: Moved to ...
52669 * sysdeps/sh/configure.in: ... here.
52670 * sysdeps/sh/elf/start.S: Moved to ...
52671 * sysdeps/sh/start.S: ... here.
52672 * sysdeps/sh/elf/configure: Delete file.
52674 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52675 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52676 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52677 * sysdeps/powerpc/powerpc64/entry.h: ... here.
52678 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52679 * sysdeps/powerpc/powerpc64/start.S: here.
52680 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52681 * sysdeps/powerpc/powerpc64/Makefile: ... this.
52682 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52683 * sysdeps/powerpc/powerpc64/configure.in: ... this.
52684 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52686 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52687 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52688 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52689 * sysdeps/powerpc/powerpc32/start.S: ... here.
52690 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52691 * sysdeps/powerpc/powerpc32/configure.in: ... this.
52692 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52694 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52695 * sysdeps/powerpc/ifunc-sel.h: ... here.
52696 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52697 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52699 * sysdeps/sparc/elf/configure.in: Moved to ...
52700 * sysdeps/sparc/configure.in: ... here.
52701 * sysdeps/sparc/elf/configure: Delete file.
52702 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52703 * sysdeps/sparc/sparc32/start.S: ... here.
52704 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52705 * sysdeps/sparc/sparc64/start.S: ... here.
52706 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52707 * sysdeps/sparc/sparc32/Makefile: ... this.
52708 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52709 * sysdeps/sparc/sparc64/Makefile: ... this.
52711 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52712 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52713 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52714 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52715 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52716 * sysdeps/s390/s390-32/setjmp.S: ... here.
52717 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52718 * sysdeps/s390/s390-32/configure.in: ... here.
52719 * sysdeps/s390/s390-32/elf/configure: Delete file.
52720 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52721 * sysdeps/s390/s390-32/start.S: ... here.
52723 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52724 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52725 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52726 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52727 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52728 * sysdeps/s390/s390-64/setjmp.S: ... here.
52729 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52730 * sysdeps/s390/s390-64/configure.in: ... here
52731 * sysdeps/s390/s390-64/elf/configure: Delete file.
52732 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52733 * sysdeps/s390/s390-64/start.S: ... here.
52734 * sysdeps/s390/s390-64/elf/configure: Delete.
52736 * configure.in: Remove support for elf directories in sysdeps.
52738 * configure: Regenerated.
52739 * sysdeps/i386/configure: Regenerated.
52740 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52741 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52742 * sysdeps/s390/s390-32/configure: Regenerated.
52743 * sysdeps/s390/s390-64/configure: Regenerated.
52744 * sysdeps/sh/configure: Regenerated.
52745 * sysdeps/sparc/configure: Regenerated.
52746 * sysdeps/x86_64/configure: Regenerated.
52748 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
52750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52753 denormal result into account.
52755 2012-03-25 Roland McGrath <roland@hack.frob.com>
52757 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52758 Reported by Allan McRae <allan@archlinux.org>.
52760 2012-03-23 Jeff Law <law@redhat.com>
52762 * nss/getnssent.c (__nss_getent): Fix typo.
52764 2012-03-23 David S. Miller <davem@davemloft.net>
52766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52768 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
52770 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52771 to pad to uint64_t for each field.
52772 (dl_tls_index): Replace unsigned long with uint64_t.
52774 2012-03-23 Daniel Jacobowitz <dmj@google.com>
52775 Paul Pluzhnikov <ppluzhnikov@google.com>
52778 * grp/Makefile (otherlibs): Don't set it.
52779 * inet/Makefile (otherlibs): Likewise.
52780 * login/Makefile (otherlibs): Likewise.
52781 * nscd/Makefile (otherlibs): Likewise.
52782 * posix/Makefile (otherlibs): Likewise.
52783 * pwd/Makefile (otherlibs): Likewise.
52784 * rt/Makefile (otherlibs): Likewise.
52785 * sunrpc/Makefile (otherlibs): Likewise.
52786 * nss/Makefile (otherlibs): Likewise.
52787 Add libnss_files to routines and static-only-routines.
52788 ($(objpfx)getent): Remove rule.
52789 * resolv/Makefile: Add libnss_dns and libresolv to routines and
52790 static-only-routines.
52792 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52795 * math/s_cexp.c: Include <float.h>.
52796 (__cexp): Handle exp result overflowing not necessarily
52797 overflowing both real and imaginary parts of result.
52798 * math/s_cexpf.c: Likewise.
52799 * math/s_cexpl.c: Likewise.
52800 * math/libm-test.inc (cexp_test): Add more tests.
52801 * sysdeps/i386/fpu/libm-test-ulps: Update.
52802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52804 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52806 * include/link.h (ELFW): New macro.
52807 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52808 Replace ELF64_R_TYPE with ELFW(R_TYPE).
52810 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52812 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52815 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52817 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52819 (struct La_x32_retval): Likewise.
52821 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52823 * sysdeps/x86_64/preconfigure.in: New file.
52824 * sysdeps/x86_64/preconfigure: New generated file.
52826 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52829 * math/e_exp2l.c: Include <float.h>.
52830 (__ieee754_exp2l): Handle overflow and underflow cases
52831 separately. Only pass fractional part of argument to
52833 * math/libm-test.inc (exp2_test): Add more tests.
52835 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52836 negating x to take absolute value.
52837 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52840 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52842 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52843 computing low part if x was negated.
52844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52846 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52848 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52849 la_x32_gnu_pltexit.
52850 (pltexit): Cast int_retval to ptrdiff_t.
52851 * elf/tst-auditmod3b.c: Likewise.
52852 * elf/tst-auditmod4b.c: Likewise.
52853 * elf/tst-auditmod5b.c: Likewise.
52854 * elf/tst-auditmod6b.c: Likewise.
52855 * elf/tst-auditmod6c.c: Likewise.
52856 * elf/tst-auditmod7b.c: Likewise.
52858 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52859 and x32_gnu_pltexit.
52861 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52862 __ELF_NATIVE_CLASS.
52863 (La_x32_regs): New macro.
52864 (La_x32_retval): Likewise.
52865 (la_x32_gnu_pltenter): New function prototype.
52866 (la_x32_gnu_pltexit): Likewise.
52868 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
52870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52875 * configure.in (libc_cv_cc_nofma): Check for option to disable
52876 generation of FMA instructions.
52877 * configure: Regenerate.
52878 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52879 * sysdeps/ieee754/dbl-64/Makefile: New file.
52880 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52881 Remove brandred-fma4.
52882 (CFLAGS-brandred-fma4.c): Remove.
52883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52884 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52886 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52889 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52891 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52892 LLONG_MAX != LONG_MAX.
52893 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52894 (_fitoa_word): Likewise.
52895 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52896 LLONG_MAX != LONG_MAX.
52897 * stdio-common/_itowa.h: Include <_itoa.h>.
52898 (_itowa_word): Use _ITOA_WORD_TYPE on value.
52899 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
52900 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
52901 only if not defined.
52902 (_ITOA_WORD_TYPE): Likewise.
52903 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52904 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52906 2012-03-21 David S. Miller <davem@davemloft.net>
52908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52910 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52912 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52913 of x86_64 when setting libc_cv_slibdir, libdir and
52915 * sysdeps/unix/sysv/linux/configure: Regenerated.
52917 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52919 * manual/lang.texi (Old Varargs): Remove section.
52920 (How Variadic): Update menu.
52921 (va_start): Do not mention varargs.h.
52923 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52924 Joseph Myers <joseph@codesourcery.com>
52926 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52928 * configure: Regenerated.
52930 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52932 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52933 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52936 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52939 * Makefile (files-for-dist): Remove NOTES.
52940 (NOTES): Remove rule.
52941 * README: Don't refer to NOTES.
52942 * manual/creature.texi: Don't include macros.texi.
52943 * manual/intro.texi (creature.texi): Remove comment referring to
52946 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52947 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52948 * configure: Regenerated.
52949 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52950 LIBC_TRY_CC_OPTION.
52951 (libc_cv_as_i686): Likewise.
52952 (libc_cv_cc_avx): Likewise.
52953 (libc_cv_cc_sse2avx): Likewise.
52954 (libc_cv_cc_fma4): Likewise.
52955 (libc_cv_cc_novzeroupper): Likewise.
52956 * sysdeps/i386/configure: Regenerated.
52959 * sysdeps/i386/fpu/s_cexp.S: Remove.
52960 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52961 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52962 * math/libm-test.inc (cexp_test): Add more tests.
52963 * sysdeps/i386/fpu/libm-test-ulps: Update.
52964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52966 2012-03-21 Allan McRae <allan@archlinux.org>
52968 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52970 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52973 * math/w_exp2.c: Do not include <float.h>.
52974 (o_threshold, u_threshold): Remove.
52975 (__exp2): Calculate result before checking finiteness and calling
52977 * math/w_exp2f.c: Likewise.
52978 * math/w_exp2l.c: Likewise.
52979 * math/libm-test.inc (exp2_test): Require overflow exception for
52983 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52984 range of signed 64-bit integers before using fistpll. Remove
52985 checks for whether integers fit in mantissa bits.
52986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52987 the range of signed 32-bit integers before using fistpl. Remove
52988 checks for whether integers fit in mantissa bits.
52989 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52990 (__ieee754_powl): Test for y outside the range of signed 64-bit
52991 integers before using fistpll. Reduce 64-bit values to 63-bit
52993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52994 divide-by-zero is raised for zero to large negative powers.
52995 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52996 (__ieee754_powl): Test for y outside the range of signed 64-bit
52997 integers before using fistpll. Reduce 64-bit values to 63-bit
52999 * math/libm-test.inc (pow_test): Add more tests.
53001 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53003 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53004 <stdio-common/_itoa.h>.
53005 * debug/segfault.c: Likewise.
53006 * elf/dl-cache.c: Likewise.
53007 * elf/dl-minimal.c: Likewise.
53008 * elf/dl-misc.c: Likewise.
53009 * elf/dl-sysdep.c: Likewise.
53010 * elf/dl-version.c: Likewise.
53011 * elf/rtld.c: Likewise.
53012 * hurd/hurdsock.c: Likewise.
53013 * hurd/lookup-retry.c: Likewise.
53014 * malloc/malloc.c: Likewise.
53015 * malloc/mtrace.c: Likewise.
53016 * nscd/nscd_getgr_r.c: Likewise.
53017 * nscd/nscd_getpw_r.c: Likewise.
53018 * nscd/nscd_getserv_r.c: Likewise.
53019 * posix/getopt_init.c: Likewise.
53020 * posix/wordexp.c: Likewise.
53021 * stdio-common/_itoa.c: Likewise.
53022 * stdio-common/printf_fphex.c: Likewise.
53023 * stdio-common/vfprintf.c: Likewise.
53024 * string/_strerror.c: Likewise.
53025 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53026 * sysdeps/i386/i686/hp-timing.h: Likewise.
53027 * sysdeps/mach/_strerror.c: Likewise.
53028 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53029 * sysdeps/mach/hurd/sethostid.c: Likewise.
53030 * sysdeps/mach/hurd/xmknodat.c: Likewise.
53031 * sysdeps/mach/xpg-strerror.c: Likewise.
53032 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53034 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53035 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53036 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53037 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53038 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53039 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53040 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53041 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53042 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53043 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53044 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53045 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53046 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53047 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53048 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53049 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53050 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53051 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53052 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53054 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53056 * stdio-common/_itoa.h: Moved to ...
53057 * sysdeps/generic/_itoa.h: Here.
53059 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53061 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53062 instead of "_itoa.h" and "_itowa.h".
53063 * stdio-common/vfprintf.: Likewise.
53065 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53067 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53069 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53070 (__signbit): Likwise.
53071 (llrintf): Likwise.
53074 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53076 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53079 2012-03-20 Joseph Myers <joseph@codesourcery.com>
53081 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53082 OVERFLOW_EXCEPTION_OK.
53083 * math/libm-test.inc ("Philosophy"): Update comment about
53085 (OVERFLOW_EXCEPTION): Define.
53086 (OVERFLOW_EXCEPTION_OK): Likewise.
53087 (INVALID_EXCEPTION_OK): Renumber.
53088 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53089 (IGNORE_ZERO_INF_SIGN): Likewise.
53090 (test_exceptions): Handle FE_OVERFLOW.
53091 (exp10_test): Expect overflow exceptions.
53092 (exp2_test): Likewise.
53093 (expm1_test): Likewise.
53094 (nextafter_test): Likewise.
53095 (pow_test): Likewise.
53096 (scalbn_test): Likewise.
53097 (scalbln_test): Likewise.
53099 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53101 * sysdeps/x86_64/bits/atomic.h
53102 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53104 (atomic_exchange_acq): Likewise.
53105 (__arch_exchange_and_add_body): Likewise.
53106 (__arch_add_body): Likewise.
53107 (atomic_add_negative): Likewise.
53108 (atomic_add_zero): Likewise.
53110 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53112 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53113 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53115 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53117 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53118 Check __x86_64__ instead of __WORDSIZE.
53120 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53122 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53124 2012-03-19 David S. Miller <davem@davemloft.net>
53126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53128 * sysdeps/sparc/fpu/fenv_private.h: New file.
53129 * sysdeps/sparc/fpu/math_private.h: Use it.
53130 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53132 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53133 (libc_feholdexcept_setroundl): Remove.
53134 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53136 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53137 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53141 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53142 int64_t instead of long int.
53143 (INSERT_WORDS64): Likwise.
53145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53147 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53148 _Unwind_GetCFA return to _Unwind_Ptr first.
53150 2012-03-19 Joseph Myers <joseph@codesourcery.com>
53153 * math/s_clog.c: Include <float.h>.
53154 (__clog): Scale large or subnormal inputs.
53155 * math/s_clogf.c: Likewise.
53156 * math/s_clogl.c: Likewise.
53157 * math/s_clog10.c: Include <float.h>.
53158 (M_LOG10_2): Define.
53159 (__clog10): Scale large or subnormal inputs.
53160 * math/s_clog10f.c: Likewise.
53161 * math/s_clog10l.c: Likewise.
53162 * math/libm-test.inc (clog_test): Add more tests.
53163 (clog10_test): Likewise.
53164 * sysdeps/i386/fpu/libm-test-ulps: Update.
53165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53168 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53170 * math/libm-test.inc (atan2_test): Add another test.
53172 * Makerules (common-objdir-compile): Remove.
53173 * sysdeps/unix/Makefile (config-generated): Do not add
53174 $(unix-generated) to variable.
53175 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53176 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53178 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53180 [generic bits/local_lim.h] (before-compile): Do not append to
53182 [generic bits/local_lim.h] (common-generated): Likewise.
53183 [generic sys/param.h] (before-compile): Do not append to variable.
53184 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53185 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53186 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53187 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53189 [generic sys/param.h] (sys/param.h-includes): Remove variable.
53190 [generic sys/param.h] (sys/param.h-includes): Remove rule.
53191 [generic sys/param.h] ($(addprefix
53192 $(common-objpfx),$(sys/param.h-includes))): Likewise.
53193 [generic sys/param.h] (common-generated): Do not append to
53195 [generic sys/param.h] (sysdep_headers): Likewise.
53196 [generic bits/errno.h] (before-compile): Do not append to
53198 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53200 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53201 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53202 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53203 [generic bits/errno.h] (common-generated): Do not append to
53205 [generic bits/ioctls.h] (before-compile): Do not append to
53207 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53209 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53210 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53211 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53213 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53214 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53215 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53216 [generic bits/ioctls.h] (common-generated): Do not append to
53218 [generic sys/syscall.h] (syscall.h): Remove variable.
53219 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53221 [generic sys/syscall.h] (before-compile): Do not append to
53223 [generic sys/syscall.h] (common-generated): Likewise.
53224 * sysdeps/unix/errnos-tmpl.c: Remove file.
53225 * sysdeps/unix/errnos.awk: Likewise.
53226 * sysdeps/unix/ioctls-tmpl.c: Likewise.
53227 * sysdeps/unix/ioctls.awk: Likewise.
53228 * sysdeps/unix/mk-local_lim.c: Likewise.
53229 * sysdeps/unix/snarf-ioctls: Likewise.
53231 2012-03-19 Richard Henderson <rth@twiddle.net>
53233 * sysdeps/i386/fpu/fenv_private.h: New file.
53234 * sysdeps/i386/fpu/math_private.h: Use it.
53235 (math_opt_barrier, math_force_eval): Remove.
53236 (libc_feholdexcept_setround_53bit): Remove.
53237 (libc_feupdateenv_53bit): Remove.
53238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53239 (math_opt_barrier, math_force_eval): Remove.
53240 (libc_feholdexcept): Remove.
53241 (libc_feholdexcept_setround): Remove.
53242 (libc_fetestexcept, libc_fesetenv): Remove.
53243 (libc_feupdateenv_test): Remove.
53244 (libc_feupdateenv, libc_feholdsetround): Remove.
53245 (libc_feresetround): Remove.
53247 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53248 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53250 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53251 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53252 (libc_feupdateenv_testl): New.
53253 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53254 (libc_feupdateenv_testf): New.
53255 (libc_feupdateenv): Use libc_feupdateenv_test.
53256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53259 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53260 (libc_feholdsetroundf, libc_feholdsetroundl): New.
53261 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53262 (libc_feresetround_noex): New.
53263 (libc_feresetround_noexf): New.
53264 (libc_feresetround_noexl): New.
53265 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53266 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53267 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53273 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53275 SET_RESTORE_ROUND_NOEX.
53276 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53277 SET_RESTORE_ROUND_NOEXF.
53278 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53279 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53280 (libc_feholdsetroundf): New.
53281 (libc_feresetround, libc_feresetroundf): New.
53283 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53284 (libc_feholdexcept_setround_53bit): Convert from macro to function.
53285 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
53287 * sysdeps/generic/math_private.h: Include <fenv.h>.
53288 (default_libc_feholdexcept): New.
53289 (default_libc_feholdexcept_setround): New.
53290 (default_libc_fesetenv, default_libc_feupdateenv): New.
53291 (libc_feholdexcept): Only define if undefined.
53292 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53293 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53294 (libc_feholdexcept_setroundl): Likewise.
53295 (libc_feholdexcept_setround_53bit): Likewise.
53296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53297 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53298 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53299 (libc_feupdateenv_53bit): Likewise.
53300 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53301 (libc_feholdexcept): Convert from macro to inline function.
53302 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53303 (libc_fesetenv, libc_feupdateenv): Likewise.
53305 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53306 not previously defined.
53307 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53308 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53309 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53310 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53311 * sysdeps/ieee754/flt-32/math_private.h: New file.
53312 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53313 math_private.h below SET_FLOAT_WORD.
53314 (__isnan, __isinf_ns, __finite): Remove.
53315 (__isnanf, __isinf_nsf, __finitef): Remove.
53317 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
53319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53321 2012-03-17 David S. Miller <davem@davemloft.net>
53324 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53327 2012-03-16 David S. Miller <davem@davemloft.net>
53329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53335 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53336 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53337 sysdep_routines when subdir is sysvipc.
53338 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53339 __getshmlba helper.
53341 * sysdeps/sparc/fpu/libm-test/ulps: Update.
53343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53345 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53351 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53352 (__lround): Renamed to ...
53353 (__llround): This. Replace long int with long long int.
53354 Define lround functions as aliases of llround functions.
53355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53357 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53359 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53360 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
53361 adresses to uintptr_t. Replace "long int" and "unsigned long
53362 int" with "greg_t" on va_arg.
53364 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53366 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53367 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53369 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53370 Move e_machine check before EI_CLASS check. Handle x32
53371 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53372 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53373 SKIP_EM_IA_64 and include
53374 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53376 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53377 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53378 (add_system_dir): New macro.
53380 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53381 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53383 2012-03-16 Joseph Myers <joseph@codesourcery.com>
53394 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53396 * math/w_j0f.c (j0f): Likewise.
53398 * math/w_j0l.c (__j0l): Likewise.
53400 * math/w_j1.c (j1): Likewise.
53402 * math/w_j1f.c (j1f): Likewise.
53404 * math/w_j1l.c (__j1l): Likewise.
53406 * math/w_jn.c (jn): Likewise.
53408 * math/w_jnf.c (jnf): Likewise.
53410 * math/w_jnl.c (__jnl): Likewise.
53412 * math/libm-test.inc (j0_test): Add more tests.
53413 (j1_test): Likewise.
53414 (jn_test): Likewise. Add trailing semicolon to existing test.
53415 (y0_test): Likewise.
53416 (y1_test): Likewise.
53417 * sysdeps/i386/fpu/libm-test-ulps: Update.
53418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53423 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53424 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53425 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53426 (__tanl): Set errno for infinite argument.
53427 * sysdeps/i386/fpu/mptan.c: Remove.
53428 * sysdeps/i386/fpu/s_tan.S: Likewise.
53429 * sysdeps/i386/fpu/s_tanl.S: Likewise.
53430 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53431 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53432 * math/libm-test.inc (tan_test): Add more tests and enable more
53433 tests for double and long double.
53434 * sysdeps/i386/fpu/libm-test-ulps: Update.
53435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53437 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
53439 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53440 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53442 2012-03-16 Roland McGrath <roland@hack.frob.com>
53444 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53445 * configure.in: Use it for both main tree and add-ons.
53446 * configure: Regenerated.
53448 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
53450 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53452 2012-03-16 Joseph Myers <joseph@codesourcery.com>
53454 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53458 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53459 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53460 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53461 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53462 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53464 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53466 != 0 for prec == 2.
53467 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53468 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53469 * sysdeps/i386/fpu/s_cosl.S: Likewise.
53470 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53471 * sysdeps/i386/fpu/s_sinl.S: Likewise.
53472 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53473 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53474 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53475 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53476 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53477 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53478 * math/libm-test.inc (cos_test): Add more tests and enable more
53479 tests for long double.
53480 (sin_test): Likewise.
53481 (sincos_test): Likewise.
53482 * sysdeps/i386/fpu/libm-test-ulps: Update.
53483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53485 2012-03-16 David S. Miller <davem@davemloft.net>
53487 * sysdeps/sparc/fpu/math_private.h: New file.
53489 2012-03-15 David S. Miller <davem@davemloft.net>
53491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53505 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53506 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53508 * sysdeps/sparc/sparc-ifunc.h: New file.
53509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53554 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53556 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53560 2012-03-15 Andreas Jaeger <aj@suse.de>
53563 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53564 ieee754/flt-32 implementation for sin, cos and sincos.
53565 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53566 * sysdeps/i386/fpu/s_cosf.S: Likewise.
53567 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53568 * sysdeps/i386/fpu/s_sinf.S: Likewise.
53569 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53570 ieee754/flt-32 implementation for tan.
53572 * math/libm-test.inc (cos_test): Enable some large input tests for
53574 (sin_test): Likewise.
53575 (sincos_test): Likewise.
53576 (tan_test): Add tests for large input.
53578 * sysdeps/i386/fpu/libm-test-ulps: Update.
53580 2012-03-15 Andreas Jaeger <aj@suse.de>
53583 * math/libm-test.inc (cos_test): Add more test cases.
53584 (sin_test): Likewise.
53585 (sincos_test): Likewise.
53587 2012-03-15 Andreas Jaeger <aj@suse.de>
53590 * math/libm-test.inc (cos_test): Add a test case for large input
53592 (sin_test): Likewise.
53593 (sincos_test): Likewise.
53595 2012-03-15 Andreas Jaeger <aj@suse.de>
53596 Joseph Myers <joseph@codesourcery.com>
53599 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53600 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53601 * sysdeps/i386/fpu/branred.c: Likewise.
53602 * sysdeps/i386/fpu/dosincos.c: Likewise.
53603 * sysdeps/i386/fpu/mpa.c: Likewise.
53604 * sysdeps/i386/fpu/s_cos.S: Likewise.
53605 * sysdeps/i386/fpu/s_sin.S: Likewise.
53606 * sysdeps/i386/fpu/s_sincos.S: Likewise.
53607 * sysdeps/i386/fpu/sincos32.c: Likewise.
53609 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53611 (libc_feupdateenv_53bit): Define.
53612 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53614 (libc_feupdateenv_53bit): Define.
53616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53617 53 bit (without extend i386 double precision).
53619 * math/libm-test.inc (sincos_test): Add tests for large input.
53623 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53625 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53629 2012-03-15 David S. Miller <davem@davemloft.net>
53631 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53632 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53633 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53634 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53659 fmin/fmax sysdep routines.
53660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53662 2012-03-14 David S. Miller <davem@davemloft.net>
53664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53736 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53741 * sysdeps/sparc/configure.in: New file.
53742 * sysdeps/sparc/configure: Generate.
53743 * configure.in (libc_cv_sparc_as_vis3): Substitute.
53744 * configure: Regenerate.
53745 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53746 * config.make.in (have-as-vis3): New.
53747 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53748 available use -Av9d instead of -Av9a.
53749 * sysdeps/sparc/sparc64/Makefile: Likewise.
53750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53763 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53765 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53766 fzeros/fnegs to load 0x80000000 into a float register instead of
53768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53770 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53774 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53775 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53776 ($(inst_includedir)/bits/syscall.h): Remove rule.
53777 ($(objpfx)bits/syscall.d): Include instead of
53778 $(objpfx)syscall-list.d.
53779 (generated): Change syscall-list.h and syscall-list.d to
53780 bits/syscall.h and bits/syscall.d.
53782 2012-03-14 Roland McGrath <roland@hack.frob.com>
53785 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53787 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53790 * math/s_csqrt.c: Include <float.h>.
53791 (__csqrt): Scale large or subnormal inputs.
53792 * math/s_csqrtf.c: Likewise.
53793 * math/s_csqrtl.c: Likewise.
53794 * math/libm-test.inc (csqrt_test): Add more tests.
53795 * sysdeps/i386/fpu/libm-test-ulps: Update.
53796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53799 * math/libm-test.inc (hypot_test): Add more tests.
53801 2012-03-13 David S. Miller <davem@davemloft.net>
53804 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53805 double-precision for the calculation instead of scaling.
53807 2012-03-13 Joseph Myers <joseph@codesourcery.com>
53809 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53810 manipulate bits before adding and subtracting TWO52[sx].
53811 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53816 2012-03-13 David S. Miller <davem@davemloft.net>
53818 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53819 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53821 rtld-global-offsets.h
53822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53824 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53827 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53829 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53830 'err' in the ifdef scope in which it is actually used.
53832 * nss/nss_db/db-init.c: Include string.h
53834 2012-03-12 David S. Miller <davem@davemloft.net>
53836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53837 masking out of the most significant byte of random value used.
53838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53839 Fix coding style in previous change.
53841 * sysdeps/unix/sysv/linux/kernel-features.h
53842 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53843 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53845 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53848 2012-03-11 David S. Miller <davem@davemloft.net>
53850 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53851 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53852 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53853 for 'resultvar' otherwise things get truncated on 64-bit.
53855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53856 Fix masking out of the most significant byte of random value used.
53858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53860 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
53862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53864 2012-03-09 David S. Miller <davem@davemloft.net>
53866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53867 variables with appropriate CPP guards.
53868 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53869 from the frame pointer, not the stack pointer. Correct layout
53870 comments. Fix test on resulting framesize and the management of
53871 the outregs buffer for pltexit. Preserve floating point return
53872 values across _dl_call_pltexit call.
53873 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53874 framesize and the management of the outregs buffer for pltexit.
53875 Preserve floating point return values across _dl_call_pltexit
53877 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53878 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53879 (la_sparc64_gnu_pltexit): New functions.
53880 (print_exit): Fix format string for return register value.
53882 2012-03-10 Joseph Myers <joseph@codesourcery.com>
53884 * sunrpc/Makefile (others): Add rpcgen.
53885 ($(objpfx)rpcgen): Remove special build rule and dependency on
53887 * sunrpc/rpcgen.c: New file.
53889 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
53892 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53893 * stdio-common/bug-vfprintf-nargs.c: Likewise.
53894 * sysdeps/i386/crti.S: Likewise.
53895 * sysdeps/i386/crtn.S: Likewise.
53896 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53897 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53898 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53899 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53900 * sysdeps/sh/crti.S: Likewise.
53901 * sysdeps/sh/crtn.S: Likewise.
53902 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53905 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53907 * locale/programs/locfile-kw.gperf: Likewise.
53908 * locale/programs/charmap-kw.h: Regenerated.
53909 * locale/programs/locfile-kw.h: Likewise.
53912 * intl/plural.y: Replace FSF snail mail address with URL.
53913 * intl/plural.c: Regenerated.
53915 2012-03-09 Richard Henderson <rth@twiddle.net>
53917 * include/math_private.h: Remove file.
53918 * math/math_private.h: Move file ...
53919 * sysdeps/generic/math_private.h: ... here.
53921 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53922 * sysdeps/powerpc/fpu/math_private.h: Likewise.
53923 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53925 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53926 and <math_private.h>.
53927 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53928 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53929 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53930 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53931 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53932 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53935 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53936 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53939 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53941 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53942 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53943 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53944 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53945 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53946 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53948 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53949 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53951 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53952 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53953 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53954 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53957 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53959 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53963 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53964 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53965 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53967 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53968 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53969 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53970 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53971 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53972 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53973 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53974 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53975 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53976 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53977 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53978 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53979 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53980 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53981 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53982 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53984 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53985 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53986 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53987 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53988 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53990 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53991 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53992 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53993 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53994 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53995 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53996 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53997 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53998 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53999 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54001 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54007 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54008 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54009 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54011 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54013 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54014 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54015 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54018 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54020 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54021 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54022 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54023 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54024 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54026 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54027 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54028 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54029 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54030 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54031 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54032 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54033 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54034 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54035 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54037 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54038 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54039 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54041 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54042 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54043 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54044 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54045 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54046 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54047 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54048 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54049 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54050 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54051 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54054 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54055 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54056 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54057 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54059 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54060 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54061 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54062 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54063 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54064 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54065 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54066 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54067 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54068 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54069 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54070 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54071 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54072 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54073 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54074 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54075 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54076 * sysdeps/ieee754/k_standard.c: Likewise.
54077 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54078 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54079 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54080 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54081 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54082 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54083 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54084 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54085 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54086 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54087 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54088 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54089 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54090 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54091 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54092 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54093 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54094 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54095 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54096 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54097 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54098 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54099 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54100 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54101 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54102 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54103 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54104 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54105 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54106 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54107 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54108 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54109 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54110 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54111 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54112 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54113 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54114 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54115 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54116 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54117 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54118 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54119 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54120 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54121 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54122 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54123 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54124 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54125 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54126 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54127 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54128 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54129 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54130 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54131 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54132 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54133 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54134 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54135 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54136 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54137 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54138 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54139 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54140 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54141 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54142 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54143 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54144 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54147 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54149 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54150 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54158 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54159 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54162 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54163 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54167 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54169 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54170 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54171 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54172 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54173 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54174 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54175 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54176 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54178 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54181 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54182 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54183 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54184 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54185 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54186 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54188 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54189 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54190 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54191 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54192 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54193 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54194 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54195 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54196 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54197 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54198 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54199 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54200 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54201 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54202 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54204 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54205 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54206 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54207 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54208 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54209 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54212 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54213 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54214 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54215 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54216 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54218 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54219 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54220 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54221 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54226 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54227 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54228 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54230 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54231 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54232 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54233 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54234 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54236 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54237 * sysdeps/ieee754/s_lib_version.c: Likewise.
54238 * sysdeps/ieee754/s_matherr.c: Likewise.
54239 * sysdeps/ieee754/s_signgam.c: Likewise.
54240 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54242 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54243 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54244 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54245 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54246 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54247 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54248 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54249 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54250 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54251 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54252 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54254 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54255 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54256 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54257 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54258 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54262 2012-03-09 Joseph Myers <joseph@codesourcery.com>
54264 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54265 * sunrpc/rpc_main.c: Likewise.
54266 * sunrpc/rpc_svcout.c: Likewise.
54268 2012-03-09 David S. Miller <davem@davemloft.net>
54270 * include/math_private.h: New file.
54272 2012-03-09 Joseph Myers <joseph@codesourcery.com>
54274 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54275 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54276 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54277 from <bits/socket_type.h>.
54278 (enum __socket_type): Don't define here.
54279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54281 bits/socket_type.h.
54284 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54285 checking __USE_GNU.
54287 * Makerules ($(inst_includedir)/%.h): New rule.
54288 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54289 (install-others): Remove variable setting.
54290 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54292 2012-03-08 Richard Henderson <rth@twiddle.net>
54294 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54295 from macro to inline function; merge with the
54296 !__LIBC_INTERNAL_MATH_INLINES version.
54297 (__ieee754_sqrtf): Likewise.
54299 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54300 to inline function.
54301 (__rintf, __floor, __floorf): Likewise.
54303 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54304 macro to inline function.
54305 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54308 not <math/math_private.h>.
54310 2012-03-08 David S. Miller <davem@davemloft.net>
54312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54314 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54316 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
54318 * resolv/gai_misc.c (handle_requests): Fix struct timespec
54320 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54321 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54323 2012-03-08 Ulrich Drepper <drepper@gmail.com>
54325 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
54326 be defined individually, they must be defined as a block. Define
54327 S for printing a string instead of hidint the different by using a
54328 macro for adding the 'l'.
54329 * stdio-common/tst-fphex-wide.c: Adjust.
54331 2012-03-07 Marek Polacek <polacek@redhat.com>
54333 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54335 2012-03-08 Marek Polacek <polacek@redhat.com>
54338 * stdio-common/Makefile (tests): Add tst-fphex-wide.
54339 * stdio-common/tst-fphex.c: Define a few macros to make the
54340 test reusable. Use them.
54341 * stdio-common/tst-fphex-wide.c: New file.
54343 2012-03-08 Joseph Myers <joseph@codesourcery.com>
54346 * manual/macros.texi (gnusystems): New macro.
54347 (nongnusystems): Likewise.
54348 (gnulinuxhurdsystems): Likewise.
54349 (gnuhurdsystems): Likewise..
54350 (gnulinuxsystems): Likewise.
54351 * manual/charset.texi: Use new macros or @theglibc{} to refer to
54352 variants of the GNU system, not "GNU system".
54353 * manual/conf.texi: Likewise.
54354 * manual/errno.texi: Likewise. Update example of errno macro
54356 * manual/filesys.texi: Likewise.
54357 (getumask): Document as specific to GNU/Hurd.
54358 * manual/install.texi: Likewise. Reword some references to
54360 * manual/intro.texi: Likewise.
54361 * manual/io.texi: Likewise.
54362 (File Name Portability): Detail which constraints are inapplicable
54363 to all GNU systems and which are only inapplicable to GNU/Hurd.
54364 * manual/job.texi: Likewise.
54365 * manual/llio.texi: Likewise.
54366 (O_NOCTTY): Document as present on GNU/Linux.
54367 * manual/maint.texi: Likewise.
54368 * manual/memory.texi: Likewise.
54369 * manual/pattern.texi: Likewise.
54370 * manual/pipe.texi: Likewise.
54371 * manual/process.texi: Likewise.
54372 * manual/resource.texi: Likewise.
54373 (RUSAGE_CHILDREN): Remove statement about specifying a particular
54375 * manual/setjmp.texi: Likewise.
54376 * manual/signal.texi: Likewise.
54377 * manual/startup.texi: Likewise.
54378 * manual/stdio.texi: Likewise.
54379 * manual/terminal.texi: Likewise.
54380 (ONLCR): Document as POSIX.
54381 (OXTABS): Document availability on GNU/Linux as XTABS.
54382 (ONOEOT): Document availability separately from other bits.
54383 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54384 * manual/time.texi: Likewise.
54385 * manual/users.texi: Likewise.
54386 * INSTALL: Regenerated.
54387 * sysdeps/gnu/errlist.c: Regenerated.
54389 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54390 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54391 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
54393 * configure: Regenerated.
54395 2012-03-07 Joseph Myers <joseph@codesourcery.com>
54397 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54398 default includes instead of AC_HEADER_CHECK.
54399 * sysdeps/i386/configure: Regenerated.
54402 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54403 * math/s_cacoshf.c (__cacoshf): Likewise.
54404 * math/s_cacoshl.c (__cacoshl): Likewise.
54405 * math/s_casinh.c (__casinh): Set signs of result from argument.
54406 * math/s_casinhf.c (__casinhf): Likewise.
54407 * math/s_casinhl.c (__casinhl): Likewise.
54408 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54409 (casinh_test): Add more tests.
54410 * sysdeps/i386/fpu/libm-test-ulps: Update.
54411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54413 2012-03-07 Ulrich Drepper <drepper@gmail.com>
54415 * po/zh_TW.po: Update from translation team.
54417 * login/Makefile (distribute): Remove variable.
54418 * catgets/Makefile: Likewise.
54419 * mach/Makefile: Likewise.
54420 * malloc/Makefile: Likewise.
54421 * misc/Makefile: Likewise.
54422 * iconv/Makefile: Likewise.
54423 * nscd/Makefile: Likewise.
54424 * hurd/Makefile: Likewise.
54425 * manual/Makefile: Likewise.
54426 * locale/Makefile: Likewise.
54427 * intl/Makefile: Likewise.
54428 * conform/Makefile: Likewise.
54429 * nss/Makefile: Likewise.
54430 * time/Makefile: Likewise.
54431 * soft-fp/Makefile: Likewise.
54432 * dirent/Makefile: Likewise.
54433 * gmon/Makefile: Likewise.
54434 * po/Makefile: Likewise.
54435 * rt/Makefile: Likewise.
54436 * socket/Makefile: Likewise.
54437 * math/Makefile: Likewise.
54438 * signal/Makefile: Likewise.
54439 * debug/Makefile: Likewise.
54440 * elf/Makefile: Likewise.
54441 * timezone/Makefile: Likewise.
54442 * stdlib/Makefile: Likewise.
54443 * iconvdata/Makefile: Likewise.
54444 * sunrpc/Makefile: Likewise.
54445 * io/Makefile: Likewise.
54446 * argp/Makefile: Likewise.
54447 * inet/Makefile: Likewise.
54448 * hesiod/Makefile: Likewise.
54449 * grp/Makefile: Likewise.
54450 * csu/Makefile: Likewise.
54451 * wctype/Makefile: Likewise.
54452 * crypt/Makefile: Likewise.
54453 * libio/Makefile: Likewise.
54454 * string/Makefile: Likewise.
54455 * nis/Makefile: Likewise.
54456 * resolv/Makefile: Likewise.
54457 * stdio-common/Makefile: Likewise.
54458 * wcsmbs/Makefile: Likewise.
54459 * dlfcn/Makefile: Likewise.
54460 * posix/Makefile: Likewise.
54463 * timezone/Makefile: Don't install timezone files, just the programs
54466 2012-03-06 Ulrich Drepper <drepper@gmail.com>
54468 * nss/databases.def: Add missing gshadow entry.
54470 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
54472 2012-03-06 Marek Polacek <polacek@redhat.com>
54475 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54476 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54477 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54478 * stdio-common/tst-long-dbl-fphex.c: New file.
54480 2012-03-06 David S. Miller <davem@davemloft.net>
54482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54483 (set_obp_int): New function.
54484 (get_obp_int): New function.
54485 (__get_clockfreq_via_dev_openprom): Likewise.
54486 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54487 Avoid unused variable warnings on 'val' and use builtin_expect.
54488 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54490 (INLINE_CLONE_SYSCALL): Likewise.
54492 2012-03-05 David S. Miller <davem@davemloft.net>
54494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54496 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
54498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54500 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54501 only for |x| >= 40.
54502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54504 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
54506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54507 Replace gettimeofday with __vdso_gettimeofday.
54509 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54510 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54511 __vdso_clock_gettime and __vdso_getcpu.
54513 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54514 time with __vdso_time.
54516 2012-03-05 Joseph Myers <joseph@codesourcery.com>
54518 * manual/lang.texi (size_t): Note types to which size_t may be
54519 equivalent with the GNU C Library, but do not describe when
54520 differences between them are significant.
54522 2012-03-05 Andreas Jaeger <aj@suse.de>
54524 * sysdeps/i386/fpu/libm-test-ulps: Update.
54526 2012-03-05 Joseph Myers <joseph@codesourcery.com>
54529 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54530 (__ieee754_pow): Save and restore rounding mode and use
54531 round-to-nearest for main computations.
54532 * math/libm-test.inc (pow_test_tonearest): New function.
54533 (pow_test_towardzero): Likewise.
54534 (pow_test_downward): Likewise.
54535 (pow_test_upward): Likewise.
54536 (main): Call the new functions.
54537 * sysdeps/i386/fpu/libm-test-ulps: Update.
54538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54541 * math/libm-test.inc (cosh_test_tonearest): New function.
54542 (cosh_test_towardzero): Likewise.
54543 (cosh_test_downward): Likewise.
54544 (cosh_test_upward): Likewise.
54545 (sinh_test_tonearest): Likewise.
54546 (sinh_test_towardzero): Likewise.
54547 (sinh_test_downward): Likewise.
54548 (sinh_test_upward): Likewise.
54549 (main): Call the new functions.
54550 * sysdeps/i386/fpu/libm-test-ulps: Update.
54551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54553 2012-03-05 Tom de Vries <tom@codesourcery.com>
54555 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54556 default stack guard is set in last bytes.
54557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54559 2012-03-05 Kees Cook <keescook@chromium.org>
54561 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54564 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54565 possibly allocate from heap instead of stack.
54566 * stdio-common/bug-vfprintf-nargs.c: New file.
54567 * stdio-common/Makefile (tests): Add nargs overflow test.
54569 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
54571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54573 2012-03-03 Marek Polacek <polacek@redhat.com>
54575 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54576 * math/math_private.h: Likewise.
54577 * stdlib/tst-strtod.c: Likewise.
54578 * sysdeps/i386/i486/bits/atomic.h: Likewise.
54579 * sysdeps/x86_64/bits/atomic.h: Likewise.
54581 2012-03-02 David S. Miller <davem@davemloft.net>
54583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54587 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54588 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54589 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54590 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54592 2012-03-02 Roland McGrath <roland@hack.frob.com>
54595 * manual/examples/README: New file, says the example source files
54596 can be used under GPL>=2.
54597 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54598 line containing just "*/".
54599 * manual/examples/add.c: Add copyright header (GPL>=2).
54600 * manual/examples/argp-ex1.c: Likewise.
54601 * manual/examples/argp-ex2.c: Likewise.
54602 * manual/examples/argp-ex3.c: Likewise.
54603 * manual/examples/argp-ex4.c: Likewise.
54604 * manual/examples/atexit.c: Likewise.
54605 * manual/examples/db.c: Likewise.
54606 * manual/examples/dir.c: Likewise.
54607 * manual/examples/dir2.c: Likewise.
54608 * manual/examples/execinfo.c: Likewise.
54609 * manual/examples/filecli.c: Likewise.
54610 * manual/examples/filesrv.c: Likewise.
54611 * manual/examples/fmtmsgexpl.c: Likewise.
54612 * manual/examples/genpass.c: Likewise.
54613 * manual/examples/inetcli.c: Likewise.
54614 * manual/examples/inetsrv.c: Likewise.
54615 * manual/examples/isockad.c: Likewise.
54616 * manual/examples/longopt.c: Likewise.
54617 * manual/examples/memopen.c: Likewise.
54618 * manual/examples/memstrm.c: Likewise.
54619 * manual/examples/mkfsock.c: Likewise.
54620 * manual/examples/mkisock.c: Likewise.
54621 * manual/examples/mygetpass.c: Likewise.
54622 * manual/examples/pipe.c: Likewise.
54623 * manual/examples/popen.c: Likewise.
54624 * manual/examples/rprintf.c: Likewise.
54625 * manual/examples/search.c: Likewise.
54626 * manual/examples/select.c: Likewise.
54627 * manual/examples/setjmp.c: Likewise.
54628 * manual/examples/sigh1.c: Likewise.
54629 * manual/examples/sigusr.c: Likewise.
54630 * manual/examples/stpcpy.c: Likewise.
54631 * manual/examples/strdupa.c: Likewise.
54632 * manual/examples/strftim.c: Likewise.
54633 * manual/examples/strncat.c: Likewise.
54634 * manual/examples/subopt.c: Likewise.
54635 * manual/examples/swapcontext.c: Likewise.
54636 * manual/examples/termios.c: Likewise.
54637 * manual/examples/testopt.c: Likewise.
54638 * manual/examples/testpass.c: Likewise.
54639 * manual/examples/timeval_subtract.c: Likewise.
54642 * manual/time.texi (Elapsed Time): Move timeval_subtract example
54644 * manual/timeval_subtract.c.texi: ... here, new file.
54646 2012-03-02 David S. Miller <davem@davemloft.net>
54648 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54650 2012-03-02 Joseph Myers <joseph@codesourcery.com>
54653 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54654 (__sin): Save and restore rounding mode and use round-to-nearest
54655 for all computations.
54656 (__cos): Save and restore rounding mode and use round-to-nearest
54657 for all computations.
54658 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54660 (tan): Save and restore rounding mode and use round-to-nearest for
54662 * math/libm-test.inc (cos_test_tonearest): New function.
54663 (cos_test_towardzero): Likewise.
54664 (cos_test_downward): Likewise.
54665 (cos_test_upward): Likewise.
54666 (sin_test_tonearest): Likewise.
54667 (sin_test_towardzero): Likewise.
54668 (sin_test_downward): Likewise.
54669 (sin_test_upward): Likewise.
54670 (tan_test_tonearest): Likewise.
54671 (tan_test_towardzero): Likewise.
54672 (tan_test_downward): Likewise.
54673 (tan_test_upward): Likewise.
54674 (main): Call the new functions.
54675 * sysdeps/i386/fpu/libm-test-ulps: Update.
54676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54680 small n, then large n, before computing and testing k+n.
54681 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54686 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54687 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54688 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54689 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54692 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54693 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54694 * math/libm-test.inc (scalbn_test): Add more tests.
54695 (scalbln_test): Likewise.
54697 * manual/filesys.texi (mode_t): Describe constraints on size and
54698 signedness, not exact equivalence to a particular type.
54700 (ino64_t): Likewise.
54702 (nlink_t): Likewise.
54703 (blkcnt_t): Likewise.
54704 (blkcnt64_t): Likewise.
54705 * manual/llio.texi (off_t): Likewise.
54708 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54709 (__ieee754_exp): Save and restore rounding mode and use
54710 round-to-nearest for all computations.
54711 * math/libm-test.inc (exp_test_tonearest): New function.
54712 (exp_test_towardzero): Likewise.
54713 (exp_test_downward): Likewise.
54714 (exp_test_upward): Likewise.
54715 (main): Call the new functions.
54716 * sysdeps/i386/fpu/libm-test-ulps: Update.
54717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54719 2012-03-01 Chris Demetriou <cgd@google.com>
54721 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54722 have predictable order.
54724 2012-03-01 David S. Miller <davem@davemloft.net>
54726 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54728 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54729 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54730 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54731 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54733 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54734 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54735 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54737 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54738 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54739 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54740 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54741 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54745 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54746 * sysdeps/sparc/fpu/libm-test-ulps: to here.
54747 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54749 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54750 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54751 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54752 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54753 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54756 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54757 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54758 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54759 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54763 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54765 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54766 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54767 * sysdeps/sparc/elf/configure: Regenerated.
54769 2012-03-01 Joseph Myers <joseph@codesourcery.com>
54771 * configure.in (AS, LD): Require binutils 2.20 or later.
54772 * configure: Regenerated.
54773 * manual/install.texi (Tools for Compilation): Give binutils 2.20
54774 as required minimum version.
54775 * INSTALL: Regenerated.
54779 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54780 before squaring exponent.
54781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54782 bottom long double and 27 bits of top long double before squaring
54784 * math/libm-test.inc (erfc_test): Add more tests.
54785 * sysdeps/i386/fpu/libm-test-ulps: Update.
54786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54789 2012-03-01 Kai Tietz <ktietz@redhat.com>
54791 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54792 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54793 containing bit-fields.
54794 * soft-fp/extended.h (_FP_UNION_E): Likewise.
54795 * soft-fp/single.h (_FP_UNION_S): Likewise.
54796 * soft-fp/double.h (_FP_UNION_D): Likewise.
54798 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54801 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54802 not include ../strcmp.S.
54803 [USE_AS_STRNCASECMP_L]: Likewise.
54804 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54805 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54806 * sysdeps/i386/i686/multiarch/strncase_l-c.c
54807 (__strncasecmp_l_ia32): Define as alias to
54808 __strncasecmp_l_nonascii.
54811 * math/libm-test.inc (expm1_test): Add test for bug 5794.
54812 * sysdeps/i386/fpu/libm-test-ulps: Update.
54813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54815 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54818 2012-02-29 Jeff Law <law@redhat.com>
54820 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54821 out of bounds read.
54823 2012-02-29 Marek Polacek <polacek@redhat.com>
54826 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54827 * elf/Makefile: Add rules to run tst-unused-dep.out.
54829 2012-02-28 David S. Miller <davem@davemloft.net>
54831 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54832 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54835 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54836 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54838 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54840 * math/libm-test.inc (llround_test): Move one test from
54841 lround_test. Use TEST_f_L in moved test.
54842 (lround_test): Move misplaced test to llround_test. Add testcase
54845 2012-02-28 Ulrich Drepper <drepper@gmail.com>
54847 * sysdeps/x86_64/fpu/e_expf.S: New file.
54848 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54850 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
54853 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54854 of remain_len that may cause incomplete multi-byte character and
54856 * posix/bug-regex33.c: New file.
54857 * posix/Makefile (tests): Add bug-regex33.
54859 2012-02-28 Joseph Myers <joseph@codesourcery.com>
54861 * manual/macros.texi: New file.
54862 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54863 * manual/libc.texinfo: Include macros.texi.
54864 * manual/creatute.texi: Likewise.
54865 * manual/install.texi: Likewise.
54866 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54867 @glibcadj{} in references to the GNU C Library.
54868 * manual/charset.texi: Likewise.
54869 * manual/conf.texi: Likewise.
54870 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54871 when not using those macros.
54872 * manual/creature.texi: Likewise.
54873 * manual/crypt.texi: Likewise.
54874 * manual/errno.texi: Likewise.
54875 * manual/filesys.texi: Likewise.
54876 * manual/header.texi: Likewise.
54877 * manual/install.texi: Likewise.
54878 * manual/intro.texi: Likewise.
54879 * manual/io.texi: Likewise.
54880 * manual/job.texi: Likewise.
54881 * manual/lang.texi: Likewise.
54882 * manual/libc.texiinfo: Likewise.
54883 * manual/llio.texi: Likewise.
54884 * manual/locale.texi: Likewise.
54885 * manual/maint.texi: Likewise.
54886 * manual/math.texi: Likewise.
54887 * manual/memory.texi: Likewise.
54888 * manual/message.texi: Likewise.
54889 * manual/nss.texi: Likewise.
54890 * manual/pattern.texi: Likewise.
54891 * manual/process.texi: Likewise.
54892 * manual/resource.texi: Likewise.
54893 * manual/search.texi: Likewise.
54894 * manual/setjmp.texi: Likewise.
54895 * manual/signal.texi: Likewise.
54896 * manual/socket.texi: Likewise.
54897 * manual/startup.texi: Likewise.
54898 * manual/stdio.texi: Likewise.
54899 * manual/string.texi: Likewise.
54900 * manual/sysinfo.texi: Likewise.
54901 * manual/syslog.texi: Likewise.
54902 * manual/terminal.texi: Likewise.
54903 * manual/time.texi: Likewise.
54904 * manual/users.texi: Likewise.
54905 * INSTALL: Regenerated.
54906 * NOTES: Regenerated.
54907 * sysdeps/gnu/errlist.c: Regenerated.
54909 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
54911 * include/dirent.h: Include <dirstream.h> before
54914 2012-02-28 David S. Miller <davem@davemloft.net>
54916 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54917 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54918 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54919 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54921 2012-02-27 David S. Miller <davem@davemloft.net>
54923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54925 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54926 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54929 frame pointer instead of stack pointer relative arg slot.
54930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54931 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54932 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54934 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
54937 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54939 2012-02-27 David S. Miller <davem@davemloft.net>
54941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54945 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54946 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54947 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54948 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54950 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54952 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54953 later. Allow versions 5-9.
54954 * configure: Regenerated.
54955 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54956 required minimum version and 4.6 as recommended version. Do not
54957 mention bugs in GCC 2.7 and 2.8.
54958 * INSTALL: Regenerated.
54960 2012-02-27 David S. Miller <davem@davemloft.net>
54962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54966 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54967 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54968 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54969 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54971 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54972 manipulate bits before adding and subtracting TWO112[sx].
54973 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54975 2012-02-27 Roland McGrath <roland@hack.frob.com>
54978 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54979 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54980 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54981 being in POSIX, because they are in 1003.1-2008.
54983 * rt/tst-aio.c: Include <fcntl.h>.
54984 * rt/tst-aio7.c: Likewise.
54985 * rt/tst-aio64.c: Likewise.
54987 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54989 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54991 * manual/install.texi (--with-headers): Describe headers as
54992 interface headers, not private headers.
54993 (Specific advice for GNU/Linux systems): Describe use of headers
54994 from "make headers_install", not private headers from older
54996 * INSTALL: Regenerated.
54997 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54999 * sysdeps/unix/sysv/linux/configure: Regenerated.
55001 * manual/llio.texi (fclean): Remove documentation.
55003 * manual/Makefile (libc-texi-generated): New variable. Include
55005 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55006 $(libc-texi-generated), not duplicated list of files.
55007 (version.texi, stamp-version): New rules.
55008 (realclean): Remove $(libc-texi-generated), not individual files
55009 from that list. Do not remove dir-add.texinfo.
55010 * manual/libc.texinfo: Comment out uses of edition numbers and
55011 references to printed manual. Remove last-updated dates.
55012 (EDITION): Comment out.
55014 (VERSION, UPDATED): Remove.
55015 (version.texi): Include.
55017 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
55019 * sysdeps/posix/spawni.c: Include <signal.h>.
55020 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55021 * sysdeps/pthread/aio_fsync.c: Likewise.
55023 2012-02-26 Ulrich Drepper <drepper@gmail.com>
55025 * conform/Makefile (tests): Run only when not cross-compiling and
55026 when fast-check is not defined.
55028 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55029 * conform/data/limits.h-data: Fixes for POSIX2008.
55030 * conform/run-conformtest.sh: Run all tests.
55031 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55033 * include/bits/dlfcn.h: Likewise.
55034 * include/langinfo.h: Likewise.
55035 * include/monetary.h: Likewise.
55036 * include/sys/poll.h: Likewise.
55038 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55040 * posix/spawn.h: Define __need_sigset_t.
55041 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55042 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55043 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
55044 to get sigevent_t only.
55045 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55046 only for __USE_GNU.
55047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55048 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55049 process_vm_writev only for __USE_GNU.
55050 * termios/termios.h: Declare tcgetsid also for POSIX2008.
55052 * conform/Makefile: For now ignore errors from run-conformtest.
55053 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
55054 POSIX to avoid namespace pollution. Don't prepend headers.
55055 * conform/data/aio.h-data: Fixes for POSIX testing.
55056 * conform/data/fcntl.h-data: Likewise.
55057 * conform/data/glob.h-data: Likewise.
55058 * conform/data/grp.h-data: Likewise.
55059 * conform/data/pthread.h-data: Likewise.
55060 * conform/data/pwd.h-data: Likewise.
55061 * conform/data/signal.h-data: Likewise.
55062 * conform/data/spawn.h-data: Likewise.
55063 * conform/data/stdio.h-data: Likewise.
55064 * conform/data/stdlib.h-data: Likewise.
55065 * conform/data/stropts.h-data: Likewise.
55066 * conform/data/sys/mman.h-data: Likewise.
55067 * conform/data/sys/stat.h-data: Likewise.
55068 * conform/data/sys/types.h-data: Likewise.
55069 * conform/data/sys/wait.h-data: Likewise.
55070 * conform/data/time.h-data: Likewise.
55071 * conform/data/unistd.h-data: Likewise.
55072 * conform/data/utime.h-data: Likewise.
55074 * io/sys/stat.h: fchmod was always in POSIX.
55075 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55076 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55077 * rt/aio.h: Define __need_timespec before including <time.h>.
55078 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55079 struct. Add forward declaration of pthread_attr_t and use it in
55081 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55082 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55083 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55084 always remove CLK_TCK definition.
55086 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
55088 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55090 2012-02-25 Ulrich Drepper <drepper@gmail.com>
55092 * conform/run-conformtest.sh: New file.
55093 * conform/Makefile: Run run-conformtest for tests.
55094 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
55097 * conform/data/uchar.h-data: New file.
55098 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55099 * conform/data/arpa/inet.h-data: Likewise.
55100 * conform/data/assert.h-data: Likewise.
55101 * conform/data/complex.h-data: Likewise.
55102 * conform/data/cpio.h-data: Likewise.
55103 * conform/data/ctype.h-data: Likewise.
55104 * conform/data/dirent.h-data: Likewise.
55105 * conform/data/dlfcn.h-data: Likewise.
55106 * conform/data/errno.h-data: Likewise.
55107 * conform/data/fcntl.h-data: Likewise.
55108 * conform/data/float.h-data: Likewise.
55109 * conform/data/fmtmsg.h-data: Likewise.
55110 * conform/data/fnmatch.h-data: Likewise.
55111 * conform/data/ftw.h-data: Likewise.
55112 * conform/data/glob.h-data: Likewise.
55113 * conform/data/grp.h-data: Likewise.
55114 * conform/data/iconv.h-data: Likewise.
55115 * conform/data/inttypes.h-data: Likewise.
55116 * conform/data/langinfo.h-data: Likewise.
55117 * conform/data/libgen.h-data: Likewise.
55118 * conform/data/limits.h-data: Likewise.
55119 * conform/data/locale.h-data: Likewise.
55120 * conform/data/math.h-data: Likewise.
55121 * conform/data/monetary.h-data: Likewise.
55122 * conform/data/mqueue.h-data: Likewise.
55123 * conform/data/ndbm.h-data: Likewise.
55124 * conform/data/net/if.h-data: Likewise.
55125 * conform/data/netdb.h-data: Likewise.
55126 * conform/data/netinet/in.h-data: Likewise.
55127 * conform/data/nl_types.h-data: Likewise.
55128 * conform/data/poll.h-data: Likewise.
55129 * conform/data/pthread.h-data: Likewise.
55130 * conform/data/pwd.h-data: Likewise.
55131 * conform/data/regex.h-data: Likewise.
55132 * conform/data/sched.h-data: Likewise.
55133 * conform/data/search.h-data: Likewise.
55134 * conform/data/semaphore.h-data: Likewise.
55135 * conform/data/setjmp.h-data: Likewise.
55136 * conform/data/signal.h-data: Likewise.
55137 * conform/data/spawn.h-data: Likewise.
55138 * conform/data/stdarg.h-data: Likewise.
55139 * conform/data/stdio.h-data: Likewise.
55140 * conform/data/stdlib.h-data: Likewise.
55141 * conform/data/string.h-data: Likewise.
55142 * conform/data/strings.h-data: Likewise.
55143 * conform/data/stropts.h-data: Likewise.
55144 * conform/data/sys/ipc.h-data: Likewise.
55145 * conform/data/sys/mman.h-data: Likewise.
55146 * conform/data/sys/msg.h-data: Likewise.
55147 * conform/data/sys/resource.h-data: Likewise.
55148 * conform/data/sys/select.h-data: Likewise.
55149 * conform/data/sys/sem.h-data: Likewise.
55150 * conform/data/sys/shm.h-data: Likewise.
55151 * conform/data/sys/socket.h-data: Likewise.
55152 * conform/data/sys/stat.h-data: Likewise.
55153 * conform/data/sys/statvfs.h-data: Likewise.
55154 * conform/data/sys/time.h-data: Likewise.
55155 * conform/data/sys/timeb.h-data: Likewise.
55156 * conform/data/sys/times.h-data: Likewise.
55157 * conform/data/sys/types.h-data: Likewise.
55158 * conform/data/sys/uio.h-data: Likewise.
55159 * conform/data/sys/un.h-data: Likewise.
55160 * conform/data/sys/utsname.h-data: Likewise.
55161 * conform/data/sys/wait.h-data: Likewise.
55162 * conform/data/syslog.h-data: Likewise.
55163 * conform/data/tar.h-data: Likewise.
55164 * conform/data/termios.h-data: Likewise.
55165 * conform/data/utime.h-data: Likewise.
55166 * conform/data/utmpx.h-data: Likewise.
55167 * conform/data/varargs.h-data: Likewise.
55168 * conform/data/wchar.h-data: Likewise.
55169 * conform/data/wctype.h-data: Likewise.
55170 * conform/data/wordexp.h-data: Likewise.
55172 * include/stropts.h: New file.
55173 * include/uchar.h: New file.
55174 * include/aio.h: Changes to allow conformtest.pl to use the headers.
55175 * include/assert.h: Likewise.
55176 * include/ctype.h: Likewise.
55177 * include/dirent.h: Likewise.
55178 * include/dlfcn.h: Likewise.
55179 * include/fcntl.h: Likewise.
55180 * include/fnmatch.h: Likewise.
55181 * include/glob.h: Likewise.
55182 * include/grp.h: Likewise.
55183 * include/libio.h: Likewise.
55184 * include/locale.h: Likewise.
55185 * include/math.h: Likewise.
55186 * include/net/if.h: Likewise.
55187 * include/netdb.h: Likewise.
55188 * include/netinet/in.h: Likewise.
55189 * include/pthread.h: Likewise.
55190 * include/pwd.h: Likewise.
55191 * include/regex.h: Likewise.
55192 * include/sched.h: Likewise.
55193 * include/search.h: Likewise.
55194 * include/setjmp.h: Likewise.
55195 * include/signal.h: Likewise.
55196 * include/stdio.h: Likewise.
55197 * include/stdlib.h: Likewise.
55198 * include/string.h: Likewise.
55199 * include/sys/cdefs.h: Likewise.
55200 * include/sys/mman.h: Likewise.
55201 * include/sys/msg.h: Likewise.
55202 * include/sys/resource.h: Likewise.
55203 * include/sys/select.h: Likewise.
55204 * include/sys/socket.h: Likewise.
55205 * include/sys/stat.h: Likewise.
55206 * include/sys/statvfs.h: Likewise.
55207 * include/sys/time.h: Likewise.
55208 * include/sys/times.h: Likewise.
55209 * include/sys/uio.h: Likewise.
55210 * include/sys/utsname.h: Likewise.
55211 * include/sys/wait.h: Likewise.
55212 * include/termios.h: Likewise.
55213 * include/time.h: Likewise.
55214 * include/ulimit.h: Likewise.
55215 * include/unistd.h: Likewise.
55216 * include/utime.h: Likewise.
55217 * include/wchar.h: Likewise.
55218 * include/wctype.h: Likewise.
55219 * include/wordexp.h: Likewise.
55221 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55223 * time/time.h: TIME_UTC must be a macro.
55224 Make timespec_get available for ISO C11 only as well.
55226 2012-02-24 Ulrich Drepper <drepper@gmail.com>
55228 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55229 Reported by Peng Haitao <penght@cn.fujitsu.com>.
55231 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55233 * configure.in: Use -o not -a in test for unsupported multi-arch.
55235 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55237 * manual/texinfo.tex: Update to version 2012-01-19.16.
55239 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55241 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55243 2012-02-24 Roland McGrath <roland@hack.frob.com>
55246 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55247 * manual/fdl-1.3.texi: New file.
55248 * manual/fdl-1.1.texi: File removed.
55251 * manual/libc.texinfo (FDL_VERSION): New @set.
55252 Use it for mention of FDL in cover text.
55253 (Documentation License): Use it in @include file name.
55255 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55256 Roland McGrath <roland@hack.frob.com>
55259 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55260 (not LONG_LONG_MAX and LONG_LONG_MIN.
55261 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55262 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
55264 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55266 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55270 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55271 manipulate bits before adding and subtracting TWO23[sx].
55272 * math/libm-test.inc (nearbyint_test): Add more tests.
55274 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55277 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55278 bits before adding and subtracting TWO23[sx].
55279 * math/libm-test.inc (rint_test): Add more tests.
55280 (rint_test_tonearest): Likewise.
55281 (rint_test_towardzero): Likewise.
55282 (rint_test_downward): Likewise.
55283 (rint_test_upward: Likewise.
55285 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55288 * include/stdc-predef.h: New file. Extracted from features.h.
55289 * include/features.h: Include stdc-predef.h.
55290 * Makefile (headers): Add stdc-predef.h.
55291 * CONFORMANCE (Compiler limitations): Update.
55293 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55295 * manual/libc.texinfo (VERSION, UPDATED): Revert.
55297 2012-02-21 David S. Miller <davem@davemloft.net>
55299 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55300 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55302 2012-02-20 David S. Miller <davem@davemloft.net>
55304 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55305 using a normal save/restore sequence, rather than allocating a
55306 dummy stack frame just to store a frame pointer and restore.
55307 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55309 2012-02-21 Joseph Myers <joseph@codesourcery.com>
55311 * manual/install.texi: Fix stray word in line-wrapped comment.
55313 2012-02-20 David S. Miller <davem@davemloft.net>
55315 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55316 both binutils and gcc support GOTDATA.
55318 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55319 "rd %pc" in the PIC register setup sequences.
55321 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55322 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55323 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55324 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55325 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55330 (SYSCALL_ERROR_HANDLER): Likewise.
55331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55332 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55334 (SYSCALL_ERROR_HANDLER): Likewise.
55336 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55337 (HAVE_GCC_GOTDATA): New.
55338 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55339 relocation support in both binutils and gcc.
55340 * sysdeps/sparc/elf/configure: Regenerate.
55342 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55343 * sysdeps/sparc/sparc32/elf/configure: Delete.
55344 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55345 * sysdeps/sparc/sparc64/elf/configure: Delete.
55346 * sysdeps/sparc/elf/configure.in: New file.
55347 * sysdeps/sparc/elf/configure: Generate.
55349 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55350 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55351 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55352 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55353 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55355 2012-02-21 Joseph Myers <joseph@codesourcery.com>
55357 * manual/install.texi: Do not mention specific glibc version
55359 * manual/libc.texinfo (VERSION, UPDATED): Update.
55360 (@copying): Use @copyright{} and range of years.
55362 2012-02-21 Joseph Myers <joseph@codesourcery.com>
55365 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55366 [crti.S not in sysdirs] (generated): Do not append.
55367 [crti.S not in sysdirs] (omit-deps): Likewise.
55368 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55369 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55370 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55371 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55372 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55374 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55375 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55376 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55377 * csu/defs.awk: Remove file.
55378 * sysdeps/generic/initfini.c: Likewise.
55379 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55381 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55384 2012-02-20 Joseph Myers <joseph@codesourcery.com>
55386 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55387 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55388 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55390 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55391 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55393 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55394 (__EPOLL_PACKED): Define to empty if not defined by
55396 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55400 2012-02-20 Joseph Myers <joseph@codesourcery.com>
55402 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55403 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55404 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55405 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55407 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55411 2012-02-20 Joseph Myers <joseph@codesourcery.com>
55413 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55416 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55420 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
55422 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55423 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55425 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
55427 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55428 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55430 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55432 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55435 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
55437 * math/w_acos.c: Use non-signaling floating-point comparisons.
55438 * math/w_acosf.c: Likewise.
55439 * math/w_acosh.c: Likewise.
55440 * math/w_acoshf.c: Likewise.
55441 * math/w_acoshl.c: Likewise.
55442 * math/w_acosl.c: Likewise.
55443 * math/w_asin.c: Likewise.
55444 * math/w_asinf.c: Likewise.
55445 * math/w_asinl.c: Likewise.
55446 * math/w_atanh.c: Likewise.
55447 * math/w_atanhf.c: Likewise.
55448 * math/w_atanhl.c: Likewise.
55449 * math/w_exp2.c: Likewise.
55450 * math/w_exp2f.c: Likewise.
55451 * math/w_exp2l.c: Likewise.
55452 * math/w_j0.c: Likewise.
55453 * math/w_j0f.c: Likewise.
55454 * math/w_j0l.c: Likewise.
55455 * math/w_j1.c: Likewise.
55456 * math/w_j1f.c: Likewise.
55457 * math/w_j1l.c: Likewise.
55458 * math/w_jn.c: Likewise.
55459 * math/w_jnf.c: Likewise.
55460 * math/w_log.c: Likewise.
55461 * math/w_log10.c: Likewise.
55462 * math/w_log10f.c: Likewise.
55463 * math/w_log10l.c: Likewise.
55464 * math/w_log2.c: Likewise.
55465 * math/w_log2f.c: Likewise.
55466 * math/w_log2l.c: Likewise.
55467 * math/w_logf.c: Likewise.
55468 * math/w_logl.c: Likewise.
55469 * math/w_sqrt.c: Likewise.
55470 * math/w_sqrtf.c: Likewise.
55471 * math/w_sqrtl.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55475 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55476 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55478 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55481 * manual/string.texi (strnlen): Use correct parameter name in
55482 equivalent expression.
55484 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55487 * manual/users.texi (seteuid): Consistently use neweuid for
55490 2012-02-19 Joseph Myers <joseph@codesourcery.com>
55493 * manual/nss.texi (Services in the NSS configuration): Correct
55494 list of services in example configuration file.
55496 2012-02-19 Nick Bowler <nbowler@draconx.ca>
55499 * manual/arith.texi: Remove statements about negative zero
55500 behaving identically to zero.
55502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
55505 * manual/install.texi: Do not document upgrading from libc5.
55507 2012-02-18 Joseph Myers <joseph@codesourcery.com>
55510 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55512 2012-02-18 David S. Miller <davem@davemloft.net>
55514 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55515 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55516 %o7 across the call.
55517 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55520 SETUP_PIC_REG_LEAF.
55521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55522 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55523 * sysdeps/sparc/crtn.S: Likewise.
55525 2012-02-17 Ulrich Drepper <drepper@gmail.com>
55527 * aout/Makefile: Remove.
55529 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
55532 * manual/examples/argp-ex1.c (main): Format definition in GNU
55534 * manual/examples/argp-ex2.c (main): Likewise.
55535 * manual/examples/argp-ex3.c (main): Likewise.
55536 * manual/examples/argp-ex4.c (main): Likewise.
55537 * manual/examples/longopt.c (main): Use new-style prototype
55539 * manual/examples/strncat.c (main): Specify return type and use
55540 (void) for arguments.
55541 * manual/examples/subopt.c (main): Use char **argv argument.
55543 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55546 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55549 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
55552 * manual/string.texi (strchr): Change when strchrnul is
55555 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
55558 * manual/locale.texi (setlocale): Document LOCPATH.
55560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55563 * manual/process.texi (execle): Move @dots{} before last argument.
55565 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
55568 * manual/charset.texi (Generic Charset Conversion): Fix typo
55569 (LC_TYPE -> LC_CTYPE).
55571 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
55574 * manual/arith.texi (scalbn): Use @var{} on parameter names.
55575 (scalbnf): Likewise.
55576 (scalbnl): Likewise.
55577 (scalbln): Likewise.
55578 (scalblnf): Likewise.
55579 (scalblnl): Likewise.
55580 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55581 (vwarnx): Likewise.
55584 * manual/filesys.texi (telldir): Use braces around return type.
55585 * manual/llio.texi (mmap): Add space after comma.
55586 (mmap64): Likewise.
55587 * manual/math.texi (jn): Use @var{} on parameter names.
55593 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55595 * manual/resource.texi (ulimit): Use @dots{} instead of literal
55597 (sched_get_priority_min): Remove semicolon on @deftypefun line.
55598 (sched_get_priority_max): Likewise.
55599 * manual/signal.texi (sigvec): Add space after comma.
55600 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55602 (if_indextoname): Likewise.
55603 (if_freenameindex): Likewise.
55604 (sendto): Use ',' instead of '.' in prototype.
55605 * manual/startup.texi (syscall): Use @dots{} instead of literal
55607 * manual/stdio.texi (__fpending): Separate initial words of
55608 paragraph from @deftypefun line.
55609 * manual/syslog.texi (syslog): Use @dots{} instead of literal
55611 (vsyslog): Use @var{} on parameter names.
55612 * manual/terminal.texi (stty): Use @var{} on parameter names.
55613 * manual/users.texi (getutmp): Use @var{} on parameter names.
55614 (getutmpx): Likewise.
55616 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55619 * manual/stdio.texi (fopen): Fix typos in description of
55622 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
55625 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55626 get clock_id definition.
55628 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
55631 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55632 (madvise): Cast every argument to void on its own.
55634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55637 * manual/startup.texi (Exit Status): Fix typo.
55639 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55642 * manual/examples/argp-ex1.c: Include <stdlib.h>.
55643 * manual/examples/argp-ex2.c: Likewise.
55644 * manual/examples/argp-ex3.c: Likewise.
55646 2012-02-16 Richard Henderson <rth@redhat.com>
55648 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55649 * sysdeps/s390/s390-32/initfini.c: Remove.
55650 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55651 * sysdeps/s390/s390-64/initfini.c: Remove.
55653 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55655 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55656 compiler output for sysdeps/generic/initfini.c.
55657 * sysdeps/sh/elf/initfini.c: Remove file.
55659 2012-02-16 David S. Miller <davem@davemloft.net>
55662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55664 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55665 * sysdeps/sparc/crti.S: New file.
55666 * sysdeps/sparc/crtn.S: New file.
55667 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55668 * sysdeps/sparc/sparc64/Makefile: Likewise.
55670 2012-02-15 Mike Frysinger <vapier@gentoo.org>
55673 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55675 2012-02-15 Roland McGrath <roland@hack.frob.com>
55678 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55680 * mach/devstream.c (cookie_io_functions_t): Macro removed.
55681 (write, read, close): Likewise.
55682 Patch by Aurelien Jarno <aurelien@aurel32.net>.
55684 2012-02-15 Joseph Myers <joseph@codesourcery.com>
55686 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55687 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55688 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55689 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55691 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55695 2012-02-14 Marek Polacek <polacek@redhat.com>
55697 * sysdeps/x86_64/crti.S: New file.
55698 * sysdeps/x86_64/crtn.S: New file.
55699 * sysdeps/x86_64/elf/initfini.c: Remove file.
55701 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55703 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55704 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55705 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55706 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55708 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55712 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55714 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55715 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55716 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55717 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55719 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55723 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
55725 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55726 __feraiseexcept instead of feraiseexcept.
55728 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55729 nanosleep invocations.
55730 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55731 strings, and add error checking for a nanosleep invocations.
55733 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
55735 Replace FSF snail mail address with URLs, as per GNU coding standards.
55736 Most of the snail mail addresses were wrong anyway, and omitting
55737 them makes the source code easier to maintain. Almost all of the
55738 changes are to license notices and to locale LC_IDENTIFICATION
55739 addresses, except for this one:
55740 * manual/libc.texinfo: In "Published by", give the FSF's URL,
55741 not its snail mail address.
55743 2012-02-09 Richard Henderson <rth@twiddle.net>
55745 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55746 of kernel-features.h.
55748 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55750 2012-02-08 Marek Polacek <polacek@redhat.com>
55752 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55753 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55754 * sysdeps/gnu/_G_config.h: Likewise.
55755 * sysdeps/generic/_G_config.h: Likewise.
55757 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
55759 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55763 * sysdeps/powerpc/powerpc32/crti.S: New file.
55764 * sysdeps/powerpc/powerpc32/crtn.S: New file.
55765 * sysdeps/powerpc/powerpc64/crti.S: New file.
55766 * sysdeps/powerpc/powerpc64/crtn.S: New file.
55768 * Makeconfig (have-initfini): Don't set.
55769 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55770 * configure.in (nopic_initfini): Don't substitute.
55771 * config.h.in (HAVE_INITFINI): Don't #undef.
55772 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55773 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55775 2012-02-08 Joseph Myers <joseph@codesourcery.com>
55777 Support crti.S and crtn.S provided directly by architectures.
55778 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55779 [crti.S in sysdirs] (omit-deps): Likewise.
55780 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55781 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55782 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55783 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55784 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55785 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55786 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55787 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55788 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55789 compiler output for sysdeps/generic/initfini.c.
55790 * sysdeps/i386/elf/Makefile: Remove file.
55791 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55793 2012-02-07 Marek Polacek <polacek@redhat.com>
55795 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55796 * sysdeps/gnu/_G_config.h: Likewise.
55797 * sysdeps/mach/hurd/_G_config.h: Likewise.
55799 2012-02-07 Marek Polacek <polacek@redhat.com>
55801 * math/Makefile (tests): Add tst-CMPLX2.
55802 * math/tst-CMPLX2.c: New file.
55804 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
55806 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55808 * math/libm-test.inc (jn_test): Add missing L suffix.
55810 2012-02-06 Marek Polacek <polacek@redhat.com>
55812 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55813 * sysdeps/i386/fpu/e_powf.S: Likewise.
55814 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55815 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55816 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55817 * sysdeps/i386/fpu/e_pow.S: Likewise.
55818 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55819 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55820 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55821 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55822 * sysdeps/i386/fpu/e_log2.S: Likewise.
55823 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55824 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55825 * sysdeps/i386/fpu/e_powl.S: Likewise.
55826 * sysdeps/i386/fpu/s_log1p.S: Likewise.
55827 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55828 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55829 * sysdeps/i386/fpu/e_logl.S: Likewise.
55830 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55831 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55832 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55833 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55834 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55835 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55836 * sysdeps/i386/fpu/e_log.S: Likewise.
55837 * sysdeps/i386/fpu/s_cexp.S: Likewise.
55838 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55839 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55840 * sysdeps/i386/fpu/e_logf.S: Likewise.
55841 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55842 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55843 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55844 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55845 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55846 * sysdeps/i386/fpu/e_log10.S: Likewise.
55847 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55848 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55849 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55850 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55851 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55852 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55853 * sysdeps/i386/asm-syntax.h: Likewise.
55854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55856 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55857 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55858 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55859 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55860 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55861 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55862 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55863 * sysdeps/powerpc/sysdep.h: Likewise.
55864 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55865 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55870 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55872 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55874 * sysdeps/i386/sysdep.h: Include <features.h>.
55875 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55878 2012-02-05 Joseph Myers <joseph@codesourcery.com>
55880 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55882 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55885 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55887 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55888 (SETUP_PIC_REG): Use GET_PC_THUNK.
55889 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55892 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55894 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55895 for non-PIC compilation.
55896 (SETUP_PIC_REG): Add .p2align directive.
55897 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55898 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55899 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55900 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55902 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55903 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55904 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55905 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55906 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55907 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55908 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55909 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55910 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55911 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55912 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55913 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55919 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55920 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55929 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55930 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55931 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55932 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55933 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55934 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55935 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55936 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55937 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55939 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55941 * math/tst-CMPLX.c: Include <stdio.h>.
55943 2012-01-31 Joseph Myers <joseph@codesourcery.com>
55945 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55947 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55948 * sysdeps/sparc/bits/mathdef.h: Likewise.
55950 2012-01-31 Marek Polacek <polacek@redhat.com>
55952 * libio/libio.h: Don't define _PARAMS.
55953 * locale/programs/config.h: Don't define PARAMS.
55954 * stdlib/strtol_l.c: Likewise.
55955 (__strtol_l): Remove PARAMS from the prototype.
55957 2012-01-31 Ulrich Drepper <drepper@gmail.com>
55959 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
55960 names. Just use the correct names. Remove unnecessary wrapper
55962 * malloc/arena.c: Likewise.
55963 * malloc/hooks.c: Likewise.
55965 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55966 ARENA_TEST says not to. Simplify test for creation of a new arena.
55967 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55969 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55971 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55973 (update_get_addr): New function.
55974 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55975 GET_ADDR_MODULE parameter.
55977 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55979 * crypt/cert.c: Remove __STDC__ conditionals.
55980 * crypt/crypt-entry.c: Likewise.
55981 * crypt/crypt_util.c: Likewise.
55982 * libio/filedoalloc.c: Likewise.
55983 * libio/fileops.c: Likewise.
55984 * libio/genops.c: Likewise.
55985 * libio/iofclose.c: Likewise.
55986 * libio/iofdopen.c: Likewise.
55987 * libio/iofopen.c: Likewise.
55988 * libio/iofopen64.c: Likewise.
55989 * libio/iogetdelim.c: Likewise.
55990 * libio/iopopen.c: Likewise.
55991 * libio/obprintf.c: Likewise.
55992 * libio/oldfileops.c: Likewise.
55993 * libio/oldiofclose.c: Likewise.
55994 * libio/oldiofdopen.c: Likewise.
55995 * libio/oldiofopen.c: Likewise.
55996 * libio/oldiopopen.c: Likewise.
55997 * libio/wfiledoalloc.c: Likewise.
55998 * libio/wgenops.c: Likewise.
55999 * locale/programs/xmalloc.c: Likewise.
56000 * misc/syslog.c: Likewise.
56001 * stdio-common/xbug.c: Likewise.
56002 * string/memchr.c: Likewise.
56003 * string/memcmp.c: Likewise.
56004 * string/memrchr.c: Likewise.
56005 * string/rawmemchr.c: Likewise.
56006 * sysdeps/posix/getcwd.c: Likewise.
56007 * time/strftime_l.c: Likewise.
56009 2012-01-30 Joseph Myers <joseph@codesourcery.com>
56011 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56012 * config.make.in (config-cflags-sse2avx): Define.
56013 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56016 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
56018 * scripts/config.guess: Update from upstream config git repository.
56019 * scripts/config.sub: Likewise.
56021 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
56023 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56025 (R_TILEPRO_*, R_TILEGX_*): New macros.
56027 * scripts/firstversions.awk: Fix bug in version range handling.
56029 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56031 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56033 * include/sys/epoll.h: New file.
56034 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56037 2012-01-28 Ulrich Drepper <drepper@gmail.com>
56039 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56040 Avoid unnecessary __WORDSIZE == 64 test.
56041 (fmaxf): Use VEX format if possible.
56046 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56047 * math/math_private.h: Remove libc_fegetround* and
56049 * sysdeps/i386/configure.in: Check for -msse2avx.
56050 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56051 also if SSE2AVX is defined.
56052 Remove libc_fegetround* and libc_fesetround*.
56053 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56054 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
56055 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56057 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56058 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56060 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56061 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56063 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56065 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56067 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56069 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56071 2012-01-27 Ulrich Drepper <drepper@gmail.com>
56074 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56076 * Makeconfig (libm): Define.
56077 * elf/Makefile: Add rules to build and run tst-relsort1.
56078 * elf/tst-relsort1.c: New file.
56079 * elf/tst-relsort1mod1.c: New file.
56080 * elf/tst-relsort1mod2.c: New file.
56082 2012-01-27 Joseph Myers <joseph@codesourcery.com>
56084 * math/s_ldexp.c: Remove __STDC__ conditionals.
56085 * math/s_ldexpf.c: Likewise.
56086 * math/s_ldexpl.c: Likewise.
56087 * math/s_nextafter.c: Likewise.
56088 * math/s_nexttowardf.c: Likewise.
56089 * math/s_significand.c: Likewise.
56090 * math/s_significandf.c: Likewise.
56091 * math/s_significandl.c: Likewise.
56092 * math/w_jnl.c: Likewise.
56093 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56094 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56095 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56096 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56097 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56099 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56101 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56102 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56103 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56105 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56106 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56107 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56108 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56109 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56110 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56112 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56113 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56115 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56117 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56118 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56119 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56120 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56121 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56122 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56123 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56124 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56125 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56126 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56127 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56128 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56129 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56130 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56131 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56132 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56133 * sysdeps/ieee754/k_standard.c: Likewise.
56134 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56135 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56136 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56138 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56139 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56140 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56141 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56142 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56143 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56144 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56145 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56146 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56147 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56153 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56155 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56156 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56157 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56158 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56163 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56165 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56166 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56167 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56168 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56169 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56170 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56171 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56172 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56173 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56174 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56176 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56177 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56178 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56179 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56180 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56183 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56184 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56187 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56188 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56189 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56190 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56191 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56192 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56193 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56194 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56195 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56196 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56197 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56198 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56199 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56200 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56201 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56202 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56203 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56204 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56205 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56206 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56207 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56208 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56209 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56210 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56211 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56212 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56213 * sysdeps/ieee754/s_matherr.c: Likewise.
56214 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56215 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56219 2012-01-26 Joseph Myers <joseph@codesourcery.com>
56221 * crypt/md5.h: Remove __STDC__ conditionals.
56222 * libio/libioP.h: Likewise.
56223 * locale/programs/config.h: Likewise.
56224 * sysdeps/generic/sysdep.h: Likewise.
56225 * sysdeps/i386/asm-syntax.h: Likewise.
56226 * sysdeps/s390/asm-syntax.h: Likewise.
56227 * sysdeps/unix/sysdep.h: Likewise.
56228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56231 2012-01-26 Joseph Myers <joseph@codesourcery.com>
56233 * libio/libio.h: Remove __STDC__ conditionals.
56234 * malloc/obstack.h: Likewise.
56235 * math/complex.h: Likewise.
56236 * math/math.h: Likewise.
56237 * sysdeps/generic/_G_config.h: Likewise.
56238 * sysdeps/gnu/_G_config.h: Likewise.
56239 * sysdeps/mach/hurd/_G_config.h: Likewise.
56240 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56241 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56242 * sysdeps/sparc/bits/mathdef.h: Likewise.
56244 2012-01-26 Ulrich Drepper <drepper@gmail.com>
56247 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56248 Clean up HAS_* macros.
56249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56250 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56257 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56260 2012-01-25 Joseph Myers <joseph@codesourcery.com>
56262 * elf/tst-unique3.cc (gets): Remove declaration.
56263 * elf/tst-unique3lib.cc (gets): Likewise.
56264 * elf/tst-unique3lib2.cc (gets): Likewise.
56265 * elf/tst-unique4.cc (gets): Likewise.
56267 2012-01-24 Ulrich Drepper <drepper@gmail.com>
56269 * include/stdio.h: Add C++ protection. Add gets declarations and
56271 * debug/tst-chk1.c: Don't declare gets here.
56272 * stdio-common/tst-gets.c: Likewise.
56274 2012-01-24 Joseph Myers <joseph@codesourcery.com>
56276 * posix/glob: Remove directory.
56278 2012-01-24 Joseph Myers <joseph@codesourcery.com>
56280 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56282 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
56284 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56285 of the non-standard EPFNOSUPPORT.
56287 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
56289 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56290 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56291 ANYWHERE set to 1 only on KERN_NO_SPACE error.
56293 2012-01-21 Ulrich Drepper <drepper@gmail.com>
56295 * wcsmbs/uchar.h: Test __STDC_VERSION__.
56297 2012-01-20 Ulrich Drepper <drepper@gmail.com>
56299 * nscd/aicache.c (addhstaiX): Do not cache negative results of
56301 * nscd/grpcache.c (cache_addgr): Likewise.
56302 * nscd/hstcache.c (cache_addhst): Likewise.
56303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56304 * nscd/pwdcache.c (cache_addpw): Likewise.
56305 * nscd/servicescache.c (cache_addserv): Likewise.
56307 2012-01-16 Ulrich Drepper <drepper@gmail.com>
56309 * malloc/malloc.c: Various cleanups.
56310 * malloc/hooks.c: Likewise.
56312 * stdlib/Makefile (tests): Add bug-fmtmsg1.
56313 * stdlib/bug-fmtmsg1.c: New file.
56315 * stdlib/fmtmsg.c (init): Add missing unlock.
56316 Patch by Peng Haitao <penght@cn.fujitsu.com>.
56318 2012-01-12 Marek Polacek <polacek@redhat.com>
56320 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56323 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56325 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56327 macro to ensure uniqueness of label name.
56328 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56329 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56331 2012-01-11 Ulrich Drepper <drepper@gmail.com>
56333 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56336 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56340 2012-01-10 Ulrich Drepper <drepper@gmail.com>
56342 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56344 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56345 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56346 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56348 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56350 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56351 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56353 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56355 * math/bits/math-finite.h: Add ldexp support.
56357 2012-01-10 Marek Polacek <polacek@redhat.com>
56359 * locale/programs/localedef.h (show_archive_content): Add noreturn
56362 2012-01-09 Ulrich Drepper <drepper@gmail.com>
56364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56366 2012-01-08 Ulrich Drepper <drepper@gmail.com>
56368 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56370 * io/Makefile (headers): Add bits/poll2.h.
56372 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
56374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56375 typo #include statement.
56377 2012-01-08 Ulrich Drepper <drepper@gmail.com>
56379 * include/sys/cdefs.h: Define __attribute_alloc_size.
56380 * catgets/gencat.c: Add alloc_size attribute and apply consistently
56381 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56382 * elf/pldd.c: Likewise.
56383 * iconv/iconv_charmap.c: Likewise.
56384 * iconv/iconvconfig.c: Likewise.
56385 * iconv/strtab.c: Likewise.
56386 * locale/programs/locale.c: Likewise.
56387 * locale/programs/localedef.h: Likewise.
56388 * locale/programs/simple-hash.c: Likewise.
56389 * nscd/nscd.h: Likewise.
56390 * nss/makedb.c: Likewise.
56391 * sysdeps/generic/ldconfig.h: Likewise.
56392 * locale/programs/localedef.c: Remove xmalloc prototype.
56393 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56395 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56397 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56400 2012-01-08 Ulrich Drepper <drepper@gmail.com>
56402 * math/Makefile (tests): Add tst-CMPLX.
56403 * math/tst-CMPLX.c: New file.
56405 * math/complex.h (CMPLXL): Fix typo.
56407 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56408 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56410 * debug/tst-chk1.c: Add poll and ppoll tests.
56411 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56412 * include/sys/poll.h: Add hidden proto for ppoll.
56413 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56414 * sysdeps/mach/hurd/ppoll.c: Likewise.
56415 * io/ppoll.c: Likewise.
56416 * debug/poll_chk.c: New file.
56417 * debug/ppoll_chk.c: New file.
56418 * include/bits/poll2.h: New file.
56419 * io/bits/poll2.h: New file.
56422 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56424 * configure.in: static is always set to yes. Remove.
56425 * config.make.in: Don't set build-static.
56426 * Makeconfig: Remove use of build-static.
56427 * dlfcn/Makefile: Likewise.
56428 * elf/Makefile: Likewise.
56429 * math/Makefile: Likewise.
56430 * misc/Makefile: Likewise.
56431 * nptl/Makefile: Likewise.
56432 * sysdeps/mach/hurd/Makefile: Likewise.
56434 * configure.in: PWD_P is not used anymore.
56435 * config.make.in: Remove PWD_P entry.
56437 * configure.in: Remove last remnants of RANLIB.
56438 No need to check for signed size_t anymore.
56439 Don't set libc_commonpagesize and libc_relro_required here for Alpha
56441 Remove __builtin_expect test because we require at least gcc 3.4.
56442 * aclocal.m4: Likewise.
56444 * wcsmbs/mbrtoc16.c: Implement using towc function.
56445 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56446 * wcsmbs/wcsmbsload.c: Likewise.
56447 * iconv/gconv_simple.c: Likewise.
56448 * iconv/gconv_int.h: Likewise.
56449 * iconv/gconv_builtin.h: Likewise.
56450 * iconv/iconv_prog.c: Remove CHAR16 handling.
56452 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56454 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56456 * configure.in: Remove --with-elf and --enable-bounded options.
56457 Dont set base_machine for ia64. More non-ELF conditions removed.
56458 Remove testing and setting of leading underscore information.
56459 * config.make.in (build-bounded): Set to no.
56460 * config.h.in: Remove NO_UNDERSCORES entry.
56461 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
56463 * csu/start.c: Remove !NO_UNDERSCORE code.
56464 * locale/localeinfo.h: Likewise.
56465 * sysdeps/generic/machine-gmon.h: Likewise.
56466 * sysdeps/generic/sysdep.h: Likewise.
56467 * sysdeps/i386/sysdep.h: Likewise.
56468 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56469 * sysdeps/mach/sysdep.h: Likewise.
56470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56472 * sysdeps/sh/sysdep.h: Likewise.
56473 * sysdeps/sparc/sparc32/alloca.S: Likewise.
56474 * sysdeps/unix/i386/sysdep.S: Likewise.
56475 * sysdeps/unix/sparc/start.c: Likewise.
56476 * sysdeps/unix/sparc/sysdep.S: Likewise.
56477 * sysdeps/unix/sparc/sysdep.h: Likewise.
56478 * sysdeps/unix/start.c: Likewise.
56479 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56480 * sysdeps/x86_64/sysdep.h: Likewise.
56482 2012-01-07 Ulrich Drepper <drepper@gmail.com>
56485 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56487 * argp/argp-fmtstream.h: Use const instead __const.
56488 * argp/argp.h: Likewise.
56489 * assert/assert.h: Likewise.
56490 * bits/fenv.h: Likewise.
56491 * bits/sched.h: Likewise.
56492 * bits/sigset.h: Likewise.
56493 * bits/sigthread.h: Likewise.
56494 * catgets/nl_types.h: Likewise.
56495 * conform/data/pthread.h-data: Likewise.
56496 * crypt/crypt-private.h: Likewise.
56497 * crypt/crypt.h: Likewise.
56498 * crypt/crypt_util.c: Likewise.
56499 * ctype/ctype.h: Likewise.
56500 * debug/execinfo.h: Likewise.
56501 * debug/mbsnrtowcs_chk.c: Likewise.
56502 * debug/mbsrtowcs_chk.c: Likewise.
56503 * debug/wcsnrtombs_chk.c: Likewise.
56504 * debug/wcsrtombs_chk.c: Likewise.
56505 * debug/wcstombs_chk.c: Likewise.
56506 * dirent/dirent.h: Likewise.
56507 * dlfcn/dlfcn.h: Likewise.
56508 * elf/neededtest4.c: Likewise.
56509 * grp/grp.h: Likewise.
56510 * gshadow/gshadow.h: Likewise.
56511 * iconv/gconv.h: Likewise.
56512 * iconv/gconv_int.h: Likewise.
56513 * iconv/gconv_simple.c: Likewise.
56514 * iconv/iconv.h: Likewise.
56515 * iconv/loop.c: Likewise.
56516 * iconv/skeleton.c: Likewise.
56517 * include/aio.h: Likewise.
56518 * include/aliases.h: Likewise.
56519 * include/argz.h: Likewise.
56520 * include/arpa/inet.h: Likewise.
56521 * include/assert.h: Likewise.
56522 * include/dirent.h: Likewise.
56523 * include/dlfcn.h: Likewise.
56524 * include/execinfo.h: Likewise.
56525 * include/fcntl.h: Likewise.
56526 * include/fenv.h: Likewise.
56527 * include/glob.h: Likewise.
56528 * include/grp.h: Likewise.
56529 * include/libintl.h: Likewise.
56530 * include/mntent.h: Likewise.
56531 * include/netdb.h: Likewise.
56532 * include/pwd.h: Likewise.
56533 * include/rpc/netdb.h: Likewise.
56534 * include/sched.h: Likewise.
56535 * include/search.h: Likewise.
56536 * include/shadow.h: Likewise.
56537 * include/signal.h: Likewise.
56538 * include/stdio.h: Likewise.
56539 * include/stdlib.h: Likewise.
56540 * include/string.h: Likewise.
56541 * include/sys/socket.h: Likewise.
56542 * include/sys/stat.h: Likewise.
56543 * include/sys/statfs.h: Likewise.
56544 * include/sys/statvfs.h: Likewise.
56545 * include/sys/syslog.h: Likewise.
56546 * include/sys/time.h: Likewise.
56547 * include/sys/uio.h: Likewise.
56548 * include/time.h: Likewise.
56549 * include/unistd.h: Likewise.
56550 * include/utmp.h: Likewise.
56551 * include/wchar.h: Likewise.
56552 * include/wctype.h: Likewise.
56553 * inet/aliases.h: Likewise.
56554 * inet/arpa/inet.h: Likewise.
56555 * inet/netinet/ether.h: Likewise.
56556 * inet/netinet/in.h: Likewise.
56557 * intl/libintl.h: Likewise.
56558 * io/bits/fcntl2.h: Likewise.
56559 * io/fcntl.h: Likewise.
56560 * io/ftw.h: Likewise.
56561 * io/sys/poll.h: Likewise.
56562 * io/sys/stat.h: Likewise.
56563 * io/sys/statfs.h: Likewise.
56564 * io/sys/statvfs.h: Likewise.
56565 * io/utime.h: Likewise.
56566 * libio/bits/stdio.h: Likewise.
56567 * libio/bits/stdio2.h: Likewise.
56568 * libio/libio.h: Likewise.
56569 * libio/libioP.h: Likewise.
56570 * libio/stdio.h: Likewise.
56571 * locale/lc-ctype.c: Likewise.
56572 * locale/locale.h: Likewise.
56573 * login/utmp.h: Likewise.
56574 * malloc/arena.c: Likewise.
56575 * malloc/malloc.c: Likewise.
56576 * malloc/malloc.h: Likewise.
56577 * malloc/mcheck.c: Likewise.
56578 * malloc/mtrace.c: Likewise.
56579 * math/bits/mathcalls.h: Likewise.
56580 * math/fenv.h: Likewise.
56581 * math/math_private.h: Likewise.
56582 * misc/bits/error.h: Likewise.
56583 * misc/bits/syslog.h: Likewise.
56584 * misc/err.h: Likewise.
56585 * misc/error.h: Likewise.
56586 * misc/fstab.h: Likewise.
56587 * misc/mntent.h: Likewise.
56588 * misc/regexp.h: Likewise.
56589 * misc/search.h: Likewise.
56590 * misc/sgtty.h: Likewise.
56591 * misc/sys/mman.h: Likewise.
56592 * misc/sys/syslog.h: Likewise.
56593 * misc/sys/uio.h: Likewise.
56594 * misc/sys/xattr.h: Likewise.
56595 * misc/ttyent.h: Likewise.
56596 * nis/rpcsvc/ypclnt.h: Likewise.
56597 * nss/nss.h: Likewise.
56598 * posix/bits/unistd.h: Likewise.
56599 * posix/fnmatch.h: Likewise.
56600 * posix/glob.h: Likewise.
56601 * posix/sched.h: Likewise.
56602 * posix/spawn.h: Likewise.
56603 * posix/sys/wait.h: Likewise.
56604 * posix/unistd.h: Likewise.
56605 * posix/wordexp.h: Likewise.
56606 * pwd/pwd.h: Likewise.
56607 * resolv/netdb.h: Likewise.
56608 * resource/sys/resource.h: Likewise.
56609 * rt/aio.h: Likewise.
56610 * rt/bits/mqueue2.h: Likewise.
56611 * rt/mqueue.h: Likewise.
56612 * shadow/shadow.h: Likewise.
56613 * signal/signal.h: Likewise.
56614 * socket/send.c: Likewise.
56615 * socket/sendto.c: Likewise.
56616 * socket/sys/socket.h: Likewise.
56617 * stdio-common/printf.h: Likewise.
56618 * stdlib/bits/stdlib.h: Likewise.
56619 * stdlib/fmtmsg.h: Likewise.
56620 * stdlib/monetary.h: Likewise.
56621 * stdlib/stdlib.h: Likewise.
56622 * stdlib/ucontext.h: Likewise.
56623 * streams/stropts.h: Likewise.
56624 * string/argz.h: Likewise.
56625 * string/bits/string2.h: Likewise.
56626 * string/string.h: Likewise.
56627 * string/strings.h: Likewise.
56628 * sunrpc/rpc/auth.h: Likewise.
56629 * sunrpc/rpc/auth_des.h: Likewise.
56630 * sunrpc/rpc/clnt.h: Likewise.
56631 * sunrpc/rpc/netdb.h: Likewise.
56632 * sunrpc/rpc/pmap_clnt.h: Likewise.
56633 * sunrpc/rpc/xdr.h: Likewise.
56634 * sysdeps/generic/inttypes.h: Likewise.
56635 * sysdeps/generic/net/if.h: Likewise.
56636 * sysdeps/generic/sys/swap.h: Likewise.
56637 * sysdeps/gnu/net/if.h: Likewise.
56638 * sysdeps/gnu/utmpx.h: Likewise.
56639 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56640 * sysdeps/i386/i486/bits/string.h: Likewise.
56641 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56642 * sysdeps/s390/bits/string.h: Likewise.
56643 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56644 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56645 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56646 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56647 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56648 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56649 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56650 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56651 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56652 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56653 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56654 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56655 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56656 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56657 * sysdeps/unix/sysv/linux/readv.c: Likewise.
56658 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56659 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56661 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56662 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56664 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56665 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56666 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56667 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56668 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56669 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56670 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56671 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56673 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56674 * sysvipc/sys/ipc.h: Likewise.
56675 * sysvipc/sys/msg.h: Likewise.
56676 * sysvipc/sys/sem.h: Likewise.
56677 * sysvipc/sys/shm.h: Likewise.
56678 * termios/termios.h: Likewise.
56679 * time/sys/time.h: Likewise.
56680 * time/time.h: Likewise.
56681 * wcsmbs/bits/wchar2.h: Likewise.
56682 * wcsmbs/uchar.h: Likewise.
56683 * wcsmbs/wchar.h: Likewise.
56684 * wctype/wctype.h: Likewise.
56687 * Makeconfig: Remove all but ELF support including AIX support.
56688 * Makerules: Likewise.
56689 * config.h.in: Likewise.
56690 * config.make.in: Likewise.
56691 * configure: Likewise.
56692 * configure.in: Likewise.
56693 * csu/Makefile: Likewise.
56694 * csu/version.c: Likewise.
56695 * debug/Makefile: Likewise.
56696 * dlfcn/Makefile: Likewise.
56697 * elf/Makefile: Likewise.
56698 * extra-lib.mk: Likewise.
56699 * iconv/Makefile: Likewise.
56700 * include/libc-symbols.h: Likewise.
56701 * include/shlib-compat.h: Likewise.
56702 * resolv/Makefile: Likewise.
56703 * resolv/res_libc.c: Likewise.
56704 * rt/Makefile: Likewise.
56705 * sysdeps/i386/asm-syntax.h: Likewise.
56706 * sysdeps/i386/sysdep.h: Likewise.
56707 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56708 * sysdeps/mach/sysdep.h: Likewise.
56709 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56710 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56711 * sysdeps/s390/asm-syntax.h: Likewise.
56712 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56713 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56714 * sysdeps/sh/sysdep.h: Likewise.
56715 * sysdeps/unix/sparc/sysdep.h: Likewise.
56716 * sysdeps/wordsize-32/divdi3.c: Likewise.
56717 * sysdeps/x86_64/sysdep.h: Likewise.
56719 * argp/Versions: Remove _argp_unlock_xxx.
56722 * abilist/ld.abilist: Update. Adjust for removal of tls option.
56723 * abilist/libBrokenLocale.abilist: Likewise.
56724 * abilist/libanl.abilist: Likewise.
56725 * abilist/libc.abilist: Likewise.
56726 * abilist/libcrypt.abilist: Likewise.
56727 * abilist/libdl.abilist: Likewise.
56728 * abilist/libm.abilist: Likewise.
56729 * abilist/libnsl.abilist: Likewise.
56730 * abilist/libpthread.abilist: Likewise.
56731 * abilist/libresolv.abilist: Likewise.
56732 * abilist/librt.abilist: Likewise.
56733 * abilist/libthread_db.abilist: Likewise.
56734 * abilist/libutil.abilist: Likewise.
56735 * abilist/libnss_db.abilist: New file.
56737 * scripts/abilist.awk: Add support for indirect functions.
56739 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56741 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56743 * shlib-versions: Remove entries for ports architectures.
56745 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
56747 * elf/stackguard-macros.h: Remove support for IA-64.
56748 * elf/tst-auditmod1.c: Likewise.
56749 * sysdeps/generic/ldsodefs.h: Likewise.
56751 * sysdeps/unix/sysv/linux/configure.in: Ports should define
56752 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56756 * configure.in: Remove --enable-omitfp support.
56758 * config.make.in: Likewise.
56759 * Makeconfig: Likewise.
56760 * manual/install.texi: Likewise.
56762 In case anyone cares, the IA-64 architecture could move to ports.
56763 * sysdeps/ia64/*: Removed.
56764 * sysdeps/unix/sysv/linux/ia64/*: Removed.
56765 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56768 * configure.in: Remove entries for unsupported architectures.
56771 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56772 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
56774 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56775 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56776 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
56777 fall back to using wcrtomb.
56778 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56779 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
56781 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56782 * wcsmbs/tst-c16c32-1.c: New file.
56784 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56787 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56789 * elf/tst-unique3.cc: Add explicit declaration of gets.
56790 * elf/tst-unique3lib.cc: Likewise.
56791 * elf/tst-unique3lib2.cc: Likewise.
56792 * elf/tst-unique4.cc: Likewise.
56794 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56796 2012-01-06 Joseph Myers <joseph@codesourcery.com>
56799 * assert/assert.h (static_assert): Don't define for C++.
56800 * libio/stdio.h (gets): Do declare for C++ <= C++11.
56801 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56803 2012-01-03 Ulrich Drepper <drepper@gmail.com>
56805 * iconv/loop.c (single loop): Fix assertion in storing of
56808 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56810 2012-01-01 Ulrich Drepper <drepper@gmail.com>
56812 * posix/getconf.c: Update copyright year.
56813 * nss/getent.c: Likewise.
56814 * nss/makedb.c: Likewise.
56815 * iconv/iconvconfig.c: Likewise.
56816 * iconv/iconv_prog.c: Likewise.
56817 * elf/ldconfig.c: Likewise.
56818 * elf/pldd.c: Likewise.
56819 * elf/sotruss.ksh: Likewise.
56820 * catgets/gencat.c: Likewise.
56821 * csu/version.c: Likewise.
56822 * elf/ldd.bash.in: Likewise.
56823 * elf/sprof.c (print_version): Likewise.
56824 * locale/programs/locale.c: Likewise.
56825 * locale/programs/localedef.c: Likewise.
56826 * login/programs/pt_chown.c: Likewise.
56827 * nscd/nscd.c (print_version): Likewise.
56828 * debug/xtrace.sh: Likewise.
56829 * malloc/memusage.sh: Likewise.
56830 * malloc/mtrace.pl: Likewise.
56831 * debug/catchsegv.sh: Likewise.
56833 2011-12-30 Jakub Jelinek <jakub@redhat.com>
56835 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56838 2011-12-24 Ulrich Drepper <drepper@gmail.com>
56841 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56842 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56844 * iconv/gconv_int.h: Likewise.
56845 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56846 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56847 from libc for GLIBC_2.16.
56848 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56849 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56850 * wcsmbs/uchar.h: Really define mbstate_t.
56851 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56852 * wcsmbs/c16rtomb.c: New file.
56853 * wcsmbs/mbrtoc16.c: New file.
56854 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56855 for C/POSIX locale.
56856 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56857 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56859 * wcsmbs/wchar.h: Add missing __restrict.
56861 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56864 * time/Makefile (routines): Add timespec_get.
56865 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56866 * time/time.h: Define TIME_UTC and declare timespec_get. Define
56867 timespec for ISO C11.
56868 * time/timespec_get.c: New file.
56869 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56870 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56873 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56874 * stdlib/stdlib.h: Declare aligned_alloc.
56875 * Versions.def: Add GLIBC_2.16 for libc.
56876 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56879 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56882 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56886 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56889 * assert/assert.h (static_assert): Define.
56891 * version.h: Update for 2.16 development version.
56894 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56897 * version.h (RELEASE): Bump for 2.15 release.
56898 * include/features.h (__GLIBC_MINOR__): Bump to 15.
56900 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56901 Patch by Marek Polacek <mpolacek@redhat.com>.
56903 * bits/byteswap.h: Protect long long constants with __extension__.
56904 * sysdeps/i386/bits/byteswap.h: Likewise.
56905 * sysdeps/ia64/bits/byteswap.h: Likewise.
56906 * sysdeps/s390/bits/byteswap.h: Likewise.
56907 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56909 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56913 destination buffer.
56914 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56916 2011-12-23 Marek Polacek <polacek@redhat.com>
56918 * elf/dl-addr.c (determine_info): Add inline keyword.
56919 * elf/tst-auditmod4b.c (check_avx): Likewise.
56920 * elf/tst-auditmod6b.c (check_avx): Likewise.
56921 * elf/tst-auditmod6c.c (check_avx): Likewise.
56922 * elf/tst-auditmod7b.c (check_avx): Likewise.
56924 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56926 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56929 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56932 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56933 processing for last bytes.
56935 2011-08-06 Bruno Haible <bruno@clisp.org>
56938 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56939 U+0385, not to U+1FEE.
56942 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56943 entry for U+00A5 U+0301.
56945 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56948 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56949 buffer for the output is too small.
56951 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56955 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56956 SSE flags if possible.
56958 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56962 processing for last bytes.
56964 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56966 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56967 (syscall-list-default-options, syscall-list-default-condition)
56968 (syscall-list-includes): Define.
56969 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56970 list of ABIs and options and #if conditions for each ABI. Do not
56971 handle common syscalls between ABIs specially.
56972 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56974 (syscall-list-variants, syscall-list-32bit-options)
56975 (syscall-list-32bit-condition, syscall-list-64bit-options)
56976 (syscall-list-64bit-condition): Define.
56977 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56978 (syscall-list-variants, syscall-list-32bit-options)
56979 (syscall-list-32bit-condition, syscall-list-64bit-options)
56980 (syscall-list-64bit-condition): Define.
56981 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56983 (syscall-list-variants, syscall-list-32bit-options)
56984 (syscall-list-32bit-condition, syscall-list-64bit-options)
56985 (syscall-list-64bit-condition): Define.
56986 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56988 (syscall-list-variants, syscall-list-32bit-options)
56989 (syscall-list-32bit-condition, syscall-list-64bit-options)
56990 (syscall-list-64bit-condition): Define.
56992 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56994 * locale/iso-639.def: Add brx entry.
56997 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56998 Proposed by Mariusz_Cukr <marcukr@op.pl>.
57000 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57001 __feraiseexcept_renamed.
57003 2011-12-21 Ulrich Drepper <drepper@gmail.com>
57006 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57007 EPOLLET with unsigned values.
57008 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57011 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57012 to large cancellation.
57013 * math/s_cacoshf.c: Likewise.
57014 * math/s_cacoshl.c: Likewise.
57016 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
57020 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57021 * math/s_cacoshf.c: Likewise.
57022 * math/s_cacoshl.c: Likewise.
57024 2011-12-21 Ulrich Drepper <drepper@gmail.com>
57027 * iconv/gconv.h: Define __GCONV_SWAP.
57028 * iconvdata/unicode.c: The swap bit must be stored in __flags.
57029 * iconvdata/utf-16.c: Likewise.
57030 * iconvdata/utf-32.c: Likewise.
57032 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
57035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57036 numerator after shifting it by one limb.
57038 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
57040 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57041 under [__USE_EXTERN_INLINES].
57043 2011-12-17 Ulrich Drepper <drepper@gmail.com>
57046 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57048 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57050 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57051 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57053 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57054 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57055 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57056 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57057 for strncasecmp/strncasecmp_l compilation.
57058 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57059 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57061 2011-12-08 Marek Polacek <mpolacek@redhat.com>
57064 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57067 2011-12-17 Ulrich Drepper <drepper@gmail.com>
57070 * time/tzfile.c (__tzfile_read): Check values from file header.
57072 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
57074 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57075 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57076 * powerpc/powerpc32/dl-start.S: Likewise.
57077 * powerpc/powerpc32/elf/start.S: Likewise.
57078 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57079 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57080 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57081 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57082 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57083 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57084 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57085 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57086 * powerpc/powerpc32/fpu/s_round.S: Likewise.
57087 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57088 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57089 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57090 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57091 * powerpc/powerpc32/memset.S: Likewise.
57092 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57093 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57094 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57095 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57096 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57097 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57098 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57099 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57100 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57101 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57103 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57104 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57106 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57108 * math/libm-test.inc: Added more nearbyint tests.
57109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57114 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
57116 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57119 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57121 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57122 Add wcscpy-ssse3 wcscpy-c.
57123 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57124 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57125 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57126 * sysdeps/x86_64/wcschr.S: New file.
57127 * sysdeps/x86_64/wcsrchr.S: New file.
57128 * string/test-strcmp.c: Remove checking of wcscmp function for
57130 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57131 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57132 wcsrchr-sse2 wcsrchr-c.
57133 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57134 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57135 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57136 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57137 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57138 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57139 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57140 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57141 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57142 * wcsmbc/wcschr.c (WCSCHR): New macro.
57144 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57146 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57147 * wcsmbs/test-wcsrchr.c: New file.
57148 * string/test-strrchr.c: Add wcsrchr support.
57150 * wcsmbs/test-wcscpy.c: New file.
57151 * string/test-strcpy.c: Add wcscpy support.
57154 2011-12-10 Ulrich Drepper <drepper@gmail.com>
57156 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57159 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
57162 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57164 2011-12-04 Ulrich Drepper <drepper@gmail.com>
57166 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57167 Minor optimizations.
57169 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57170 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57171 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57173 2011-12-03 Ulrich Drepper <drepper@gmail.com>
57175 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57176 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57177 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57178 for gcc to avoid warnings.
57179 * inet/Makefile (tests): Add tst-checks.
57180 * inet/tst-checks.c: New file.
57182 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57185 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57188 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57189 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57191 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57193 2011-12-02 Ulrich Drepper <drepper@gmail.com>
57195 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57198 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57200 2011-11-29 Joseph Myers <joseph@codesourcery.com>
57202 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57203 conditional on GCC version.
57204 (__arch_compare_and_exchange_val_8_acq)
57205 (__arch_compare_and_exchange_val_16_acq)
57206 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57207 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57208 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57210 2011-12-02 Joseph Myers <joseph@codesourcery.com>
57212 * sysdeps/sh/backtrace.c: New file.
57214 2011-12-02 Andreas Schwab <schwab@redhat.com>
57216 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
57219 2011-12-01 Andreas Schwab <schwab@redhat.com>
57221 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57222 falling back to utime.
57224 2011-11-30 Andreas Schwab <schwab@redhat.com>
57226 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57227 expectations for float.
57229 2011-11-29 Andreas Schwab <schwab@redhat.com>
57231 * locale/weight.h (findidx): Add parameter len.
57232 * locale/weightwc.h (findidx): Likewise.
57233 * posix/fnmatch_loop.c (FCT): Adjust caller.
57234 * posix/regcomp.c (build_equiv_class): Likewise.
57235 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57236 * posix/regexec.c (check_node_accept_bytes): Likewise.
57237 * string/strcoll_l.c (STRCOLL): Likewise.
57238 * string/strxfrm_l.c (STRXFRM): Likewise.
57240 2011-11-17 Ulrich Drepper <drepper@gmail.com>
57242 * Makefile.in: Remove CVSOPT handling.
57243 * configure.in: Remove use of AC_REVISION.
57244 * iconvdata/Makefile (distribute): No need to filter out CVS.
57245 * scripts/list-sources.sh: Remove CVS, subversion and monotone
57248 2011-11-16 Andreas Schwab <schwab@redhat.com>
57250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57251 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57252 [USE_AS_STRNCASECMP_L]: Likewise.
57253 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57254 NO_TLS_DIRECT_SEG_REFS.
57255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57256 Fix argument offsets for non-PIC.
57257 [USE_AS_STRNCASECMP_L]: Likewise.
57258 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57259 NO_TLS_DIRECT_SEG_REFS.
57261 2011-11-15 Ulrich Drepper <drepper@gmail.com>
57263 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57265 * locale/loadlocale.c (_nl_load_locale): Likewise.
57267 2011-11-15 Andreas Schwab <schwab@redhat.com>
57269 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57270 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57271 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57272 (SYSCALL_GETTIME): Set errno on error.
57274 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57275 count references to noai6ai_cached.
57277 2011-11-15 Ulrich Drepper <drepper@gmail.com>
57279 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57281 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57282 FD_CLOEXEC for /proc/self/maps.
57284 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57285 FD_CLOEXEC for /proc/meminfo.
57287 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57290 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
57291 FD_CLOEXEC for given file.
57293 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57295 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57296 FD_CLOEXEC for /etc/hosts.
57297 (_gethtent): Likewise.
57299 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57301 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57302 cancellation and set FD_CLOEXEC for /etc/netgroup.
57304 * nss/nss_files/files-key.c (search): Don't allow cancellation when
57305 reading /etc/publickey.
57307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57308 allow cancellation when reading /etc/group.
57310 * nss/nss_files/files-alias.c (internal_setent): Don't allow
57312 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
57314 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57315 when using data file.
57317 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57319 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57320 (write_nis_obj): Use "c" and "e" in fopen.
57322 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57324 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57326 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57328 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57330 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57333 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57335 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57337 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57339 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57340 file parsing and set FD_CLOEXEC.
57342 2011-11-14 Ulrich Drepper <drepper@gmail.com>
57344 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57346 2011-11-14 Andreas Schwab <schwab@redhat.com>
57348 * malloc/arena.c (arena_get2): Don't call reused_arena when
57349 _int_new_arena failed.
57351 2011-11-14 Ulrich Drepper <drepper@gmail.com>
57353 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57354 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57355 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57356 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57357 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57358 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57359 to compile strcasecmp and strncasecmp.
57360 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57361 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57365 2011-11-13 Ulrich Drepper <drepper@gmail.com>
57367 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57368 locale-defines.sym to gen-as-const-headers.
57369 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57370 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57372 to compile strcasecmp and strncasecmp.
57373 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57374 strcasecmp_l and strncasecmp_l.
57375 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57376 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57377 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57378 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57379 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57380 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57381 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57382 * sysdeps/i386/i686/multiarch/strncase.S: New file.
57383 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57384 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57385 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57387 2011-11-12 Ulrich Drepper <drepper@gmail.com>
57389 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57390 result of SYSDEP_GETTIME_CPU to retval.
57391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57392 parameter list to macro. Remove trailing semicolon. Adjust users.
57394 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57397 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57399 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57401 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57402 from unused variable.
57404 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57406 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57409 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57412 * sunrpc/rpc_prot.c (rejected): Fix case value.
57414 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57415 unsigned long long int to avoid warnings in shift.
57417 * posix/regex_internal.c (re_string_reconstruct): Actually use result
57419 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57422 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57423 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57424 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57426 * nis/nis_table.c (nis_list): Use variable of correct type for
57427 result of __follow_path call.
57429 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57431 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57432 of math functions ceil, trunc, floor, round, and sqrt, when
57433 avaliable on the platform.
57434 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57438 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57440 2011-10-30 Marek Polacek <mpolacek@redhat.com>
57442 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57443 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57445 2011-11-11 Roland McGrath <roland@hack.frob.com>
57447 * include/unistd.h: Fix __readlink return type.
57448 Reported by Chris Metcalf <cmetcalf@tilera.com>.
57450 2011-11-11 Ulrich Drepper <drepper@gmail.com>
57452 * stdlib/ucontext.h: Undo last change for makecontext.
57454 2011-11-11 Andreas Schwab <schwab@redhat.com>
57456 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57458 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57459 * setjmp/setjmp.h: Mark functions as non-leaf.
57460 * setjmp/bits/setjmp2.h: Likewise.
57461 * stdlib/ucontext.h: Likewise.
57463 2011-11-10 Andreas Schwab <schwab@redhat.com>
57465 * malloc/arena.c (_int_new_arena): Don't increment narenas.
57466 (reused_arena): Don't check arena limit.
57467 (arena_get2): Atomically check arena limit.
57469 2011-11-08 Ulrich Drepper <drepper@gmail.com>
57471 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57472 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57477 2011-11-07 Andreas Schwab <schwab@redhat.com>
57479 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57480 handler when locking.
57482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57483 Fix size of allocated buffer.
57485 2011-11-04 Andreas Schwab <schwab@redhat.com>
57488 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57489 declarations for long double functions.
57490 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57492 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57494 2011-11-03 Andreas Schwab <schwab@redhat.com>
57496 * nscd/nscd.c (main): Don't start AVC thread until credentials are
57499 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57502 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
57504 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57506 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
57508 * include/alloca.h (stackinfo_alloca_round): Define.
57509 (extend_alloca): Use it.
57510 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57511 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57514 * scripts/check-local-headers.sh: Ignore libaudit.h.
57516 * nscd/Makefile (extra-objs): Make recursively expanded.
57518 2011-11-01 Ulrich Drepper <drepper@gmail.com>
57520 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57523 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57524 * posix/tst-rfc3484-2.c: Likewise.
57525 * posix/tst-rfc3484-3.c: Likewise.
57527 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57529 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57531 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57532 process_vm_writev from libc using GLIBC_2.15 version.
57534 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57536 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
57538 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57541 2011-10-31 Ulrich Drepper <drepper@gmail.com>
57544 * nss/getent.c (initgroups_keys): Show error message in case no group
57547 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57548 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57549 __bump_nl_timestamp.
57550 * nscd/connections (nscd_init): When host database is served open
57551 netlink socket and request notification about configuration changes.
57552 (main_loop_poll): Track netlink file descriptor and bump timestamp
57553 in case data becomes available.
57554 (main_loop_epoll): Likewise.
57555 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57556 (database_pers_head): Add extra_data fileds.
57557 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57558 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57559 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57562 in6ai data, call __free_in6ai.
57563 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57564 Add -DHAVE_NETLINK.
57565 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
57566 interface information. Reuse previous data if netlink timestamp
57568 (__bump_nl_timestamp): New function.
57569 (__free_in6ai): New function.
57571 2011-10-30 Ulrich Drepper <drepper@gmail.com>
57573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57574 close_not_cancel_no_status here.
57575 (__check_pf): Reorganize code a bit to not call close twice if OOM.
57577 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57580 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57583 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57584 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57585 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57587 2011-07-03 Andreas Jaeger <aj@suse.de>
57590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57591 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57592 * math/libm-test.inc (sin_test): Add test case.
57594 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57597 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57598 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57600 * elf/chroot_canon.c (chroot_canon): Cleanups.
57602 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57605 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57606 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57608 * string/test-strchr.c: Make usable for strchrnul testing.
57609 * string/test-strchrnul.c: New file.
57610 * string/Makefile (strop-tests): Add strchrnul.
57612 * po/it.po: Update from translation team.
57613 * po/es.po: Likewise.
57615 2011-10-28 Ulrich Drepper <drepper@gmail.com>
57617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57618 the three constants needed as parameters. Drop the others.
57619 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57620 __m128i_strloadu_tolower.
57621 Create and initialize variable zero and use it in all the places
57622 where _mm_setzero_si128 was used.
57624 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57625 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57626 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57629 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57630 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57631 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57632 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57633 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57634 __mpranred, __mptan.
57635 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57636 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57637 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57638 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57639 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57640 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57642 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57643 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57645 2011-10-28 Andreas Schwab <schwab@redhat.com>
57647 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57648 redefine if SHARED.
57649 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57652 wide char related routines to wcsmbs subdir.
57654 2011-10-27 Andreas Schwab <schwab@redhat.com>
57657 * misc/sys/cdefs.h (__THROWNL): Define.
57658 * posix/unistd.h: Use __THREADNL instead of __THREAD
57659 for memory synchronization functions.
57661 2011-10-26 Roland McGrath <roland@hack.frob.com>
57664 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57666 * manual/stdio.texi (Obstack Streams): Node removed.
57668 2011-10-26 Andreas Schwab <schwab@redhat.com>
57670 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57671 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57672 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57674 * math/math_private.h (math_force_eval): Allow non-addressable
57676 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57678 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57680 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57681 file is not needed.
57683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57684 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57685 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57686 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57687 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57688 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57690 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57692 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57693 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57694 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57695 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57696 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57697 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57698 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57699 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57700 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57701 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57702 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57703 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57705 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57706 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57707 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57708 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57709 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57710 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57712 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57713 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
57715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57716 place. Use VEX encoding when compiling for AVX.
57718 2011-10-25 Andreas Schwab <schwab@redhat.com>
57720 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57721 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57723 * string/test-strchr.c (do_test): Don't generate NUL bytes.
57725 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57727 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57728 useless if() expression.
57729 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57730 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57731 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57733 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57737 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57738 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57739 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57740 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57741 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57742 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57743 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57745 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57747 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57749 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57751 2011-10-25 Andreas Schwab <schwab@redhat.com>
57753 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57755 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57757 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57759 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57760 .text section. Avoid duplicate constants.
57761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57769 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57770 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57771 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57772 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57773 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57774 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57775 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57777 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57778 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57784 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57785 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57786 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57787 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57788 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57789 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57790 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57791 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57792 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57793 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57794 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57795 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57796 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57797 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57799 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57800 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57801 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57802 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57803 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57804 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57805 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57807 2011-10-24 Ulrich Drepper <drepper@gmail.com>
57809 * sysdeps/x86_64/dla.h: Move to ...
57810 * sysdeps/x86_64/fpu/dla.h: ...here.
57811 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57812 situations. Use __builtin_fma only for gcc 4.6 and up.
57814 * config.make.in: Add have-mfma4 entry.
57815 * configure.in: Substitute libc_cv_cc_fma4.
57816 * math/Makefile (dbl-only-routines): Add sincostab.
57817 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57818 Use __sincostab not sincos.
57819 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
57826 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
57827 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
57828 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57829 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57831 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57832 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57834 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
57835 define aliases when function name is a macro.
57836 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57837 sysdeps/ieee754/dbl-64/sincos.tbl.
57838 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57839 fma4-enabled routines.
57840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57841 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57842 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57843 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57844 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57845 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57846 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57847 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57848 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57849 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57850 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57851 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57852 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57853 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57854 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57855 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57856 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57857 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57858 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57859 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57860 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57861 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57863 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57865 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57867 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57869 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57871 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57882 2011-10-24 Andreas Schwab <schwab@redhat.com>
57884 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57886 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57890 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57894 * string/strnlen.c: Don't define STRNLEN, reverse logic.
57895 Remove unused variable magic_bits.
57896 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57898 * string/strnlen.c: Define and use STRNLEN macro.
57899 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57900 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57902 * wcsmbs/wcslen.c: Define and use WCSLEN.
57903 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57904 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57905 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57906 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57907 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57908 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57909 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57911 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57914 strnlen-sse2-no-bsf.
57915 Rename strlen-no-bsf to strlen-sse2-no-bsf.
57916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57917 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57918 Add strnlen support.
57919 (USE_AS_STRNLEN): New macro.
57920 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57921 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57922 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57923 * sysdeps/x86_64/wcslen.S: New file.
57925 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
57927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57928 XMM-moves are used for copying on small sizes.
57930 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57932 * wcsmbs/Makefile (strop-tests): Add wcschr.
57933 * wcsmbs/test-wcschr.c: New file.
57934 * string/test-strchr.c: Update.
57935 Add wcschr support.
57938 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57940 * wcsmbs/Makefile (strop-tests): Add wcslen.
57941 * wcsmbs/test-wcslen.c: New file.
57942 * string/test-strlen.c: Update.
57943 Add wcslen support.
57946 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57948 * po/it.po: Update from translation team.
57950 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57952 * sysdeps/x86_64/wcscmp.S: Update.
57953 Fix wrong comparison semantics.
57954 wcscmp shall use signed comparison not unsigned.
57955 Don't use substraction to avoid overflow bug.
57956 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57957 * wcsmbc/wcscmp.c: Likewise.
57958 * string/test-strcmp.c: Likewise.
57959 Add new tests to check cases with negative values.
57961 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57963 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57964 * sysdeps/x86_64/dla.h: ...here. New file.
57965 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57970 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57972 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57975 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57978 __ynl_finite aliases.
57980 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57984 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57986 [DLA_FMA] (EMULV): Use DLA_FMA.
57987 [DLA_FMA] (MUL12): Use EMULV.
57988 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57989 that are not needed.
57990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57992 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57998 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
58000 * math/s_nan.c: Undef __nan.
58001 * math/s_nanf.c: Undef __nanf.
58002 * math/s_nanl.c: Undef __nanl.
58003 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58006 2011-10-22 Ulrich Drepper <drepper@gmail.com>
58008 * math/s_catan.c: Add branch predictions.
58009 * math/s_catanf.c: Likewise.
58010 * math/s_catanh.c: Likewise.
58011 * math/s_catanhf.c: Likewise.
58012 * math/s_catanhl.c: Likewise.
58013 * math/s_catanl.c: Likewise.
58014 * math/s_cexp.c: Likewise.
58015 * math/s_cexpf.c: Likewise.
58016 * math/s_cexpl.c: Likewise.
58017 * math/s_clog.c: Likewise.
58018 * math/s_clog10.c: Likewise.
58019 * math/s_clog10f.c: Likewise.
58020 * math/s_clog10l.c: Likewise.
58021 * math/s_clogf.c: Likewise.
58022 * math/s_clogl.c: Likewise.
58023 * math/s_csqrt.c: Likewise.
58024 * math/s_csqrtf.c: Likewise.
58025 * math/s_csqrtl.c: Likewise.
58026 * math/s_ctanf.c: Likewise.
58027 * math/s_ctanh.c: Likewise.
58028 * math/s_ctanhf.c: Likewise.
58029 * math/s_ctanhl.c: Likewise.
58030 * math/s_ctanl.c: Likewise.
58032 * math/math_private.h: Define __nan, __nanf, __nanl.
58033 * math/s_cacosh.c: Include <math_private.h>.
58034 * math/s_cacoshl.c: Likewise.
58035 * math/s_casinh.c: Likewise.
58036 * math/s_casinhf.c: Likewise.
58037 * math/s_casinhl.c: Likewise.
58038 * math/s_ccos.c: Rely entire on ccosh.
58039 * math/s_ccosf.c: Rely entire on ccoshf.
58040 * math/s_ccosl.c: Rely entirely on ccoshl.
58041 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
58042 Remove tests for FE_INVALID.
58043 * math/s_ccoshf.c: Likewise.
58044 * math/s_ccoshl.c: Likewise.
58045 * math/s_csin.c: Likewise.
58046 * math/s_csinf.c: Likewise.
58047 * math/s_csinh.c Likewise.
58048 * math/s_csinhf.c: Likewise.
58049 * math/s_csinhl.c: Likewise.
58050 * math/s_csinl.c: Likewise.
58051 * math/s_ctan.c: Likewise.
58052 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58053 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58054 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58056 2011-10-21 Ulrich Drepper <drepper@gmail.com>
58058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58059 compilation problems.
58061 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58064 2011-10-20 Ulrich Drepper <drepper@gmail.com>
58066 * sysdeps/i386/configure.in: Test for -mfma4 option.
58067 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58068 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58069 COMMON_CPUID_INDEX_80000001.
58070 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58071 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58072 use it if FMA3 is not supported.
58073 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58075 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58076 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58078 2011-10-20 Andreas Schwab <schwab@redhat.com>
58081 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58082 it would create a cycle with a link time dependency.
58084 2011-10-19 Ulrich Drepper <drepper@gmail.com>
58086 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58088 * string/Makefile (strop-tests): Add rawmemchr.
58089 * string/test-rawmemchr.c: New file.
58091 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
58093 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
58094 when compiling str{,n}casecmp and when AVX is available. Hook up
58095 new optimized code in initializers.
58097 2011-10-19 Andreas Schwab <schwab@redhat.com>
58099 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58100 __feraiseexcept instead of feraiseexcept.
58102 2011-10-18 Ulrich Drepper <drepper@gmail.com>
58104 * math/math_private.h: Define defaults for libc_fetestexcept and
58106 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58107 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58108 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58109 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58110 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58111 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58112 libc_fetestexcept and libc_feupdateenv.
58114 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58115 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58116 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58117 * sysdeps/x86_64/fpu/math_private.h: Define special version of
58118 libc_feholdexcept_setround.
58120 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58121 Add s_nearbyint-c and s_nearbyintf-c.
58122 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58123 nearbyintf inlines.
58124 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58125 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58127 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58129 * math/math_private.h: Define defaults for libc_fegetround,
58130 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58131 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58132 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58133 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58134 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58135 standard functions.
58136 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58137 Remove comments and hacks for old compiler versions.
58138 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58139 libc_fegetround, libc_fesetround, libc_feholdexcept, and
58140 libc_feholdexceptl.
58142 2011-10-18 Andreas Schwab <schwab@redhat.com>
58144 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58145 (__feraiseexcept_renamed): Add __NTH.
58146 (feraiseexcept): Add __NTH. Rename local variables to fix
58147 namespace violations.
58149 2011-10-17 Ulrich Drepper <drepper@gmail.com>
58151 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58153 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58155 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58156 recently added interfaces.
58157 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58159 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58160 about macro parameter expansion.
58162 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58163 __NO_MATH_INLINES is defined. Cleanups.
58165 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58166 and __floorf is target has SSE4.1.
58167 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58168 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58169 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58170 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58172 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58174 (floorf): Likewise.
58176 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58178 2011-10-17 Andreas Schwab <schwab@redhat.com>
58180 * misc/sys/cdefs.h: Fix last change.
58182 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58185 2011-10-16 Ulrich Drepper <drepper@gmail.com>
58187 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58189 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58191 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58192 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58195 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58196 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58197 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58198 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58199 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58200 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58201 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58202 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58203 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58204 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58205 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58206 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58207 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58208 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58210 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58212 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58213 ceil, ceilf, floor, floorf.
58215 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58216 Perform IRELATIVE relocations last.
58218 * elf/do-rel.h: Add another parameter nrelative, replacing the
58219 local variable with the same name. Change name of the function
58220 to end in Rel or Rela (uppercase).
58221 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58222 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
58223 elf_dynamic_do_##reloc function.
58225 2011-10-15 Ulrich Drepper <drepper@gmail.com>
58227 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58228 is sufficient, at least on modern CPUs.
58230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58232 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58233 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58235 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58237 * math/bits/math-finite.h: Add entries for exp.
58238 * math/e_expl.c: Add __*_finite alias.
58239 * sysdeps/i386/fpu/e_exp.S: Likewise.
58240 * sysdeps/i386/fpu/e_expf.S: Likewise.
58241 * sysdeps/i386/fpu/e_expl.c: Likewise.
58242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58243 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58246 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58247 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58248 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58250 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58251 is sufficient, at least on modern CPUs.
58253 * ctype/ctype-info.c (__ctype_init): Define.
58254 * include/ctype.h (__ctype_init): Declare.
58255 (__ctype_b_loc): The variable is always initialized.
58256 (__ctype_toupper_loc): Likewise.
58257 (__ctype_tolower_loc): Likewise.
58258 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58259 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58261 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
58263 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58265 * configure.in: Also look in $cxxmachine/include for C++ system
58268 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58270 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58271 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58272 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58273 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
58274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58275 (USE_AS_WMEMCMP): New macro.
58277 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58278 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58279 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58280 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58282 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58283 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58284 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58285 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58286 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58288 (USE_AS_WMEMCMP): New macro.
58289 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58290 * sysdeps/string/test-memcmp.c: Update.
58291 Fix simple_wmemcmp.
58293 * wcsmbs/wmemcmp.c: Update.
58294 (WMEMCMP): New macro.
58297 2011-10-12 Andreas Jaeger <aj@suse.de>
58300 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58302 2011-10-15 Ulrich Drepper <drepper@gmail.com>
58304 * libio/iofwide.c (do_length): Avoid warning.
58306 * ctype/ctype.h (__isctype_f): Add missing __THROW.
58308 2011-10-14 Ulrich Drepper <drepper@gmail.com>
58310 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58312 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58313 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58314 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58315 * sysdeps/i386/i686/fpu/e_log.S: New file.
58316 * sysdeps/i386/i686/fpu/e_logf.S: New file.
58317 * sysdeps/i386/i686/fpu/e_logl.S: New file.
58319 * ctype/ctype.h: Add support for inlined isXXX functions when
58320 compiling C++ code.
58322 2011-10-14 Andreas Schwab <schwab@redhat.com>
58324 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58326 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58328 2011-10-13 Roland McGrath <roland@hack.frob.com>
58331 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58333 2011-10-13 Andreas Schwab <schwab@redhat.com>
58335 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58336 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58339 * sysdeps/x86_64/memrchr.S: Check for zero size.
58341 * string/stratcliff.c: Add memrchr tests.
58343 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58346 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58347 rawmemchr-sse2 rawmemchr-sse2-bsf.
58348 * sysdeps/i386/i686/multiarch/memchr.S: New file.
58349 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58350 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58351 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58352 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58353 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58354 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58355 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58356 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58357 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58358 * string/memrchr.c (MEMRCHR): New macro.
58360 2011-10-12 Ulrich Drepper <drepper@gmail.com>
58362 Add integration with gcc's -ffinite-math-only and optimize wrapper
58364 * Versions.def: Define GLIBC_2.15 version for libm.
58365 * math/Makefile (headers): Add bits/math-finite.h.
58366 * math/bits/math-finite.h: New file.
58367 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58368 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58369 * math/e_acoshl.c: Add __*_finite alias.
58370 * math/e_acosl.c: Likewise.
58371 * math/e_asinl.c: Likewise.
58372 * math/e_atan2l.c: Likewise.
58373 * math/e_atanhl.c: Likewise.
58374 * math/e_coshl.c: Likewise.
58375 * math/e_exp10.c: Likewise.
58376 * math/e_exp10f.c: Likewise.
58377 * math/e_exp10l.c: Likewise.
58378 * math/e_exp2l.c: Likewise.
58379 * math/e_fmodl.c: Likewise.
58380 * math/e_gammal_r.c: Likewise.
58381 * math/e_hypotl.c: Likewise.
58382 * math/e_j0l.c: Likewise.
58383 * math/e_j1l.c: Likewise.
58384 * math/e_jnl.c: Likewise.
58385 * math/e_lgammal_r.c: Likewise.
58386 * math/e_log10l.c: Likewise.
58387 * math/e_log2l.c: Likewise.
58388 * math/e_logl.c: Likewise.
58389 * math/e_powl.c: Likewise.
58390 * math/e_sinhl.c: Likewise.
58391 * math/e_sqrtl.c: Likewise.
58392 * math/e_scalb.c: Completely rewritten and optimized.
58393 * math/e_scalbf.c: Likewise.
58394 * math/e_scalbl.c: Likewise.
58395 * math/w_acos.c: Likewise.
58396 * math/w_acosf.c: Likewise.
58397 * math/w_acosl.c: Likewise.
58398 * math/w_acosh.c: Likewise.
58399 * math/w_acoshf.c: Likewise.
58400 * math/w_acoshl.c: Likewise.
58401 * math/w_asin.c: Likewise.
58402 * math/w_asinf.c: Likewise.
58403 * math/w_asinl.c: Likewise.
58404 * math/w_atan2.c: Likewise.
58405 * math/w_atan2f.c: Likewise.
58406 * math/w_atan2l.c: Likewise.
58407 * math/w_atanh.c: Likewise.
58408 * math/w_atanhf.c: Likewise.
58409 * math/w_atanhl.c: Likewise.
58410 * math/w_exp10.c: Likewise.
58411 * math/w_exp10f.c: Likewise.
58412 * math/w_exp10l.c: Likewise.
58413 * math/w_fmod.c: Likewise.
58414 * math/w_fmodf.c: Likewise.
58415 * math/w_fmodl.c: Likewise.
58416 * math/w_j0.c: Likewise.
58417 * math/w_j0f.c: Likewise.
58418 * math/w_j0l.c: Likewise.
58419 * math/w_j1.c: Likewise.
58420 * math/w_j1f.c: Likewise.
58421 * math/w_j1l.c: Likewise.
58422 * math/w_jn.c: Likewise.
58423 * math/w_jnf.c: Likewise.
58424 * math/w_log.c: Likewise.
58425 * math/w_logf.c: Likewise.
58426 * math/w_logl.c: Likewise.
58427 * math/w_log10.c: Likewise.
58428 * math/w_log10f.c: Likewise.
58429 * math/w_log10l.c: Likewise.
58430 * math/w_log2.c: Likewise.
58431 * math/w_log2f.c: Likewise.
58432 * math/w_log2l.c: Likewise.
58433 * math/w_pow.c: Likewise.
58434 * math/w_powf.c: Likewise.
58435 * math/w_powl.c: Likewise.
58436 * math/w_remainder.c: Likewise.
58437 * math/w_remainderf.c: Likewise.
58438 * math/w_remainderl.c: Likewise.
58439 * math/w_scalb.c: Likewise.
58440 * math/w_scalbf.c: Likewise.
58441 * math/w_scalbl.c: Likewise.
58442 * math/w_sqrt.c: Likewise.
58443 * math/w_sqrtf.c: Likewise.
58444 * math/w_sqrtl.c: Likewise.
58445 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58446 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
58448 * math/math_private.h: Declare __kernel_standard_f.
58449 * math/w_cosh.c: Remove cruft and optimize a bit.
58450 * math/w_coshf.c: Likewise.
58451 * math/w_coshl.c: Likewise.
58452 * math/w_exp2.c: Likewise.
58453 * math/w_exp2f.c: Likewise.
58454 * math/w_exp2l.c: Likewise.
58455 * math/w_hypot.c: Likewise.
58456 * math/w_hypotf.c: Likewise.
58457 * math/w_hypotl.c: Likewise.
58458 * math/w_lgamma.c: Likewise.
58459 * math/w_lgamma_r.c: Likewise.
58460 * math/w_lgammaf.c: Likewise.
58461 * math/w_lgammaf_r.c: Likewise.
58462 * math/w_lgammal.c: Likewise.
58463 * math/w_lgammal_r.c: Likewise.
58464 * math/w_sinh.c: Likewise.
58465 * math/w_sinhf.c: Likewise.
58466 * math/w_sinhl.c: Likewise.
58467 * math/w_tgamma.c: Likewise.
58468 * math/w_tgammaf.c: Likewise.
58469 * math/w_tgammal.c: Likewise.
58470 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58471 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58472 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58473 Minor optimizations. Pretty printing. Remove cruft.
58474 * sysdeps/i386/fpu/e_acosf.S: Likewise.
58475 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58476 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58478 * sysdeps/i386/fpu/e_acosl.c: Likewise.
58479 * sysdeps/i386/fpu/e_asin.S: Likewise.
58480 * sysdeps/i386/fpu/e_asinf.S: Likewise.
58481 * sysdeps/i386/fpu/e_atan2.S: Likewise.
58482 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58483 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58484 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58485 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58487 * sysdeps/i386/fpu/e_exp10.S: Likewise.
58488 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58489 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58490 * sysdeps/i386/fpu/e_exp2.S: Likewise.
58491 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58492 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58493 * sysdeps/i386/fpu/e_fmod.S: Likewise.
58494 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58495 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58496 * sysdeps/i386/fpu/e_hypot.S: Likewise.
58497 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58498 * sysdeps/i386/fpu/e_log.S: Likewise.
58499 * sysdeps/i386/fpu/e_log10.S: Likewise.
58500 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58501 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58502 * sysdeps/i386/fpu/e_log2.S: Likewise.
58503 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58504 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58505 * sysdeps/i386/fpu/e_logf.S: Likewise.
58506 * sysdeps/i386/fpu/e_logl.S: Likewise.
58507 * sysdeps/i386/fpu/e_pow.S: Likewise.
58508 * sysdeps/i386/fpu/e_powf.S: Likewise.
58509 * sysdeps/i386/fpu/e_powl.S: Likewise.
58510 * sysdeps/i386/fpu/e_remainder.S: Likewise.
58511 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58512 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58513 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58514 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58515 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58516 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58517 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58518 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58519 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58522 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58523 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58524 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58525 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58526 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58527 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58528 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58529 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58530 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58532 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58533 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58539 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58540 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58541 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58542 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58543 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58544 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58545 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58546 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58547 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58548 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58549 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58550 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58551 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58552 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58553 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58554 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58555 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58556 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58557 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58558 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58559 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58560 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58561 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58562 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58564 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58565 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58566 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58567 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58568 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58569 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58570 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58571 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58573 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58574 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58575 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58576 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58577 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58578 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58579 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58580 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58584 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58587 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58589 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58590 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58591 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58592 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58593 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58595 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58596 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58597 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58598 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58599 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58600 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58601 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58604 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58605 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58606 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58607 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58608 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58609 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58610 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58612 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58614 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58615 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58616 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58617 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58618 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58619 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58620 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58621 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58622 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58623 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58624 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58625 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58626 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58627 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58628 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58629 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
58630 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58631 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58632 (__isnanf): Likewise.
58633 (__isinf_ns): Likewise.
58634 (__isinf_nsf): Likewise.
58635 (__finite): Likewise.
58636 (__finitef): Likewise.
58637 (__ieee754_sqrt): Define as macro.
58638 (__ieee754_sqrtf): Define as macro.
58639 (__ieee754_sqrtl): Define as macro.
58640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58642 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58643 __FINITE_MATH_ONLY__ consistent.
58644 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58646 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
58648 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58651 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58653 2011-10-09 Ulrich Drepper <drepper@gmail.com>
58655 * po/ja.po: Update from translation team.
58657 2011-10-08 Roland McGrath <roland@hack.frob.com>
58659 * locale/programs/locarchive.c (prepare_address_space): New function.
58660 (create_archive, enlarge_archive, open_archive): Use it.
58662 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58663 inside [SHARED], where it is used.
58665 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58667 * nss/getent.c (netgroup_keys): Remove unused variable.
58668 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58670 2011-10-08 Ulrich Drepper <drepper@gmail.com>
58672 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58673 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58675 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58676 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58677 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58678 * math/Makefile (libm-calls): Add s_isinf_ns.
58679 * math/divtc3.c: Use __isinf_nsl instead of isinf.
58680 * math/multc3.c: Likewise.
58681 * math/s_casin.c: Likewise.
58682 * math/s_casinf.c: Likewise.
58683 * math/s_casinl.c: Likewise.
58684 * math/s_ccos.c: Likewise.
58685 * math/s_ccosf.c: Likewise.
58686 * math/s_ccosl.c: Likewise.
58687 * math/s_ctan.c: Likewise.
58688 * math/s_ctanf.c: Likewise.
58689 * math/s_ctanh.c: Likewise.
58690 * math/s_ctanhf.c: Likewise.
58691 * math/s_ctanhl.c: Likewise.
58692 * math/s_ctanl.c: Likewise.
58693 * math/w_fmod.c: Likewise.
58694 * math/w_fmodf.c: Likewise.
58695 * math/w_fmodl.c: Likewise.
58696 * math/w_remainder.c: Likewise.
58697 * math/w_remainderf.c: Likewise.
58698 * math/w_remainderl.c: Likewise.
58699 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58700 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58703 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58704 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58705 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58706 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58708 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58710 * stdio-common/printf_fphex.c: Likewise.
58711 * stdio-common/printf_size.c: Likewise.
58713 * math/e_exp10.c: Include math_private.h using <...> not "...".
58714 * math/e_exp10f.c: Likewise.
58715 * math/e_exp10l.c: Likewise.
58716 * math/e_exp2l.c: Likewise.
58717 * math/e_j0l.c: Likewise.
58718 * math/e_j1l.c: Likewise.
58719 * math/e_jnl.c: Likewise.
58720 * math/e_lgammal_r.c: Likewise.
58721 * math/e_rem_pio2l.c: Likewise.
58722 * math/e_scalb.c: Likewise.
58723 * math/e_scalbf.c: Likewise.
58724 * math/e_scalbl.c: Likewise.
58725 * math/k_cosl.c: Likewise.
58726 * math/k_sinl.c: Likewise.
58727 * math/k_tanl.c: Likewise.
58728 * math/s_cacoshf.c: Likewise.
58729 * math/s_catan.c: Likewise.
58730 * math/s_catanf.c: Likewise.
58731 * math/s_catanh.c: Likewise.
58732 * math/s_catanhf.c: Likewise.
58733 * math/s_catanhl.c: Likewise.
58734 * math/s_catanl.c: Likewise.
58735 * math/s_ccosh.c: Likewise.
58736 * math/s_ccoshf.c: Likewise.
58737 * math/s_ccoshl.c: Likewise.
58738 * math/s_cexp.c: Likewise.
58739 * math/s_cexpf.c: Likewise.
58740 * math/s_cexpl.c: Likewise.
58741 * math/s_clog.c: Likewise.
58742 * math/s_clog10.c: Likewise.
58743 * math/s_clog10f.c: Likewise.
58744 * math/s_clog10l.c: Likewise.
58745 * math/s_clogf.c: Likewise.
58746 * math/s_clogl.c: Likewise.
58747 * math/s_csin.c: Likewise.
58748 * math/s_csinf.c: Likewise.
58749 * math/s_csinh.c: Likewise.
58750 * math/s_csinhf.c: Likewise.
58751 * math/s_csinhl.c: Likewise.
58752 * math/s_csinl.c: Likewise.
58753 * math/s_csqrt.c: Likewise.
58754 * math/s_csqrtf.c: Likewise.
58755 * math/s_csqrtl.c: Likewise.
58756 * math/s_ctan.c: Likewise.
58757 * math/s_ctanf.c: Likewise.
58758 * math/s_ctanh.c: Likewise.
58759 * math/s_ctanhf.c: Likewise.
58760 * math/s_ctanhl.c: Likewise.
58761 * math/s_ctanl.c: Likewise.
58762 * math/s_ldexp.c: Likewise.
58763 * math/s_ldexpf.c: Likewise.
58764 * math/s_ldexpl.c: Likewise.
58765 * math/s_significand.c: Likewise.
58766 * math/s_significandf.c: Likewise.
58767 * math/s_significandl.c: Likewise.
58768 * math/w_acos.c: Likewise.
58769 * math/w_acosf.c: Likewise.
58770 * math/w_acosh.c: Likewise.
58771 * math/w_acoshf.c: Likewise.
58772 * math/w_acoshl.c: Likewise.
58773 * math/w_acosl.c: Likewise.
58774 * math/w_asin.c: Likewise.
58775 * math/w_asinf.c: Likewise.
58776 * math/w_asinl.c: Likewise.
58777 * math/w_atan2.c: Likewise.
58778 * math/w_atan2f.c: Likewise.
58779 * math/w_atan2l.c: Likewise.
58780 * math/w_atanh.c: Likewise.
58781 * math/w_atanhf.c: Likewise.
58782 * math/w_atanhl.c: Likewise.
58783 * math/w_cosh.c: Likewise.
58784 * math/w_coshf.c: Likewise.
58785 * math/w_coshl.c: Likewise.
58786 * math/w_dremf.c: Likewise.
58787 * math/w_exp10.c: Likewise.
58788 * math/w_exp10f.c: Likewise.
58789 * math/w_exp10l.c: Likewise.
58790 * math/w_exp2.c: Likewise.
58791 * math/w_exp2f.c: Likewise.
58792 * math/w_fmod.c: Likewise.
58793 * math/w_fmodf.c: Likewise.
58794 * math/w_fmodl.c: Likewise.
58795 * math/w_hypot.c: Likewise.
58796 * math/w_hypotf.c: Likewise.
58797 * math/w_hypotl.c: Likewise.
58798 * math/w_j0.c: Likewise.
58799 * math/w_j0f.c: Likewise.
58800 * math/w_j0l.c: Likewise.
58801 * math/w_j1.c: Likewise.
58802 * math/w_j1f.c: Likewise.
58803 * math/w_j1l.c: Likewise.
58804 * math/w_jn.c: Likewise.
58805 * math/w_jnf.c: Likewise.
58806 * math/w_jnl.c: Likewise.
58807 * math/w_lgamma.c: Likewise.
58808 * math/w_lgamma_r.c: Likewise.
58809 * math/w_lgammaf.c: Likewise.
58810 * math/w_lgammaf_r.c: Likewise.
58811 * math/w_lgammal.c: Likewise.
58812 * math/w_lgammal_r.c: Likewise.
58813 * math/w_log.c: Likewise.
58814 * math/w_log10.c: Likewise.
58815 * math/w_log10f.c: Likewise.
58816 * math/w_log10l.c: Likewise.
58817 * math/w_log2.c: Likewise.
58818 * math/w_log2f.c: Likewise.
58819 * math/w_log2l.c: Likewise.
58820 * math/w_logf.c: Likewise.
58821 * math/w_logl.c: Likewise.
58822 * math/w_pow.c: Likewise.
58823 * math/w_powf.c: Likewise.
58824 * math/w_powl.c: Likewise.
58825 * math/w_remainder.c: Likewise.
58826 * math/w_remainderf.c: Likewise.
58827 * math/w_remainderl.c: Likewise.
58828 * math/w_scalb.c: Likewise.
58829 * math/w_scalbf.c: Likewise.
58830 * math/w_scalbl.c: Likewise.
58831 * math/w_sinh.c: Likewise.
58832 * math/w_sinhf.c: Likewise.
58833 * math/w_sinhl.c: Likewise.
58834 * math/w_sqrt.c: Likewise.
58835 * math/w_sqrtf.c: Likewise.
58836 * math/w_sqrtl.c: Likewise.
58837 * math/w_tgamma.c: Likewise.
58838 * math/w_tgammaf.c: Likewise.
58839 * math/w_tgammal.c: Likewise.
58841 * po/ja.po: Update from translation team.
58843 2011-09-29 Andreas Jaeger <aj@suse.de>
58846 * sunrpc/netname.c (netname2host): Fix logic.
58850 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58852 * math/w_remainder.c (__remainder): Likewise.
58853 * math/w_remainderf.c (__remainderf): Likewise.
58854 * math/libm-test.inc (remainder_test): Add test cases.
58856 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58858 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
58861 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58863 * string/test-memcmp.c: Avoid unncessary #defines.
58864 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58866 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58868 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58869 Use new sse2 version for core i3 - i7 as it's faster
58870 than sse42 version.
58871 (bit_Prefer_PMINUB_for_stringop): New.
58872 * sysdeps/x86_64/rawmemchr.S: Update.
58873 Replace with faster SSE2 version.
58874 * sysdeps/x86_64/memrchr.S: New file.
58875 * sysdeps/x86_64/memchr.S: Update.
58876 Replace with faster SSE2 version.
58878 2011-09-12 Marek Polacek <mpolacek@redhat.com>
58880 * elf/dl-load.c (lose): Add cast to avoid warning.
58882 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58884 * po/ca.po: Update from translation team.
58886 * inet/getnetgrent_r.c: Hook up nscd.
58887 * nscd/Makefile (routines): Add nscd_netgroup.
58888 (nscd-modules): Add netgroupcache.
58889 (CFLAGS-netgroupcache.c): Define.
58890 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58891 (cache_search): Add const to second parameter.
58892 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58894 (dbs): Add netgrdb entry.
58895 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58896 (verify_persistent_db): Handle netgrdb.
58897 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58898 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58900 (netgroup_response_header): Define.
58901 (innetgroup_response_header): Define.
58902 (datahead): Add netgroup_response_header and innetgroup_response_header
58904 * nscd/nscd.conf: Add entries for netgroup cache.
58905 * nscd/nscd.h (dbtype): Add netgrdb.
58906 (_PATH_NSCD_NETGROUP_DB): Define.
58907 (netgroup_iov_disabled): Declare.
58908 (xmalloc, xcalloc, xrealloc): Move declarations here.
58909 (cache_search): Adjust prototype.
58910 Add netgroup-related prototypes.
58911 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58912 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58913 (__nscd_innetgr): Declare.
58914 * nscd/selinux.c (perms): Use access_vector_t as element type and
58915 add netgroup-related initializers.
58916 * nscd/netgroupcache.c: New file.
58917 * nscd/nscd_netgroup.c: New file.
58918 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58919 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58920 For four parameters use innetgr.
58921 * nss/nss_files/files-init.c: Add definition and callback for netgr.
58922 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58923 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58924 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58926 * nscd/connections.c (register_traced_file): Don't register file
58927 for disabled databases.
58929 2011-10-06 Ulrich Drepper <drepper@gmail.com>
58931 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58933 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58934 from tree and freeing node.
58936 2011-09-25 Jiri Olsa <jolsa@redhat.com>
58938 * nss/nsswitch.c (__nss_database_lookup): Handle
58939 nss_parse_service_list out of memory case.
58941 2011-09-15 Jiri Olsa <jolsa@redhat.com>
58943 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58944 out of memory case.
58946 2011-10-04 Andreas Schwab <schwab@redhat.com>
58948 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58949 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58951 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58952 elf_machine_rela, elf_machine_lazy_rel.
58953 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58954 (ELF_DYNAMIC_DO_REL): Likewise.
58955 (ELF_DYNAMIC_DO_RELA): Likewise.
58956 (ELF_DYNAMIC_RELOCATE): Likewise.
58957 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58958 to ELF_DYNAMIC_DO_REL.
58959 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58960 (dl_main): In trace mode always set __RTLD_NOIFUNC.
58961 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58963 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58964 skip_ifunc, don't call ifunc function if non-zero.
58965 (elf_machine_rela): Likewise.
58966 (elf_machine_lazy_rel): Likewise.
58967 (elf_machine_lazy_rela): Likewise.
58968 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58969 (elf_machine_lazy_rel): Likewise.
58970 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58972 (elf_machine_lazy_rel): Likewise.
58973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58975 (elf_machine_lazy_rel): Likewise.
58976 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58977 (elf_machine_lazy_rel): Likewise.
58978 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58979 (elf_machine_lazy_rel): Likewise.
58980 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58981 (elf_machine_lazy_rel): Likewise.
58982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58983 (elf_machine_lazy_rel): Likewise.
58984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58985 (elf_machine_lazy_rel): Likewise.
58986 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58987 (elf_machine_lazy_rel): Likewise.
58989 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58991 * nss/nss_files/files-init.c (_nss_files_init): Use static
58992 initialization for all the *_traced_file variables.
58994 2011-09-28 Andreas Schwab <schwab@redhat.com>
58996 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58998 2011-09-27 Roland McGrath <roland@hack.frob.com>
59001 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59003 2011-09-27 Andreas Schwab <schwab@redhat.com>
59005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59006 Reread the line before reparsing it.
59008 2011-09-26 Andreas Schwab <schwab@redhat.com>
59010 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59012 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
59013 Maxim Kuvyrkov <maxim@codesourcery.com>
59014 Joseph Myers <joseph@codesourcery.com>
59016 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59017 if needed for __stack_chk_guard.
59019 2011-09-19 Roland McGrath <roland@hack.frob.com>
59021 * sysdeps/posix/spawni.c (script_execute): Always define it.
59022 It will be optimized away if unused.
59023 (maybe_script_execute): New function.
59024 (__spawni): Call it.
59026 * Makerules: Don't include tls.make.
59027 (config-tls): Always set to thread.
59028 * tls.make.c: File removed.
59030 2011-09-19 Mike Frysinger <vapier@gentoo.org>
59032 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59033 * config.make.in (CPPFLAGS-config): New substituted variable.
59035 2011-09-15 Ulrich Drepper <drepper@gmail.com>
59037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59040 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59041 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59043 2011-09-15 Roland McGrath <roland@hack.frob.com>
59045 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59046 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59048 (CALL_FAIL): Likewise.
59049 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59050 (CALL_FAIL): Macro removed.
59051 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59053 2011-09-15 Ulrich Drepper <drepper@gmail.com>
59055 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59056 for __FINITE_MATH_ONLY__ == 1.
59058 2011-09-15 Andreas Schwab <schwab@redhat.com>
59060 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59061 __ieee754_sqrt instead of sqrt.
59062 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59063 __ieee754_sqrtf instead of sqrtf.
59064 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59065 __floorf instead of floorf.
59066 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59067 __floorf, __truncf instead of floorf, truncf.
59069 2011-09-14 Ulrich Drepper <drepper@gmail.com>
59071 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59073 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59074 __extern_always_inline.
59075 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59078 2011-09-14 Andreas Schwab <schwab@redhat.com>
59080 * elf/rtld.c (dl_main): Also relocate in dependency order when
59081 doing symbol dependency testing.
59083 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
59085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59086 Always define `refsym'.
59088 2011-09-13 Andreas Schwab <schwab@redhat.com>
59090 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59091 (__FD_ELT): Renamed from __FDELT.
59092 * misc/bits/select2.h (__FD_ELT): Likewise.
59093 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59094 __FD_MASK instead of __FDELT, __FDMASK.
59095 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59097 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59100 * elf/Makefile (gen-ldd): Fix pattern.
59102 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59103 (init_tls): Likewise.
59105 2011-09-12 Ulrich Drepper <drepper@gmail.com>
59107 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59109 2011-09-12 Andreas Schwab <schwab@redhat.com>
59111 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59112 `struct cmsghdr *' instead of `void *'.
59113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59116 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
59118 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59120 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59121 ldd_rewrite_script.
59123 2011-09-11 Ulrich Drepper <drepper@gmail.com>
59125 * configure.in: Remove --with-tls option.
59126 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59127 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59128 out in case it is missing.
59129 * sysdeps/ia64/elf/configure.in: Likewise.
59130 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59131 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59132 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59133 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59134 * sysdeps/sh/elf/configure.in: Likewise.
59135 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59136 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59137 * sysdeps/x86_64/elf/configure.in: Likewise.
59138 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59139 * sysdeps/mach/hurd/tls.h: Likewise.
59142 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59145 * configure.in: Fix use of AC_INIT.
59147 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59149 2011-09-10 Ulrich Drepper <drepper@gmail.com>
59151 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59153 * malloc/hooks.c: Likewise.
59156 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
59157 variables statically.
59158 (narenas): Initialize.
59159 (list_lock): Initialize.
59160 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
59161 initializtion of main_arena and list_lock. Small cleanups.
59162 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59163 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
59164 Add initializers to main_arena and mp_.
59165 (malloc_state): Remove pagesize member. Change all users to use
59168 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59169 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
59170 is always initialized.
59172 * malloc/malloc.c: Removed unused configurations and dead code.
59173 * malloc/arena.c: Likewise.
59174 * malloc/hooks.c: Likewise.
59175 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59177 * include/tls.h: Removed. USE___THREAD must always be defined.
59178 * bits/libc-tsd.h: Don't handle !USE___THREAD.
59179 * elf/dl-libc.c: Likewise.
59180 * elf/dl-tsd.c: Likewise.
59181 * include/errno.h: Likewise.
59182 * include/netdb.h: Likewise.
59183 * include/resolv.h: Likewise.
59184 * inet/herrno-loc.c: Likewise.
59185 * inet/herrno.c: Likewise.
59186 * malloc/arena.c: Likewise.
59187 * malloc/hooks.c: Likewise.
59188 * malloc/malloc.c: Likewise.
59189 * resolv/res-state.c: Likewise.
59190 * resolv/res_libc.c: Likewise.
59191 * sysdeps/i386/dl-machine.h: Likewise.
59192 * sysdeps/ia64/dl-machine.h: Likewise.
59193 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59194 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59195 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59196 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59197 * sysdeps/sh/dl-machine.h: Likewise.
59198 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59199 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59200 * sysdeps/unix/i386/sysdep.S: Likewise.
59201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59202 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59205 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59207 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59211 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59212 * sysdeps/x86_64/dl-machine.h: Likewise.
59213 * tls.make.c: Likewise.
59215 * configure.in: Remove --with-__thread option. Make tests for
59216 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59217 tls_model attribute fail if no support is available. Remove
59219 * Makeconfig: Adjust for dropped configure option. All features are
59221 * Makerules: Likewise.
59222 * Versions.def: Likewise.
59223 * argp/argp-fmtstream.c: Likewise.
59224 * argp/argp-fmtstream.h: Likewise.
59225 * argp/argp-help.c: Likewise.
59226 * assert/assert.c: Likewise.
59227 * config.h.in: Likewise.
59228 * config.make.in: Likewise.
59229 * configure: Likewise.
59230 * configure.in: Likewise.
59231 * csu/Versions: Likewise.
59232 * csu/init.c: Likewise.
59233 * elf/tst-audit2.c: Likewise.
59234 * elf/tst-tls10.c: Likewise.
59235 * elf/tst-tls10.h: Likewise.
59236 * elf/tst-tls11.c: Likewise.
59237 * elf/tst-tls12.c: Likewise.
59238 * elf/tst-tls14.c: Likewise.
59239 * elf/tst-tlsmod11.c: Likewise.
59240 * elf/tst-tlsmod12.c: Likewise.
59241 * elf/tst-tlsmod13.c: Likewise.
59242 * elf/tst-tlsmod13a.c: Likewise.
59243 * elf/tst-tlsmod14a.c: Likewise.
59244 * elf/tst-tlsmod15b.c: Likewise.
59245 * elf/tst-tlsmod16a.c: Likewise.
59246 * elf/tst-tlsmod16b.c: Likewise.
59247 * elf/tst-tlsmod7.c: Likewise.
59248 * elf/tst-tlsmod8.c: Likewise.
59249 * elf/tst-tlsmod9.c: Likewise.
59250 * gmon/gmon.c: Likewise.
59251 * grp/fgetgrent_r.c: Likewise.
59252 * grp/putgrent.c: Likewise.
59253 * hurd/fopenport.c: Likewise.
59254 * include/libc-symbols.h: Likewise.
59255 * include/tls.h: Likewise.
59256 * intl/gettextP.h: Likewise.
59257 * intl/loadinfo.h: Likewise.
59258 * locale/global-locale.c: Likewise.
59259 * locale/localeinfo.h: Likewise.
59260 * mach/devstream.c: Likewise.
59261 * malloc/arena.c: Likewise.
59262 * malloc/set-freeres.c: Likewise.
59263 * misc/err.c: Likewise.
59264 * misc/getttyent.c: Likewise.
59265 * misc/mntent_r.c: Likewise.
59266 * posix/getopt.c: Likewise.
59267 * posix/wordexp.c: Likewise.
59268 * pwd/fgetpwent_r.c: Likewise.
59269 * resolv/Versions: Likewise.
59270 * resolv/res_hconf.c: Likewise.
59271 * shadow/fgetspent_r.c: Likewise.
59272 * shadow/putspent.c: Likewise.
59273 * stdio-common/printf_fphex.c: Likewise.
59274 * stdio-common/tmpfile.c: Likewise.
59275 * stdlib/abort.c: Likewise.
59276 * stdlib/fmtmsg.c: Likewise.
59277 * sunrpc/auth_unix.c: Likewise.
59278 * sunrpc/clnt_perr.c: Likewise.
59279 * sunrpc/clnt_tcp.c: Likewise.
59280 * sunrpc/clnt_udp.c: Likewise.
59281 * sunrpc/clnt_unix.c: Likewise.
59282 * sunrpc/openchild.c: Likewise.
59283 * sunrpc/svc_simple.c: Likewise.
59284 * sunrpc/svc_tcp.c: Likewise.
59285 * sunrpc/svc_udp.c: Likewise.
59286 * sunrpc/svc_unix.c: Likewise.
59287 * sunrpc/xdr.c: Likewise.
59288 * sunrpc/xdr_array.c: Likewise.
59289 * sunrpc/xdr_rec.c: Likewise.
59290 * sunrpc/xdr_ref.c: Likewise.
59291 * sunrpc/xdr_stdio.c: Likewise.
59293 2011-09-09 Ulrich Drepper <drepper@gmail.com>
59295 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59297 2011-07-03 Andreas Jaeger <aj@suse.de>
59299 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59300 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59301 regenerate with gen-libm-tests.pl.
59303 2010-05-12 Petr Baudis <pasky@suse.cz>
59306 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59307 around j0() zero points by switching to j1().
59308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59309 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59313 2011-09-09 Ulrich Drepper <drepper@gmail.com>
59315 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59317 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59320 Patch in part by Pavel Roskin <proski@gnu.org>.
59323 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59325 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
59326 Free memory block if necessary.
59329 * libio/genops.c (INTDEF): For string streams the _lock pointer can
59330 be NULL. Don't lock in this case.
59332 2011-09-09 Roland McGrath <roland@hack.frob.com>
59334 * elf/elf.h (ELFOSABI_GNU): New macro.
59335 (ELFOSABI_LINUX): Define to that.
59337 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
59339 * string/strncat.c (strncat): Undef the symbol in case it has been
59340 defined in bits/string.h.
59342 2011-09-09 Ulrich Drepper <drepper@gmail.com>
59344 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59346 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59349 2011-08-17 Andreas Jaeger <aj@suse.de>
59351 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59353 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
59354 Ian Lance Taylor <iant@google.com>
59356 * math/libm-test.inc (lround_test): New testcase.
59357 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59359 2011-09-08 Ulrich Drepper <drepper@gmail.com>
59361 * Makefile: Remove support for automatic cvs check-ins.
59362 * Makerules: Likewise.
59363 * config.make.in: Likewise.
59364 * configure.in: Likewise.
59365 * intl/Makefile: Likewise.
59366 * locale/Makefile: Likewise.
59367 * po/Makefile: Likewise.
59368 * posix/Makefile: Likewise.
59369 * sysdeps/gnu/Makefile: Likewise.
59370 * sysdeps/mach/hurd/Makefile: Likewise.
59371 * sysdeps/sparc/sparc32/Makefile: Likewise.
59374 * posix/Makefile (bug-regex32-ENV): Define.
59375 Patch by John Stanley <jpsinthemix@verizon.net>.
59377 * misc/Makefile (headers): Add bits/select2.h.
59378 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59379 * misc/bits/select2.h: New file.
59380 * include/bits/select2.h: New file.
59381 * debug/Makefile (routines): Add fdelt_chk.
59382 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59383 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59385 * debug/fdelt_chk.c: New file.
59387 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
59388 * wcsmbs/test-wmemcmp.c: Likewise.
59389 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59390 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59392 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59394 * string/Makefile (strop-tests): Add memcmp.
59395 * string/test-wmemcmp.c: New file.
59396 * string/test-memcmp.c: Add wmemcmp support.
59398 2011-09-08 Roland McGrath <roland@hack.frob.com>
59401 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59404 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59405 garbage value in a __mach_port_mod_refs call in the cases of the
59406 task-self and thread-self ports.
59408 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59410 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59412 2011-09-08 Andreas Schwab <schwab@redhat.com>
59414 * elf/dl-load.c (lose): Check for non-null L.
59416 2011-09-07 Ulrich Drepper <drepper@gmail.com>
59418 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59420 * elf/dl-libc.c (dlerror_run): Pass back error code from
59424 * elf/dl-load.c (lose): Free l_origin if it is valid.
59426 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59428 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59429 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59430 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59431 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59432 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59433 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59435 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59437 * sysdeps/powerpc/fpu/e_hypot.c: New file.
59438 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59439 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59440 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59441 * sysdeps/powerpc/fpu/k_cosf.c: New file.
59442 * sysdeps/powerpc/fpu/k_sinf.c: New file.
59443 * sysdeps/powerpc/fpu/s_cosf.c: New file.
59444 * sysdeps/powerpc/fpu/s_sinf.c: New file.
59445 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59446 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59448 2011-08-15 Alan Modra <amodra@gmail.com>
59451 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59452 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59453 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
59454 ppc_mcount to static-only-routines.
59455 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59457 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59458 __mcount_internal with usual JUMPTARGET. Remove useless nop.
59460 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
59462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59463 for finite and infinity parameters.
59465 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59468 and add nop instructions for throughput optimization.
59469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59471 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
59473 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59474 aligned copy for power7 with vector-scalar instructions.
59475 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59477 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
59479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59482 2011-09-07 Andreas Schwab <schwab@redhat.com>
59485 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59488 2011-09-07 Ulrich Drepper <drepper@gmail.com>
59490 * sysdeps/unix/sysv/linux/x86_64/init-first.c
59491 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59492 syscall wrapper around clock_gettime in __vdso_clock_gettime.
59493 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59496 2011-09-06 Ulrich Drepper <drepper@gmail.com>
59498 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59499 Forgot to demangle the pointer.
59501 * sysdeps/i386/sysdep.h: Define atom_text_section.
59502 * sysdeps/x86_64/sysdep.h: Likewise.
59503 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59504 section with atom_text_section.
59505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59507 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59509 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59512 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59513 already be defined. Change to take two parameters and don't assign
59514 result to variable. Adjust all users.
59515 Define INTERNAL_GETTIME if not already defined.
59516 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59519 HAVE_CLOCK_GETTIME_VSYSCALL.
59520 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59523 gettimeofday vsyscall, just use time.
59525 2011-09-06 Andreas Schwab <schwab@redhat.com>
59527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59530 2011-09-06 Ulrich Drepper <drepper@gmail.com>
59532 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59536 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59537 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59538 syscall if possible.
59540 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59542 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59543 e_ident. Don't pass to find_mapsXX.
59544 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59546 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59549 strchr-sse2-no-bsf strrchr-sse2-no-bsf
59550 * sysdeps/x86_64/multiarch/strchr.S: Update.
59551 Check bit_slow_BSF bit.
59552 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59553 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59554 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59556 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59559 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59561 (tryshell): Define.
59562 (__spawni): Change last parameter to be flag. Test
59563 SPAWN_XFLAGS_USE_PATH flag to use path or not.
59564 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59565 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59566 * posix/spawni.c: Likewise.
59567 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59568 * posix/spawnp.c: Likewise. Change normal version to use
59569 SPAWN_XFLAGS_USE_PATH.
59570 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59571 SPAWN_XFLAGS_TRY_SHELL.
59574 * posix/glob.h: Remove gcc 1.x support.
59577 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59579 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59582 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59584 * sysdeps/i386/i686/multiarch/strchr.S: New file.
59585 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59586 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59587 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59588 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59589 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59591 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59593 * sysdeps/x86_64/wcscmp.S: New file.
59595 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59596 wcscmp-c wcscmp-sse2
59597 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59598 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59599 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59600 * wcsmbs/wcscmp.c: Allow renaming.
59602 2011-09-05 David S. Miller <davem@davemloft.net>
59604 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59605 stack slot, rather than the struct return pointer slot.
59606 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59607 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59609 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59611 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59613 * po/ja.po: Update from translation team.
59616 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59617 kernel in 64-bit binaries.
59619 2011-09-01 David S. Miller <davem@davemloft.net>
59621 * elf/elf.h (HWCAP_SPARC_*): Move to..
59622 * sysdeps/sparc/sysdep.h: this new file and add new values.
59623 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59624 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59625 _DL_HWCAP_COUNT to 24.
59626 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59628 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59629 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59630 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59632 instead of magic constants.
59633 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59635 2011-08-31 David S. Miller <davem@davemloft.net>
59637 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59639 Reimplement to do errno handling inline.
59640 (SYSCALL_ERROR_HANDLER): New macro.
59641 (__SYSCALL_STRING): Do not do errno handling in asm.
59642 (__CLONE_SYSCALL_STRING): Delete.
59643 (__INTERNAL_SYSCALL_STRING): Delete.
59644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59645 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59646 (PSEUDO): Reimplement to do errno handling inline.
59647 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59648 (SYSCALL_ERROR_HANDLER): New macro.
59649 (__SYSCALL_STRING): Do not do errno handling in asm.
59650 (__CLONE_SYSCALL_STRING): Delete.
59651 (__INTERNAL_SYSCALL_STRING): Delete.
59652 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59653 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59655 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59656 (inline_syscall*): Add 'err' argument.
59657 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59658 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59659 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59660 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59662 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59663 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59665 2011-08-30 Andreas Schwab <schwab@redhat.com>
59667 * elf/rtld.c (dl_main): Relocate objects in dependency order.
59669 2011-08-29 Jiri Olsa <jolsa@redhat.com>
59671 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59674 2011-08-24 David S. Miller <davem@davemloft.net>
59676 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59678 2011-08-24 Andreas Schwab <schwab@redhat.com>
59680 * elf/Makefile: Add rules to build and run unload8 test.
59681 * elf/unload8.c: New file.
59682 * elf/unload8mod1.c: New file.
59683 * elf/unload8mod1x.c: New file.
59684 * elf/unload8mod2.c: New file.
59685 * elf/unload8mod3.c: New file.
59687 * elf/dl-close.c (_dl_close_worker): Reset private search list if
59690 2011-08-23 David S. Miller <davem@davemloft.net>
59692 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59693 subtract stack bias.
59694 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59695 %sp not %fp in calculations.
59696 (_JMPBUF_UNWINDS_ADJ): Likewise.
59698 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59699 (aio_suspend): Call it to force an exception region around the
59700 AIO_MISC_WAIT() invocation.
59702 2011-08-23 Andreas Schwab <schwab@redhat.com>
59704 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59707 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
59709 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59711 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59712 and <dl-machine.h>.
59713 (Elf64_FuncDesc): Remove.
59715 2011-08-22 David S. Miller <davem@davemloft.net>
59717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59718 sigaltstack check, add missing cfi directives.
59719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59720 missing cfi directives, and sigaltstack handling.
59722 2011-08-16 Andreas Schwab <schwab@redhat.com>
59725 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59726 object is seen twice.
59727 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59729 * elf/Makefile (distribute): Add tst-initorder2.c.
59730 (tests): Add tst-initorder2.
59731 (modules-names): Add tst-initorder2a tst-initorder2b
59732 tst-initorder2c tst-initorder2d. Add rules to build them.
59733 ($(objpfx)tst-initorder2.out): New rule.
59734 * elf/tst-initorder2.c: New file.
59735 * elf/tst-initorder2.exp: New file.
59737 2011-08-22 Andreas Schwab <schwab@redhat.com>
59739 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59741 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59742 dependencies back to end of function.
59744 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59745 $(elfobjdir)/ld.so.
59747 2011-08-21 Ulrich Drepper <drepper@gmail.com>
59749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59750 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59752 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59753 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59754 of __vdso_gettimeofday.
59755 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59756 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
59758 (_libc_vdso_platform_setup): Remove initialization of
59759 __vdso_gettimeofday and __vdso_time.
59761 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59763 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59764 and fgetc_unlocked.
59765 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59768 * elf/dl-open.c (add_to_global): Report additions to the global scope
59769 for LD_DEBUG=scopes.
59770 (dl_open_worker): Also print scope of newly loaded dependencies.
59771 (_dl_show_scope): Indicate if there is no scope.
59774 * stdio-common/Makefile (tests): Add bug24.
59775 * stdio-common/bug24.c: New file.
59777 2011-08-19 Andreas Jaeger <aj@suse.de>
59780 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59781 non-existant file when using close-on-exec mode.
59783 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59786 the very first instruction.
59788 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59789 the CFI state in the end.
59790 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59791 inclusion of dl-trampoline.h.
59792 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59794 2011-08-19 Andreas Schwab <schwab@redhat.com>
59796 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59797 expectations for long double.
59799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59800 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59802 2011-08-14 David S. Miller <davem@davemloft.net>
59804 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59805 artificual limit depends upon the system page size.
59807 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59809 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59810 * resolv/Makefile: Define CFLAGS-libresolv.
59812 2011-08-17 Andreas Schwab <schwab@redhat.com>
59814 * nss/makedb.c (compute_tables): Make variables used in nested
59817 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59819 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59820 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59821 if buffer was too small.
59823 * elf/pldd.c (main): Attach to all threads in the process.
59824 Rewrite /proc handling to use *at functions.
59826 2011-08-16 Ulrich Drepper <drepper@gmail.com>
59828 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59829 specifies first scope to show.
59830 (dl_open_worker): Update callers. Move printing scope of new
59831 object to before the relocation.
59832 * elf/rtld.c (dl_main): Update _dl_show_scope call.
59833 * sysdeps/generic/ldsodefs.h: Update declaration.
59835 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59836 string for the scope number.
59838 2011-08-14 Ulrich Drepper <drepper@gmail.com>
59840 * nscd/servicescache.c (cache_addserv): Make sure written is always
59843 2011-08-14 Roland McGrath <roland@hack.frob.com>
59845 * sysdeps/i386/i486/bits/atomic.h
59846 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59847 statement expression, so as to suppress "set but not used" warning.
59848 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59850 * string/strncat.c (STRNCAT): Use prototype definition.
59852 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59853 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59855 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59856 (localedef-modules): Add localedef.
59857 (locale-modules): Add locale.
59859 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59860 * elf/rtld.c (dl_main): Invert order of assignment in last change,
59861 to avoid a warning.
59863 2011-08-14 David S. Miller <davem@davemloft.net>
59865 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59866 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59868 2011-08-13 Ulrich Drepper <drepper@gmail.com>
59870 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59871 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59872 * elf/rtld.c (dl_main): Set l_name of vDSO.
59873 Call _dl_show_scope when DL_DEBUG_SCOPES.
59874 (process_dl_debug): Recognize scopes flag and also set it for all.
59875 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59876 Declare _dl_show_scope.
59878 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59879 (do_dlopen): Pass caller_dlopen to dl_open.
59880 (__libc_dlopen_mode): Initialize caller_dlopen.
59882 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59883 of libc. Make tolower call locale-independent. Optimize a bit by
59884 using isdigit instead of isalnum.
59885 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59887 2011-08-12 Ulrich Drepper <drepper@gmail.com>
59889 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59890 was a dependency or dynamically loaded.
59892 2011-08-11 Ulrich Drepper <drepper@gmail.com>
59894 * intl/l10nflist.c: Allow architecture-specific pop function.
59895 * sysdeps/x86_64/l10nflist.c: New file.
59897 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59900 2011-08-10 Andreas Schwab <schwab@redhat.com>
59902 * include/dirent.h: Add libc_hidden_proto for scandirat and
59903 scandirat64. Don't declare __scandirat64.
59904 * dirent/scandirat.c: Add libc_hidden_def.
59905 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59906 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59908 2011-08-10 David S. Miller <davem@davemloft.net>
59910 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59912 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59916 2011-08-09 Ulrich Drepper <drepper@gmail.com>
59918 * Versions.def [libc]: Add GLIBC_2.15.
59919 * dirent/Makefile (routines): Add scandirat and scandirat64.
59920 * dirent/Versions [libc]: Export scandirat and scandirat64 for
59922 * dirent/dirent.h: Declare scandirat and scandirat64.
59923 * dirent/scandirat.c: New file.
59924 * dirent/scandirat64.c: New file.
59925 * sysdeps/wordsize-64/scandirat.c: New file.
59926 * sysdeps/wordsize-64/scandirat64.c: New file.
59927 * dirent/opendir.c: Define opendirat.
59928 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
59930 * dirent/scandir64.c: Adjust for scandir.c change.
59931 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
59932 __scandirat64, and __scandir_cancel_handler.
59933 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
59934 additional parameter and use openat instead of open (outside of ld.so).
59935 Add new __opendir as wrapper around __opendirat.
59936 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59937 here without requiring old scandirat implementation.
59939 2011-08-08 Ulrich Drepper <drepper@gmail.com>
59941 * dirent/scandir.c (cancel_handler): Renamed to
59942 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
59943 defined. Adjust users.
59944 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59945 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59947 2011-08-04 Ulrich Drepper <drepper@gmail.com>
59949 * string/test-string.h (IMPL): Use __STRING to expand name and then
59952 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
59955 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59957 * string/Makefile: Update.
59958 (strop-tests): Append strncat.
59959 * string/test-wcscmp.c: New file.
59960 New comprehensive test for wcscmp.
59961 * string/test-strcmp.c: Update.
59962 (WIDE): New define.
59964 2011-07-22 Andreas Schwab <schwab@redhat.com>
59966 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59969 2011-07-26 Andreas Schwab <schwab@redhat.com>
59971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59972 encoding to ACE if AI_IDN.
59974 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59977 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59979 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59981 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59982 Fix overflow bug in strncat.
59983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59985 * string/test-strncat.c: Update.
59986 Add new tests for checking overflow bugs.
59988 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59991 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59992 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59993 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59995 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59996 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59997 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59998 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60001 (USE_AS_STRCAT): Define.
60002 Add strcat and strncat support.
60003 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60005 2011-07-25 Andreas Schwab <schwab@redhat.com>
60007 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60008 __n bigger than INT_MAX+1.
60009 (__strncmp_g): Likewise.
60011 2011-07-23 Ulrich Drepper <drepper@gmail.com>
60013 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60014 * libio/stido.h: Likewise.
60016 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60021 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60024 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60025 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60028 * scripts/test-installation.pl: Don't expect libnss_test1 to be
60031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60033 (_dl_x86_64_save_sse): Likewise.
60035 2011-07-22 Ulrich Drepper <drepper@gmail.com>
60037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60039 (_dl_x86_64_save_sse): Likewise.
60041 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60043 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60045 2011-07-21 Andreas Schwab <schwab@redhat.com>
60047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60049 (_dl_x86_64_save_sse): Use correct AVX check.
60051 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60054 bug in strncpy/strncat.
60055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60057 2011-07-21 Ulrich Drepper <drepper@gmail.com>
60059 * string/tester.c (test_strcat): Add tests for different alignments
60060 of source and destination.
60061 (test_strncat): Likewise.
60063 2011-07-20 Ulrich Drepper <drepper@gmail.com>
60066 * posix/glob.c (glob): Check passed in values before using them in
60067 expressions to avoid some overflows.
60068 (glob_in_dir): Likewise.
60071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60072 check for AVX enablement so that we don't crash with old kernels and
60074 * elf/tst-audit4.c: Add same checks here.
60075 * elf/tst-audit6.c: Likewise.
60077 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60079 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
60081 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60083 2011-07-20 Ulrich Drepper <drepper@gmail.com>
60085 * po/cs.po: Update from translation team.
60086 * po/bg.po: Likewise.
60088 2011-07-12 Marek Polacek <mpolacek@redhat.com>
60090 * misc/sys/cdefs.h: Add support for const attribute.
60091 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60092 to gnu_dev_{major,minor,makedev} functions.
60094 2011-07-20 Marek Polacek <mpolacek@redhat.com>
60096 * intl/dcigettext.c (get_output_charset): Add missing bracket.
60098 2011-07-20 Andreas Schwab <schwab@redhat.com>
60100 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60103 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60106 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60107 register in order to avoid conflicts with the soft frame pointer
60108 being held in r11 when necessary.
60109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60110 (INTERNAL_VSYSCALL_NCS): Likewise.
60112 2011-07-14 Marek Polacek <mpolacek@redhat.com>
60114 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60115 * elf/dl-fini.c (_dl_fini): Adjust caller.
60116 * elf/dl-close.c (_dl_close_worker): Likewise.
60117 * sysdeps/generic/ldsodefs.h: Adjust declaration.
60119 2011-07-15 Marek Polacek <mpolacek@redhat.com>
60121 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60122 "aux_cache->nlibs < 0".
60124 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60125 in the reload-count case.
60127 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60130 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60131 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60132 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60133 * sysdeps/x86_64/multiarch/strcat.S: New file.
60134 * sysdeps/x86_64/multiarch/strncat.S: New file.
60135 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60136 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60137 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60138 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60140 (USE_AS_STRCAT): Define.
60141 Add strcat and strncat support.
60142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60144 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60145 * string/strncat.c: Update.
60146 (USE_AS_STRNCAT): Define.
60147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60148 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60150 * sysdeps/x86_64/multiarch/init-arch.h
60151 (bit_Prefer_PMINUB_for_stringop): New.
60152 (index_Prefer_PMINUB_for_stringop): Likewise.
60153 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60154 bit_Prefer_PMINUB_for_stringop.
60156 2011-07-19 Ulrich Drepper <drepper@gmail.com>
60158 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60160 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60161 of casting of buffer.
60162 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60163 buffer32 and buffer64.
60164 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60165 writes instead of casting of buffer.
60166 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60168 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60171 2011-07-19 Andreas Schwab <schwab@redhat.com>
60173 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60175 2011-07-19 Ulrich Drepper <drepper@gmail.com>
60177 * nscd/nscd.c (termination_handler): Don't do anything for a database
60178 if it has not yet been initialized.
60180 2011-07-18 Ulrich Drepper <drepper@gmail.com>
60182 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60184 2011-07-15 Marek Polacek <mpolacek@redhat.com>
60186 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60188 2011-07-18 Ulrich Drepper <drepper@gmail.com>
60190 * po/nl.po: Update from translation team.
60191 * po/sv.po: Likewise.
60193 2011-07-16 Roland McGrath <roland@hack.frob.com>
60195 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60196 now disallowed by GCC.
60198 * configure.in (use-default-link): Default to yes if a test -shared
60199 link meets our qualifications.
60200 * configure: Regenerated.
60202 * config.make.in (output-format): New variable.
60203 * configure.in: Check for ld --print-output-format support.
60204 * configure: Regenerated.
60205 * Makerules ($(common-objpfx)format.lds)
60206 [$(output-format) != unknown]: Just use $(output-format),
60207 instead of the linker-script munging.
60209 2011-07-14 Roland McGrath <roland@hack.frob.com>
60211 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60212 of $(common-objpfx)shlib.lds.
60213 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60215 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60216 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60218 * configure.in (-z relro check): Adjust test code to add a large
60219 writable data section after it.
60220 * configure: Regenerated.
60222 2011-07-11 Roland McGrath <roland@hack.frob.com>
60224 * configure.in (-z relro check): Fix test code to make the variable
60226 * configure: Regenerated.
60228 2011-07-11 Ulrich Drepper <drepper@gmail.com>
60230 * nscd/nscd.h (struct traced_file): Define.
60231 (struct database_dyn): Remove inotify_descr, reset_res, and filename
60232 elements. Add traced_files.
60233 (inotify_fd): Declare.
60234 (register_traced_file): Declare.
60235 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60236 (inotify_fd): Export.
60237 (resolv_conf_descr): Remove.
60238 (nscd_init): Move inotify descriptor creation to main.
60239 Don't register files for notification here.
60240 (register_traced_file): New function.
60241 (invalidate_cache): Don't use reset_res to determine whether to call
60242 res_init, go through the list of registered files.
60243 (main_loop_poll): The inotify descriptors are now stored in the
60244 structures for the traced files.
60245 (main_loop_epoll): Likewise
60246 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
60247 to __nss_disable_nscd.
60248 * nscd/cache.c (prune_cache): There is no single inotify descriptor
60249 for a database anymore. Check the records for all the registered
60251 * nss/Makefile (libnss_files-routines): Add files-init.
60252 (libnss_db-routines): Add db-init.
60253 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60254 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60255 * nss/nss_db/db-init.c: New file.
60256 * nss/nss_files/files-init.c: New file.
60257 * nss/nsswitch.c (nss_load_library): New function. Broken out of
60258 __nss_lookup_function.
60259 (__nss_lookup_function): Call nss_load_library.
60260 (nss_load_all_libraries): New function.
60261 (__nss_disable_nscd): Take parameter with callback function for files
60262 to register. Set is_nscd. Load all the DSOs for the NSS modules
60263 used for the cached services.
60264 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60265 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60266 options for features to all the files in nscd.
60268 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60270 2011-07-10 Roland McGrath <roland@hack.frob.com>
60272 * csu/elf-init.c (__libc_csu_init): Comment typo.
60274 2011-07-09 Ulrich Drepper <drepper@gmail.com>
60276 * po/pl.po: Update from translation team.
60277 * po/ja.po: Likewise.
60278 * po/ru.po: Likewise.
60279 * po/ko.po: Likewise.
60280 * po/fr.po: Likewise.
60282 2011-07-09 Roland McGrath <roland@hack.frob.com>
60284 * configure.in (.ctors/.dtors header and trailer check):
60285 Use an empirical test on a built program.
60286 * configure: Regenerated.
60288 * configure.in (-z relro check): Use an empirical test on a built DSO.
60289 Detect, but do not require, on ia64.
60290 * configure: Regenerated.
60292 * configure.in (READELF): Find it with AC_CHECK_TOOL.
60293 Update tests that use readelf to use $READELF instead.
60294 * configure: Regenerated.
60296 2011-07-08 Ulrich Drepper <drepper@gmail.com>
60298 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60299 if the result is not used.
60301 2011-07-05 Andreas Jaeger <aj@suse.de>
60304 * stdlib/tst-strtod.c: Add testcase.
60306 2011-07-07 Ulrich Drepper <drepper@gmail.com>
60308 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60309 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60310 The latter has a higher limit. Take additional parameter to pass to
60312 (__pathconf): Pass file to __statfs_link_max.
60313 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60315 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60319 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60320 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60323 (__statfs_filesize_max): Likewise.
60324 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60326 2011-07-05 Andreas Jaeger <aj@suse.de>
60328 * resolv/res_comp.c (dn_skipname): Remove unused variable.
60330 2011-07-06 Marek Polacek <mpolacek@redhat.com>
60332 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60334 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60337 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
60339 * Makefile (strop-tests): Add strncat.
60340 * string/test-strncat.c: New file.
60342 2011-06-30 Marek Polacek <mpolacek@redhat.com>
60344 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60346 2011-06-21 Andreas Jaeger <aj@suse.de>
60348 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60349 Copy rule from iconvdata/Makefile.
60351 2011-07-06 Ulrich Drepper <drepper@gmail.com>
60354 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60355 but no long options are defined, just return 'W'.
60357 2011-06-22 Marek Polacek <mpolacek@redhat.com>
60360 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60362 2011-07-06 Ulrich Drepper <drepper@gmail.com>
60364 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60366 (innetgr): Likewise.
60368 2011-07-05 Roland McGrath <roland@hack.frob.com>
60370 * config.make.in (install_root): Default to $(DESTDIR).
60372 2011-07-05 Ulrich Drepper <drepper@gmail.com>
60374 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60376 2011-07-02 Roland McGrath <roland@hack.frob.com>
60378 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60380 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60381 containing directory rather than embedding absolute directory names.
60383 * scripts/check-local-headers.sh: Rewritten using awk.
60384 Match by word, not by line. Print error messages for matches.
60385 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60387 * Makerules [shlib-lds-flags empty]:
60388 ($(common-objpfx)libc_pic.opts): New target.
60389 ($(common-objpfx)libc_pic.os.clean): New target.
60390 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60392 * config.make.in (OBJCOPY): New variable.
60393 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60394 * configure: Regenerated.
60396 * config.make.in (use-default-link): New variable.
60397 * configure.in (use_default_link): Grok --with-default-link to set it.
60398 * configure: Regenerated.
60399 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60400 (shlib-lds, shlib-lds-flags): Define to empty.
60402 * Makerules (shlib-lds): New variable.
60403 (shlib-lds-flags): New variable.
60404 (build-shlib, build-moduile, build-module-asneeded): Use it.
60405 ($(common-objpfx)libc.so): Use $(shlib-lds).
60406 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60407 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60409 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60410 DT_FLAGS/DT_FLAGS_1 with zero flags.
60412 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60413 linker script munging.
60415 2011-07-02 Ulrich Drepper <drepper@gmail.com>
60417 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60419 * crypt/sha512.c (sha512_process_block): Perform total addition using
60420 128-bit if possible.
60421 (__sha512_finish_ctx): Likewise.
60422 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60424 * crypt/sha256.c (SWAP64): Define.
60425 (sha256_process_block): Perform total addition using 64-bit if
60427 (__sha256_finish_ctx): Likewise.
60429 2011-07-01 Ulrich Drepper <drepper@gmail.com>
60431 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
60432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60433 * nscd/hstcache.c (cache_addhst): Likewise.
60434 * nscd/grpcache.c (cache_addgr): Likewise.
60435 * nscd/aicache.c (addhstaiX): Likewise
60436 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60438 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
60440 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60442 * nscd/hstcache.c (cache_addhst): Likewise.
60443 * nscd/grpcache.c (cache_addgr): Likewise.
60444 * nscd/aicache.c (addhstaiX): Likewise
60446 2011-07-01 Andreas Schwab <schwab@redhat.com>
60448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60449 domain only when needed.
60451 2011-06-30 Andreas Schwab <schwab@redhat.com>
60453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60454 is always restored.
60456 2011-06-29 Ulrich Drepper <drepper@gmail.com>
60458 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60459 are re-adding the entry.
60460 * nscd/servicescache.c (cache_addserv): Likewise.
60462 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
60464 * sysdeps/generic/dl-irel.h: fix protection against multiple
60466 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60468 2011-06-28 Ulrich Drepper <drepper@gmail.com>
60471 * malloc/memusage.sh: Fix quoting in message.
60472 * debug/xtrace.sh: Likewise.
60474 * configure.in: Remove support for --experimental-malloc option, make
60476 * config.make.in: Likewise.
60477 * malloc/Makefile: Likewise.
60479 2011-06-27 Andreas Schwab <schwab@redhat.com>
60481 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60482 two-byte characters.
60484 2011-06-27 Roland McGrath <roland@hack.frob.com>
60486 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60487 AC_CACHE_CHECK invocation.
60488 * configure: Regenerated.
60490 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60492 2011-06-27 Ulrich Drepper <drepper@gmail.com>
60495 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
60496 bit from old_res_options.
60498 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60500 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60501 value type for setfct.
60503 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
60505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60506 __gettimeofday instead of gettimeofday.
60508 2011-06-26 Ulrich Drepper <drepper@gmail.com>
60510 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60512 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
60514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60516 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60519 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
60521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60522 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60523 strcpy-sse2-unaligned strncpy-sse2-unaligned
60524 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60525 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60526 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60527 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60528 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60531 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60532 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60533 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60534 (STRCPY): Support SSE2 and SSSE3 versions.
60536 2011-06-24 Ulrich Drepper <drepper@gmail.com>
60539 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60540 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60541 kernels which artificially limit size of requests.
60543 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
60545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60546 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60547 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60548 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60549 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60550 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60551 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60552 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60555 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60556 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60557 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60558 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60559 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60561 Enable unaligned load optimization for Intel Core i3, i5 and i7
60563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60565 (index_Fast_Unaligned_Load): Define.
60566 (HAS_FAST_UNALIGNED_LOAD): Define.
60568 2011-06-23 Marek Polacek <mpolacek@redhat.com>
60570 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60572 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60575 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60576 until it is clear that the information is realy needed.
60577 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60579 2011-06-22 Andreas Schwab <schwab@redhat.com>
60581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60583 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60586 /sys/devices/system/cpu/online if it is usable.
60588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60589 reading the information from the /proc filesystem to once a second.
60591 2011-06-21 Andreas Jaeger <aj@suse.de>
60593 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60594 NULL after inclusion of kernel headers.
60596 2011-06-21 Ulrich Drepper <drepper@gmail.com>
60598 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60599 calls to internal_setent.
60602 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60603 addresses using gethostbyname4_r ignore IPv4 addresses.
60605 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60606 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
60608 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60610 2011-06-20 David S. Miller <davem@davemloft.net>
60612 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60614 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60616 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60617 (elf_irel): Use it.
60618 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60619 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60620 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60621 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60622 * sysdeps/x86_64/dl-irel.h: Likewise.
60624 * elf/dl-runtime.c: Use elf_ifunc_invoke.
60625 * elf/dl-sym.c: Likewise.
60627 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60629 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
60630 need to dereference resplen2.
60632 2011-06-14 Andreas Schwab <schwab@redhat.com>
60634 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60636 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60638 * Makeconfig: Define vardbdir and inst_vardbdir.
60639 * nss/Makefile: Add rules to install db-Makefile.
60641 * nss/nss_db/db-XXX.c: Cleanup.
60643 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60644 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60646 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60647 * nss/makedb.c: Implement -g option to specify that value strings
60648 are generated and should not be added to table iterated over for
60650 * nss/nss_db/db-initgroups.c: New file.
60652 * nss/getent.c: Add support for initgroups lookups through getgrouplist
60655 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60656 (internal_getgrouplist): Adjust to name change.
60657 Update use_initgroups_entry if this is not the first call.
60658 * nss/databases.def: Add initgroups entry.
60660 * nss/makedb.c (compute_tables): Check result of multiple hash table
60661 sizes to minimize maximum chain length.
60663 2011-06-14 Ulrich Drepper <drepper@gmail.com>
60665 * Versions.def: Add entry for libnss_db.
60666 * shlib-versions: Likewise.
60667 * nss/Makefile: Add rules to build libnss_db.
60668 * nss/Versions: Add libnss_db information. Organize libnss_files
60670 * nss/db-Makefile: Add gshadow support. Change rules for the new
60671 makedb progra. Some minor improvements to generate smaller files.
60672 * nss/nss_db/nss_db.h: Move NSS database header data structures to
60674 * nss/makedb.c: ...here.
60675 Improve database format to be smaller and require less memory at
60677 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
60679 * nss/nss_db/db-netgrp.c: Likewise.
60680 * nss/nss_db/db-open.c: Likewise.
60681 * nss/nss_files/flies-XXX.x: Adjust comments.
60682 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60683 * nss/nss_files/files-grp.c: Likewise.
60684 * nss/nss_files/files-hosts.c: Likewise.
60685 * nss/nss_files/files-network.c: Likewise.
60686 * nss/nss_files/files-proto.c: Likewise.
60687 * nss/nss_files/files-pwd.c: Likewise.
60688 * nss/nss_files/files-rpc.c: Likewise.
60689 * nss/nss_files/files-service.c: Likewise.
60690 * nss/nss_files/files-sgrp.c: Likewise.
60691 * nss/nss_files/files-spwd.c: Likewise.
60692 * nss/nss_db/db-alias.c: Removed.
60693 * nss/nss_db/dummy-db.h: Removed.
60695 2011-06-02 Ulrich Drepper <drepper@gmail.com>
60697 * nss/makedb.c: Rewritten to not use database library.
60698 * nss/Makefile: Update to build new makedb program.
60700 2011-06-14 Andreas Jaeger <aj@suse.de>
60702 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60703 memset declaration.
60705 2011-06-10 Andreas Schwab <schwab@redhat.com>
60707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60710 2011-06-10 Roland McGrath <roland@hack.frob.com>
60712 * Makerules (shlib.lds): Fail if the linker script comes out empty.
60713 * elf/Makefile ($(objpfx)ld.so): Likewise.
60715 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60716 Don't list ld.so twice in dependencies.
60718 * posix/bug-regex31.c: Include <stdlib.h>.
60720 * nscd/hstcache.c (cache_addhst): Remove unused variable.
60722 * nis/nss_compat/compat-spwd.c
60723 (getspent_next_nss_netgr): Remove unused variable.
60724 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60726 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60727 nonmembers" output to use the right array.
60729 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60731 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60733 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60734 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60735 * catgets/gencat.c (read_input_file): Likewise.
60736 * locale/programs/locarchive.c (enlarge_archive): Likewise.
60738 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60739 variable definition inside #if's controlling its use.
60741 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60743 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60745 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60747 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60750 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60752 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60753 * configure: Regenerated.
60755 * Makerules: Revert last change.
60756 * elf/Makefile: Likewise.
60758 2011-06-09 Roland McGrath <roland@hack.frob.com>
60760 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60761 * elf/Makefile ($(objpfx)librtld.os): Likewise.
60762 (reloc-link): Likewise.
60764 2011-06-09 Ulrich Drepper <drepper@gmail.com>
60766 * elf/Makefile: Add rules to build pldd.
60767 * elf/pldd.c: New file.
60768 * elf/pldd-xx.c: New file.
60770 2011-06-07 Ulrich Drepper <drepper@gmail.com>
60772 * version.h: Update for 2.15 development version.
60774 2011-06-07 David S. Miller <davem@davemloft.net>
60776 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60779 elf_machine_lazy_rel): Likewise.
60780 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60782 elf_machine_lazy_rel): Likewise.
60783 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60784 dl_hwcap via passed in argument.
60785 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60788 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60790 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
60792 2011-06-06 Roland McGrath <roland@hack.frob.com>
60795 * manual/fdl-1.1.texi: New file, verbatim from:
60796 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60797 * manual/lgpl-2.1.texi: New file, verbatim from:
60798 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60799 * manual/Makefile (licenses): New variable, list those new file names.
60801 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60803 * manual/fdl.texi: File removed.
60804 * manual/lesser.texi: File removed.
60805 * manual/libc.texinfo (Copying, Documentation License):
60806 Use new @include file names, put @appendix directive before @include.
60808 2011-06-04 Jakub Jelinek <jakub@redhat.com>
60811 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60812 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60813 (mq_open): Add __NTH.
60815 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
60817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60818 Assume Intel Core i3/i5/i7 processor if AVX is available.
60820 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60825 2011-05-31 Andreas Schwab <schwab@redhat.com>
60827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60828 memory. Use alloca_account. Fix memory leak when retrying.
60830 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60832 * version.h (RELEASE): Bump for 2.14 release.
60833 * include/features.h (__GLIBC_MINOR__): Bump to 14.
60835 * config.make.in (RANLIB): Remove entry.
60837 2011-05-30 Ulrich Drepper <drepper@gmail.com>
60839 * po/Makefile (po-sed-cmd): Add ksh to extensions.
60840 (libc.pot): Work around missing support for .ksh extension in xgettext.
60843 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60844 if both request failed.
60845 (send_dg): In case of server errors clear resplen or *resplen2.
60848 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60849 when there are multiple maps.
60850 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60851 (_dl_fini): Remove test here.
60853 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60855 2011-05-29 Ulrich Drepper <drepper@gmail.com>
60858 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60859 bit from old_res_options.
60860 (gaih_inet): Likewise.
60863 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60866 * resolv/res_init.c (res_setoptions): Make the code more compact.
60869 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60873 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60875 * malloc/malloc.h: Mark malloc hook variables as deprecated.
60878 * malloc/malloc.h: Declare malloc hook variables as volatile.
60880 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60884 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60885 raise in the comment.
60886 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60887 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60888 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60890 2011-05-28 Ulrich Drepper <drepper@gmail.com>
60893 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60894 grow the buffers more if it already has to be sufficient.
60895 (build_wcs_upper_buffer): Likewise.
60896 * posix/regexec.c (check_matching): Likewise.
60897 (clean_state_log_if_needed): Likewise.
60898 (extend_buffers): Don't enlarge buffers beyond size of the input
60900 Patches mostly by Emil Wojak <emil@wojak.eu>.
60901 * posix/bug-regex32.c: New file.
60902 * posix/Makefile (tests): Add bug-regex32.
60904 * locale/findlocale.c (_nl_find_locale): Return right away if
60905 _nl_explode_name failed.
60906 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60908 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60910 * debug/xtrace.sh: Unify messages.
60911 * malloc/memusage.sh: Likewise.
60914 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60915 time symbol from vDSO. Substitute with vsyscall if not available.
60916 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60919 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60920 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60921 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60922 Add sendmmsg and internal_sendmmsg.
60923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60924 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60925 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60927 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60928 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60931 2011-05-27 Ulrich Drepper <drepper@gmail.com>
60934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60935 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
60937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60941 * iconvdata/Makefile (tests): Add bug-iconv9.
60942 * iconvdata/bug-iconv9.c: New file.
60944 2011-05-27 Andreas Schwab <schwab@redhat.com>
60947 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60949 2011-05-25 Jakub Jelinek <jakub@redhat.com>
60951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60952 (struct user_regs_struct): Change intcs field back to cs.
60954 2011-05-25 Ulrich Drepper <drepper@gmail.com>
60956 * po/ja.po: Update from translation team.
60958 2011-05-23 Ulrich Drepper <drepper@gmail.com>
60961 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60962 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60964 2011-05-20 Andreas Schwab <schwab@redhat.com>
60966 * stdlib/longlong.h: Update from GCC.
60968 2011-05-23 Andreas Schwab <schwab@redhat.com>
60970 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60972 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60973 Add parameter name.
60974 (__sysconf): Pass it down.
60976 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60979 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60981 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60982 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60983 add in in __libc_use_alloca calls. Adjust callers.
60984 (glob): Use malloc in some situations.
60986 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60987 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60990 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60992 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60993 and CLOCK_BOOTTIME_ALARM.
60996 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60999 * string/_strerror.c (__strerror_r): Print negative errors as signed
61003 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61004 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61005 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61007 * configure.in: Fix typo in redirection and correct removal of test
61008 files in two cases.
61011 * locale/setlocale.c (new_composite_name): Fix test to check for
61012 identical name of all categories.
61015 * libio/filedoalloc.c (local_isatty): New function.
61016 (_IO_file_doallocate): Use local_isatty.
61017 * stdio-common/perror.c (perror): In case a new stream is used
61018 forward the stream error.
61019 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61022 2011-05-20 Ulrich Drepper <drepper@gmail.com>
61025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61027 * include/alloca.h (extend_alloca_account): Define.
61030 * posix/regex.h: Fix comments with documentation of user-accessible
61031 fields after compilation and describe correct free'ing of pattern
61032 after re_compile_pattern.
61033 Patch by Reuben Thomas <rrt@sc3d.org>.
61035 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
61037 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61038 and -mno-altivec to prevent the compiler from using Altivec and/or
61039 VSX instructions when the corresponding registers are not available.
61041 2011-05-19 Andreas Schwab <schwab@redhat.com>
61043 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61045 2011-05-19 Ulrich Drepper <drepper@gmail.com>
61047 * libio/freopen.c (freopen): Use __dup2, not dup2.
61048 * libio/freopen64.c (freopen64): Likewise.
61050 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
61053 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61054 * math/Makefile (tests): Add test-powl.
61055 (CFLAGS-test-powl.c): Define.
61056 * math/test-powl.c: New file.
61058 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
61060 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61062 2011-05-17 Ulrich Drepper <drepper@gmail.com>
61065 * iconvdata/gb18030.c: Update to GB18020-2005.
61067 2011-05-16 Ulrich Drepper <drepper@gmail.com>
61069 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61070 RE_SYNTAX_POSIX_AWK): Update to match recent development.
61071 Patch by Aharon Robbins <arnold@skeeve.com>.
61074 * stdlib/putenv.c (putenv): Don't always create copy of the variable
61078 * misc/pselect.c (__pselect): Handle timeout value errors hidden
61079 through underflows.
61082 * misc/error.c (error_at_line): Ensure file_name and old_file_name
61083 point to strings before performing equality test for error_one_per_line
61087 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61091 (struct user_fpregs_struct): Avoid __uint*_t types.
61094 * malloc/mtrace.c (tr_where): Add additional parameter to point to
61095 symbol info. Use it instead of calling _dl_addr locally.
61096 (lock_and_info): New function.
61097 (tr_freehook): Call lock_and_info and pass symbol info as additional
61098 parameter to tr_where.
61099 (tr_mallochook): Likewise.
61100 (tr_reallochook): Likewise.
61101 (tr_memalignhook): Likewise.
61103 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
61104 used and couldn't be at all thread-safe.
61106 2011-05-15 Ulrich Drepper <drepper@gmail.com>
61108 * libio/freopen.c (freopen): Don't close old file descriptor
61109 before the new one is opened. Instead dup the new file descriptor
61110 to the old one after the new stream is created.
61111 * libio/freopen64.c (freopen64): Likewise.
61112 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61113 * libio/fileops.c (_IO_new_file_close_it): Handle new
61114 _IO_FLAGS2_NOCLOSE flag.
61115 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61116 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61117 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61118 _IO_FLAGS2_NOCLOSE flag.
61119 * include/unistd.h: Add hidden_proto for dup3.
61120 Define __have_dup3.
61121 * io/dup3.c: Define hidden symbol.
61122 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61125 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61126 when an incomplete long option is used.
61127 * posix/tst-getopt_long1.c: New file.
61128 * posix/Makefile (tests): Add tst-getopt_long1.
61131 * scripts/config.guess: Update from autoconf-2.68.
61132 * scripts/config.sub: Likewise.
61135 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61137 (has_cpuclock): ...this. New function.
61138 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61139 macro here based on has_cpuclock code.
61142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61143 First byte (not low byte) is now always NUL.
61144 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61147 Use non-cancelable interfaces.
61150 * locale/iso-639.def: Add entry for Sorani.
61153 * include/stdlib.h: Move include protection to the right place.
61154 Define abort_msg_s. Declare __abort_msg with it.
61155 * stdlib/abort.c (__abort_msg): Adjust type.
61156 * assert/assert.c (__assert_fail_base): New function. Majority
61157 of code from __assert_fail. Allocate memory for __abort_msg with
61159 (__assert_fail): Now call __assert_fail_base.
61160 * assert/assert-perr.c: Remove bulk of implementation. Use
61161 __assert_fail_base.
61162 * include/assert.hL Declare __assert_fail_base.
61163 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61165 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61167 2011-05-14 Ulrich Drepper <drepper@gmail.com>
61171 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61172 until all modules are registered in the DTV.
61173 * elf/Makefile: Add rules to build and run tst-tls19.
61174 * elf/tst-tls19.c: New file.
61175 * elf/tst-tls19mod1.c: New file.
61176 * elf/tst-tls19mod2.c: New file.
61177 * elf/tst-tls19mod3.c: New file.
61178 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61181 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61185 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61186 two-byte sequence errors.
61187 * iconvdata/Makefile (tests): Add bug-iconv8.
61188 * iconvdata/bug-iconv8.c: New file.
61191 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61194 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61197 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61198 (dummy_getcfa): New function.
61199 (init): Get _Unwind_GetCFA address, use dummy if not found.
61200 (backtrace_helper): In recursion check, also check whether CFA changes.
61201 (__backtrace): Completely initialize arg.
61203 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61204 storing incomplete byte sequence in state object. Avoid testing for
61205 guaranteed too small input if we know there is enough data available.
61207 2011-05-11 Andreas Schwab <schwab@redhat.com>
61209 * Makeconfig (+link-pie): Indent.
61210 * Rules (binaries-pie): Define if $(have-fpie) and
61212 (binaries-shared): Also filter out $(binaries-pie).
61213 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61214 * nscd/Makefile (others-pie): Add nscd.
61215 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61216 ($(objpfx)nscd): Remove command override.
61217 * login/Makefile (others-pie): Add pt_chown.
61218 ($(objpfx)pt_chown): Remove command override.
61219 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61220 remove command overrides.
61222 2011-05-13 Ulrich Drepper <drepper@gmail.com>
61224 * libio/tst_putwc.c: Fix error messages.
61227 * libio/fileops.c (_IO_new_file_close_it): Always flush when
61228 currently writing and seek to current position when not.
61229 * libio/Makefile (tests): Add bug-fclose1.
61230 * libio/bug-fclose1.c: New file.
61232 2011-05-12 Ulrich Drepper <drepper@gmail.com>
61235 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61236 don't set DF_1_NODELETE here.
61237 (do_lookup_x): When entering new entry test for copy relocation
61238 and if necessary set DF_1_NODELETE flag.
61239 * elf/tst-unique4.cc: New file.
61240 * elf/tst-unique4.h: New file.
61241 * elf/tst-unique4lib.cc: New file.
61242 * elf/Makefile: Add rules to build and run tst-unique4.
61243 Patch by Piotr Bury <pbury@goahead.com>.
61245 2011-05-11 Ulrich Drepper <drepper@gmail.com>
61248 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61251 * misc/mntent_r.c (addmntent): Flush the stream after the output
61254 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61255 (is_trusted_path_normalize): Skip initial colon. Append slash
61256 to empty buffer. Duplicate is_trusted_path code but allow
61257 constructed patch to be prefix.
61258 (is_dst): Allow $ORIGIN followed by /.
61259 (_dl_dst_substitute): Correct clearing of check_for_trusted.
61260 Correct testing of result of is_trusted_path_normalize
61261 (decompose_rpath): Fix warning.
61263 2011-05-10 Ulrich Drepper <drepper@gmail.com>
61266 * grp/initgroups.c (internal_getgrouplist): When we found the service
61267 list through the initgroups entry in nsswitch.conf do not always
61268 continue on a successful lookup. Don't always use the
61269 __nss_group_database value if it is set.
61270 * nss/nsswitch.conf (initgroups): Change action for successful db
61271 lookup to continue for compatibility.
61273 2011-05-09 Ulrich Drepper <drepper@gmail.com>
61276 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61278 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61280 * iconvdata/tst-tables.sh: Likewise.
61281 * iconvdata/cp770.c: New file.
61282 * iconvdata/cp771.c: New file.
61283 * iconvdata/cp772.c: New file.
61284 * iconvdata/cp773.c: New file.
61285 * iconvdata/cp774.c: New file.
61286 * iconvdata/testdata/CP770: New file.
61287 * iconvdata/testdata/CP770..UTF8: New file.
61288 * iconvdata/testdata/CP771: New file.
61289 * iconvdata/testdata/CP771..UTF8: New file.
61290 * iconvdata/testdata/CP772: New file.
61291 * iconvdata/testdata/CP772..UTF8: New file.
61292 * iconvdata/testdata/CP773: New file.
61293 * iconvdata/testdata/CP773..UTF8: New file.
61294 * iconvdata/testdata/CP774: New file.
61295 * iconvdata/testdata/CP774..UTF8: New file.
61297 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61299 * iconvdata/gen-8bit-gap.sh: Likewise.
61300 * iconvdata/gen-8bit.sh: Likewise.
61302 * locale/iso-639.def: Add ary entry.
61305 * locale/C-translit.h.in: Add U20A1 transliteration.
61308 * locale/iso-639.def: Add wae entry.
61309 Patch by Kevin Bortis <bortis@translate-wae.ch>.
61312 * locale/programs/localedef.c (construct_output_path): Use ssize_t
61316 * locale/C-translit.h.in: Add entry for U20B9.
61317 Patch by pravin.d.s@gmail.com.
61319 2011-05-08 Ulrich Drepper <drepper@gmail.com>
61322 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61323 ENAMETOOLONG use generic getcwd.
61324 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
61325 in rtld. Use *stat64.
61326 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61327 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61328 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61329 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61330 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61331 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61332 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61333 __fstatat64 macros.
61334 * include/dirent.h: Add libc_hidden_proto for rewinddir.
61335 * dirent/rewinddir.c: Add libc_hidden_def.
61336 * sysdeps/mach/hurd/rewinddir.c: Likewise.
61337 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
61339 * include/dirent.h (__alloc_dir): Add flags parameter.
61340 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61341 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61343 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
61344 from fdopendir if O_CLOEXEC is already set.
61346 2011-03-15 Alan Modra <amodra@gmail.com>
61348 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61349 l_tls_firstbyte_offset non-zero. Save padding offset in
61350 l_tls_firstbyte_offset for later use.
61351 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61352 freeing static tls block.
61354 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
61356 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61357 where #ifdef was intended. The intent is to prevent ARG_MAX from
61358 being defined by the kernel headers.
61360 2011-05-07 Ulrich Drepper <drepper@gmail.com>
61363 * resolv/resolv.h: Define RES_NOTLDQUERY.
61364 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61365 no-tld-query and set RES_NOTLDQUERY.
61366 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61367 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61368 modern BIND to search name as TLD unless forbidden.
61370 2011-05-07 Petr Baudis <pasky@suse.cz>
61371 Ulrich Drepper <drepper@gmail.com>
61374 * elf/dl-load.c (fillin_rpath): Move trusted path check...
61375 (is_trusted_path): ...to here.
61376 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61377 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61378 using is_trusted_path_normalize() in setuid scripts.
61380 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61382 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61383 __BEGIN/__END_DECLS.
61385 2011-05-06 Ulrich Drepper <drepper@gmail.com>
61387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61388 NSS_STATUS_NOTFOUND if no record was found.
61390 2011-05-05 Andreas Schwab <schwab@redhat.com>
61392 * sunrpc/Makefile (headers): Add rpc/netdb.h.
61393 (headers-not-in-tirpc): Remove rpc/netdb.h
61394 * resolv/netdb.h: Revert last change.
61396 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
61398 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61399 circular dependency between libgcc.a and libc.a.
61401 2011-05-05 Andreas Schwab <schwab@redhat.com>
61403 * resolv/netdb.h: Don't include <rpc/netdb.h>.
61404 * nis/Makefile: Don't install rpcsvc/*.
61405 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61406 instead of <rpc/types.h>.
61407 (MAXHOSTNAMELEN): Define.
61409 2011-05-03 Andreas Schwab <schwab@redhat.com>
61411 * elf/ldconfig.c (add_dir): Don't crash on empty path.
61413 2011-04-28 Maciej Babinski <mbabinski@google.com>
61416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61417 gethostbyname4_r when IPv6 results are possible.
61419 2011-05-02 Ulrich Drepper <drepper@gmail.com>
61422 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61423 _PC_PIPE_BUF handling.
61425 2011-04-30 Bruno Haible <bruno@clisp.org>
61428 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61429 * resolv/netdb.h (getnameinfo): Change type of flags parameter
61431 * inet/getnameinfo.c (getnameinfo): Likewise.
61433 2011-04-29 Ulrich Drepper <drepper@gmail.com>
61435 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61436 to groups setting in database lookup.
61437 * nss/nsswitch.conf: Add initgroups entry.
61439 2011-04-22 Ulrich Drepper <drepper@gmail.com>
61442 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61444 Patch by Eric Blake <eblake@redhat.com>.
61446 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
61448 * sunrpc/Makefile (need-export-routines): Add svc_run.
61449 (routines): Remove svc_run.
61450 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61451 * sunrpc/clnt_perr.c (clnt_perrno): Export.
61452 * sunrpc/svc_run.c (svc_run): Likewise.
61453 * sunrpc/svc_udp.c (svcudp_create): Likewise.
61455 2011-04-21 Ulrich Drepper <drepper@gmail.com>
61457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61458 problem in reallocation in last patch.
61460 2011-04-20 Ulrich Drepper <drepper@gmail.com>
61462 * sunrpc/Makefile: Move inclusion of Rules.
61464 2011-04-19 Ulrich Drepper <drepper@gmail.com>
61466 * nss/nss_files/files-initgroups.c: New file.
61467 * nss/Makefile (libnss_files-routines): Add files-initgroups.
61468 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61469 _nss_files_initgroups_dyn.
61471 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
61473 * elf/elf.h (R_ARM_IRELATIVE): Define.
61475 2011-04-19 Ulrich Drepper <drepper@gmail.com>
61477 * po/ru.po: Update from translation team.
61479 2011-04-17 Ulrich Drepper <drepper@gmail.com>
61481 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61484 2011-02-06 Mike Frysinger <vapier@gentoo.org>
61487 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61488 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61491 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61493 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
61495 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61497 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61501 2011-04-17 Ulrich Drepper <drepper@gmail.com>
61504 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61506 * stdlib/bug-getcontext.c: New file.
61507 * stdlib/Makefile: Add rules to build and run bug-getcontext.
61509 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61511 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61512 instructions into .machine "z9-109".
61513 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61514 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61516 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61518 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61519 between environment variables and auxiliary vector.
61521 2011-04-16 Ulrich Drepper <drepper@gmail.com>
61523 * Makefile: Add rules to build linkobj/libc.so.
61524 * include/libc-symbols.h: Define libc_hidden_nolink.
61525 * include/rpc/auth.h: Mark functions which are to be hidden.
61526 * include/rpc/auth_des.h: Likewise.
61527 * include/rpc/auth_unix.h: Likewise.
61528 * include/rpc/clnt.h: Likewise.
61529 * include/rpc/des_crypt.h: Likewise.
61530 * include/rpc/key_prot.h: Likewise.
61531 * include/rpc/pmap_clnt.h: Likewise.
61532 * include/rpc/pmap_prot.h: Likewise.
61533 * include/rpc/pmap_rmt.h: Likewise.
61534 * include/rpc/rpc_msg.h: Likewise.
61535 * include/rpc/svc.h: Likewise.
61536 * include/rpc/svc_auth.h: Likewise.
61537 * include/rpc/xdr.h: Likewise.
61538 * nis/Makefile: Link all DSOs against linkobj/libc.so.
61539 * nss/Makefile: Likewise.
61540 * sunrpc/Makefile: Don't install headers. Build library with normal
61541 entry points. Don't build rpcinfo. Link RPC tests appropriately.
61542 * sunrpc/auth_des.c: Hide exported symbols by default, export some
61543 for the compat linking library. Remove use of INTDEF/INTUSE.
61544 * sunrpc/auth_none.c: Likewise.
61545 * sunrpc/auth_unix.c: Likewise.
61546 * sunrpc/authdes_prot.c: Likewise.
61547 * sunrpc/authuxprot.c: Likewise.
61548 * sunrpc/clnt_gen.c: Likewise.
61549 * sunrpc/clnt_perr.c: Likewise.
61550 * sunrpc/clnt_raw.c: Likewise.
61551 * sunrpc/clnt_simp.c: Likewise.
61552 * sunrpc/clnt_tcp.c: Likewise.
61553 * sunrpc/clnt_udp.c: Likewise.
61554 * sunrpc/clnt_unix.c: Likewise.
61555 * sunrpc/des_crypt.c: Likewise.
61556 * sunrpc/des_soft.c: Likewise.
61557 * sunrpc/get_myaddr.c: Likewise.
61558 * sunrpc/key_call.c: Likewise.
61559 * sunrpc/key_prot.c: Likewise.
61560 * sunrpc/netname.c: Likewise.
61561 * sunrpc/pm_getmaps.c: Likewise.
61562 * sunrpc/pm_getport.c: Likewise.
61563 * sunrpc/pmap_clnt.c: Likewise.
61564 * sunrpc/pmap_prot.c: Likewise.
61565 * sunrpc/pmap_prot2.c: Likewise.
61566 * sunrpc/pmap_rmt.c: Likewise.
61567 * sunrpc/publickey.c: Likewise.
61568 * sunrpc/rpc_cmsg.c: Likewise.
61569 * sunrpc/rpc_common.c: Likewise.
61570 * sunrpc/rpc_dtable.c: Likewise.
61571 * sunrpc/rpc_prot.c: Likewise.
61572 * sunrpc/rpc_thread.c: Likewise.
61573 * sunrpc/rtime.c: Likewise.
61574 * sunrpc/svc.c: Likewise.
61575 * sunrpc/svc_auth.c: Likewise.
61576 * sunrpc/svc_authux.c: Likewise.
61577 * sunrpc/svc_raw.c: Likewise.
61578 * sunrpc/svc_run.c: Likewise.
61579 * sunrpc/svc_simple.c: Likewise.
61580 * sunrpc/svc_tcp.c: Likewise.
61581 * sunrpc/svc_udp.c: Likewise.
61582 * sunrpc/svc_unix.c: Likewise.
61583 * sunrpc/svcauth_des.c: Likewise.
61584 * sunrpc/xcrypt.c: Likewise.
61585 * sunrpc/xdr.c: Likewise.
61586 * sunrpc/xdr_array.c: Likewise.
61587 * sunrpc/xdr_float.c: Likewise.
61588 * sunrpc/xdr_intXX_t.c: Likewise.
61589 * sunrpc/xdr_mem.c: Likewise.
61590 * sunrpc/xdr_rec.c: Likewise.
61591 * sunrpc/xdr_ref.c: Likewise.
61592 * sunrpc/xdr_sizeof.c: Likewise.
61593 * sunrpc/xdr_stdio.c: Likewise.
61595 2011-04-10 Ulrich Drepper <drepper@gmail.com>
61598 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61599 * sysdeps/ia64/dl-tls.h: Likewise.
61600 * sysdeps/powerpc/dl-tls.h: Likewise.
61601 * sysdeps/s390/dl-tls.h: Likewise.
61602 * sysdeps/sh/dl-tls.h: Likewise.
61603 * sysdeps/sparc/dl-tls.h: Likewise.
61604 * sysdeps/x86_64/dl-tls.h: Likewise.
61605 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61607 2011-03-14 Andreas Schwab <schwab@redhat.com>
61609 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61610 rpath element also skip the following colon.
61611 (expand_dynamic_string_token): Add is_path parameter and pass
61612 down to DL_DST_REQUIRED and _dl_dst_substitute.
61613 (decompose_rpath): Call expand_dynamic_string_token with
61614 non-zero is_path. Ignore empty rpaths.
61615 (_dl_map_object_from_fd): Call expand_dynamic_string_token
61618 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
61620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61623 2011-04-09 Ulrich Drepper <drepper@gmail.com>
61626 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61627 Patch by Filipe David Manana <fdmanana@apache.org>.
61629 2011-04-07 Andreas Schwab <schwab@redhat.com>
61631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61632 Maintain aligned stack.
61633 (CHECK_RSP): Remove unused macro.
61635 2011-04-03 Ulrich Drepper <drepper@gmail.com>
61637 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61638 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61640 2011-04-02 Ulrich Drepper <drepper@gmail.com>
61642 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61644 * include/features.h: Mention __USE_XOPEN2K8 in comment.
61646 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
61649 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61650 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61651 * sysdeps/x86_64/memmove.c: New file.
61652 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61653 (memcpy): Renamed to ...
61654 (__new_memcpy): This.
61655 (memcpy): Provide GLIBC_2_14 memcpy.
61656 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61657 (memcpy): Provide GLIBC_2_2_5 memcpy.
61659 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61662 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61664 2011-03-30 Andreas Schwab <schwab@redhat.com>
61666 * misc/syncfs.c: New file.
61667 * misc/Makefile (routines): Add syncfs.
61668 * posix/unistd.h: Declare syncfs.
61669 * sysdeps/unix/syscalls.list: Add syncfs.
61671 2011-04-01 Andreas Schwab <schwab@redhat.com>
61673 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61680 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61683 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61686 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61687 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61689 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61693 * io/Makefile: Compile fallocate.c, fallocate64.c, and
61694 sync_file_range.c with -fexceptions.
61695 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61696 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61697 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61698 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61699 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61700 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61702 sync_file_range as cancellation point
61703 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
61704 now a wrapper around __call_sync_file_range with cancellation handling.
61705 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61706 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
61707 function name to __call_sync_file_range.
61708 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61709 Add call_sync_file_range.
61711 2011-04-01 Andreas Schwab <schwab@redhat.com>
61713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61716 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61718 * iconv/iconv.h: Fix typo in comment.
61719 * io/fcntl.h: Likewise.
61720 * libio/stdio.h: Likewise.
61721 * posix/spawn.h: Likewise.
61722 * posix/unistd.h: Likewise.
61723 * stdlib/stdlib.h: Likewise.
61724 * time/time.h: Likewise.
61725 * wcsmbs/wchar.h: Likewise.
61727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61728 open_by_handle): Add.
61729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61730 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
61731 Augment a few comments.
61732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61737 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61740 * io/fcntl.h (AT_EMPTY_PATH): Define.
61742 2011-03-30 Ulrich Drepper <drepper@gmail.com>
61744 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61745 * sysdeps/unix/sysv/linux/bits/time.h: New file.
61746 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61748 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
61749 * Versions.def: Add GLIBC_2.14.
61750 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61753 2011-03-22 Ulrich Drepper <drepper@gmail.com>
61755 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61757 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61759 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
61762 * string/test-strncmp.c (do_page_test): New function.
61763 (check2): Likewise.
61764 (test_main): Call check2.
61765 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61767 2011-03-20 Ulrich Drepper <drepper@gmail.com>
61770 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61771 Handle cache information in CPU leaf 4.
61772 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61774 2011-03-18 Ulrich Drepper <drepper@gmail.com>
61777 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61778 character representation.
61779 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61781 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
61783 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61784 END(__isnan) to END(__isnanf) to match function entry point/label
61785 EALIGN(__isnanf,...).
61787 2011-03-10 Jakub Jelinek <jakub@redhat.com>
61789 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61791 2011-03-10 Ulrich Drepper <drepper@gmail.com>
61794 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61795 copy from the symbol referenced in the relocation to initialize the
61797 Patch by Piotr Bury <pbury@goahead.com>.
61798 * elf/Makefile: Add rules to build and tst-unique3.
61799 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61800 * elf/tst-unique3.cc: New file.
61801 * elf/tst-unique3.h: New file.
61802 * elf/tst-unique3lib.cc: New file.
61803 * elf/tst-unique3lib2.cc: New file.
61805 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61807 2011-03-10 Mike Frysinger <vapier@gentoo.org>
61809 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61810 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
61813 2011-03-06 Ulrich Drepper <drepper@gmail.com>
61815 * elf/dl-load.c (_dl_map_object): If we are looking for the first
61816 to-be-loaded object along a path to loader is ld.so.
61818 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61819 Ulrich Drepper <drepper@gmail.com>
61821 * sysdeps/x86_64/memset.S: After aligning destination, code
61822 branches to different locations depending on the value of
61823 misalignment, when multiarch is enabled. Fix this.
61825 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61827 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61828 Set _x86_64_preferred_memory_instruction for AMD processsors.
61829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61830 Set bit_Prefer_SSE_for_memop for AMD processors.
61832 2011-03-04 Ulrich Drepper <drepper@gmail.com>
61834 * libio/fmemopen.c (fmemopen): Optimize a bit.
61836 2011-03-03 Andreas Schwab <schwab@redhat.com>
61838 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61840 2011-03-03 Roland McGrath <roland@redhat.com>
61842 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61844 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
61846 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61847 __bzero_ultra1 instead of __memset_ultra1.
61849 2011-02-23 Andreas Schwab <schwab@redhat.com>
61850 Ulrich Drepper <drepper@gmail.com>
61853 * include/link.h (struct link_map): Add l_orig_initfini.
61854 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61855 returning unsuccessfully.
61856 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61857 close of a file loaded at startup, restore the original l_initfini
61859 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61860 list, store the pointer.
61861 * elf/Makefile ($(objpfx)noload-mem): New rule.
61862 (noload-ENV): Define.
61863 (tests): Add $(objpfx)noload-mem.
61864 * elf/noload.c: Include <memcheck.h>.
61865 (main): Call mtrace. Close all opened handles.
61867 2011-02-17 Andreas Schwab <schwab@redhat.com>
61870 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61871 dependencies are missing.
61873 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
61875 Fix __if_freereq crash: Unlike the generic version which uses free,
61877 * sysdeps/mach/hurd/ifreq.h: New file.
61879 2011-01-27 Petr Baudis <pasky@suse.cz>
61880 Ulrich Drepper <drepper@gmail.com>
61883 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61884 to extend_alloca().
61885 * stdio-common/bug23.c: New file.
61886 * stdio-common/Makefile (tests): Add bug23.
61888 2010-09-28 Andreas Schwab <schwab@redhat.com>
61889 Ulrich Drepper <drepper@gmail.com>
61892 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61893 before performing relro protection. At old place add assertion
61894 to make sure nothing changed.
61896 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
61897 Glauber de Oliveira Costa <glommer@gmail.com>
61899 * elf/elf.h: Add new ARM TLS relocs.
61901 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
61903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61904 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61906 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
61908 * sysdeps/wordsize-64/tst-writev.c: New file.
61910 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
61912 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61913 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61914 insns in _dl_start to prevent a TOC reference before relocs are
61917 2011-02-15 Ulrich Drepper <drepper@gmail.com>
61920 * Makeconfig: Remove RANLIB definition.
61921 * Makerules: Don't use RANLIB.
61922 * aclocal.m4: Remove ranlib test.
61923 * configure.in: No need to check for ranlib.
61924 * elf/rtld-Rules: Don't use RANLIB.
61926 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
61928 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61930 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61931 inclusion protection macro.
61933 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61934 SIGRTMIN and SIGRTMAX and print information in that case only when
61935 SIGRTMIN is defined.
61937 2011-02-11 Jakub Jelinek <jakub@redhat.com>
61939 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61940 arginfo fn returning -1.
61942 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61943 and thousands string is zero terminated.
61945 2011-02-03 Andreas Schwab <schwab@redhat.com>
61947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61948 sysdeps/unix/sysv/linux/bits/socket.h.
61950 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
61952 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61953 (__CPU_COUNT): Remove old macros.
61954 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61955 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61956 (__CPU_ALLOC, __CPU_FREE): Add macros.
61957 (__sched_cpualloc, __sched_cpufree): Add declarations.
61959 2011-02-05 Ulrich Drepper <drepper@gmail.com>
61961 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61962 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61963 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61964 (readdhstai): Return value of addhstaiX call.
61965 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61966 (addgrbyX): Return value returned by cache_addgr.
61967 (readdgrbyname): Return value returned by addgrbyX.
61968 (readdgrbygid): Likewise.
61969 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61970 (addpwbyX): Return value returned by cache_addpw.
61971 (readdpwbyname): Return value returned by addhstbyX.
61972 (readdpwbyuid): Likewise.
61973 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61974 (addservbyX): Return value returned by cache_addserv.
61975 (readdservbyname): Return value returned by addservbyX:
61976 (readdservbyport): Likewise.
61977 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61978 (addhstbyX): Return value returned by cache_addhst.
61979 (readdhstbyname): Return value returned by addhstbyX.
61980 (readdhstbyaddr): Likewise.
61981 (readdhstbynamev6): Likewise.
61982 (readdhstbyaddrv6): Likewise.
61983 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61984 (readdinitgroups): Return value returned by addinitgroupsX.
61985 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61986 (prune_cache): Keep track of timeout value of re-added entries.
61987 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61988 * nscd/nscd.h: Adjust prototypes of readd* functions.
61990 2011-02-04 Roland McGrath <roland@redhat.com>
61992 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61993 (nis_stats): Likewise.
61994 * nis/nis_modify.c (nis_modify): Likewise.
61995 * nis/nis_remove.c (nis_remove): Likewise.
61996 * nis/nis_add.c (nis_add): Likewise.
61998 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62000 * posix/fnmatch_loop.c: Add some consts.
62002 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62004 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
62007 * config.make.in (config-cflags-novzeroupper): Define.
62008 * configure.in: Substitute libc_cv_cc_novzeroupper.
62009 * elf/Makefile (AVX-CFLAGS): Define.
62010 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62011 (CFLAGS-tst-auditmod4a.c): Likewise.
62012 (CFLAGS-tst-auditmod4b.c): Likewise.
62013 (CFLAGS-tst-auditmod6b.c): Likewise.
62014 (CFLAGS-tst-auditmod6c.c): Likewise.
62015 (CFLAGS-tst-auditmod7b.c): Likewise.
62016 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62018 2011-02-02 Ulrich Drepper <drepper@gmail.com>
62020 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62021 function to the callback.
62022 Patch partly by Jiri Olsa <jolsa@redhat.com>.
62024 2011-02-02 Andreas Schwab <schwab@redhat.com>
62026 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62029 2011-01-19 Ulrich Drepper <drepper@gmail.com>
62032 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62034 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62036 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62039 * elf/Makefile: Add rules to build and run new test.
62040 * elf/tst-initorder.c: New file.
62041 * elf/tst-initorder.exp: New file.
62042 * elf/tst-initordera1.c: New file.
62043 * elf/tst-initordera2.c: New file.
62044 * elf/tst-initordera3.c: New file.
62045 * elf/tst-initordera4.c: New file.
62046 * elf/tst-initorderb1.c: New file.
62047 * elf/tst-initorderb2.c: New file.
62048 * elf/tst-order-a1.c: New file.
62049 * elf/tst-order-a2.c: New file.
62050 * elf/tst-order-a3.c: New file.
62051 * elf/tst-order-a4.c: New file.
62052 * elf/tst-order-b1.c: New file.
62053 * elf/tst-order-b2.c: New file.
62054 * elf/tst-order-main.c: New file.
62055 New test case by George Gensure <werkt0@gmail.com>.
62057 2010-10-01 Andreas Schwab <schwab@redhat.com>
62059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62060 decoding ACE if AI_CANONIDN.
62062 2011-01-18 Ulrich Drepper <drepper@gmail.com>
62064 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62066 2011-01-17 Ulrich Drepper <drepper@gmail.com>
62068 * version.h (RELEASE): Bump for 2.13 release.
62069 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62071 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62073 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62075 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62077 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62080 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62082 * posix/getconf.c: Update copyright year.
62083 * catgets/gencat.c: Likewise.
62084 * csu/version.c: Likewise.
62085 * debug/catchsegv.sh: Likewise.
62086 * debug/xtrace.sh: Likewise.
62087 * elf/ldconfig.c: Likewise.
62088 * elf/ldd.bash.in: Likewise.
62089 * elf/sprof.c (print_version): Likewise.
62090 * iconv/iconv_prog.c: Likewise.
62091 * iconv/iconvconfig.c: Likewise.
62092 * locale/programs/locale.c: Likewise.
62093 * locale/programs/localedef.c: Likewise.
62094 * malloc/memusage.sh: Likewise.
62095 * malloc/mtrace.pl: Likewise.
62096 * nscd/nscd.c (print_version): Likewise.
62097 * nss/getent.c: Likewise.
62099 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62100 PF_CAIF, and PF_ALG.
62101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62103 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
62105 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62106 (modules-names): Use them.
62107 (ifunc-test-modules, ifunc-pie-tests): Define.
62108 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62109 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62110 (test-extras): Likewise.
62111 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62112 $(compile-command.c).
62113 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62114 (all-built-dso): Define.
62115 (check-textrel.out, check-execstack.out): Depend on it.
62117 * configure.in: Don't override --enable-multi-arch.
62119 2011-01-15 Ulrich Drepper <drepper@gmail.com>
62122 * nscd/hstcache.c (tryagain): Define.
62123 (cache_addhst): Return tryagain not notfound for temporary errors.
62124 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62127 2011-01-14 Ulrich Drepper <drepper@gmail.com>
62130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62131 to make the syscall.
62132 * sysdeps/unix/sysv/linux/setgroups.c: New file.
62135 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62136 and fall back to matching as normal character if the string ends before
62137 the matching ']' is found. This is what POSIX requires.
62138 * posix/testfnm.c: Adjust test result.
62139 * posix/globtest.sh: Adjust test result. Add new test.
62140 * posix/tst-fnmatch.input: Likewise.
62141 * posix/tst-fnmatch2.c: Add new test.
62143 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
62145 * elf/Makefile (check-execstack): Revert last change. Depend on
62147 (check-execstack.h): New target.
62148 (generated): Add check-execstack.h.
62149 * elf/check-execstack.c: Include "check-execstack.h".
62150 (main): Revert last change.
62151 (handle_file): Return zero if GNU_STACK is absent and
62152 DEFAULT_STACK_PERMS doesn't include PF_X.
62154 2011-01-13 Ulrich Drepper <drepper@gmail.com>
62156 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62157 in child fails because the descriptor is already closed.
62158 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62159 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62160 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62163 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62167 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62168 temporary buffer used to handle multi lookups locally.
62169 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62171 2011-01-12 Ulrich Drepper <drepper@gmail.com>
62173 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62176 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
62178 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62179 alignment for SSE2.
62181 2011-01-12 Ulrich Drepper <drepper@gmail.com>
62184 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62185 characters. When rounding increased number of integer digits recompute
62187 * stdio-common/tst-grouping.c: New file.
62188 * stdio-common/Makefile: Add rules to build and run tst-grouping.
62190 2011-01-09 Ulrich Drepper <drepper@gmail.com>
62192 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62193 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
62195 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62197 * bits/select.h: Likewise.
62199 2011-01-08 Ulrich Drepper <drepper@gmail.com>
62201 * po/ja.po: Update from translation team.
62203 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
62206 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62207 implementation just like for lxstat, fxstatat, et al.
62209 2010-12-27 Jim Meyering <meyering@redhat.com>
62212 * posix/regexec.c (build_trtable): Return failure indication upon
62213 calloc failure. Otherwise, re_search_internal could infloop on OOM.
62215 2010-12-25 Ulrich Drepper <drepper@gmail.com>
62218 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62219 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62220 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62221 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62224 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62227 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62228 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62230 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
62232 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62233 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62234 script has SORT_BY_INIT_PRIORITY.
62235 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62236 NO_CTORS_DTORS_SECTIONS is defined.
62237 * elf/soinit.c: Likewise.
62238 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62239 NO_CTORS_DTORS_SECTIONS is defined.
62240 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62241 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62242 * sysdeps/sh/init-first.c: Likewise.
62243 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62245 2010-12-24 Ulrich Drepper <drepper@gmail.com>
62247 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62248 always use the slow path.
62250 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
62252 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62253 similar rule which adds the sysdep directories to the header search in
62254 order to pick up the correct platform stackinfo.h.
62255 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62256 perform test if it is, otherwise return successfully without testing.
62257 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62258 DEFAULT_STACK_PERMS define in stackinfo.h.
62259 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62260 defined in stackinfo.h.
62261 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62262 DEFAULT_STACK_PERMS defined in stackinfo.h.
62263 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62264 * sysdeps/ia64/stackinfo.h: Likewise.
62265 * sysdeps/s390/stackinfo.h: Likewise.
62266 * sysdeps/sh/stackinfo.h: Likewise.
62267 * sysdeps/sparc/stackinfo.h: Likewise.
62268 * sysdeps/x86_64/stackinfo.h: Likewise.
62269 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62270 PF_X for powerpc64. Retain PF_X for powerpc32.
62272 2010-12-19 Ulrich Drepper <drepper@gmail.com>
62274 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62276 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62277 GETDENTS_64BIT_ALIGNED.
62279 2010-12-14 Ulrich Drepper <dreper@gmail.com>
62281 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62283 2010-12-10 Andreas Schwab <schwab@redhat.com>
62285 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62288 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62289 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62291 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62292 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62294 2010-12-09 Ulrich Drepper <drepper@gmail.com>
62297 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62300 2010-12-09 Jakub Jelinek <jakub@redhat.com>
62302 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62304 2010-12-03 Ulrich Drepper <drepper@gmail.com>
62306 * po/it.po: Update from translation team.
62308 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
62310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62313 2010-11-30 Ulrich Drepper <drepper@gmail.com>
62315 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62317 2010-11-24 Andreas Schwab <schwab@redhat.com>
62319 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62321 (gaih_getanswer_slice): Likewise.
62323 2010-10-20 Jakub Jelinek <jakub@redhat.com>
62325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62327 2010-05-31 Petr Baudis <pasky@suse.cz>
62330 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62331 silently even in the chroot mode.
62333 2010-11-22 Ulrich Drepper <drepper@gmail.com>
62335 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62336 last patch a bit. Pretty printing
62338 2010-05-31 Petr Baudis <pasky@suse.cz>
62341 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62342 initialization of skip_initgroups_dyn.
62344 2010-11-19 Ulrich Drepper <drepper@gmail.com>
62346 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62347 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62349 2010-11-16 Ulrich Drepper <drepper@gmail.com>
62351 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62353 2010-11-11 Andreas Schwab <schwab@redhat.com>
62355 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62356 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62357 (tst-fnmatch-ENV): Set MALLOC_TRACE.
62358 ($(objpfx)tst-fnmatch-mem): New rule.
62359 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62360 * posix/tst-fnmatch.c (main): Call mtrace.
62362 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
62364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62365 Support Intel processor model 6 and model 0x2c.
62367 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
62369 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62372 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
62375 * string/test-strncasecmp.c (check_result): New function.
62376 (do_one_test): Use it.
62377 (check1): New function.
62378 (test_main): Use it.
62379 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62380 Support strcasecmp and strncasecmp.
62382 2010-11-08 Ulrich Drepper <drepper@gmail.com>
62385 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62386 * sysdeps/x86_64/bits/byteswap.h: Likewise.
62388 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
62390 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62394 * sysdeps/x86_64/multiarch/bzero.S: New file.
62395 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62396 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62397 * sysdeps/x86_64/multiarch/memset.S: New file.
62398 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62400 Set bit_Prefer_SSE_for_memop for Intel processors.
62401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62403 (index_Prefer_SSE_for_memop): Define.
62404 (HAS_PREFER_SSE_FOR_MEMOP): Define.
62406 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
62408 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62409 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62411 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
62414 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62415 (__x86_64_raw_data_cache_size_half): Likewise.
62416 (__x86_64_raw_shared_cache_size): Likewise.
62417 (__x86_64_raw_shared_cache_size_half): Likewise.
62419 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62420 (__x86_64_raw_data_cache_size_half): Likewise.
62421 (__x86_64_raw_shared_cache_size): Likewise.
62422 (__x86_64_raw_shared_cache_size_half): Likewise.
62423 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62424 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62425 and __x86_64_raw_shared_cache_size_half. Round
62426 __x86_64_data_cache_size_half, __x86_64_data_cache_size
62427 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62428 to multiple of 256 bytes.
62430 2010-11-03 Ulrich Drepper <drepper@gmail.com>
62433 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62434 of inacessible symlinks. Verify result of symlink before returning it.
62435 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62436 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62438 2010-10-28 Erich Ritz <erichritz@gmail.com>
62440 * math/math.h (isinf): Fix typo in comment.
62442 2010-11-01 Ulrich Drepper <drepper@gmail.com>
62444 * po/da.po: Update from translation team.
62446 2010-10-26 Ulrich Drepper <drepper@gmail.com>
62448 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62449 is added to the list.
62451 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62452 Ulrich Drepper <drepper@gmail.com>
62454 * elf/dl-object.c (_dl_new_object): Don't append the new object to
62455 the global list here. Move code to...
62456 (_dl_add_to_namespace_list): ...here. New function.
62457 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62458 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62459 * elf/dl-load.c (lose): Don't remove the element from the list.
62460 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62461 (_dl_map_object): Likewise.
62463 2010-10-25 Ulrich Drepper <drepper@gmail.com>
62466 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62467 into all bytes of SSE register.
62468 Patch by Richard Li <richardpku@gmail.com>.
62470 2010-10-24 Ulrich Drepper <drepper@gmail.com>
62473 * malloc/malloc.c (_int_free): Fill correct number of bytes when
62476 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
62478 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62479 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62480 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62481 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62486 2010-10-22 Andreas Schwab <schwab@redhat.com>
62488 * include/dlfcn.h (__RTLD_SECURE): Define.
62489 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
62490 mode & __RTLD_SECURE instead.
62491 (open_path): Rename preloaded parameter to secure.
62492 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62493 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62494 * elf/dl-deps.c (openaux): Likewise.
62495 * elf/rtld.c (struct map_args): Remove is_preloaded.
62496 (map_doit): Don't use it.
62497 (dl_main): Likewise.
62498 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62499 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62501 2010-09-09 Andreas Schwab <schwab@redhat.com>
62503 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62504 (sysd-rules-targets): Remove duplicates.
62505 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62506 rtld-%.$o dependency.
62508 2010-10-18 Andreas Schwab <schwab@redhat.com>
62510 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62511 _dl_map_object do it.
62513 2010-10-19 Ulrich Drepper <drepper@gmail.com>
62515 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62516 fast fma builtins, define the macros in the C99 standard.
62517 (FP_FAST_FMAF): Likewise.
62518 (FP_FAST_FMAL): Likewise.
62519 * sysdeps/x86_64/bits/mathdef.h: Likewise.
62521 * bits/mathdef.h: Update copyright year.
62522 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62524 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
62526 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62527 builtins, define the macros in the C99 standard.
62528 (FP_FAST_FMAF): Likewise.
62529 (FP_FAST_FMAL): Likewise.
62530 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62532 (FP_FAST_FMAF): Likewise.
62534 2010-10-15 Jakub Jelinek <jakub@redhat.com>
62537 * math/libm-test.inc (fma_test): Some new testcases.
62538 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62540 y and infinite z. Do multiplication by C already in long double.
62541 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62543 y and infinite z. Do bitwise or of inexact bit into u.d.
62544 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62545 * sysdeps/i386/fpu/s_fmaf.S: Removed.
62546 * sysdeps/i386/fpu/s_fma.S: Removed.
62547 * sysdeps/i386/fpu/s_fmal.S: Removed.
62549 2010-10-16 Jakub Jelinek <jakub@redhat.com>
62552 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62554 computation is not scheduled after fetestexcept. Fix value
62555 of minimum denormal long double.
62557 2010-10-14 Jakub Jelinek <jakub@redhat.com>
62560 * math/libm-test.inc (fma_test): Add some more tests.
62561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62564 2010-10-15 Andreas Schwab <schwab@redhat.com>
62566 * scripts/data/localplt-s390-linux-gnu.data: New file.
62567 * scripts/data/localplt-s390x-linux-gnu.data: New file.
62569 2010-10-13 Jakub Jelinek <jakub@redhat.com>
62572 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62573 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62575 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62577 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62579 if one of x and y is very large and the other is subnormal.
62580 * sysdeps/s390/fpu/s_fmaf.c: New file.
62581 * sysdeps/s390/fpu/s_fma.c: New file.
62582 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62583 * sysdeps/powerpc/fpu/s_fma.S: New file.
62584 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62585 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62586 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62588 2010-10-12 Jakub Jelinek <jakub@redhat.com>
62591 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62593 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62594 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62595 * sysdeps/i386/i686/multiarch/s_fma.c: Include
62596 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62597 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62598 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62599 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62601 2010-10-12 Ulrich Drepper <drepper@redhat.com>
62604 * posix/regcomp.c (parse_branch): One more memory leak plugged.
62605 * posix/bug-regex31.input: Add test case.
62607 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62609 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62610 * posix/bug-regex31.input: New file.
62613 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62614 (parse_sub_exp): Fix last change, use postorder.
62616 * posix/bug-regex31.c: New file.
62617 * posix/Makefile: Add rules to build and run bug-regex31.
62619 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62622 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62625 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62626 to have entries in sys_siglist.
62629 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62632 2010-10-07 Jakub Jelinek <jakub@redhat.com>
62635 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62636 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62637 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62638 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62639 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62640 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62641 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62642 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62643 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62644 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62645 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62646 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62647 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62648 * math/ftestexcept.c (fetestexcept): Likewise.
62649 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62650 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62651 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62652 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62653 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62654 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62657 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62660 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62663 2010-10-06 Ulrich Drepper <drepper@gmail.com>
62665 * string/bug-strstr1.c: New file.
62666 * string/Makefile: Add rules to build and run bug-strstr1.
62668 2010-10-05 Eric Blake <eblake@redhat.com>
62671 * string/str-two-way.h (two_way_long_needle): Always clear memory
62672 when skipping input due to the shift table.
62674 2010-10-03 Ulrich Drepper <drepper@gmail.com>
62677 * malloc/mcheck.c: Handle large requests.
62680 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62681 for strncmp and strncasecmp.
62682 * string/stratcliff.c: Add tests for strcmp and strncmp.
62683 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62685 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62687 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62690 2010-09-30 Andreas Jaeger <aj@suse.de>
62692 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62693 (CGROUP_SUPER_MAGIC): Define.
62694 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62695 Handle btrfs and cgroup file systems.
62696 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62699 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
62701 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62702 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62704 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62707 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62708 trying to locate the ELF header.
62710 2010-09-27 Andreas Schwab <schwab@redhat.com>
62713 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62714 Mask out sign-bit copies when constructing f_fsid.
62716 2010-09-24 Petr Baudis <pasky@suse.cz>
62718 * debug/stack_chk_fail_local.c: Add missing licence exception.
62719 * debug/warning-nop.c: Likewise.
62721 2010-09-15 Joseph Myers <joseph@codesourcery.com>
62723 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62724 implementing getdents64 using getdents syscall, set d_type if
62725 __ASSUME_GETDENTS32_D_TYPE.
62727 2010-09-16 Andreas Schwab <schwab@redhat.com>
62729 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62730 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62732 2010-09-21 Ulrich Drepper <drepper@redhat.com>
62735 * posix/unistd.h: Undo change of feature selection for ftruncate from
62738 2010-09-20 Ulrich Drepper <drepper@redhat.com>
62740 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62743 2010-09-20 Andreas Schwab <schwab@redhat.com>
62745 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62747 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62749 2010-09-14 Andreas Schwab <schwab@redhat.com>
62751 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62752 variables after CHECK_SP call.
62753 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62755 2010-09-13 Andreas Schwab <schwab@redhat.com>
62756 Ulrich Drepper <drepper@redhat.com>
62758 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62759 re-relocationg ld.so.
62760 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62761 _dl_init_paths call.
62762 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
62765 2010-09-14 Ulrich Drepper <drepper@redhat.com>
62767 * resolv/res_init.c (__res_vinit): Count the default server we added.
62769 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
62770 Ulrich Drepper <drepper@redhat.com>
62773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62774 (____longjmp_chk): Use %ebx for saving value across system call.
62777 2010-09-06 Andreas Schwab <schwab@redhat.com>
62779 * manual/Makefile: Don't mix pattern rules with normal rules.
62781 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
62783 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62785 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62786 * libio/iofopncook.c (_IO_cookie_init): Likewise.
62787 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62788 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62792 2010-09-04 Ulrich Drepper <drepper@redhat.com>
62795 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62796 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62798 2010-09-02 Ulrich Drepper <drepper@redhat.com>
62800 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62801 * sysdeps/x86_64/addmul_1.S: Likewise.
62802 * sysdeps/x86_64/lshift.S: Likewise.
62803 * sysdeps/x86_64/mul_1.S: Likewise.
62804 * sysdeps/x86_64/rshift.S: Likewise.
62805 * sysdeps/x86_64/sub_n.S: Likewise.
62806 * sysdeps/x86_64/submul_1.S: Likewise.
62808 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
62810 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62811 Define __sched_param instead of SCHED_* and sched_param when
62812 <bits/sched.h> is included with __need_schedparam defined.
62813 * bits/sched.h [__need_schedparam]
62814 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62815 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62816 (__defined_schedparam): Define to 1.
62817 (__sched_param): New structure, identical to sched_param.
62818 (__need_schedparam): Undefine.
62820 2010-08-31 Mike Frysinger <vapier@gentoo.org>
62822 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62823 (epoll_create1): Declare.
62825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62827 2010-08-31 Andreas Schwab <schwab@redhat.com>
62830 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62831 shifting retval into place.
62833 2010-09-01 Ulrich Drepper <drepper@redhat.com>
62835 * nis/rpcsvc/nis.h: Update copyright notice.
62836 * nis/rpcsvc/nis.x: Likewise.
62837 * nis/rpcsvc/nis_callback.h: Likewise.
62838 * nis/rpcsvc/nis_callback.x: Likewise.
62839 * nis/rpcsvc/nis_object.x: Likewise.
62840 * nis/rpcsvc/nis_tags.h: Likewise.
62841 * nis/rpcsvc/yp.h: Likewise.
62842 * nis/rpcsvc/yp.x: Likewise.
62843 * nis/rpcsvc/ypupd.h: Likewise.
62844 * nis/yp_xdr.c: Likewise.
62845 * nis/ypupdate_xdr.c: Likewise.
62847 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
62848 mainly the body of pmap_getport. Add parameters to specify timeouts.
62849 (pmap_getport): Use __libc_rpc_getport.
62850 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62851 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62852 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62854 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
62856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62859 2010-08-27 Roland McGrath <roland@redhat.com>
62861 * sysdeps/i386/i686/multiarch/Makefile
62862 (CFLAGS-varshift.c): New variable.
62864 2010-08-27 Ulrich Drepper <drepper@redhat.com>
62866 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62867 * sysdeps/i386/i686/multiarch/varshift.c: New file.
62869 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62871 * sysdeps/x86_64/strlen.S: Minimal code improvement.
62873 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
62875 * sysdeps/x86_64/strlen.S: Unroll the loop.
62876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62877 strlen-sse2 strlen-sse2-bsf.
62878 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62879 __strlen_no_bsf if bit_Slow_BSF is set.
62880 (__strlen_sse42): Removed.
62881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62882 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62884 2010-08-25 Roland McGrath <roland@redhat.com>
62886 * sysdeps/x86_64/multiarch/varshift.S: File removed.
62887 * sysdeps/x86_64/multiarch/varshift.c: New file.
62888 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62889 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62890 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62891 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62893 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
62895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62896 strlen-sse2 strlen-sse2-bsf.
62897 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62898 __strlen_sse2_bsf if bit_Slow_BSF is unset.
62899 (__strlen_sse2): Removed.
62900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62903 bit_Slow_BSF for Atom.
62904 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62905 (index_Slow_BSF): Define.
62906 (HAS_SLOW_BSF): Define.
62908 2010-08-25 Ulrich Drepper <drepper@redhat.com>
62911 * resolv/res_init.c (__res_vinit): When no server address at all
62912 is given default to loopback.
62914 2010-08-24 Roland McGrath <roland@redhat.com>
62916 * configure.in: Remove config-name.h generation.
62917 * configure: Regenerated.
62918 * config-name.in: File removed.
62919 * scripts/config-uname.sh: New file.
62920 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62921 ($(objdir)config-name.h): New target.
62923 * sunrpc/rpc_parse.h: Avoid nested comment.
62925 2010-08-24 Richard Henderson <rth@redhat.com>
62926 Ulrich Drepper <drepper@redhat.com>
62927 H.J. Lu <hongjiu.lu@intel.com>
62929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62931 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62932 Replace _mm_srli_si128 with __m128i_shift_right. Replace
62933 _mm_alignr_epi8 with _mm_loadu_si128.
62934 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62935 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62936 (__m128i_shift_right): Removed.
62937 * sysdeps/i386/i686/multiarch/varshift.h: New file.
62938 * sysdeps/i386/i686/multiarch/varshift.S: New file.
62939 * sysdeps/x86_64/multiarch/varshift.h: New file.
62940 * sysdeps/x86_64/multiarch/varshift.S: New file.
62942 2010-08-21 Mike Frysinger <vapier@gentoo.org>
62944 * configure.in: Move assembler checks to before sysdep dir checking.
62946 2010-08-20 Petr Baudis <pasky@suse.cz>
62948 * LICENSES: Sync the sunrpc license.
62950 2010-08-19 Ulrich Drepper <drepper@redhat.com>
62952 * sunrpc/auth_des.c: Update copyright notice once again.
62953 * sunrpc/auth_none.c: Likewise.
62954 * sunrpc/auth_unix.c: Likewise.
62955 * sunrpc/authdes_prot.c: Likewise.
62956 * sunrpc/authuxprot.c: Likewise.
62957 * sunrpc/bindrsvprt.c: Likewise.
62958 * sunrpc/clnt_gen.c: Likewise.
62959 * sunrpc/clnt_perr.c: Likewise.
62960 * sunrpc/clnt_raw.c: Likewise.
62961 * sunrpc/clnt_simp.c: Likewise.
62962 * sunrpc/clnt_tcp.c: Likewise.
62963 * sunrpc/clnt_udp.c: Likewise.
62964 * sunrpc/clnt_unix.c: Likewise.
62965 * sunrpc/des_crypt.c: Likewise.
62966 * sunrpc/des_soft.c: Likewise.
62967 * sunrpc/get_myaddr.c: Likewise.
62968 * sunrpc/getrpcport.c: Likewise.
62969 * sunrpc/key_call.c: Likewise.
62970 * sunrpc/key_prot.c: Likewise.
62971 * sunrpc/openchild.c: Likewise.
62972 * sunrpc/pm_getmaps.c: Likewise.
62973 * sunrpc/pm_getport.c: Likewise.
62974 * sunrpc/pmap_clnt.c: Likewise.
62975 * sunrpc/pmap_prot.c: Likewise.
62976 * sunrpc/pmap_prot2.c: Likewise.
62977 * sunrpc/pmap_rmt.c: Likewise.
62978 * sunrpc/rpc/auth.h: Likewise.
62979 * sunrpc/rpc/auth_unix.h: Likewise.
62980 * sunrpc/rpc/clnt.h: Likewise.
62981 * sunrpc/rpc/des_crypt.h: Likewise.
62982 * sunrpc/rpc/key_prot.h: Likewise.
62983 * sunrpc/rpc/netdb.h: Likewise.
62984 * sunrpc/rpc/pmap_clnt.h: Likewise.
62985 * sunrpc/rpc/pmap_prot.h: Likewise.
62986 * sunrpc/rpc/pmap_rmt.h: Likewise.
62987 * sunrpc/rpc/rpc.h: Likewise.
62988 * sunrpc/rpc/rpc_des.h: Likewise.
62989 * sunrpc/rpc/rpc_msg.h: Likewise.
62990 * sunrpc/rpc/svc.h: Likewise.
62991 * sunrpc/rpc/svc_auth.h: Likewise.
62992 * sunrpc/rpc/types.h: Likewise.
62993 * sunrpc/rpc/xdr.h: Likewise.
62994 * sunrpc/rpc_clntout.c: Likewise.
62995 * sunrpc/rpc_cmsg.c: Likewise.
62996 * sunrpc/rpc_common.c: Likewise.
62997 * sunrpc/rpc_cout.c: Likewise.
62998 * sunrpc/rpc_dtable.c: Likewise.
62999 * sunrpc/rpc_hout.c: Likewise.
63000 * sunrpc/rpc_main.c: Likewise.
63001 * sunrpc/rpc_parse.c: Likewise.
63002 * sunrpc/rpc_parse.h: Likewise.
63003 * sunrpc/rpc_prot.c: Likewise.
63004 * sunrpc/rpc_sample.c: Likewise.
63005 * sunrpc/rpc_scan.c: Likewise.
63006 * sunrpc/rpc_scan.h: Likewise.
63007 * sunrpc/rpc_svcout.c: Likewise.
63008 * sunrpc/rpc_tblout.c: Likewise.
63009 * sunrpc/rpc_util.c: Likewise.
63010 * sunrpc/rpc_util.h: Likewise.
63011 * sunrpc/rpcinfo.c: Likewise.
63012 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63013 * sunrpc/rpcsvc/key_prot.x: Likewise.
63014 * sunrpc/rpcsvc/klm_prot.x: Likewise.
63015 * sunrpc/rpcsvc/mount.x: Likewise.
63016 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63017 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63018 * sunrpc/rpcsvc/rex.x: Likewise.
63019 * sunrpc/rpcsvc/rstat.x: Likewise.
63020 * sunrpc/rpcsvc/rusers.x: Likewise.
63021 * sunrpc/rpcsvc/sm_inter.x: Likewise.
63022 * sunrpc/rpcsvc/spray.x: Likewise.
63023 * sunrpc/rpcsvc/yppasswd.x: Likewise.
63024 * sunrpc/rtime.c: Likewise.
63025 * sunrpc/svc.c: Likewise.
63026 * sunrpc/svc_auth.c: Likewise.
63027 * sunrpc/svc_authux.c: Likewise.
63028 * sunrpc/svc_raw.c: Likewise.
63029 * sunrpc/svc_run.c: Likewise.
63030 * sunrpc/svc_simple.c: Likewise.
63031 * sunrpc/svc_tcp.c: Likewise.
63032 * sunrpc/svc_udp.c: Likewise.
63033 * sunrpc/svc_unix.c: Likewise.
63034 * sunrpc/svcauth_des.c: Likewise.
63035 * sunrpc/xcrypt.c: Likewise.
63036 * sunrpc/xdr.c: Likewise.
63037 * sunrpc/xdr_array.c: Likewise.
63038 * sunrpc/xdr_float.c: Likewise.
63039 * sunrpc/xdr_mem.c: Likewise.
63040 * sunrpc/xdr_rec.c: Likewise.
63041 * sunrpc/xdr_ref.c: Likewise.
63042 * sunrpc/xdr_sizeof.c: Likewise.
63043 * sunrpc/xdr_stdio.c: Likewise.
63045 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63048 2010-08-19 Andreas Schwab <schwab@redhat.com>
63050 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63052 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
63054 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63055 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63056 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63057 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63058 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63059 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63060 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63061 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63063 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63064 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63065 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63066 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63067 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63069 2010-07-26 Anton Blanchard <anton@samba.org>
63071 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63072 * malloc/arena.c (heap_trim): Likewise.
63074 2010-08-16 Ulrich Drepper <drepper@redhat.com>
63076 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63079 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63081 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
63083 * sysdeps/i386/elf/Makefile: New file.
63085 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63087 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63088 from fanotify_init.
63089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63092 2010-08-15 Ulrich Drepper <drepper@redhat.com>
63094 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63096 * sysdeps/multiarch/strcmp.S: Likewise.
63098 2010-08-14 Ulrich Drepper <drepper@redhat.com>
63100 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63101 strncase_l-nonascii.
63102 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63103 Add strncase_l-ssse3.
63104 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63105 * sysdeps/x86_64/strcmp.S: Likewise.
63106 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63107 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63108 * sysdeps/x86_64/strncase.S: New file.
63109 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63110 * sysdeps/x86_64/strncase_l.S: New file.
63111 * string/Makefile (strop-tests): Add strncasecmp.
63112 * string/test-strncasecmp.c: New file.
63114 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63117 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63118 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63120 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63122 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63124 2010-08-12 Ulrich Drepper <drepper@redhat.com>
63126 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63127 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63128 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63130 2010-05-01 Alan Modra <amodra@gmail.com>
63132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63133 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63134 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63135 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63136 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63137 tidying. Don't tail-call __sigjmp_save for static lib.
63138 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63140 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63141 (CALL_MCOUNT): Add eh info, and nop after bl.
63142 (TAIL_CALL_SYSCALL_ERROR): New macro.
63143 (PSEUDO_RET): Use it.
63144 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63145 Correct save location of integer regs and cr.
63146 (_dl_profile_resolve): Correct cr save location. Delete nops
63147 after bl when SHARED. Reduce cfi size a little by better
63148 placement of cfi directives.
63149 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63150 make a stack frame. Instead use parm save area as a temp.
63151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63152 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
63153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63154 Don't make a stack frame for parent, use parm save area.
63155 Increase child stack frame to 112 bytes. Don't save unused reg,
63156 and adjust reg usage. Set up cfi on error recovery and
63157 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63159 (__makecontext): Add dummy nop after jump to exit.
63160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63161 Use correct parm save area and cr save, reduce stack frame.
63162 Correct cfi for possible PSEUDO_RET frame setup.
63163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63164 Branch to local label emitted by PSEUDO_RET rather than
63167 2010-08-12 Andreas Schwab <schwab@redhat.com>
63170 * locale/programs/locale.c (print_assignment): New function.
63171 (show_locale_vars): Use it.
63173 2010-08-11 Ulrich Drepper <drepper@redhat.com>
63175 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63177 (struct statfs64): Likewise.
63178 (_STATFS_F_FLAGS): Define.
63179 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63181 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63182 (ST_VALID): Define locally.
63183 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63184 __statvfs_getflags, use the provided value.
63185 * sysdeps/unix/sysv/linux/kernel-features.h: Define
63186 __ASSUME_STATFS_F_FLAGS.
63188 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63190 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63191 Add sys/fanotify.h.
63192 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63193 fanotify_mask for GLIBC_2.13.
63194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63195 fanotify_init and fanotify_mark.
63196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63197 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63199 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63201 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63202 prlimit64 for GLIBC_2.13.
63203 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63205 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63208 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63209 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
63213 * sysdeps/unix/sysv/linux/prlimit.c: New file.
63216 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63217 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63219 * nss/Makefile: Add rules to build and run tst-nss-test1.
63220 * shlib-versions: Add entry for libnss_test1.
63221 * nss/nss_test1.c: New file.
63222 * nss/tst-nss-test1.c: New file.
63224 * nss/nsswitch.c (__nss_database_custom): Define new variable.
63225 (__nss_configure_lookup): Set appropriate entry in
63226 __nss_configure_lookup to true.
63227 * nss/nsswitch.h: Define enum with indeces of databases in
63228 databases and __nss_database_custom arrays. Declare
63229 __nss_database_custom.
63230 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63231 to avoid using nscd when custom rules are installed.
63232 * nss/getXXbyYY_r.c: Likewise.
63233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63235 * nss/nss_files/files-parse.c: Whitespace fixes.
63237 2010-08-09 Ulrich Drepper <drepper@redhat.com>
63240 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63241 * posix/fnmatch_loop.c: Likewise.
63243 2010-07-17 Andi Kleen <ak@linux.intel.com>
63245 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63246 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63247 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63248 * Versions.def [GLIBC_2.13]: Add.
63250 2010-08-06 Ulrich Drepper <drepper@redhat.com>
63252 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63253 Also fail if tpwd after pwuid call is NULL.
63255 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
63257 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63258 when converting to ms.
63260 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
63262 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63263 EOPNOTSUPP errors with ENOTTY.
63264 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63265 EOPNOTSUPP errors with ENOTTY.
63267 2010-07-31 Ulrich Drepper <drepper@redhat.com>
63269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63270 Add strcasecmp_l-ssse3.
63271 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63273 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63274 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63275 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63277 2010-07-30 Ulrich Drepper <drepper@redhat.com>
63279 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63281 * string/Makefile (strop-tests): Add strcasecmp.
63282 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63283 strcasecmp_l-nonascii.
63284 (gen-as-const-headers): Add locale-defines.sym.
63285 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63286 * sysdeps/x86_64/strcasecmp.S: New file.
63287 * sysdeps/x86_64/strcasecmp_l.S: New file.
63288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63289 * sysdeps/x86_64/locale-defines.sym: New file.
63290 * string/test-strcasecmp.c: New file.
63292 * string/test-strcasestr.c: Test both ends of the range of characters.
63293 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63295 2010-07-29 Roland McGrath <roland@redhat.com>
63298 * manual/locale.texi (Yes-or-No Questions): Fix example code.
63300 2010-07-27 Ulrich Drepper <drepper@redhat.com>
63302 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63305 2010-07-27 Andreas Schwab <schwab@redhat.com>
63307 * manual/memory.texi (Malloc Tunable Parameters): Document
63310 2010-07-26 Roland McGrath <roland@redhat.com>
63313 * configure.in (-fgnu89-inline check): Set and substitute
63314 gnu89_inline, not libc_cv_gnu89_inline.
63315 * configure: Regenerated.
63316 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63318 2010-07-26 Ulrich Drepper <drepper@redhat.com>
63320 * string/test-strnlen.c: New file.
63321 * string/Makefile (strop-tests): Add strnlen.
63322 * string/tester.c (test_strnlen): Add a few more test cases.
63323 * string/tst-strlen.c: Better error reporting.
63325 * sysdeps/x86_64/strnlen.S: New file.
63327 2010-07-24 Ulrich Drepper <drepper@redhat.com>
63329 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63330 lower-latency instructions.
63332 2010-07-23 Ulrich Drepper <drepper@redhat.com>
63334 * string/test-strcasestr.c: New file.
63335 * string/test-strstr.c: New file.
63336 * string/Makefile (strop-tests): Add strstr and strcasestr.
63337 * string/str-two-way.h: Don't undefine MAX.
63338 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63340 2010-07-21 Andreas Schwab <schwab@redhat.com>
63342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63343 strcasestr-nonascii.
63344 (CFLAGS-strcasestr-nonascii.c): Define.
63345 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63347 Remove unused attribute.
63349 2010-07-20 Roland McGrath <roland@redhat.com>
63351 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63352 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
63353 ld.so.cache was broken. With it, there is no way to disable dsocaps
63354 like LD_HWCAP_MASK can disable hwcaps.
63356 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
63358 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63360 2010-07-16 Ulrich Drepper <drepper@redhat.com>
63362 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63363 call in strcasestr.
63364 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63365 __strcasestr_sse42_nonascii.
63366 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63367 strcasestr-nonascii.c.
63368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63370 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
63372 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63373 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63375 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63377 2010-07-09 Ulrich Drepper <drepper@redhat.com>
63379 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63382 2010-07-06 Andreas Schwab <schwab@redhat.com>
63385 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63388 2010-07-06 Ulrich Drepper <drepper@redhat.com>
63390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63391 _PC_PIPE_BUF using F_GETPIPE_SZ.
63393 2010-07-05 Roland McGrath <roland@redhat.com>
63395 * manual/arith.texi (Rounding Functions): Fix rint description
63396 implicit in round description.
63398 2010-07-02 Ulrich Drepper <drepper@redhat.com>
63400 * elf/Makefile: Fix linking for a few tests to make recent linker
63403 2010-06-30 Andreas Schwab <schwab@redhat.com>
63405 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63406 $(common-objpfx)libc_nonshared.a.
63408 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
63410 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63411 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63412 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63413 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63414 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63415 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63416 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63417 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63432 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63433 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63434 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63435 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63436 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63437 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63438 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63439 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63440 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63441 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63442 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63443 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63459 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
63461 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63462 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
63463 * string/memmove.c (memmove): Renamed to ...
63464 (MEMMOVE): ...this. Default to memmove.
63465 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63466 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63469 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63470 mempcpy-ssse3-back memmove-ssse3-back.
63471 * sysdeps/x86_64/multiarch/bcopy.S: New file .
63472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63473 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63474 * sysdeps/x86_64/multiarch/memcpy.S: New file.
63475 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63476 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63477 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63478 * sysdeps/x86_64/multiarch/memmove.c: New file.
63479 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63480 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63481 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63482 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63483 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63486 (index_Fast_Copy_Backward): Define.
63487 (HAS_ARCH_FEATURE): Define.
63488 (HAS_FAST_REP_STRING): Define.
63489 (HAS_FAST_COPY_BACKWARD): Define.
63491 2010-06-21 Andreas Schwab <schwab@redhat.com>
63493 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63494 Restore proper fallback handling.
63496 2010-06-19 Ulrich Drepper <drepper@redhat.com>
63499 * posix/group_member.c (__group_member): Correct checking loop.
63501 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63502 OOM in getpwuid_r correctly. Return error number when the caller
63503 should return, otherwise -1.
63504 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63505 call returning > 0 value.
63506 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63508 2010-06-07 Andreas Schwab <schwab@redhat.com>
63510 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63511 libc_nonshared.a from targets in modules-names.
63513 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
63515 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63518 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
63520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63521 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63522 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63525 2010-06-02 Andreas Schwab <schwab@redhat.com>
63527 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63529 2010-06-14 Ulrich Drepper <drepper@redhat.com>
63531 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63537 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63538 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63540 2010-06-14 Roland McGrath <roland@redhat.com>
63542 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63544 2010-06-07 Jakub Jelinek <jakub@redhat.com>
63546 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63547 __REDIRECT followed by __THROW.
63548 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63549 * posix/getopt.h (getopt): Likewise.
63551 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
63553 * hurd/lookup-at.c (__file_name_lookup_at): Accept
63554 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
63555 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63557 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63558 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63560 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
63562 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63564 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
63567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63568 Properly check family and model.
63570 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
63572 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63574 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
63576 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63578 2010-05-21 Ulrich Drepper <drepper@redhat.com>
63580 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63583 2010-05-19 Andreas Schwab <schwab@redhat.com>
63585 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63588 2010-05-21 Andreas Schwab <schwab@redhat.com>
63590 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63591 and internal_recvmmsg.
63592 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63593 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63594 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63595 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63597 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63598 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63599 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63601 2010-05-20 Andreas Schwab <schwab@redhat.com>
63603 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63605 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
63607 POWER7 optimizations.
63608 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63609 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63611 2010-05-19 Ulrich Drepper <drepper@redhat.com>
63613 * version.h: Update for 2.13 development version.
63615 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
63617 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63618 exceptions. Return 0.
63620 2010-05-07 Roland McGrath <roland@redhat.com>
63622 * elf/ldconfig.c (main): Add a const.
63624 2010-05-06 Ulrich Drepper <drepper@redhat.com>
63626 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63627 (args_options): Add no-idn option.
63628 (ahosts_keys_int): Add idn_flags to ai_flags.
63629 (parse_option): Handle 'i' option to clear idn_flags.
63631 * malloc/malloc.c (_int_free): Possible race in the most recently
63632 added check. Only act on the data if no current modification
63635 See ChangeLog.17 for earlier changes.